Introduction of Javascript


Introduction of Javascript


Question


Question 1 : Which type of JavaScript language is _________________
1. Object-Oriented
2. Object-Based
3. Assembly-language
4. High-level
Answer
2030

Question 2 : Which of the following is the correct output for the following JavaScript code
varx=5,y=1
var obj ={ x:10}
with(obj)
{
alert(y)
}
1. 1
2. Error
3. 10
4. 5
Answer
2031

Question 3 : Which one of the following also known as Conditional Expression
1. Alternative to if-else
2. Switch statement
3. If-then-else statement
4. immediate if
Answer
2032

Question 4 : In JavaScript, what is a block of statement?
1. Conditional block
2. block that combines a number of statements into a single compound statement
3. both conditional block and a single statement
4. block that contains a single statement
Answer
2033

Question 5 : When interpreter encounters an empty statements, what it will do
1. Shows a warning
2. Prompts to complete the statement
3. Throws an error
4. Ignores the statements
Answer
2034

Online Quizz


MS Word
  • No of Question : 50 Question
  • Exam Duration : 40 Minutes
  • Full Marks : 100
  • Price : ₹5
MS Excel
  • No of Question : 50 Question
  • Exam Duration : 50 Minutes
  • Full Marks : 100
  • Price : ₹5
MS PowerPoint
  • No of Question : 35 Question
  • Exam Duration : 30 Minutes
  • Full Marks : 100
  • Price : ₹5