Computer Assignment 1
Computer Assignment 1
(i) ALU (Arithmetic This unit of the and Logical Unit) CPU is
capable of performing arithmetic and logical operations like
addition, multiplication, subtraction, division, comparison of
two numbers, etc.
(ii) Memory Unit
A processor has its own memory inside it in the shape of small
cells. Each memory cell is called a "Register". ALU gets data
from registers and stores it in registers to perform arithmetic
and logical operations. Data comes in registers from primary
memory (RAM) of the computer.
(iii) Control Unit
This unit of the processor controls all the activities of the
processor and also controls the input and output devices of the
computer like mouse, keyboard, VDU, printer, etc.
4. Keyboard
It is an input device that is used for input of text or numbers
into the computer in the CUI (Character User Interface). Keys
placed on the Keyboard are in a special sequence, according to
the make up and strength of the human hand. The standard
arrangement of alphabetic keys is known as Qwerty Keyboard,
its name derived from the arrangement of five keys at the
upper left of the three rows of the alphabetic keys.
5. Sound Card and Speakers
The present age is the age of multimedia. Therefore, at present,
computers are also equipped with a Sound Card and Speakers.
With the help of these, music stored as digital data in the
computer is converted into analog data of sound waves.
6. Monitor and Liquid Crystal Display (LCD) Panel
It is also called 'Computer Screen' or 'Display'. The monitor
displays the computer's user interface and open programs,
allowing the user to interact with the computer, typically
using keyboard and mouse. In old days, monitors were built
using 'cathode ray tubes' and, therefore, called CRT
monitor. CRT monitor is big in size and takes more
electricity and desk space. Now-a-days monitors are built
using 'liquid crystal display' and, therefore, called LCD
monitor. It is thin in size and takes less space and electricity.
7. Printers
Printers are devices used for producing information as a
hard copy, i.e., in a printed form. Printers are broadly of two
types:
(i) Impact Printers
Printers in which the head of the printer touches the paper
during printing are known as impact printers, for example,
Dot Matrix Printers, Line Printers, Wheel Printers, Chain
Printers and Drum Printers.
(ii) Non-Impact Printers
These are printers in which the head of the printer does not
touch the paper during printing: for example, Laser printers
and Inkjet printers.
Q2. What are the different generations of a computer .
Discuss.
Over time, computer is characterized by a major technological development that
fundamentally changed the way computers operate, resulting in increasingly smaller,
cheaper, and more powerful and more efficient and reliable devices. These changes are
recognized as a progression of generations, each characterized by specific developments.
Generations of computers and their characteristics
are given below:
1. First Generation— Vacuum Tubes (1939–1959)
The first generation computers were powered by thousands of vacuum tubes for circuits
and magnetic drums for memory. These computers were large because of the
massive number of vacuum tubes that were required. The tubes themselves were very
large in size similar to the size of electric bulb . They required lot of energy, and in turn
generated much heat. The first generation computers were very slow, consumed huge
amount of power with poor reliability and low accuracy. First generation computers relied
more on machine language to perform operations and inputs were based on punch cards
and paper tapes. Z1, Z3, and UNIVAC I are some of the examples of first-generation
computers.
2. Second Generation— Transistors (1959–1965)
The transistors replaced the vacuum tubes in the second generation computers. The
transistors controlled the flow of electricity through the circuits. The use of transistors was
a breakthrough in technology that allowed computers to become physically smaller, more
powerful, more reliable, and even faster. The transistor was developed at Bell Labs in 1947
by William Shockley, J. Bardeen, and W.H. Brattain. The transistors were less expensive
and smaller, required less electricity, and emitted less heat than vacuum tubes. In
addition, fewer transistors were required to operate a computer; they were
not as fragile as vacuum tubes, and lasted longer. As the components were substantially
smaller, the size of the computer itself could be reduced considerably. These computers
used magnetic core as main memory and used card readers and printers for input and
output. The second generation computers moved from machine language to assembly
language, which allowed the programmers to write instructions in words rather than
binary digits as in machine language. Some examples of the second generation computers
are:
• IBM 70, 1400, 1600 series
• Honeywell 400 800 series
• Burroughs B 5000, 200 series
• GEC’s GE 645, 200 series
• UNIVAC’s Univac III
1. Text Input: Keyboards are primarily used for typing text, whether it's for writing
documents, sending emails, or entering data into software applications.
2. Command Entry: Keyboards allow users to input various commands to control the
computer or execute specific functions within software programs.
3. Navigation: Keyboards often include arrow keys, function keys, and other navigational
keys that facilitate movement within documents and interfaces.
4. Shortcut Keys: Many keyboards have special keys or combinations of keys (e.g., Ctrl+C for
copy, Ctrl+V for paste) that provide quick access to common tasks, improving productivity.
5. Gaming: In gaming, keyboards are used for character movement, actions, and
communication in multiplayer games.
6. Accessibility: Keyboards are important for individuals with disabilities, providing an
alternative input method for those who may have difficulty using a mouse or touch-based
devices.
• Mouse
Functions:
(i) It can point objects on the monitor.
(ii) It can use to open files/folders/documents on the monitor.
(iii) It can select things on the computer monitor.
(iv) It can use for dragging or changing the position of a file on the monitor.
(v) It can help in drawing pictures, playing games, playing music, etc...
• Light Pen
A light pen is a peripheral input device, used for inputting analog information in a digital format.
The "analog" information may be a plan or drawing which needs to be digitized so that it can be
manipulated in a computer program.
An architect for example may use a pen to copy a set of drawing into he computer so that they
can be manipulated in a CAD program.
• Voice Recognitions
Voice recognition offers significant benefits to a wide variety of potential users. Most
obviously, it is extremely useful for anyone with a physical disability who finds typing
difficult, painful or impossible. Additionally, it can help to reduce the risk of getting
a repetitive strain injury (RSI) or to manage any such upper limb disorder more
effectively.
Voice recognition programmes can also greatly benefit people with dyslexia who
would otherwise struggle with spelling and/or structuring sentences correctly.
More generally, voice recognition can help to make mobile working easier, as well
as offering potential productivity benefits to anyone who might not be very proficient
at typing. In fact, most people can talk much faster than they can type accurately –
while ‘hands-free’ computing also offers additional scope for multi-tasking.
MICR lines help facilitate automatic check-clearing when banks send their checks
to central processing systems at the end of the day.
They are designed to be easily read by people as well, so that check information
can be communicated easily.
• Web Camera
A webcam is used to perform video chat with another person over the internet. In
laptops, you get a single camera, generally just above the screen is a known as
webcam.
Technically, any camera that you can use to video chat with one or more persons
over the web is a webcam.
2. An output device is a peripheral device that accepts data from
a computer and transforms them into a usable form, thus
allowing the computer to communicate information to humans
or other machines. The most common output devices include
printers and display screens. A printer is a machine that helps
in generating output on a paper. The printer varies in size,
speed, and features. The most commonly used type of printers
is laser printers. The monitors or screens have changed from
Cathode Ray Tube (CRT) technology to Liquid Crystal Display (
LCD) technology over the last
two decades.
The commonly used output devices are:
• Printers
Printing: The primary function of a printer is to produce a hard copy of digital documents
or images onto paper or other types of media. It takes electronic data from a computer or
other devices and transfers it onto the physical medium.
1. Text and Image Output: Printers can reproduce both text and images. They can print
documents such as letters, reports, essays, spreadsheets, and presentations. Additionally,
they can produce high-quality images such as photographs and graphics.
2. Paper Handling: Printers have mechanisms for paper handling, including paper feeding,
alignment, and stacking. They can accommodate various sizes and types of paper, such as
letter, legal, A4, envelopes, labels, and photo paper.
3. Connectivity: Modern printers often have multiple connectivity options to facilitate
printing from different sources. These include USB connections, Ethernet ports, Wi-Fi,
Bluetooth, and wireless printing technologies like AirPrint and Google Cloud Print.
4. Multifunction Capability: Many printers are multifunction devices, combining printing with
other functions such as scanning, copying, and faxing. These all-in-one printers offer
convenience and space savings by integrating multiple office tasks into a single device.
5. Print Quality Control: Printers allow users to adjust print settings to control the quality of
output. Options like color calibration, resolution settings, and paper type selection enable
users to customize the print output to their preferences and requirements.
• Speakers
Speakers are used to connect to a computer to generate sound, which are
one of the most common output devices. Some speakers are designed to
connect with any kind of sound system, while some can be hooked up only
with computers.
Q4. What are primary and secondary storage devices. Explain their importance.
Primary storage devices are the media that hold memory for a shorter
period of time when the computer is running. Such devices have lower
access time but faster time. RAM and cache are two examples of primary
storage devices. It is also known as main memory, primary memory,
internal memory and main storage.
Importance:
(i) Fast Access to Data: Primary storage provides rapid access to data
and programs, enabling efficient and swift processing.
(ii) Volatile Storage: It holds data temporarily, making it essential for
processing tasks and operations that require immediate access to
data.
(iii) Operating System Loading: It is used to load and run the
operating system, allowing the computer to function and execute
tasks.
(iv) Application Execution: Primary storage holds applications
and software in use, enabling smooth and efficient execution.
(v) Data Caching: It caches frequently accessed data, enhancing the
speed of data retrieval and improving system performance.
(vi) Buffering: It provides a buffer for data, smoothing out the
differences in data processing and transfer rates, and ensuring
uninterrupted data processing.
(vii) Temporary Data Storage: It stores temporary data created
during program execution, providing space for data manipulation and
computation.
(viii) Supporting CPU: Primary storage supports the CPU by
holding instructions and data for processing, ensuring efficient and
seamless operations.
(ix) Enhancing Performance: It enhances overall system
performance by providing fast, immediate access to data and
programs, reducing processing time.
(x) Immediate Data Availability: Ensures that data is immediately
available for processing, reducing latency and improving task
execution time.
Secondary Storage Devices
Functions:
Due to the sheer volume of data generated daily, it is ideal to have a highly
resilient and flexible storage option.
Cost is another important factor to consider when choosing the storage type. In
many cases, secondary storage is about cost savings. There’s no point in paying
premium prices for data that doesn’t require instant access.
Slower hard drives and tapes are the ideal mediums for secondary storage for data
that requires long retention times and infrequent access. However, while opting for
secondary storage, all the disks and tapes must be tested regularly to ensure they
function properly. Companies need to monitor device lifespan to retire the aging
devices before they fail.
Data should not be kept in secondary storage devices indefinitely. They must be
evaluated regularly, preferably yearly, to see if the resources are effectively used.
What is an operating system? Why operating system is considered a crucial
component of the computer system? Mention the different types of OS and their
functions.
OPERATING SYSTEMS
An operating system is a system management program that is a collection
of integrated computer programs that provide recurring services to other
programs or to the user of a computer. These services consist of disk and
file management, memory management, and device management.
In other words, it manages CPU operations, input/output activities, storage
resources, diverse support services, and controls various devices. The
operating system is the most important program for computer system.
Without an operating system, every computer program would have to
contain instructions telling the hardware each step the hardware should
take to do its job, such as storing a fi le on a
disk. Because the operating system contains these instructions, any
program can call on the operating system when a service is needed.
The operating systems are generally considered crucial :
• Convenience: It makes the computer more convenient to use
• Efficiency: It allows computer system resources to be used in an
efficient manner
• Ability to evolve: It permits effective development, testing, and
introduction of new system functions without interfering with
service.
• Hide details of hardware by creating abstraction: An abstraction
is software that hides lower level details and provides a set of
higher-level functions. An operating system transforms the
physical world of devices, instructions, memory, and time into
virtual world that is the result of abstractions, built by the
operating system. There are several reasons for abstraction.
• First, the code needed to control peripheral devices is not
standardized. The operating systems provide subroutines called
device drivers that perform operations on behalf of programs for
example, input/output operations.
• Second, the operating system introduces new functions as it
abstracts the hardware. For instance, operating system
introduces the file abstraction so that programs do not have to
deal with disks.
• Third, the operating system transforms the computer hardware
into multiple virtual computers, each belonging to a different
program. Each program that is running is called a process. Each
process views the hardware through the lens of abstraction.
• Fourth, the operating system can enforce security through
abstraction.
136 Information Technology for Management
system programs are loaded into primary storage as needed and are removed when they have
completed their tasks.
the user need not worry about how much primary storage is available since the program
is segmented into pages. A page is a storage area of predetermined size that contains a
certain number of instructions. The pages are kept on secondary storage devices and are
swapped in and out of primary storage as needed.
• Virtual Machine (VM) Operating System. A virtual machine (VM) operating system
is a very powerful programme that can run several different operating systems at one time.
It allows several users of a computer system to operate as if each had the only terminal
attached to the computer. Thus, users feel as if each is on a dedicated system and has sole
use of the CPU and input and output devices.
After a VM operating system is loaded, the user chooses the operating system that is
compatible with the intended application. Other operating systems, such as the virtual-
storage operating system, appear as just another application program to the VM operating
system. Thus, the VM system gives users flexibility and allows them to choose an operating
system that best suits the needs of a particular application.
• Mobile Operating Systems. An operating system for mobile devices, it is the software
platform that helps in running a mobile application. It is meant for all kinds of mobile
devices like handheld computers, set top boxes, mobile telephones, smart phones, PDAs,
and factory floor equipment. The examples of mobile operating systems include embedded
Linux, Microsoft’s Windows CE, and Pocket PC, Windows Embedded NT 4.0, and Palm
OS.
PROGRAMMING LANGUAGES
So for we have talked about operating systems softwares that seek to optimise the utilisation of the
hardware and to meet the demands of users. The application softwares, by contrast, is primarily
concerned with accomplishing the tasks of end users. Of the hundreds of different programming
languages available, all fit into one of the four general categories: machine, assembly, high level,
and fourth generation languages.
Machine Language
The machine language is made up of 1s and 0s and is the only programming language that
the computer can understand. However, there is no single universal machine language. The
arrangement of 1s and 0s to represent similar instructions, data, and memory locations differs
among computers because of different hardware designs.
The machine language programs have the advantage of fast execution speeds and efficient use
of primary memory. However, writing machine language is a very tedious, difficult, and time-
consuming method of programming. As a low level language, it requires that the programmer
has detailed knowledge of how the computer works since every detail of an operation must be
specified. As you might imagine, it is easy to make an error but very difficult to remove it from
(debug) a machine language program.