#1-5
#6-10
#11-15
#16-20
#21-25
100

Which item defines a "computer program"

A sequence of instructions written in a language that can be understood by a computer and that performs a specific task or solves a problem.

100

Which statement explains the difference between a pseudo-random number generator and a truly random number generator?

Truly random number generators extract randomness from physical phenomena and introduce it into a computer.

100

Which item defines a function in TouchDevelop?

A function is a self-contained set of instructions for performing a specific task within a computer program.

100

Which random range code is correct for a coin flip?

random range (1, 2)

100

Which term refers to a sequence of drawings used in the planning stage of a movie, animation or computer program?

Storyboard

200

Which of the problems listed below would be difficult for a computer, but easy for a human?

Identifying the image of a dog within a photograph.

200

Which item is an advantage of incorporating "randomness" into game play?

Randomness creates complex play and can force the user to use deductive skills.

200

Which term is an antonym for the word, variable?

Constant

200

Which random range code is correct for choosing a blue candy from a bag with candies colored green, red, yellow, orange, and blue?

random range (1, 5)

200

Which of the following is the best description of what the on every frame code does?

Continually checks to see if a condition exists

300

The basic unit of programmable color on a computer display or in a computer image is a logical unit known as a:

Pixel

300

A container for data is known as a:

variable

300

What happens in TouchDevelop when the following line of code is executed?

var text := wall → ask string("what is your name?")

The variable, text, is declared and initialized as the string, "what is your name?" and it is displayed on the wall.

300

Which term refers to the use of specific shapes and order to create a visual representation of a computer program?

Flowchart

300

Which term refers to a programming construct that allows for a block of code to be repeated multiple times?

Loop

400

In computer science, the process of breaking a complex problem or system into parts that are easier to conceive, understand, program and maintain is known as:

Decomposition

400

Which term refers to setting the value of a variable for the first time?

initialize

400

In computer programming, what is a string?

A data type comprised of a sequence of characters

400

Which term refers to a set of steps to solve a particular problem?

Algorithm

400

The code that tells how to react to an event is known as the:

Handle

500

A sprite that is 100 pixels wide and 200 pixels high is placed on the screen. After entering the following code, what are the dimensions of the sprite?

sprite->set width(50)

width: 50 height: 100

500

In TouchDevelop variable declaration and initialization can happen at the same time.

True

500

Which of the following statements is an example of a conditional statement?

Students who get As on their report card will make the principal’s list.

500

Which term refers to an outline of a computer program written in a form that can easily be converted to actual programming statements? (Hint: It is not an actual programming language)

Pseudocode

500

Which statement is TRUE about events in TouchDevelop?

Each event runs to completion before the next event starts running.