[GEAS] COMPUTER PROGRAMMING Flashcards
The process of creating a sequence of instructions that a computed will follow to perform a specific task
Computer Programming
Used to represent start and end of flowchart and what shape?
Terminal (oblong)
Used for input and output operation and what shape?
input/output (parallelogram)
Used to represent the operation in which there are 2 or 3 alternatives, true and false etc. and what shape?
Decision making (diamond)
Used for arithmetic operations and data-manipulations and what shape?
Process (rectangle)
Used to represent a group of statements performing one processing task
Predefined process
Link to another process (two answers)
Connector or on-page and off-page
Language used to control the behavior of a machine
Programming Language
Software that is used to translate high-level language into machine code
Compiler
Used for storing data values
Variables
What are the different data types? and their functions
integer: numbers, can be computed
double: can handle larger values, 64 bits in size
float: 32 bits in size
character: cannot be computed
string: text
boolean: true or false
Used to store multiple values in a single variable, instead of declaring separate variables for each value.
Arrays
[Arithmetic Operations] +
Addition
[Arithmetic Operations] -
Subtraction
[Arithmetic Operations] *
Multiplication
[Arithmetic Operations] /
Division
[Arithmetic Operations] %
Modulus: remainder
[Assignment Operations] ++
increment (+1)
[Assignment Operations] –
decrement (-1)
[Assignment Operations] +=
increment by n (+n)
[Assignment Operations] -=
decrement by n (-n)
[Comparison Operations] >
greater than