Professional Documents
Culture Documents
Activity 8
1) The following figure illustrates a basic personal computer system. You can see different
controllers and interfaces connected to the bus. What are the purposes of having these
controllers and interfaces?
The purposes of having these controllers and interfaces are to interact with each other
whenever certain data enter in main system from the input devices. They also help in the
researching, collection, sharing an many more others of any kind of information, data.
2) What is the difference between a personal computer and a mainframe computer? Compare
the
architectures and applications.
The difference between a personal computer and a mainframe computer are as follows:
They can be bought in affordable price. They are expensive than personal computer.
They are medium in size and does not consume They are large and consume a lot of power.
a lot of power.
Processor bus
It is also called front-side bus that helps to connects processor of a computer to a north bridge
chip.
Backplane bus
It is an electrical connector that joins many circuits together that helps in a forming a complete
computer bus.
Cache bus
It is also called back side bus that operates a system bus in a very high speed to communicate
with its cache memory.
6) Compare USB 2 and USB 3 standards
USB 2 USB 3
It gives a rate of 480 megabits per second. It gives a rate of 5 gigabits per second.
. It has a slow speed so its communicating It is ten times faster than a USB 2.0.
speeds very low than USB 3.
7) What is the purpose of using channel architecture used in mainframe computers? Explain
with a suitable diagram.
: The main purpose of using channel architecture is to increase the speed of a Data transfer rate
between the DRAM memory and the memory controller. It also helps in the separation of I/O
processor that serves as a CPU for I/O operations. It also helps to connect sub channels to a
control unit.
8) What is a computer cluster? What are the advantages of having a cluster?
Computer cluster is a set of connections of computers that works together which can be viewed
as a single system containing each node set to perform the same task.
The advantages of having a cluster are:
Activity 9
1) Operating system is an important software component of a computer system. What are the
basic functionalities provided by an operating system to a user?
It accepts commands and requests from user and their programs with required output
results.
It manages loads and execute programs and manage hardware resources of computer.
2)What is the difference between multiprocessing and multitasking?
Multitasking- it executes multiple programs by using only one cpu.it support multiuser systems
Multiprocessing- simultaneously processing of multiple programs with multiple CPU or cores.
3) One of the basic services of an operating system is loading, managing and executing
programs. Why do you need an operating system for this purpose?
We need an operating software for this purpose because it act as an interface between the
user of computer and computer hardware.
4)What are the file management services offered by a general operating system?
The general file management service offered by general operating software are:
GUI example- windows, scrollbars, buttons, wizards, painting pictures, alternative icons
etc.
CLI example-PYTHON
7) What is the difference between a process and thread?
Threads running in shared memory whereas process running in separate memory. thread is a
segment of process it means process contain multiple threads.
9) Five programs are concurrently running on a 2.5 GHz processor sharing CPU time equally.
i. What is the cycle time of this processor
½.5*10 power 9= 0.4 nanoseconds
ii. If one quantum is five clock cycles how long would the CPU allow one program to execute
continuously?
5*0.4 nanoseconds
iii. Hence how long a program should wait to use the CPU again after completing an allocated
quantum?
8 nanoseconds
10) What is the kernel of an operating system?
A kernel is the central part of an operating system. It manages the operations of the computer
and the hardware, most notably memory and CPU time. A micro kernel, which only contains
basic functionality; A monolithic kernel, which contains many device drivers.
11) Briefly explain the architectures of monolithic, hierarchical and microkernel operating
systems.
A large executable binary program Monolithic Kernel runs all the basic system services like
process management, Memory management, I/O communication, and interrupt handling, file
system, etc in kernel space.
In this type of Kernel approach, the entire operating system runs as a single program in kernel
mode. The operating system is written as a collection of procedures that are linked together
into a large executable binary program. Monolithic Kernel runs all the basic system services like
process management, Memory management, I/O communication, and interrupt handling, file
system,
etc in kernel space. In this type of Kernel approach, the entire operating system runs as a single
program in kernel mode.
Microkernel is a software which contains the required minimum number of functions, data, and
features to implement an operating system. It provides a minimal number of mechanisms,
which is good enough to run the most basic functions of an operating system. It allows other
parts of the operating system to be implemented as it does not impose a lot of policies.
Hierarchical architecture views the whole system as a hierarchy structure, in which the
software system is decomposed into logical modules or subsystems at different levels in the
hierarchy. This approach is typically used in designing system software such as network
protocols and operating systems.
Activity 10
1) How the layered network models help to understand the network functionality?
5) Which layer of the TCP/IP model processes requests from hosts to make sure a connection is
made to the appropriate port?
Transport layer
6) Compare TCP and UDP protocols in terms of reliability and data transfer rate.
TCP is reliable it gives guarantee that data will deliver to the sender, connection oriented,
segment sequencing, acknowledge segments whereas UDP doesn’t not however UDP is faster
than TCP.
7) What is the length of an IPv4 address?
32 BITS
8) The IP address and subnet mask of a certain PC has been found to be 130.10.10.10 and
255.255.0.0. Find the network part and host part of this IP address.
It belongs to class b so there are same number of host and network bits.
130.10 represent network part and 10.10 represent host part.