JavaScript Quiz, Week 1

A colorful and engaging illustration depicting JavaScript code, variables, and programming elements such as fun<wbr>ctions and data types, set against a digital background.

JavaScript Basics Quiz

Test your knowledge of JavaScript fundamentals with our engaging quiz! This quiz covers essential topics that are crucial for anyone starting their journey in programming.

  • 10 thought-provoking questions
  • Check your understanding of variable names, data types, and functions
  • Perfect for beginners and those looking to refresh their skills
10 Questions2 MinutesCreated by CodingCrane102
For variable names, which of these are invalid?
1age
MyAge
My-age
Age
For variable names, what does case sensitive mean?
Variables cannot start with uppercase
The variables myAge and MyAge are two different names
Which variable name is in camelCase
FirstName
FirstName
First_name
Firstname
Choose all the primitive types
String
Integer
Number
Null
Float
Undefined
Boolean
How do you make a comment?
# this is a comment
!! This is a comment
// this is a comment
## this is a comment
How can you see the variable type?
Typeof myVariable
Type myVariable
ShowType myVariable
 
Which symbol is used to multiply two numbers?
/
^
*
&
What is difference null and undefined?
Null is deliberate meaning no value; undefined means does not exist
Undefined is deliberate meaning no value; null means does not exist
What is the first word when do you start to write a function?
Fn
Fun
The name of the function
Function
What is the function body?
What is between the curly braces {}
What is between the parenthesis ()
{"name":"JavaScript Quiz, Week 1", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of JavaScript fundamentals with our engaging quiz! This quiz covers essential topics that are crucial for anyone starting their journey in programming.10 thought-provoking questionsCheck your understanding of variable names, data types, and functionsPerfect for beginners and those looking to refresh their skills","img":"https:/images/course3.png"}
Powered by: Quiz Maker