wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ICS Last Thing

Total questions: 41

Worksheet time: 24mins

Name
Class
Date
1.

Spell your ICS teacher's last name

(a)  

2.

What does ICS stand for?

a)

Introduction to Computer Science

b)

Investigations of Computer Science

c)

Inspirations of Computer Science

d)

Interrogations of Computer Science

3.

What is our classroom number?

(a)  

4.

This question is about computer science classes for next year. If you are a senior, just write Senior. For everyone else, which course sounds more appealing to you?

  • - A one semester course where you learn about Artificial Intelligence

  • - A year long AP Computer Science Principles class where you learn to code in the text based programming language Python and can earn college credit if you do well on the end of year test.

4 lines
5.

Which platform did we NOT use this year?

a)

Code.org

b)

Makecode

c)

CodeHS

d)

Canvas

6.

In GameLab, where is the point (0, 200)?

a)

On the left side of the screen, in the middle

b)

On the right side of the screen, in the middle

c)

On the top side of the screen, in the middle

d)

On the bottom side of the screen, in the middle

7.

What code would draw the given picture?

a)

b)

c)

d)

8.

Which block allows you to draw a circle in GameLab?

a)

b)

c)

d)

9.

What is true about the ellipse being drawn by the code to the left?

a)

The ellipse is drawn with y = 150

b)

The ellipse is wider than it is tall

c)

The ellipse is skyblue

d)

The ellipse has a width of 100

10.

You want to make a variable to holds the size of a circle, but the code you attempted has an error. What is the best way to make this variable?

a)

var sizeOfCircle = 150;

b)

var 1size = 150;

c)

150 = var size;

d)

var size : 150;

11.

What is the width of the ellipse drawn by the code to the left?

a)

150

b)

200

c)

50

d)

100

12.

What should be typed into the blank so that the code will draw a rectangle with an x of 50, y of 100, width of 150, and height of 250

a)

100

b)

y

c)

yPos

d)

yValue

13.

Which is true about this code?

a)

The red ellipse will have an x between 190 and 210

b)

The red ellipse will have a y between 190 and 210

c)

The red ellipse will have a width between 190 and 210

d)

The red ellipse will have a height between 190 and 210

14.

Which picture could be drawn by the code to the left?

a)

b)

c)

d)

15.

Why is the sprite appearing like a gray box instead of the picture of a dog?

a)

The variable should have been named dog, not sprite

b)

The command sprite.setAnimation is missing

c)

Because lines 1 and 2 are in the wrong order

d)

Because the dog went for a walk and hasn't returned

16.

Where will the sprite be located?

a)

On the top left

b)

On the top right

c)

On the bottom left

d)

On the bottom right

17.

What is drawn by the code the left?

a)

b)

c)

d)

18.

Which lines of code will correctly drawn the picture to the left?

a)

b)

c)

d)

19.

What changes need to be made to the program so that the snail appears on top of the cactus?

a)

Lines 1 and 2 should be switched

b)

Lines 3 and 4 should be switched

c)

Line 5 should be moved to the beginning of the program

d)

It is impossible to have the snail appear on top of the cactus

20.

Uh oh! The yellow car is about to hit the red car. What sprite property of the yellow car should be changed to avoid the accident?

a)

sprite.scale

b)

sprite.tint

c)

sprite.width

d)

sprite.rotation

21.

Which drawing command draws text on the screen?

a)

fill(color)

b)

stroke(color)

c)

textSize(pixels)

d)

text(str, x, y)

22.

What code will cause the salt shaker to appear to shake up and down?

a)

b)

c)

d)

23.

Based on this code, in which direction will the fly be moving?

a)

Downward

b)

Upward

c)

To the Left

d)

To the Right

24.

Which fish will move the fastest?

a)

The orange fish

b)

The blue fish

c)

The green fish

d)

The red fish

25.

Which of the following is true?

a)

spri2te.x's is updated using the counting pattern

b)

sprite's y is updated using the counting pattern

c)

spri2te.x's is updated using the counting pattern

d)

none of the sprite properties are updated using the counting pattern

26.

What happens when the scale of the sprite is greater than 2?

a)

The sprite changes to an apple.

b)

The sprite changes to a pear.

c)

Nothing happens.

d)

The scale goes back to 0.1

27.

Why doesn't the turtle move up when the up arrow is pressed?

a)

Because on line 9 it should say turtle.y = turtle.y + 3;

b)

Because the if statement on line 8 should be outside the draw function

c)

Because the turtle sprite is made in the draw loop

d)

Because turtles do not know how to swim

28.

What best describes what actions occur in this program?

a)

When the left arrow is pressed the balloon rises, otherwise it falls

b)

When the left mouse is pressed the balloon rises, otherwise it falls

c)

The balloon doesn't move

d)

When the mouse is on the left side of the screen the balloon rises, otherwise it fallse

29.

This code uses the counting pattern to move a mouse to the right across the screen. What property could you set above the draw loop that would also make the mouse move to the right?

a)

mouse.veloctiyX

b)

mouse.goRight

c)

mouse.x

d)

mouse.direction

30.

According to the code, which direction is the bubble traveling?

a)

Up

b)

Down

c)

To the Left

d)

To the Right

31.

What best describes what happens with this code?

a)

A horse turns into a rainbow when it touches a unicorn

b)

A horse turns into a unciorn when it touches a rainbow

c)

A unicorn turns into a rainbow when it touches a hours

d)

A unicorn turns into a hourse when it touches a rainbow

32.

According to the code, for what value of sprite.x will "winner" appear on the screen?

a)

sprite.x=200

b)

sprite.x=40

c)

sprite.x=0

d)

sprite.x=50

33.

A rock is being thrown up in the air. What code should go on line 8 to make it fall back down using gravity?

a)

b)

c)

d)

34.

A basketball is falling toward a wood ground. What command will cause the basketball to bounce when it hits the ground?

a)

basketball.bounce(wood);

b)

basketball.bounceOff(wood);

c)

basketball.displace(wood);

d)

basketball.collide(wood);

35.

This device is called a...

a)

Raspberry Pi

b)

Micro:bit

c)

Arduino

d)

iPhone

36.

Which of the pins on the bottom of the Micro:bit provide power to external peripherals like LED lights?

a)

Pin 0

b)

3V

c)

GND

d)

Pin 1

e)

Pin 2

37.

Which of the following was NOT a project someone made with their micro:bit?

a)

A piano

b)

A basektball game

c)

A maze game

d)

A snake game

38.

Your micro:bit had many sensors. But which of the following is not a sensor your micro:bit had?

a)

Light sensor (detects bright and low light)

b)

Sound sensor (detects loud / quiet noises)

c)

Accelerometer (detects motion)

d)

Smell sensor (detects sents)

39.

What way can micro:bits easily talk to each other?

a)

writing letters

b)

text message

c)

radio signals

d)

they can't communicate with each other

40.

Which Block do you use when you want code to run on your Micro:bit when it turns on?

a)

b)

c)

d)

41.

The code to the left is supposed to keep track of a score that changes when a is pressed and display the score to the screen, but it is broken. It always shows the number 1. How could you fix the program?

a)

Remove the set score block from on button A pressed

b)

Remove the set score block from on start

c)

Switch the order of the blocks in on button A pressed

d)

Use change score instead of set score in the on button A pressed block