Programming

?
describe the difference between a constant and a variable
A variable can be changed or accessed by a program whereas a constant can only be accessed by a program and not changed.
1 of 19
What is an Integer and what is its Pseudocode form?
INT and it is a whole number used to store data that will never have a fractional or decimal value.
2 of 19
What is Real and what is its pseudocode form?
REAL and it is a number that could contain decimal or fractional values.
3 of 19
What is Boolean and what is its pseudocode form?
BOOL and it can only ever store one of the two values, True or False.
4 of 19
What is a Character and what is its pseudocode form?
CHAR and it is any sort of letter, symbol or digit.
5 of 19
What is a string and what is its pseudocode form?
STRING and it stores a string of characters.
6 of 19
What is used during creating Boolean Expressions?
NOT, AND and OR
7 of 19
What is a sequence?
When a set of instructions are carried out one after the other.
8 of 19
What is a selection?
A condition to decide the path through the program and which set of intstructions to take.
9 of 19
What is an iteration?
Where a group of instructions is executed repeatedly until a condition is met or while a condition is true.
10 of 19
What is a function?
Another part to a program aka a subroutine.
11 of 19
What is a procedure?
The main program that is fully executed.
12 of 19
What does the term len mean?
It determines the length of a string
13 of 19
What does the term print(text[2]) mean?
It prints the character in that position.
14 of 19
What does the term searchstring mean?
It finds the starting position of a substring within a string of text.
15 of 19
What does the term concatenation mean?
It combines two strings into a single string.
16 of 19
What does Upper() or Lower() mean?
It turnsa string that was originally upper case or lower case to the opposite on.
17 of 19
What does isupper() or islower() mean?
A TRUE value will be returned if the string is what is asked for and if not a FALSE value will be printed.
18 of 19
What is the difference between a global and a local variable?
A global variable can be found anywhere outside any function whereas a local variable can only be found inside the function.
19 of 19

Other cards in this set

Card 2

Front

What is an Integer and what is its Pseudocode form?

Back

INT and it is a whole number used to store data that will never have a fractional or decimal value.

Card 3

Front

What is Real and what is its pseudocode form?

Back

Preview of the front of card 3

Card 4

Front

What is Boolean and what is its pseudocode form?

Back

Preview of the front of card 4

Card 5

Front

What is a Character and what is its pseudocode form?

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Programming resources »