WS-4.1&4.2 - Software (Solution)
WS-4.1&4.2 - Software (Solution)
(System & Application software – High & Low level languages – Integrated
Development Environment)
Index : ................ Name : ........................................................... Grade – 10 (A/B)
1. Tick one box in each row to identify if the software is an example of system software or
application software.
Word processor
Defragmenter
Operating system
Image manipulation
System clean up
Database
Web browser
Spreadsheet
Device driver
2. There are five types of software on the left and four items of hardware on the right.
Draw lines to connect each software item to the hardware item where the software will reside;
each hardware item may be used once, more than once or not at all.
a) Software that runs in the background and checks for malware; suspect programs are
quarantined and deleted if necessary.
b) Software that rearranges data on a hard disk drive (HDD) to reduce the scattering of the data
stored on the HDD.
c) Software that manages access control and user accounts and also protect network interfaces.
........ Security
software .............................................................................................................
d) Program that supplies static or moving images on a monitor when the computer has been idle
for a period of time.
e) Software that communicates with the operating system and translates data into a format
understood by an input/output device.
4. State the difference between system software and application software using an example of
each.
System software is designed to control hardware and provide platform for application
software to run on the computer. Application software is designed to do some specific task
as per user’s need, it runs over operating system. System software always runs in the
background to allows application software to interact with computer hardware.
Application software can be executed by user as and when they are required.
Example – File manager, Anti-virus, File Compressor, Disk Defragmenter, Backup Utility,
Diagnostic Utility, etc.
Operating system is a set of system software that controls the hardware and helps other
application software to run on the computer. A computer can’t be used without operating
7. a) Explain the differences between a Graphical User Interface (GUI) and a Command Line
Interface (CLI).
GUI is a communication system with hardware and software which provides commands
and instruction in Graphical form to the user like, icons, menus, windows and pointer
to select and interact with computer. CLI is an Interface which provides a way to type-
in the command and instruction on the screen to get something done by the computer.
CLI is faster, flexible and more accurate. It requires less memory. It needs only
keyboard. All commands need to be remembered.
Manage primary RAM and allows data to be moved between RAM and HDD/SSD.
Keeps track of all the free and allocated memory locations. It ensures that two different
applications do not use the same memory locations at the same time.
1. File management – allows to save, delete, rename, copy and move files.
2. Multi-tasking – allows more than one application to run at the same time.
3. Manages the User’s Account – provides user name and password to allow more than
one user to log into the computer.
3. Provides System security – prevent illegal intrusion; network security; ensures the
integrity and confidentiality of data through access rights and privileges.
A signal sent from a device or a software to the CPU to get its attention; CPU stop its
current task temporarily and serve interrupt request. For example, interrupt can occur
when the user presses a key in the keyboard; when a paper jam occur in a printer;
when a software crashes.
When the Interrupt signal is sent to CPU, microprocessor checks its priority index in
the Interrupt Request Queue (IRQ). If the priority index of the interrupt received is
higher than the current task, then CPU stops and stores the current process. Checks the
source of the Interrupt and call the relevant Interrupt Service Routine (ISR) to serve
the Interrupt request. After finishing the Interrupt request, CPU restores and continue
with the stored process.
It allows more than one program to run at a time. Operating system allocates CPU timing
for each process to do its task. Each process is given a priority level. Process with higher
priority is executed automatically by interrupting and saving the current process.
Buffer is a temporary memory usually in RAM that holds data right before it is used. It
is used to compensate the difference in processing speed of CPU and peripheral devices.
It allows the processor to perform other tasks while waiting to receive or send data to
input/output devices.
b) Describe how Interrupt and Buffer are used in the printing process of a large document.
A portion of data from the document to be printed is sent to the printer buffer from the
computer memory. Processor continues with other job. Printer buffer is emptied by
sending the contents to the printer. When print buffer is empty an Interrupt signal sent
to processor requesting further data to be sent to buffer. Processor stops its present job
to refill buffer. The process continues until the whole file is printed.
For example - File manager, File Compressor, Disk Scanner, Disk Defragmenter,
Diagnostic Utility, Antivirus, Backup Utility, Data Recovery Utility . . . etc.
14. Describe what is meant by disk thrashing and why does it occur.
A problem that may occur when virtual memory is being used. The swapping of data
between RAM and Hard disk causes a very high rate of hard disk read/write head
movement. If more time is spent on moving data in and out of memory, then the speed of
processing data will be considerably reduced. Dish thrashing can also lead to premature
failure of a hard disk drive.
Device driver is a system software that allows the operating system to communicate
with a specific hardware device. They are hardware dependent and operating-system-
specific. It operates and controls a particular hardware attached to the computer, like
Sound card, Graphic card, Network card, Printer ...etc.
All Device drivers contain a collection of basic information about the devices called
Descriptor. It includes unique manufacturer-ID, product-ID and serial numbers to
identify the connected device. The operating system uses these information to determine
which device driver must be loaded to use that device.
c) What is the role of descriptor when a memory stick is plugged into a USB port of a
computer for the first time?
The USB port provides power supply to the device, to activate and communicate with
computer. The OS (operating system) sends a request to the USB port to identify the
device. The unique manufacturer-id, serial number and type of the device stored in
device descriptor is send to the OS. The operating system uses these numbers to
determine which device driver must be loaded to use that device.
Firmware is a piece of software stored in the read-only memory chip ROM of a device
at the time of manufacturing in order to make the device run properly. It provides low
level control for devices. It provides necessary instructions to the device for
communicating with other computer hardware. Firmware is read only and do not need
to be changed.
1. Basic Input/Output System (BIOS), a firmware which initializes and controls the
input and output operations.
Low-level language : Assembly language which uses mnemonic codes and Machine
language which uses only binary digits 0s and 1s are collectively called Low-level
language. Low-level languages are machine dependent. It uses machine specific codes.
Program written in one machine cannot be used in another machine.
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
c) Name and describe the translation program used to convert low-level language into
machine language.
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
a) Describe why David prefer to use Interpreter when creating a computer program.
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
b) Describe why David needed to compile program when he has completed it.
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
.......................................................................................................................................................
19. Rizwan is writing a program to operate his newly designed drone. Give reason why he would
prefers to write the program in low-level language.
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
20. a) Describe what is meant by Integrated Development Environment (IDE) and give reason
why programmer prefer to use IDE while writing a program.
.....................................................................................................................................................
.
.....................................................................................................................................................
.
.....................................................................................................................................................
.
.....................................................................................................................................................
.
.....................................................................................................................................................
.
.....................................................................................................................................................
.
i) Auto-completion
...............................................................................................................................................
.
...............................................................................................................................................
.
...............................................................................................................................................
.
...............................................................................................................................................
.
ii) Auto-correction
...............................................................................................................................................
.
...............................................................................................................................................
.
...............................................................................................................................................
.
...............................................................................................................................................
.
iii) Prettyprinting
...............................................................................................................................................
.
...............................................................................................................................................
.
...............................................................................................................................................
.
...............................................................................................................................................
.
c) Identify two other features provided by IDE. Give a reason why each feature is necessary.
...............................................................................................................................................
.
ii) ...............................................................................................................................................
.
...............................................................................................................................................
.
21. Tick () one of the most appropriate answer you think is correct.
a) Which of these options describes a task carried out by the operating system?
(A) preventing unauthorised access to a computer system.
(B) handling the HTTPS requests from a website.
(C) allocating memory to competing applications running on a computer system.
(D) booting up the computer motherboard when the computer is powered up.
c) Which of these is the correct name for the operating system function that allows many
programs to run simultaneously?
(A) utility program. (C) embedded system
(B) application package (D) multitasking
e) Which of the following will produce a signal which is sent to the CPU to suspend its current
operation?
(A) bootstrap (C) interrupt
(B) buffer (D) quarantine