JS

JavaScript Fundamentals 2 - Review

Review

Discover your progress and identify completed questions and those awaiting your input. Dive back into any unanswered quizzes, refine your knowledge, and keep track of your learning journey with ease!

No.QuestionStatus
Q1Which of the following is not a basic data type in JavaScript?
Q2What is the result of the following expression: 5 ** 3?
Q3Which of the following is a valid number in JavaScript?
Q4Which method is used to replace specific characters in a string with new characters?
Q5Which method is used to convert a string to lowercase in JavaScript?
Q6Which of the following logical operators is used to negate a boolean value?
Q7Which of the following operators is used to compare two values for equality in JavaScript?
Q8What does the value "null" represent in JavaScript?
Q9What is type conversion in JavaScript?
Q10Which of the following methods can be used to convert a value to a string in JavaScript?
Q11Which of the following statements best describes the global object in JavaScript?
Q12What is the purpose of comments in JavaScript?
Q13What will be the output of the following code? ``` var x = 5; var y = 10; if (x > y) { ...
Q14Which of the following is a basic conditional statement in JavaScript?
Q15What is the syntax of an if statement in JavaScript?
Q16Which of the following is the correct syntax for declaring and assigning a value to a variable ...
Q17Which of the following is the correct way to declare a variable without assigning a value?
Q18What is the value of the following expression: `(10 - 3) / (2 * 5)`?
Q19Which of the following is a relational expression in JavaScript?
Q20Which of the following relational expressions will evaluate to true in JavaScript?
Q21Which of the following operators is used for equality comparison in JavaScript?
Q22What will be the value of `x` after the following assignment expression is evaluated: `x = 5 + ...
Q23Which of the following is the correct syntax for an assignment expression in JavaScript?
Q24Which operators can be used for concatenation in JavaScript?
Q25What is the result of the following comparison? `5 == '5'`
Q26Which logical operator is used to check whether two expressions have different truth values?
Q27Which logical operator returns true if both operands are true?
Q28How do you define a function in JavaScript?
Q29What happens if a function in JavaScript does not have a "return" statement?
Q30What is the correct way to access an element in an array in JavaScript?
Q31What is the purpose of console.log() in JavaScript?
Q32Which method returns the number of milliseconds between a specified date and midnight of Januar...