Vocab Flashcards
Algorithm
A sequence of steps that are followed to complete a curtain task
Decomposition
The process of breaking down problems into smaller problems
Abstraction
The process of removing unnecessary detail from a problem
Integer
A datum of integral data types (hole number)
Real
Data type which is a number that can have a decimal value
Boolean
The idea of two possible values which intend to represent two true values (true or false or 0 and 1) -one bit-
Character
A letter, number, space, punctuation mark or symbol that can be typed on a computer
String
A sequence of characters (composite data structure)
Identifier
A string (of alphanumeric characters that begin with an alphabetic character or an underscore character); they include names for variables, constants and subroutine names. created by user
Variable
A slot in memory the is given a name so that it can be referred to in a program, its value can change(opposite of constant)
Constant
A value that cannot be altered by the program during normal execution (opposite of variable)
Assignment
Sets/rests the values of an integer and copies it to a memory location(stores something in variable for first time)
Iteration
A set of instructions or structures are repeated in a sequence specified number of times or until a condition is met (repeated lines of code, like loops do)
Definite
A definite iteration will be repeated set number of times
Indefinite
In an indefinite iteration the structures will be repeated until certain conditions are met (for loops)
Selection
Decisions that must be made whilst designing the program (if statements)
Subroutine
Sequence of program instructions that preform a specific task given a name/identifier so that it can be referred back to (packaged as a unit)
Procedure
A piece of code that once its run, it stops (sub routine)
Function
A named section in the program that performs a specific task, can repeated multiple times and returns a value (sub routine)
Nested
Different logic structures sequences, selection and loop are combined (loop within a loop)
Array
Data structure that can store a fixed size of elements of a specific data type (data structure that stores different values)
Concatenate
Strings that have been put together
Structured Approach
using decomposition to make a smaller program to solve a program
Validation
The program checks the data to make sure it meets rules and restrictions