Font size
WorksheetsSoftware - Computer Science CIE IGCSE
Total questions: 49
Worksheet time: 31mins
Interrupts are...
Software-based
Hardware-based
Allows a computer to multitask
Operating System
Interrupts
HDD
Bespoke software
The interrupt handler...
Allows the computer to multitask
Saves the current task whilst the interrupt is dealt with
Reinstates the current task once the interrupt is dealt with
Manages interrupt priorities
What is another name for the BIOS?
Firmware
Bootstrap
Interrupt handler
EEPROM
Where is the BIOS stored?
Firmware
HDD
Operating system
EEPROM
What can interrupts be caused by?
A timing signal
System clock
computer crash
input/output process
hardware fault
What can interrupts be caused by?
User interaction
simple server system
EEPROM
software errors
What does the computer establish once the interrupt has been generated?
Interrupt type
Interrupt handling
Interrupt priority
Interrupt timing
The computer uses this to carry out an interrupt
EEPROM
RW
ISR
BIOS
What does ISR stand for?
International Space Recruit
Internet System Real
Inter-technological Software Register
Interrupt Service Routine
What are examples of software interrupts?
User pressing a key on the keyboard
Division by 0
Programs trying to access the same memory location.
Moving the mouse
What are examples of hardware interrupts?
User pressing a key on the keyboard
Division by 0
Programs trying to access the same memory location.
Moving the mouse
Programming languages dependent on computer hardware
Assembly code
LLLs
HLLs
Machine code
What are example of Low Level Languages?
Assembly code
Java
Machine Code
Pseudocode
Programming languages that are independent of computer hardware but that must be translated into machine code before being executed.
Assembly code
LLLs
HLLs
Machine code
What are examples of High Level Languages?
Java
Python
Delphi
Assembly Code
Pascal
What are examples of High Level Languages?
Visual Basic
C#
Swift
Pseudocode
C⁺⁺
What are advantages of HLLs?
Independent of the type of computer being used (portable)
Easier and quicker to read and write code
Easier and quicker to debug programs
Hardware is directly manipulated by coder
Can use machine-dependant instructions
What are advantages of LLLs?
Independent of the type of computer being used (portable)
Easier and quicker to read and write code
Easier and quicker to debug programs
Hardware is directly manipulated by coder
Can use machine-dependant instructions
What are disadvantages of HLLs?
Hardware is not directly manipulated
Hard to read and write
Hard to debug
Dependant on type of computer in use
What are disadvantages of LLLs?
Hardware is not directly manipulated
Hard to read and write
Hard to debug
Dependant on type of computer in use
Procedural
HLLs
LLLs
A form of LLL that uses mnemonics
Assembly language
Binary
Hexadecimal
Python
Needed to convert assembly language to machine code
Assembler
Compiler
Machine
Interpreter
What is assembly language used in?
Device drivers
Machine-dependent instructions
Machine-independent instructions
Writing code that takes up little primary memory
Web development
What is assembly language used in?
Writing code that performs a task quickly
Special hardware
Manipulating software
Internet development
Produces an executable, or EXE, file
Compiler
Interpreter
Provides an error report for the whole code if error is detected
Compiler
Interpreter
Translates all the code at once
Compiler
Interpreter
Translates code line by line
Compiler
Interpreter
Stops execution of code when an error is detected
Compiler
Interpreter
What are advantages of compilers?
Takes up less memory space
Code runs faster
No need for a translator after it is compiled
EXE file can be stored ready for use
Easier to edit and debug
What are advantages of interpreters?
Takes up less memory space
Code runs faster
No need for a translator after it is compiled
Parts of code can be redistributed with bug fixes
Easier to edit and debug
What are disadvantages of compilers?
Takes longer to develop as more testing is required
Bug fixes and new code must be completely re-compiled and re-tested
Runs slower
Translator must be installed
What are disadvantages of interpreters?
Takes longer to develop as more testing is required
Bug fixes and new code must be completely re-compiled and re-tested
Runs slower
Translator must be installed
What are examples of compiled languages?
C⁺⁺
C#
Java
Python
What are examples of interpreted languages?
C⁺⁺
C#
Java
Python
When are compilers primarily used?
When developing a program
When translating the final program
When are interpreters primarily used?
When developing a program
When translating the final program
What are IDEs used for?
Writing code
Developing code
Running code
Compiling code
Interpreting code
What are common IDE functions?
Code editors
Run-time environment
Translators
Error diagnostics
Displayer
What are common IDE functions?
Auto-completion
Auto-correction
Prettyprinting
Single-line interpreting
Auto-coder
Allows program to be written and edited without the need for a separate text editor. Speeds up program development time>
Code editor
Run-time environment
IDE
Prettyprinting
Shell window where the code is run and any errors reported
Code editor
Run-time environment
IDE
Error diagnostics
Any compiler or interpreter that enables the program to be executed by converting the HLL into machine code
Translator
Run-time environment
IDE
Error diagnostics
Error checking system that underlines errors in red or puts up an error sign as code is run. Dynamic error checking checks for errors as code is typed.
Translator
Run-time environment
Auto-correction
Error diagnostics
Offers context-sensitive suggestions with text completion for variable names and reserved words.
Translator
Auto-completion
Auto-correction
Error diagnostics
Automatically corrects mis-spelt words
Prettyprinting
Auto-completion
Auto-correction
Error diagnostics
Colour-codes key words in program, making the code easier to read
Prettyprinting
Code editor
Auto-correction
Error diagnostics
