Which of these is most similar to a computer program?
  • Science Book 
  • Encyclopedia 
  • Blue Print 
  • Dictionary 
A programmer is to a computer as a teacher is to:
  • a desk 
  • a student
  • a library 
  • a principal
Imagine a car as a computer, and its engine as a program. Which of the following is an input for the engine program?
  • gas pedal
  • driver's seat
  • steering wheel
  • windshield wipers
A good algorithm must be: 
  • replacable
  • simple 
  • open-ended
  • detailed
What is wrong with the following "code" for opening a bottle?Grip cap with index finger and thumbRemove capTwist counter-clock-wise until seal is broken
cs-2 sb-1-Computer Programmingimg_no 378.jpg
  • to many steps
  • not specific 
  • function doesn't apply to every bottle 
  • instructions are out of sequence
How can the following instruction be made more specific? "Meet Joe at the corner of Main Street and First Avenue."
  • describe how you first met Joe
  • list all the streets that intersect with First Avenue
  • describe current weather conditions 
  • set an exact time for the meeting
Imagine writing a program that instructs a bird how to take off, fly, and land. What function is likely to be looped?
  • lift off
  • flap wings
  • find landing spot
  • land
If a program has gone through many iterations, what must be true?
  • The code is extremely complex
  • The code has changed a great deal over time
  • The code is written in more than one language
  • The code once contained many bugs
For a chef, what is the most important variable in preparing a meal for a dinner party?
  • Time the party starts
  • Distance of the grocery store
  • Brand of the stove
  • Number of guests
In MIT App inventor a component that can detect clicks is a 
  • textbox
  • sprite
  • text to speech
  • button
What is the variable when setting a thermometer? 
  • How many people are in the room
  • The room you are in
  • The temperature
  • None
A computer program is best described as a series of ___________.
  • Instructions
  • Questions
  • Answers
  • Numbers
Which terms best describes each step in a computer program?
  • Vague
  • Confusing
  • Random
  • Specfic
A ____ is a mini-program with several lines that can be called on whenever needed.
  • Code
  • Function 
  • Bug
  • Loop
 What does a loop do to a section of code?
  • Deletes it
  • Repeats it
  • Reverses it
  • Filters it
What is a synonym for "iterating?"
  • Include
  • Improve
  • Introduce
  • Incomplete
What is another term for a mistake in a computer program? 
  • Bit 
  • Bug
  • Botch 
  • Byte
A conditional statement in plain English usually contains which pair of words?
  • If, then
  • And,or
  • Either, neither
  • But, also
 If the coding steps are in the incorrect order, the computer can still execute the program.
  • True
  • False
Code is to a program and _______ is to Snapchat. 
  • filters
  • bug
  • iterate
  • grandma
A compound statement or block is enclosed in a pair of _____.
  • " "
  • { },
  • ( )
  • [ ]
The following, except one, are types of decision control structures.
  • IF-Then-Else
  • If-Else
  • If-Else-If
  • Switch
The following, except one, are types of repetition control structures.
  • while
  • for
  • repeat
  • do-while
Sequence means
  • order of events 
  • out of order
  • move around
  • go left
Debug means
  • changing order
  • move left
  • go around
  • find and fix errors
Algorithm means
  • move right
  • go forward
  • set of rules or steps for completing a task
  • a computer
A programmer is 
  • a person who operates on people
  • creates code for a computer application
  • a person who plays basketball
  • a doctor
A loop is 
  • a list of steps
  • a forward move in program
  • a sequence of steps that is repeated
  • a turn to the right in a program
What is a computer program?
  • list of steps to perform a specific task
  • walking to the left and spinning
  • talking to a person
  • repeating a step over and over
What is a command?
  • a password for a computer
  • instruction for the computer to do one thing.
  • a special program on the computer
  • a repeat or loop
When you code you...
  • walk to the right and turn
  • spin in circles
  • create a list of instructions the computer can follow
  • draw a picture
0:0:1



Answered

Not Answered

Not Visited
Correct : 0
Incorrect : 0