CBSE Class 10 Computer Science Web Scripting Using JavaScript Notes

Download CBSE Class 10 Computer Science Web Scripting Using JavaScript Notes in PDF format. All Revision notes for Class 10 Computers have been designed as per the latest syllabus and updated chapters given in your textbook for Computers in Standard 10. Our teachers have designed these concept notes for the benefit of Grade 10 students. You should use these chapter wise notes for revision on daily basis. These study notes can also be used for learning each chapter and its important and difficult topics or revision just before your exams to help you get better scores in upcoming examinations, You can also use Printable notes for Class 10 Computers for faster revision of difficult topics and get higher rank. After reading these notes also refer to MCQ questions for Class 10 Computers given our website

Web Scripting Using JavaScript Class 10 Computers Revision Notes

Class 10 Computers students should refer to the following concepts and notes for Web Scripting Using JavaScript in standard 10. These exam notes for Grade 10 Computers will be very useful for upcoming class tests and examinations and help you to score good marks

Web Scripting Using JavaScript Notes Class 10 Computers

Variables & Operators

JavaScript Data Types:
One of the most fundamental characteristics of a programming language is the set of data types it supports. These are the type of values that can be represented and manipulated in a programming language.
JavaScript allows you to work with three primitive data types:

• Numbers eg. 123, 120.50 etc.
• Strings of text e.g. "This text string" etc.
• Boolean e.g. true or false.
Java does not make a distinction between integer values and floating-point values.
JavaScript Variables:

Variable is the stored memory location that can hold a value in it. Variables are declared with the var keyword. Storing a value in a variable is called variable initialization.

Class 10 Computer Science Web Scripting Using JavaScript Notes
JavaScript Variable Scope:

The scope of a variable is the region of your program in which it is defined. JavaScript variable will have only two scopes.
• Global Variables: A global variable has global scope which means it is defined everywhere in your JavaScript code.
• Local Variables: A local variable will be visible only within a function where it is defined. Function parameters are always local to that function.
Class 10 Computer Science Web Scripting Using JavaScript Notes1
Class-10-Computer-Science-Web-Scripting-Using-JavaScript-Notes-unlocked 1
JavaScript Variable Names:
While naming your variables in JavaScript keep following rules in mind.
• You should not use any of the JavaScript reserved keyword as variable name.
• JavaScript variable names should not start with a numeral (0-9). They must begin with a letter or the underscore character.
• JavaScript variable names are case sensitive.
JavaScript Reserved Words:
The following are reserved words in JavaScript. They cannot be used as JavaScript variables,functions, methods, loop labels, or any object names.
Class-10-Computer-Science-Web-Scripting-Using-JavaScript-Notes-unlocked 2
Types of Operators: logical, arithmetic, relational
Operators: An Operator is a symbol that performs an operation. JavaScript language supports following type of operators.
• Arithmetic Operators
• Comparision Operators
• Logical (or Relational) Operators
• Assignment Operators
• Conditional (or ternary) Operators
The Arithmetic Operators:
Assume variable A holds 10 and variable B holds 20 then:
 Class-10-Computer-Science-Web-Scripting-Using-JavaScript-Notes-unlocked 3
Class-10-Computer-Science-Web-Scripting-Using-JavaScript-Notes-unlocked 4



Click to View or Download pdf file
Click for more Computers Study Material

Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

CBSE OMR Sheet Guidelines for Term 1

You are aware that the CBSE will be using OMR for the first time for assessment of both the Classes-X and XII in Term-I examinations. Hence, there is a need that all the students appearing in the Term-l examinations and the schools sponsoring these students should have...

CBSE Reading Challenge

The acquisition of 21st century competencies of communication, critical and creative thinking and the ability to locate, understand and reflect on various kinds of information has become more crucial for our learners. It is well accepted that Reading Literacy is not...

CBSE Class 10 Revised Syllabus

Last year CBSE had to reduce the syllabus because of the pandemic situation but it was not very effective because there were no examinations. This year to avoid any confusion and conflict, CBSE has decided to reduce the syllabus into term 1 and term 2. 50 percent of...

Studies Today