Comp Sci - Unit 5 Review

Comp Sci - Unit 5 Review

12th Grade

9 Qs

quiz-placeholder

Similar activities

Gmetrix JavaScript Session 4 Test

Gmetrix JavaScript Session 4 Test

9th - 12th Grade

12 Qs

Introduction to Programming 06.01-03

Introduction to Programming 06.01-03

12th Grade

7 Qs

A sip of JavaScript

A sip of JavaScript

8th - 12th Grade

9 Qs

Computer Hardware Quiz

Computer Hardware Quiz

8th - 12th Grade

10 Qs

BÀI 11B: Basic Mouse Skills

BÀI 11B: Basic Mouse Skills

3rd Grade - University

11 Qs

UJI PENGETAHUAN: PERULANGAN DAN KONDISI PERTEMUAN 2

UJI PENGETAHUAN: PERULANGAN DAN KONDISI PERTEMUAN 2

9th - 12th Grade

10 Qs

INFORMÁTICA - WINDOWS

INFORMÁTICA - WINDOWS

12th Grade

11 Qs

14 Event Driven Programming Languages

14 Event Driven Programming Languages

10th Grade - University

13 Qs

Comp Sci - Unit 5 Review

Comp Sci - Unit 5 Review

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Jeremy West

Used 4+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a custom property for a circle?

bigCircle.radius

bigCircle.middle

bigCircle.fill

bigCircle.dashes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a compound conditional?

an ‘if’ statement within an ‘if’ statement

An ‘if’, an ‘elif’, and ‘else’ statements

An ‘if’ and ‘elif’ statement within an ‘else’ statement

An ‘and’ statement

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way of coding a hold of the space bar?

if(‘space’ in keys)

if(key = ‘space’)

if(‘space’ in keys):

if(key = ‘space’):

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you change the dashes for a variable named ‘box’?

box.dashWidth = 2

box.dashes = (2,4)

box.dash = 2

You can’t change the dashes

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

For the blinds example, what was the custom property blinds.dashWidth used for?

It changed the dash width of the blinds all by itself

It was a number counter that kept track of how wide the dashes and gaps were

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

When there are quadrants on the canvas and something different happens in each one, which compound conditional can we not use?

if((mouseX<200) and (mouseY<200)):

if((mouseX<200) or (mouseY<200)):

If(mouseX<200): ____If(mouseY<200)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The code if((mouseX<200) and (mouseY>200)) affects which quadrant?

Top left

Bottom left

Bottom right

Top right

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following has the correct syntax?

if(bigStar.radius == 50):

elif(smallSun.fill = ‘yellow’):

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the blinds example, how did they make them look like folding blinds?

They used many individual lines and made them thicker

They used several rectangles and changed the height

They used two lines and changed the dashes