Unit 3 Review

Unit 3 Review

University

15 Qs

quiz-placeholder

Similar activities

Guess The Apps & Games

Guess The Apps & Games

1st Grade - University

10 Qs

Input and Output Devices

Input and Output Devices

University

15 Qs

CSI-P1

CSI-P1

University

15 Qs

Podstawy programowania JS Processing

Podstawy programowania JS Processing

10th Grade - University

18 Qs

PyGame_4_lesson

PyGame_4_lesson

10th Grade - University

14 Qs

Rettangoli ed ellissi con Processing

Rettangoli ed ellissi con Processing

10th Grade - Professional Development

15 Qs

JavaScript Game Development Newton

JavaScript Game Development Newton

9th Grade - University

20 Qs

Basic Computer Knowledge Quiz

Basic Computer Knowledge Quiz

6th Grade - University

10 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?