0% found this document useful (0 votes)
7 views

Javascript

Uploaded by

micheal
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Javascript

Uploaded by

micheal
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Javascript Exam

1. What is JavaScript, and what is its role in web development?


2. Explain the differences between JavaScript and Java.
3. What are the basic data types in JavaScript?
4. How do you declare variables in JavaScript, and what are the differences between var, let, and
const?
5. What is the DOM (Document Object Model) in the context of JavaScript?
6. Explain the concept of event handling in JavaScript and how it is implemented.
7. What are closures in JavaScript, and how do they work?
8. How does asynchronous programming work in JavaScript, and what are callbacks, promises, and
async/await?
9. What is JSON, and how is it related to JavaScript objects?
10. How can you handle errors in JavaScript, and what are the common error types?

You might also like