Computing Flashcards
(51 cards)
How is sequential code executed ?
Line by line
What type of data does an integer variable hold?
Whole numbers
What is the name given to the type of programming construct that allows the program to respond to different input conditions ?
Selection
Python uses banks of ELIF statements but what do other programming languages use to represent multiple possible conditions in a program?
Select case statements
Which type of program requires the use of a count controlled loop?
One where we know how many executions of the loop are required
Which type of program requires the use of a condition controlled loop?
One where we want the loop code to continue executing until a condition is met or not met
What are the two possible single values that a computer can represent?
1 and 0
What will happen if the condition in a WHILE loop is never met?
The program will not stop
What is ITERATION
Looping or repeating sections of a program
What is an identifier whose value is fixed and cannot be changed within a program?
A constant
What is the name given to programming in binary ?
Machine code
What is the name given to the process of checking a while program to ensure that it is capable of being executed by the CPU?
Compiling
What does GUI stand for?
Graphical User Interface
What are sequential operations ?
Instructions that are executed In order
What are control operations ?
Instructions do not have to be carried out in order. It can be divided further into:
• Conditional operations
• Iterative operations
What are conditional operations ?
A control structure that checks if a condition is TRUE or FALSE and then executes an instruction based on the answer (IF…ELSE).
What are iterative operations ?
A control structure that repeats a set of instructions until a condition is met.
What is an algorithm?
An algorithm is a sequence of instructions (operations ) that can be executed (carried out ) to perform a particular task and then end.
What are the 2 main algorithmic operations ?
- Sequential operations
* control operations
What is a variable
An identifier that points to a value that can change
What is a value?
A number string or character
What is syntax ?
RULES of the language that must be followed to make the program work
What are the 2 types of CONDITIONED LOOPS?
WHILE loop
and
REPEAT loop
What is REPEAT loop?
Loop that is executed at least once and then check the condition had been met