Programming Techniques Flashcards
Data types
Integer
Float
String
Character
Boolean
Casting
Changing the data type
Maintenance
Commente
Descriptive variable naming
Indents
Sub programs
Variable
A named location in memory that holds a single value and that value can be changed whilst the program is running
Constant
A named location in memory that holds a single value and that value can not be changed whilst the program is running
List
A named location in memory that holds multiple values. It is dynamic and can change size to hold more items whilst program is running
Array
A named location in memory that holds multiple values and those values can not change whilst program run. It is static
Data constructs
Sequence
Selection
Iteration
While loop
Condition controlled
For loop
Count controlled
Computational thinking
Abstraction- removing irrelevant information from a problem to focus on important information
Decomposition- breaking down the problem into smaller more manageable tasks
Algorithmic thinking- establishing a step by step solution to solving the problem