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.
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.
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.
Which random range code is correct for a coin flip?
random range (1, 2)
Which term refers to a sequence of drawings used in the planning stage of a movie, animation or computer program?
Storyboard
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.
Which item is an advantage of incorporating "randomness" into game play?
Randomness creates complex play and can force the user to use deductive skills.
Which term is an antonym for the word, variable?
Constant
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)
Which of the following is the best description of what the on every frame code does?
Continually checks to see if a condition exists
The basic unit of programmable color on a computer display or in a computer image is a logical unit known as a:
Pixel
A container for data is known as a:
variable
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.
Which term refers to the use of specific shapes and order to create a visual representation of a computer program?
Flowchart
Which term refers to a programming construct that allows for a block of code to be repeated multiple times?
Loop
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
Which term refers to setting the value of a variable for the first time?
initialize
In computer programming, what is a string?
A data type comprised of a sequence of characters
Which term refers to a set of steps to solve a particular problem?
Algorithm
The code that tells how to react to an event is known as the:
Handle
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
In TouchDevelop variable declaration and initialization can happen at the same time.
True
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.
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
Which statement is TRUE about events in TouchDevelop?
Each event runs to completion before the next event starts running.