Unit 3 Review

Unit 3 Review

University

15 Qs

quiz-placeholder

Similar activities

Podstawy programowania JS Processing

Podstawy programowania JS Processing

10th Grade - University

18 Qs

JavaScript Game Development Newton

JavaScript Game Development Newton

9th Grade - University

20 Qs

Information Technology

Information Technology

University

17 Qs

tik tok

tik tok

6th Grade - University

10 Qs

Roseon x Planet Sandbox

Roseon x Planet Sandbox

University

12 Qs

DataVisualization-24.04.2021

DataVisualization-24.04.2021

University

10 Qs

Ipad

Ipad

1st Grade - Professional Development

15 Qs

CSI-P1

CSI-P1

University

15 Qs

Unit 3 Review

Unit 3 Review

Assessment

Quiz

Computers

University

Medium

Created by

Christina LaBarron

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is a View function?

redrawAll

onMousePressed

onStep

onAppStart

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is an MVC violation?

Drawing in onKeyPress

Drawing in redrawAll

Modifying app in onKeyPress

Modifying app in onAppStart

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following draws an oval centered in the middle of the canvas?

drawOval(200, 200, 50)

drawOval(150, 160, 100, 80)

drawOval(150, 160, 50, 40)

drawOval(200, 200, 50, 40)

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is true about onMouseMove?

It is called when the user moves the mouse and the mouse is held down

It is called when the user moves the mouse and the mouse is not held down

It draws and is a View function

It is called when the user releases the mouse

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is true about onKeyRelease?

It draws and is a View function

It takes keys as an argument, which is the list of keys released

It can modify app and is a Controller function

It is called when the user holds down any number of keys

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is true about onStep?

It cannot modify app as that would be an MVC violation

It is called after some time elapses

It takes steps as an argument, which is the number of steps that have passed since it was last called

It draws and is a View function

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which call to drawStar draws a star with 6 points and radius 30?

drawStar(200, 200, 6, 30)

drawStar(200, 200, 30, 6)

drawStar(200, 200, 30, 30, 6)

drawStar(30, 6)

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?