Ap Comp Sci Final Fall Term

Description

Quiz on Ap Comp Sci Final Fall Term, created by Stephen Bland on 17/01/2017.
Stephen Bland
Quiz by Stephen Bland, updated more than 1 year ago
Stephen Bland
Created by Stephen Bland almost 8 years ago
59
1

Resource summary

Question 1

Question
In computing, a byte is _____
Answer
  • The largest unit of data in a computer
  • A unit of information, expressed as either a 0 or 1 in binary digit notation
  • Eight 0s and 1s, processed by a computer as one unit
  • The speed at which information can be passed between two internet-connected computers

Question 2

Question
How many total repetitions are there in the following code?
Answer
  • 10
  • 20
  • 30
  • 40

Question 3

Question
The sprite will _________.
Answer
  • Draw a triangle, then Increase the triangle in size, 10 times
  • Draw a triangle, then decrease the triangle in size, 10 times
  • Draw a square, then Increase the Square in size, 10 times
  • Draw a square, then decrease the Square in size, 10 times.

Question 4

Question
The Snap! stage’s coordinates run from ______
Answer
  • X = -480 to X = 120 and from Y = -120 to Y = 360
  • X = -180 to X = 180 and from Y = -240 to Y = 240
  • X = -240 to X = 240 and from Y = -180 to Y = 180
  • X = -480 to X = 480 and from Y = -360 to Y = 360

Question 5

Question
Which block allows the user to control the speed at which the sprite moves to a desired location _____

Question 6

Question
Which script tells the sprite to follow the mouse around the stage ________

Question 7

Question
What shape will this script draw
Answer
  • Square
  • Triangle
  • Pentagon
  • Hexagon

Question 8

Question
The sprite will __________
Answer
  • Say 10,9,8,7,6,5,4,3,2,1,0
  • Say 0,1,2,3,4,5,6,7,8,9,10
  • Say 0,10,20,30,40,50,60,70,80,90,100
  • Say 100,90,80,70,60,50,40,30,20,10,0

Question 9

Question
What does the following code draw?

Question 10

Question
What does the following code do?
Answer
  • Displays even numbers from 1 to 100
  • Displays odd numbers from 1 to 100
  • Displays every other number from 1 to 100
  • Displays every other number from 100 to 1

Question 11

Question
What will the output of this script be
Answer
  • Draws a Square
  • Draws a Circle
  • Draws a Squiral
  • Draws a Pentagon

Question 12

Question
What will the output of this block be
Answer
  • 1
  • 2
  • 3
  • 4

Question 13

Question
What will the output of this script be
Answer
  • 10
  • 120
  • 155
  • 50

Question 14

Question
What will this script output be?
Answer
  • Brazil, Japan, Rwanda
  • 3
  • Japan
  • Brazil, Rwanda

Question 15

Question
What will the output of this script be?
Answer
  • 0
  • Russia, Brazil
  • Russia, Brazil, Rwanda
  • Russia, Brazil, Rwanda, Japan

Question 16

Question
In the script presented, to create a random size triangle, which block should get the pick random block
Answer
  • Script Variable a
  • Script Variable b
  • Set a to
  • Set b to

Question 17

Question
The function for determining one exterior angle of a polygon is
Answer
  • 360 * # of Sides
  • 360 / Length of Sides
  • 180 / Length of Sides
  • 360 / # of Sides

Question 18

Question
Which of these best describes the role of an abstraction in a program?
Answer
  • It solves mathematical equations
  • It’s a specific set of tasks and it can be used multiple times
  • It is a way of naming variables
  • It is another name for a line of code

Question 19

Question
How many Bits are there in one Byte?
Answer
  • 1
  • 8
  • 0 There are no Bits in one Byte (it's the other way around)
  • 128

Question 20

Question
Which of the following describes a variable in a program?
Answer
  • It is a number
  • It is a mathematical symbol
  • It is a item that gets assigned a value or information
  • It is a sentence

Question 21

Question
Note: that the reporter blocks and return the x and y values respectively of the sprite’s location on the stage. Which of the following is drawn when the script is executed?
Show full summary Hide full summary

Similar

Snap Exam
Teacher Bland
1_List quiz
Teacher Bland
List quiz
Samuel Melendez
Snap Exam
Samuel Melendez
quiz-Ping Pong game
Samuel Melendez
social media and teenagers
Paige Little Bear
Social Media and Teens
Samuel Hardy
operations programs
Samuel Melendez
begin snap quiz
Samuel Melendez
List quiz
Teacher Bland
quiz-Ping Pong game
Teacher Bland