0% found this document useful (0 votes)
16 views2 pages

4 Software Quick Revision

The document discusses different types of software, including system software, application software, and operating systems. It describes how hardware, firmware, and operating systems work together to run applications. Interrupts and programming languages like assembly language are also covered, as well as the roles of compilers and interpreters.

Uploaded by

ayesha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

4 Software Quick Revision

The document discusses different types of software, including system software, application software, and operating systems. It describes how hardware, firmware, and operating systems work together to run applications. Interrupts and programming languages like assembly language are also covered, as well as the roles of compilers and interpreters.

Uploaded by

ayesha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

19 | P a g e

4 Software Q) How hardware, firmware and an operating


4.1 Types of software and interrupts system are required to run applications software?
Q) Describe the difference between system • Ans) Applications are run on the operating system
software and application software and provide • The operating system is run on the firmware
examples of each. • The bootloader (firmware) is run on the hardware
Ans)
• System software provides the services that Q) What is an interrupt?
the computer requires, including operating Ans) An interrupt is a request generated by a
system and utility software. hardware, software or user to seek attention of

• Application software provides the services operating system.

that the user requires. Software interrupts include division by zero and
two processes trying to access the same memory

Q) Describe the role and basic functions of an location.

operating system • Hardware interrupts include pressing a key on

Ans) the keyboard and moving the mouse.

• managing files
Q) The mobile telephone has an operating system.
• handling interrupts
Describe the purpose of the operating system.
• providing an interface
Ans) It performs the basic functions of a computer
managing peripherals and drivers: allocates data
It manages the hardware
to buffers, transmits data to hardware, receives
It provides a platform to run software
data from hardware
It provides a user interface
• managing memory: allocates memory to
It performs tasks such as (any example of function
processes, prevents two processes accessing
of an operating system)
the same memory

• managing multitasking
Q) In a computer system the operating system is
• providing a platform for running
run directly on the firmware. Identify which type
applications: allows application software to
of software runs directly on the operating system.
run on the computer
Ans) Application programs
• providing system security

• managing user accounts


20 | P a g e
4.2 Types of programming language, translators Ans) An interpreter translates and executes the
and integrated development environments code line-by-line.
(IDEs) • An interpreter stops execution when an error is
Q) Explain what is meant by a high-level language? found.
Ans) High level language consists of English similar •

words. • Q) Explain the advantages and disadvantages of a


Advantages of High Level Language compiler and an interpreter.
ease of reading and writing code, • Ans) An interpreter is mostly used when
e.g. low-level is hard to read developing a program and a compiler is used to
ease of debugging code translate the final program.
machine independence
direct manipulation of hardware Q) Explain the role of an IDE in writing program
code and the common functions IDEs provide.
Q) What is meant by Assembly Language? – code editors
Ans) Assembly language is a form of low-level – run-time environment
language that uses mnemonics, and that an – translators
assembler is needed to translate an assembly
– error diagnostics
language program into machine code.
– auto-completion
Q) Describe the operation of a compiler.
– auto-correction
Ans) A compiler translates the whole code at once
– pretty print
before executing it, producing an executable file
A compiler provides an error report for the whole
code if errors are detected.
Q) Describe how interpreter works?

You might also like