Computational Constructs Flashcards
What is assignment
It is when you assign a value to a variable or a series of variables.
Sequence
When receiving information in a sequence one after the other.
Repitition
Use of a loop to repeat Code a certain number of times (fixed loop) or until a condition is met (conditional loop).
Sequence
When receiving information in a sequence one after the other.
Repitition
Use of a loop to repeat Code a certain number of times (fixed loop) or until a condition is met (conditional loop).
To the power of
Not equal to
Define Unconditional loops
It is a loop that would repeat code a set number of times.
Conditional loop
Loop that repeats code till a condition is met
Nested loop
A loop that is completely contained in another loop
Nested loop
A loop that is completely contained in another loop
Logical operators
They allow the program to make a decision based on what the user has entered and use AND and OR
Pre-defined functions
Exist within high level programming. Are functions that are there to carry out a specific calculation. The programmer doesn’t need to spend time thinking of a code to make a program do the calculation.
What is string concatenation
The joining together of strings to make one string variable. The variables are joined together by the & operator.
Name things text editors do and what it is
Text editors are used by programmers to produce the program code.
They :
- highlight variables
- Automatic indentation
- highlight codes that are possibly incorrect