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

Java Script Question Bank On Unit 1,2

This document contains 20 questions about JavaScript concepts including differences between JavaScript and Java, data types, scopes, arrays, objects, built-in methods, comparison operators, regular expressions, and places JavaScript code can be added in HTML. Key topics covered are variable declaration keywords like var, let, and const, how to create arrays and objects, output of arithmetic and string operations, and differences between console.log() and document.write(). The questions aim to test understanding of fundamental JavaScript concepts.

Uploaded by

YASH KOTWAL
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
35 views1 page

Java Script Question Bank On Unit 1,2

This document contains 20 questions about JavaScript concepts including differences between JavaScript and Java, data types, scopes, arrays, objects, built-in methods, comparison operators, regular expressions, and places JavaScript code can be added in HTML. Key topics covered are variable declaration keywords like var, let, and const, how to create arrays and objects, output of arithmetic and string operations, and differences between console.log() and document.write(). The questions aim to test understanding of fundamental JavaScript concepts.

Uploaded by

YASH KOTWAL
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 1

Java Script Question Bank on Unit 1 & Unit 2

1. List the key differences between java & java script.


2. List & explain important features of JavaScript.
3. What are the valid scopes of a variable in JavaScript.
4. Classify the data types in JS. Give example of declaration for each
data type.
5. Who developed JavaScript, and what was the first name of
JavaScript?
6. Write advantages & disadvantages of JavaScript.
7. Write a JavaScript program to extract out the values at the
specified indexes from a specified array.
8. How to create objects in JavaScript?
9. How to create an array in JavaScript?
10. What is the output of 10+20+"30" in JavaScript?
11. Which built-in method returns the character at the specified
index? Explain the use with JS code.
12. Which built-in method reverses the order of the elements of an
array? Explain the use with JS code.
13. Which built-in method returns the calling string value converted
to lower case? Explain the use with JS code.
14. Write a code to declare string as object & perform replace
operation.
15. What is difference between consol.log() & document.write() .
16. Difference between var, const and let keyword in javascript.
17. Is javascript a statically typed or a dynamically typed language?
18. Write a JavaScript program to compare two objects to
determine if the first one contains equivalent property values to the
second one.
19. What are the regular expressions ? What is the use ?
20. Where the java scripts can be added in HTML code?

Prepared By
Prof. Priyanka S. Tondewad

You might also like