Comp Sci - Unit 5 Review

Comp Sci - Unit 5 Review

12th Grade

9 Qs

quiz-placeholder

Similar activities

CS Disco U3L12

CS Disco U3L12

6th - 12th Grade

10 Qs

CMU CS1 Unit 5

CMU CS1 Unit 5

9th - 12th Grade

5 Qs

Advanced Java Study Guide

Advanced Java Study Guide

11th - 12th Grade

10 Qs

ICT Health

ICT Health

6th - 12th Grade

14 Qs

Function Basics

Function Basics

9th - 12th Grade

10 Qs

Excel If function WSC 4.2.3

Excel If function WSC 4.2.3

7th Grade - University

10 Qs

AP CSP Ifs and If Else

AP CSP Ifs and If Else

9th - 12th Grade

12 Qs

Java Script 1.3. Циклы

Java Script 1.3. Циклы

1st - 12th Grade

11 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