wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

javascript - khan academy

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

What programming language are we learning?

a)

HTML

b)

JAVASCRIPT

c)

JAVA

d)

BASICS

2.

What follows a command?

a)

()

b)

();

c)

//

d)

//;

3.

Javascript is the language of most modern ______ browsers.

a)

application

b)

web

c)

fast

d)

hard

4.

You want to draw a circle, which command is written correctly?

a)

circle();

b)

ellipse();

c)

//circle

d)

//ellipse

5.

The (x, y, w, h) in a command are called "parameters".

a)

True

b)

False

6.

The 'X' parameter

a)

moves the object left and right

b)

moves the objectup and down

c)

changes with width

d)

changes the height

7.

The 'Y' parameter

a)

moves the object left and right

b)

moves the object up and down

c)

makes the object wider or thinner

d)

makes the object taller or smaller

8.

The 'W' parameter

a)

moves the object left and right

b)

moves the object up and down

c)

makes the object thicker or thinner

d)

makes the object taller or shorter

9.

The 'H' parameter

a)

moves the object left and right

b)

moves the object up and down

c)

makes the object wider or thinner

d)

makes the object taller or shorter

10.

What symbols do you use to write a comment in your code?

a)

()

b)

;

c)

//

d)

\\

11.

When using the RECT command, the 'X' and 'Y' parameters control the upper left hand corner of the the rectangle.

a)

True

b)

False