JavaScript Test

JavaScript Test

12th Grade

19 Qs

quiz-placeholder

Similar activities

JavaScript Coding

JavaScript Coding

9th - 12th Grade

15 Qs

JavaScript and Graphics

JavaScript and Graphics

9th - 12th Grade

15 Qs

Unit 3 Python Minor assessment

Unit 3 Python Minor assessment

10th - 12th Grade

19 Qs

Newsletters

Newsletters

9th - 12th Grade

16 Qs

P5.js Conditional Statements in Computer Science

P5.js Conditional Statements in Computer Science

9th - 12th Grade

15 Qs

Unit 3 Python TEST

Unit 3 Python TEST

11th - 12th Grade

20 Qs

AP CSP Unit 3 Simple Review

AP CSP Unit 3 Simple Review

11th - 12th Grade

22 Qs

CodeHS AP CSP

CodeHS AP CSP

11th - 12th Grade

22 Qs

JavaScript Test

JavaScript Test

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Megan Cunningham

Used 1+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper syntax to draw a circle on the screen in JavaScript?

var = new Circle (20);

var = Circle(circleDraw();)

createCircle();

var = new circle(20);

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to concatenate text and display it in JavaScript?

print("Text " + " Text")

"Text " + " Text"

println("Text " + " Text");

show("Text " + " Text")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the naming convention where the first letter is lower case and each subsequent start of a word is upper case?

UpperCamelCase

lowerCamelCase

snake_case

kebab-case

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Callback Function in JavaScript?

A function that returns a value

A function that is called when a variable is declared

A function passed as a parameter to another function to be called later

A function that prints a line to the user

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the getWidth() function return in JavaScript?

The height of the graphics canvas

The width of the graphics canvas

The area of the graphics canvas

The perimeter of the graphics canvas

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the study of computational thinking and the step-by-step process to a computer called?

Information Technology

Computer Science

Algorithmic Thinking

Software Thinking

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of Input Output (I/O) in programming?

To perform basic mathematical tasks

To send and receive data from a computer hardware component, device, or network

To manage the flow of information into and out of a program

To store data permanently

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?

Discover more resources for Computers