Search Header Logo

JavaScript Console & Graphics Review

Authored by Hillary Stasonis

Computers

9th - 12th Grade

Used 13+ times

JavaScript Console & Graphics Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function will output the text "Hello" ?

output("Hello");

add("Hello");

printLine("Hello");

println("Hello");

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function would you use if you want to ask a user for an integer?

readLine()

readString()

readInt()

readFloat()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for asking a user for their name?

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

var name;

printLn("What is your name?");

readLine("What is your name?");

var name = "What is your name?"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we call the information that goes in between the parentheses when we call a function? Example: println("Hello")

property /properties

argument(s)

method(s)

option(s)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an integer?

A whole number, either positive or negative

A number with a fraction expressed as a decimal

A true or false value

A sequence of alphanumeric characters

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the punctuation that we always use around strings?

Single quotes '

Double quotes "

Tick marks `

Double slashes //

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a float?

A whole number, either positive or negative

A number with a fraction expressed as a decimal

A true or false value

A sequence of alphanumeric characters

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?