Back to marketplace

Chapter 7 - Programming

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

In a flow chart what does a slanted square mean?

Back (Answer)

Input or output

#2
Front (Question)

In a flow chart what does a square mean?

Back (Answer)

Process, doing something

#3
Front (Question)

What is machine code?

Back (Answer)

Instructions represented in binary used by the CPU

#4
Front (Question)

What does machine code consist of?

Back (Answer)

An opcode: tells the processor what to do An operand: tells the processor what to do it to

#5
Front (Question)

What are binary bit patterns decoded by?

Back (Answer)

The processor’s logic circuits

#6
Front (Question)

What is high-level languages?

Back (Answer)

A programming languages which resembles a natural language, each instruction translates to many machine instructions. It is problem based rather than machine based.

#7
Front (Question)

Why is there a new for translators?

Back (Answer)

CPU does not understand high level code, therefore it must be translated into a set of machine code instructions

#8
Front (Question)

What is an assembler?

Back (Answer)

Software which translates mnemonic instructions in assembly language to machine code

#9
Front (Question)

What is a compiler?

Back (Answer)

Converts the whole high level code into machine code before running it

#10
Front (Question)

What is an interpreter?

Back (Answer)

Converts the code one instruction at a time, running each instruction before translating the next

#11
Front (Question)

What is source code?

Back (Answer)

Code written by the programmer A compiler turns source code into object code which runs independently to the source code

#12
Front (Question)

Advantages + disadvantages of an assembler?

Back (Answer)

Precise and direct instructions to the computer hardware Difficult to code and limited range of commands available

#13
Front (Question)

Advantages + disadvantages of a compiler?

Back (Answer)

Code runs quickly once compiled Difficult for others to modify without access to source code Initial compilation can be slow Errors are generated for all the code at once - difficult to debug

#14
Front (Question)

Advantages + disadvantages of an interpreter?

Back (Answer)

Executes one statement at a time so easy to debug Code can be developed and tested in stages More portable as the code will run anywhere as long as there is an interpreter available Interpreter takes up space in memory Code executes slowly Interpreter needed on target machine

#15
Front (Question)

What is an IDE?

Back (Answer)

Translators usually include an integrated development environment o help programmers

#16
Front (Question)

What are typical features of an IDE?

Back (Answer)

Source code editor Error diagnostics and debugger Run time environment Translator (compiler/interpreter) Automation tools

#17
Front (Question)

What is a source code editor?

Back (Answer)

A text editing area organises the code including indenting structures and colour coding command words, variables an comments

#18
Front (Question)

What is an error diagnostics and debugger,

Back (Answer)

Warnings identify potential problems with the code and listing errors found in the code

#19
Front (Question)

What is a run time environment?

Back (Answer)

Allows the developer to run the code during development to check for logical errors

#20
Front (Question)

What is a translator?

Back (Answer)

Compiled or interprets the source code into runnable machine code

#21
Front (Question)

Why are automation tools?

Back (Answer)

Auto documentation: tracks variables, sub routines and comments as the project is developed ( produce text file used for maintenance) Wizards: autocomplete woe as it is typed

#22
Front (Question)

What is a constant/variable?

Back (Answer)

A named storage space reserved in memory to store the value associated with that variable name or constant

#23
Front (Question)

What does an integer store?

Back (Answer)

Whole number values, positive or negative with no decimal part

#24
Front (Question)

What does a real store?

Back (Answer)

Numbers with a decimal part or factional part