Stuff To Learn 2.1 - 2.5 Flashcards
(27 cards)
Abstraction
Removing unnecessary detail from a problem - So you can then focus on essential components
Decomposition
Involves breaking down large problems into smaller sub-problems which can then be broken even further until each small task is manageable
Algorithmic Thinking
Logical way of getting from a problem to a solution - If the steps you take follow an algorithm this can be used again in the future
What will output from an AND gate
Will only have an output of 1 if both A and B are 1
What will output from an OR gate
It will have an output of 1 if either A or B are 1
What happens at a NOT gate
It inverts/swaps the input
Normal testing?
Data the user is likely to enter into the program
Boundary testing?
Values at the limit of what the program should be able to handle
Invalid Testing
Inputs with correct data type that should be rejected by the program
Erroneous Testing
Inputs with an incorrect data type that should be rejected by the program
Iterative testing?
Tests modules and parts of a program as the program is developed
Final/Terminal testing?
Tests the whole program at the end of production
Examples of Low level languages
Assembly language, Machine Code
Examples of High Level Language
Java, VB P, C++, Python
Advantages of Low Level Languages
Can run very quickly
Usually requires less RAM
Statements can be used to control and manipulate specific hardware components
Advantages of High Level Languages
Easier to learn
Programs can be written faster
Easier to understand and debug
Disadvantages of Low Level Language
Harder to learn
If written for one type of processor it won’t work a.different type of processor
Characteristics of compiler
Translates whole program to produce object code
Compiled program executes faster - Already in machine code
No need for compiler to be present when object code is run
Customers that have bought commercial software cannot see the code when they buy it so it cannot be adapted.
Characteristics of an Interpreter
Translates and executes one line at a time
Takes more time to execute as each instruction is translated
Interpreter must be installed to run program
Customers can see the source code so they can adapt it or see how it works
Features of an IDE(Integrated Development Environment)
Line Numbers = When errors are found - Line numbers that they occur on will be told
Syntax Highlighting = Colour of text changes to show different parts of the program
Error Diagnostics = Help programmers find where they have made a mistake
Debugging code = Breakpoints(Set up by the programmer) used so that the IDE stops the program mid-way through running
Run-time environment = Allows a programmer to test their program while it is running
Interpreters and Compilers are types of?
Translators
What does the circular edged rectangle represent in flowcharts?
Start and Stop
What does the rectangle represent in flow charts?
Operation(Process)
What does the square shaped diamond represent in flowcharts?
Decision(IF Statement)