Quiz Results
CS 101 - Week 1 Quiz
67%
You answered 2 out of 3 questions correctly.
Review Your Answers
What is a variable?
Your answer: A container for storing data
A variable is used to store information to be referenced and manipulated in a computer program.
Which of the following is a primitive data type in JavaScript?
Your answer: Array
Correct answer: String
String is a primitive data type, while Object, Array, and Function are object types.
What does the `===` operator check for?
Your answer: Value and type equality
The strict equality operator `===` checks whether its two operands are equal, returning a Boolean result, without performing type conversion.