Instructions

  • 1. Your final score will reflect your grasp of the concepts—approach each question with precision.
  • 2. Thoroughly review each solution before proceeding to ensure full understanding.
  • 3. Final results will be available after submission to provide insights into areas for further improvement.
  • 4. Maintain academic integrity—plagiarism undermines learning and professional growth.
  • 5. Once submitted, responses are final, so ensure you’re confident in your answers.
  • 6. These challenges are designed to test practical knowledge; apply your skills as you would in real-world scenarios.

All Problems

Question

Action

Which keyword is used to declare a variable in JavaScript?

View

Which of the following is a correct way to declare a string in JavaScript?

View

What is the correct syntax to assign a value to a variable in JavaScript?

View

Which of the following is NOT a data type in JavaScript?

View

Which keyword is used to declare a constant in JavaScript?

View

What is the data type of null in JavaScript?

View

Which of the following is a floating-point number?

View

What is the result of the following code: typeof NaN?

View

Which of the following represents a correct Boolean value in JavaScript?

View

Which operator is used to assign a value to a variable?

View

Which keyword is used to declare a variable in JavaScript?

var
let
const
All of the above

Which of the following is a correct way to declare a string in JavaScript?

let x = 'Hello';
let x = Hello;
let x = 123;
let x = true;

What is the correct syntax to assign a value to a variable in JavaScript?

var x = 10;
x == 10;
10 = x;
x : 10;

Which of the following is NOT a data type in JavaScript?

Boolean
Null
String
Character

Which keyword is used to declare a constant in JavaScript?

var
let
constant
const

What is the data type of null in JavaScript?

Object
Undefined
Null
Boolean

Which of the following is a floating-point number?

10.5
'10.5'
true
NaN

What is the result of the following code: typeof NaN?

Undefined
Number
String
Boolean

Which of the following represents a correct Boolean value in JavaScript?

True
False
1
true

Which operator is used to assign a value to a variable?

==
===
=
!=