JavaScript Console & Graphics Review

JavaScript Console & Graphics Review

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Int to Comp Sci Python Quiz 1

Int to Comp Sci Python Quiz 1

9th - 12th Grade

23 Qs

IST CodeHS Unit 8 JavaScript Review

IST CodeHS Unit 8 JavaScript Review

9th - 12th Grade

22 Qs

CodeHS AP CSP Unit 3 Review

CodeHS AP CSP Unit 3 Review

11th - 12th Grade

22 Qs

Python basics

Python basics

2nd - 9th Grade

20 Qs

FCS Fall Collective review

FCS Fall Collective review

9th - 10th Grade

21 Qs

python quiz

python quiz

12th Grade

20 Qs

Arrays in Java

Arrays in Java

9th - 12th Grade

20 Qs

Python Basics (CodeHS)

Python Basics (CodeHS)

7th - 12th Grade

20 Qs

JavaScript Console & Graphics Review

JavaScript Console & Graphics Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Hillary Stasonis

Used 13+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?