Java Games: Flashcards, matching, concentration, and word search.

Computer Science--quiz 4 review

Review for Quiz 4

AB
Control Floworder in which lines of a program are run
Loopcontrols the flow of a program by repeating lines of code, instead of letting the program run straight to the end.
Iterationrepetition--one cycle of a loop
for loopa loop that iterates through a block of code a specific number of times or until something specific happens in the program
range()used to set the number of times a for loop will repeat, or iterate
speed()controls the speed at which the turtle moves.
speed(1)slowest
Speed(0)is as fast as possible.
Anglemeasurement of the degrees of distance between 2 lines where the lines intersect
objectanything that can be used by Python to do something
classan object that can be used to make copies of itself
instanceEach copy of a class
bugan error in a program's code
Debuggingfixing errors in a computer program.
Syntaxset of rules for how a programming language needs to be written
Conceptual bugshe code does something different from what the programmer wants
Input bugwhen the user inputs something the programmer wasn't expecting
Logic Bugcreated by control flow techniques such as loops that control the order in which the program's code is run or if a loop cycles one too many times.
Resource Bugcan be created when a variable is used without ever having been given a value


Andreas, PA

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities