programming Flashcards
What are these data types?
- integer
- real
- Boolean
- character
- string
Integers are whole numbers.
Real is used to represent numbers with a decimal point.
Boolean is used to represent true or false values.
Character is used to represent a single character.
Strings are used to store represent characters.
What is assignment?
It sets or re-sets a value in a storage location.
What is definite iteration?
It repeats a set a number of times.
What is selection?
Selection is a decision within a program.
What is a subroutine?
They are pre-written programs which perform specific operations.
What is indefinite iteration?
It repeats a set until a condition is met.
What is nested iteration?
It is an iteration statement that appears inside of another iteration statement.
What is a data structure?
A data structure is a way of storing multiple items of data under one identifier.
What is an array?
An array is a data structure with a fixed number of elements (spaces) for storing items of data.
What is a substring?
It is a string of characters inside of a string.
What is concatenation?
It is when you combine two or more strings.
What is string conversion / casting?
It is when you change the data type of a variable.