JavaScript and Graphics

JavaScript and Graphics

12th Grade

17 Qs

quiz-placeholder

Similar activities

 empatia e vida real

empatia e vida real

9th - 12th Grade

15 Qs

Take 2 DRR

Take 2 DRR

11th - 12th Grade

12 Qs

ÇOCUK GELİŞİMİ

ÇOCUK GELİŞİMİ

1st - 12th Grade

21 Qs

BASIC OF RESEARCH

BASIC OF RESEARCH

11th Grade - Professional Development

15 Qs

All About Rhijanne

All About Rhijanne

2nd - 12th Grade

19 Qs

Super Mario Odyssey!!!

Super Mario Odyssey!!!

KG - University

20 Qs

Life of Jesus

Life of Jesus

KG - University

14 Qs

JavaScript and Graphics

JavaScript and Graphics

Assessment

Quiz

Other

12th Grade

Hard

Created by

Angel Ligon

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword do you need to use to define a variable in JavaScript?

variable

var

int

x

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function do you need to call to ask the user of the program to enter text?

readLine

readln

readString

println

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To ask the user of the program for a number, which function should you use?

readLine

readFloat

readInt

Both readInt and readFloat are for numbers.

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will the following code print to the screen?

println(2 + 2):4

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What symbol do you use to do division in JavaScript?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function do you need to call to get the width of the screen?

width()

getWidth()

screenWidth()

getScreenWidth()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A store has 20 apples in its inventory. How can you store this information in a JavaScript variable?

var numApples == 20;

20 = numApples;

var numApples = 20;

var num apples = 20;

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?