javaScript Basics

javaScript Basics

9th - 12th Grade

13 Qs

quiz-placeholder

Similar activities

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

BÀI TẬP T7 - KHỞI ĐỘNG

BÀI TẬP T7 - KHỞI ĐỘNG

10th - 12th Grade

10 Qs

Interstate Competition

Interstate Competition

7th - 10th Grade

11 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

Một số khái niệm về lập trình và ngôn ngữ lập trình

Một số khái niệm về lập trình và ngôn ngữ lập trình

KG - 12th Grade

15 Qs

javaScript Basics

javaScript Basics

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Mardy Burleson

Used 15+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which input function should be used to get a number from the user in JavaScript?

input();
readLine();
readInt();
prompt();

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of variable is used to determine if true or false in JavaScript?

Number
Boolean
String
Object

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of variables in JavaScript?

"Containers" to hold information

To print information on the screen

To teach the computer how to do something

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for declaring a variable in JavaScript?

var = myVariable;
myVariable = var;
var myVariable;
myVariable var;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of variable is used to store text values in JavaScript?

Boolean
String
Number
Array

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

To display output on the computer screen you use the _____________ function

7.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

To ask the user to input their name, what do you type?

var name = _________("What is your name?");

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?