Chapter 4
Chapter 4
Software
Types of Software and Interrupts
System Software:
o Operating System (OS): Manages hardware and software resources, provides common services for
computer programs.
Application Software:
o Software designed to perform specific tasks for users.
Firmware:
o Software that is permanently stored in a hardware device, providing low-level control for the device's
specific hardware.
Role of Interrupts:
o Mechanisms by which a computer responds to urgent tasks by temporarily halting the current code
execution.
o Disadvantages: Slower execution, and higher resource usage compared to low-level languages.
Low-Level Languages:
o Closer to machine code, providing more control over hardware.
Translators:
o Compilers: Translate entire code from high-level language to machine code before execution.
Answer: ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
Answer: ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
Answer: ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
Answer: ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
Answer: ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
Answer: ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
Long Questions
1. Discuss the role and basic functions of an operating system in a computer.
Answer: ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
............. ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
2. Explain the advantages and disadvantages of high-level languages compared to low-level languages.
Answer: ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
............. ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
3. Describe the role and functions of an integrated development environment (IDE) when writing code.
Answer: ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
............. ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
4. Compare and contrast the operation of compilers and interpreters, including their advantages and
disadvantages.
Answer: ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
............. ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
5. Explain the concept of interrupts and how they are used to manage processes within a computer system.
Answer: ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
............. ..............................................................................................................................................................................
............................................................................................................................................................................................
............................................................................................................................................................................................
.............
Multiple-choice questions (MCQs)
1. Which of the following is a type of system software?
o A) Word Processor
o B) Web Browser
o C) Operating System
o D) Game
o A) To write code
o A) Develop software
4. Firmware is:
o A) Assembly
o B) Python
o C) Machine Code
o D) Binary
o A) Assembler
o B) Interpreter
o C) Compiler
o D) Debugger
8. Which component of an IDE provides facilities for writing and editing code?
o A) Compiler
o B) Code Editor
o C) Debugger
o D) Version Control
o D) High-level abstractions
o D) Harder to maintain
o A) Slower execution
o C) Immediate execution
o D) Easier debugging
o A) System software
o B) Firmware
o C) Application software
o D) Utility software
o A) Web browser
o C) Code editor
o D) Operating system