Podcast
Questions and Answers
What is JavaScript used for?
What is JavaScript used for?
- Compiling programs
- Making web pages alive (correct)
- Creating scripts
- Writing HTML
What is the difference between JavaScript and Java?
What is the difference between JavaScript and Java?
- Java is a compiled language while JavaScript is an interpreted language (correct)
- JavaScript is used for web development while Java is used for mobile development
- JavaScript is used for web development while Java is used for desktop applications
- JavaScript is used for mobile development while Java is used for web development
What is the main purpose of scripts written in JavaScript?
What is the main purpose of scripts written in JavaScript?
- To be compiled before execution
- To be written in HTML
- To be provided and executed as plain text (correct)
- To be used for mobile development