Programming Flashcards
Define integer.
A number with no decimal.
Define real.
A number that contains a decimal.
Define boolean.
A true/false value.
Define character.
A letter, number, space, punctuation mark, or symbol.
Define string.
Used to represent text, it is a collection of characters.
In pseudocode, what does MOD do?
q
In pseudocode, what does * do?
Multiplies
In pseudocode, what does ← do?
Assigns a value to a variable.
In pseudocode, what does DIV do?
q
What is meant by a constant?
A variable value that can’t be changed.
What is meant by a variable?
A variable value that can be changed.
Define string concatenation.
q
Give an example of string concatenation being used.
q
What is an IF statement?
q
Why are arrays useful?
q
What is a record?
q
What is a field?
q
Give one benefit of storing data in an external file.
q
Describe what OPEN() does.
q
Describe what CLOSE() does.
q
Describe what WRITELINE() does.
q
Describe what READLINE() does.
q
What is a subroutine?
q
What is the difference between a subroutine and a procedure?
q
Define parameter.
q
Define local variable.
q
Define global variable.
q