Unit 3 Review

Unit 3 Review

University

15 Qs

quiz-placeholder

Similar activities

FLUTTER

FLUTTER

University - Professional Development

20 Qs

Understanding App Development Basics

Understanding App Development Basics

7th Grade - University

10 Qs

React Quiz

React Quiz

University

10 Qs

Mobile Phone Virus Quiz

Mobile Phone Virus Quiz

University

10 Qs

Name This App-LSM-MRM

Name This App-LSM-MRM

4th Grade - University

10 Qs

DataVisualization-24.04.2021

DataVisualization-24.04.2021

University

10 Qs

Python Programming Language: Canvas and Drawing

Python Programming Language: Canvas and Drawing

12th Grade - University

15 Qs

Cuestionario sin título

Cuestionario sin título

University

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