Download as pdf or txt
Download as pdf or txt
You are on page 1of 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