JavaScript Level 1

Quiz
•
Computers
•
5th - 9th Grade
•
Medium

Sor Ling Liang
Used 9+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
How do I generate a random number from 0 to less than 1?
2.
MULTIPLE SELECT QUESTION
1 min • 5 pts
How do I add comments in my codes?
Use double forward slash, like this:
// say something
Use /* and */ to enclose some lines of text as comments
Use #, hash symbol, like this:
# say something
Use <!-- and --> to enclose some lines of text as comments
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the following will ask for input when you run the program?
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will be printed in the console?
Error. This code cannot run.
29 February
11 February
2+9+February
5.
MULTIPLE SELECT QUESTION
1 min • 5 pts
Which of the following is/are valid JavaScript variable name(s)?
num1
1num
my_name
my name
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
I want to use a String variable to store some text value in my program. Which one is correct?
let some text = can i ask a question?;
def some_text = "can i ask a question?";
let some_text = "can i ask a question?";
def some_text = can i ask a question?;
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
I want to use a number variable to store some numerical value in my program. Which one is correct?
let 1num = 100;
def 1num = "100";
let num1 = 100;
let num1 = "100";
Create a free account and access millions of resources
Similar Resources on Wayground
19 questions
Python Year 9 Quiz

Quiz
•
8th - 10th Grade
17 questions
Python Programming: Amazon Turing Lab Farmbot Key Terms

Quiz
•
8th Grade
15 questions
Program Development - Python: Conditionals

Quiz
•
9th - 10th Grade
22 questions
Loops

Quiz
•
6th Grade
20 questions
Quiz Pemrograman Phyton

Quiz
•
9th - 12th Grade
19 questions
Coding Vocabulary

Quiz
•
7th - 8th Grade
17 questions
Computer Science

Quiz
•
6th - 8th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade