OCR Computing Chapter 7
- Created by: AliceSarah
- Created on: 06-06-17 22:50
View mindmap
- Ch. 7 - Programming
- Testing
- Good design & use of IDE
- Syntax - errors in language, e.g. misspelling
- Logic - not producing the expected result OR decisions that stop completion (infinite loops) - lead to run time errors
- General
- Flowchart symbols - oval = start/stop, rect. = process, parallel. = in/output, diamond = choice
- Algorithm - solution to a problem
- Pseudocode - like |English - uses indentations & loops
- Data Types
- Integer - whole no.
- Array - no. of variables with same name
- Real - decimals
- Character - one symbol
- Boolean - true or false
- String - many symbols
- Languages
- Machine Code - low level, impossible to write. Binary - opcode & operand
- High Level - like English, HTML, must be translated to binary
- Assembly - between high and binary, low level, uses abbreviations
- Compiler - whole code at once, Interpreter - line at a time
- Flow Control
- Sequences - ordered list of instructions
- Selection - uses conditions, path based on outcome of decision
- Iteration - repeat while a condition is true, or until a condition is true
- IDE
- Integrated Development Environment
- Source code editor - organises code, e.g. indentation
- Debugger - identifies potential errors
- Runtime Environment - checks for logic errors during development
- Autocomplete code
- Translator - into machine code
- Testing
Similar Computing resources:
Teacher recommended
Comments
No comments have yet been made