0% found this document useful (0 votes)
5 views1 page

JavaScript Exam Questions and Topics

The document is a JavaScript subject question paper consisting of multiple sections, each requiring the attempt of three questions. Topics include switch-case statements, getter and setter properties, prime number programs, string conversion methods, character code methods, function definitions, array sorting, regular expressions, JavaScript frameworks, and web page protection techniques. Each question prompts for explanations, examples, or code demonstrations related to JavaScript programming concepts.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

JavaScript Exam Questions and Topics

The document is a JavaScript subject question paper consisting of multiple sections, each requiring the attempt of three questions. Topics include switch-case statements, getter and setter properties, prime number programs, string conversion methods, character code methods, function definitions, array sorting, regular expressions, JavaScript frameworks, and web page protection techniques. Each question prompts for explanations, examples, or code demonstrations related to JavaScript programming concepts.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

JavaScript Subject Question Paper

2. Attempt any THREE of the following:


 a) Explain “switch-case” statement with its syntax, working and a suitable example.
 b) Describe the term-getter and setter property with a suitable example.
 c) Construct a JavaScript program, to find whether a given number is prime or not.
 d) Describe different methods used to convert a string to the number with the help of its
syntax and example.

3. Attempt any THREE of the following:


 a) Explain the significance of charCodeAt() and fromCharCode() methods with suitable
example.
 b) Explain defining and calling a function with arguments using its syntax and example.
 c) Develop a JavaScript program having an array of 5 integer elements then sort the
elements in their descending order and display them.
 d) Describe any eight features of JavaScript.

4. Attempt any THREE of the following:


 a) Demonstrate the use of non-explicit and explicit quantifiers used in regular
expression.
 b) Describe any four frameworks of JavaScript.
 c) Discuss the JavaScript code to disable the visitors right mouse button while the
browser displays your webpage.
 d) Discuss the JavaScript code for calling a child windows JavaScript function.
 e) List different technique to protect the web page and describe with example
concealing email address technique.

You might also like