4/12 quiziz

4/12 quiziz

9th Grade

7 Qs

quiz-placeholder

Similar activities

Microsoft Windows

Microsoft Windows

3rd - 12th Grade

10 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Email Quiz

Email Quiz

9th Grade

10 Qs

Abhyudaya coding class -  Grade 7

Abhyudaya coding class - Grade 7

6th Grade - University

10 Qs

CODE: MAZE INTRO

CODE: MAZE INTRO

7th - 10th Grade

10 Qs

WWW, URLs & Web browsers

WWW, URLs & Web browsers

9th Grade

12 Qs

39. Algorithms - Tracing  Algorithms Quiz

39. Algorithms - Tracing Algorithms Quiz

9th - 12th Grade

11 Qs

4/12 quiziz

4/12 quiziz

Assessment

Quiz

Computers

9th Grade

Hard

Created by

D W

Used 4+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will happen when this code is run?

The balloon will move down if the down arrow is pressed, otherwise it will move up.

The balloon will move up if the up arrow is pressed, otherwise it will move down.

The balloon will move down if the mouse is down, otherwise it will move up.

The balloon will move up if the mouse is down, otherwise it will move down.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Study the code. What will happen to the sprite?

The sprite will increase in size until it disappears and then decrease in size.

The sprite will decrease in size until it disappears and then increase in size.

The sprite will increase in size and then disappear.

The sprite will decrease and then disappear.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When is using the else clause useful?

When you want the program to do one thing when your condition is true, and a different thing when your condition is false.

When you want the program to do two things at once.

When you can't figure out what else to do.

There is no need to ever use the else clause in programming.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the relationship between a Boolean and a Conditional?

A Boolean and a Conditional are the same thing.

A conditional asks a Boolean question and runs the code if the answer is true.

A Boolean asks a conditional question and runs the code if the answer is false.

A Boolean and conditional have no relationship to each other.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Adding to a sprite's x coordinate in a draw loop will make the sprite ____________.

move left

move right

move up

move down

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image
Which of the following is the best description of what is happening in the program below?
// Create elephant sprite
var elephant = createSprite(200, 350);
elephant.setAnimation("elephant");
elephant.scale = 0.5;
elephant.velocityY = randomNumber(-3,-1);
// Create hippo sprite
var hippo = createSprite(200,50);
hippo.setAnimation("hippo");
hippo.scale = 0.5;
hippo.velocityY = randomNumber(1,3);
function draw(){
  // Draw background
  background("white");
 
  // Update Sprites
  hippo.displace(elephant);
 
  drawSprites();
}
The elephant is moving up and the hippo is moving down. When the hippo and the elephant collide, the hippo pushes the elephant down with it.
The elephant is moving down and the hippo is moving up. When the hippo and the elephant collide, the hippo pushes the elephant up with it.
The elephant is moving up and the hippo is moving down. When the hippo and the elephant collide, the elephant pushes the hippo up with it.
The elephant is moving down and the hippo is moving up. When the hippo and the elephant collide, the elephant pushes the hippo down with it.

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image
Which of the squares in this program will be drawn?
drawRed();
function drawRed(){
  fill("red");
  rect(100,100,50,50);
}
function drawGreen(){
  fill("green");
  rect(300,300,50,50);
}
drawGreen();
Both squares will be drawn.
The red square will be drawn.
The green square will be drawn.
Neither square will be drawn.