Programming Practice

Programming Practice

8th Grade

19 Qs

quiz-placeholder

Similar activities

Javascript Basics (Khan Academy)

Javascript Basics (Khan Academy)

6th - 8th Grade

15 Qs

p5.js Week1 PREtest

p5.js Week1 PREtest

7th - 12th Grade

14 Qs

CSD Unit 3 - Interactive Animations and Games (lessons 3&4)

CSD Unit 3 - Interactive Animations and Games (lessons 3&4)

6th - 8th Grade

15 Qs

Javascript Assessment

Javascript Assessment

6th - 8th Grade

15 Qs

CS Discoveries Unit 3 Chapter 2

CS Discoveries Unit 3 Chapter 2

7th - 10th Grade

20 Qs

Discovering Computer Science

Discovering Computer Science

7th - 10th Grade

20 Qs

JavaScript

JavaScript

7th - 8th Grade

15 Qs

Animations and Games L.3-5

Animations and Games L.3-5

7th - 8th Grade

19 Qs

Programming Practice

Programming Practice

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Saif Alghlayini

Used 2+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these lines of JS code are syntactically correct?

rect(100, 100, 50, 50);

rect[100, 100, 50, 50];

rect(100 100 50 50);

rect(100, 100, 50, 50):

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these lines of JS code are syntactically correct?

ellipse(100; 100; 50; 50);

ellipse(100 100 50 50);

ellipse  (100, 100, 50, 50)

ellipse(100, 100, 50, 50);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the  Khan Academy programming environment, where is the point (0, 0)?

upper left corner

center

upper right corner


lower left corner

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How many parameters should you pass to the line() function?

1

2

4

6

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these function calls draws a perfect circle?

ellipse(100, 100, 200, 50);

ellipse(50, 200, 100, 100);

ellipse(50, 100, 100, 200);

ellipse(100, 50, 200, 100);

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

For the line() function, what numbers should you pass to the third and fourth parameters?

The width and height of the line

The end x position and end y position of the line


The amount to rotate and skew the line

Your 2 favorite numbers in the world

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these function calls draws a square?

rect(100, 100, 75, 60);

rect(75, 60, 100, 100);

rect(100, 60, 75, 100);

rect(60, 100, 100, 75);

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?