
JS - Practice 1
Authored by Sai G
Computers
Professional Development
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the output of the given Javascript code in the console
let message;
console.log(message);
message
Hello World!
undefined
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the output of the given Javascript code in the console?
console.log("The first computer was invented by Charles Babbage");
undefined
Charles Babbage
The first computer was invented by Charles Babbage
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the output of the given JavaScript code in the console?
console.log("Hello World!");
Hello word
hello world
Hello World!
HelloWorld
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the mistake in the given code snippet? •
Console.log("Hello World!");
Uppercase "C" in console
Missing dot (.)
Missing parentheses
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the output of the Javascript code in the console?
let number = 108;
console.log(number);
180
118
108
801
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following options is correct?
(you can choose more than one option)
JavaScript is the most popular programming language which is adopted and understood by all the major browsers.
HTML provides the basic styling for web pages.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the output of the Javascript code in the console?
console.log(10+9)
10
109
9
19
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?