Professional Documents
Culture Documents
INTRODUCTION To Computer
INTRODUCTION To Computer
CSE 111
Lecture note
CSE 111: Introduction to Computer Science I (3 Units)
Historical Development of Digital Computers: The contributions of Pascal, Leibniz, Joseph
Jacquard, Charles Babbage, Herman Hollerith etc. Progression of computer electronics: ENIAC
and EDVAC, technological innovation during wartime. Computer Generations: 1st – 5th
generation, the major features of each generation. Classification of computer based on size,
purpose and capability. Computer Architecture: Von Neumann Architecture; Explanation on
storage, input and output units of computer system. Definition and explanation on hardware
component of a computer. System software: Operating systems, Operating system functions,
Types of operating systems, Stand-alone operating systems, Network operating systems,
embedded operating systems. Utility programs. Language Translators; Compiler, Interpreter,
Assembler. Application software: Productivity software, Developing a document, Graphics and
multimedia software, Software for home, personal, and educational use, Software for
communications. Applications on the Web, Learning aids and support tools within an
application. The Network & Internet: Meaning of internet, internet protocols. Network Types,
Network Topologies. Communications channel, Physical transmission media, Wireless
transmission media. Communications software, Telephone network, Network Communication
devices (switches, routers, hub, Modem etc), Uses of communications technologies. The Search
engines. Computer security; risks and safeguards, How viruses work and how to prevent them,
Internet and network security, Information privacy.
The word Computer comes from the word “compute” which means to calculate. The urge of
olden day man to count made him invent computer. The olden day man uses his fingers, toes to
count. After exhausting these two options the olden day man uses stones and as the numbers
continue to grow, man decided to device other means for counting and calculating.
A computer may be defined as a device that operates upon data or information. A computer can
store, process and retrieve data as and when desired. Hence it may, be referred to as data
processor. As a data processor a computer may gather data from different incoming data sources,
merge them (process of mixing or putting together), sort them (arrange them in desired fashion)
and finally print them in the desired format. None of them is an arithmetic operation.
Hence, we can finally define computer “as an electronic data processing device that accepts
data as input through input device from external world, processes the same data internally,
stores the same data on storage device and generates the output via output device in user’s
desired fashion.”
1. Speed: Computer is a very fast device. It can operate on large volume of data in few
seconds when compared with human beings, most especially when perform mathematical
operations. It processes millions of instructions per second. The time taken by computers
for their operations is microseconds and nanoseconds.
2. Accuracy: The accuracy of a computer is consistently high and this is dependent on the
design of a particular computer. Errors do occur in computers but it is due human
imprecise thinking and analysis which results in data inconsistence.
3. Diligence: Unlike humans, computers are free from monotony, tiredness and lack of
concentration. Therefore, they can work for hours without creating any errors or feel
fatigued.
4. Versatility: Computer is capable of performing different task simultaneously with same
accuracy and efficiency, provided such task is reduced to a series of logical steps. This is
one of the most wonderful characteristics of computer. One moment it may be preparing
the result sheet of an examination, another moment it may be playing an audio, in the
next moment it may be helping someone with searching and editing of a letter.
5. Retrieval: Computer can recall any amount of information as long as it is desired by the
user. Even after several years, the information would be as accurate as when it was fed
Thereafter, Blaisé Pascal invented the first mechanical adding machine in 1642. In like manner,
in 1671, Baron Gottfried Wilhelm Von Leibniz of Germany invented the first calculator for
multiplication. This brought about keyboard machines, which originated in United States around
1880 and is extensively used till today.
Around this period, only Dr. Herman Hollerith came up with the concept of punched cards and
Census Machine that read those cards. These cards were extensively used as an input media in
primitive digital computers. Business machines and calculators made their appearance in Europe
and America towards the end of 19th century.
Charles Babbage, a Professor at Cambridge University in 19th century is considered to be the
father of modern digital computers. During his period, mathematical and statistical tables were
Advantages Disadvantages
1. Vacuum tubes were the only 1.They were too bulky in size, one computer can fill a room
electronic components available 2. They were totally unreliable devices.
during those days. 3. It generated lot of heat, which as a result led to malfunction.
2. Vacuum tube technology made 4. Due to the emission of large amount of heat, air conditioning
possible the advent of electronic was required.
digital computers. 5. It was prone to frequent hardware failures.
3. These computers were the fastest 6. It required constant maintenance.
calculating devices of their time. 7. They were not portable.
They could perform computation 8. It required manual assembly of individual components into
in milliseconds. functioning units.
9. Their commercial production was difficult and very costly.
10. It had a very limited commercial usage.
Advantages Disadvantages
1. Smaller in size as compared to first 1. Air conditioning required
generation computers. 2. Frequent maintenance required.
2. They were more reliable. 3. Manual assembly of individual components into a
3. Lesser heat was generated from them functioning unit was required.
4. These computers were able to reduce the 4. Commercial production was difficult and costly as
computing time from milliseconds to many thousands of individual components had to be
microseconds. assembled manually into functioning circuits.
5. Less prone to hardware failure. 5. The manual assembly of individual components and
6. Better Portability cost of labour involved at this assembly stage made the
7. Wider commercial use. commercial production of these computers difficult
and costly.
Advantages Disadvantages
1. They were smaller in size as compared to previous generation 1. Air conditioning was still a
computers. prime requirement.
Advantages Disadvantages
1. They were smallest in size because of the high component 1. They required highly
density. sophisticated technology for
2. They were very reliable. the manufacturing of VLSI
3. The heat generated by these systems is negligible so no specific chips.
requirement of air conditioning systems is there except if
desired by users for their comforts.
4. They were much faster in computation than their previous
generation counterparts.
5. The hardware failure is minimal in these machines.
• Physical Layer: is the electrical and electronic layer of computer. It falls under computer
technology. Most sophisticated component of computer are built from transistors,
capacitors and resistors
• Digital Logic Layer: All basic operations of the machine are provided at this level, data
can be stored, manipulated and transmitted inform of simple binary representation. The
digital logic elements are often referred to as gate.
• Micro programmed layer: Computers interpret machine language instruction from the
machine layer and directly causes the digital logic elements to perform the required
operation. These program instructions are called microcode and the control program is
called microprogram.
• Operating system layer: Controls the way in which all software uses the underlying
hardware. It also hides the complexities of the hardware from other software by
providing its own facilities which enables software to use the hardware more simply
• High order software layer: This covers all the programs in languages other than
machine language which requires translation into machine code before they can be
executed. Such programs when translated rely upon the underlying operating system
facilities as well as the machine code instruction.
• Application layer: Is the language of the computer as seen by the end-user.
The architecture above runs programs in what is known as the von Neumann execution cycle
(also called the fetch-decode-execute cycle), which describes how the machine works. One
iteration of the cycle is as follows:
• The control unit fetches the next program instruction from the memory, using the
program counter to determine where the instruction is located.
• The instruction is decoded into a language the ALU can understand.
• Any data operands required to execute the instruction are fetched from memory and
placed into registers within the CPU.
• The ALU executes the instruction and places the results in registers or memory
• Input devices accept data in a form that the computer can use; they then send the data to
the processing unit.
• The processor, more formally known as the central processing unit (CPU), has the
electronic circuitry that manipulates input data into the information people want. The
central processing unit executes computer instructions that are specified in the program.
• Output devices show people the processed data-information in a form that they can use.
• Storage usually means secondary storage. Secondary storage consists of devices, such as
diskettes, which can store data and programs outside the computer itself. These devices
Processor
Management
(1) Network Operating System: A Network Operating System runs on a server and provides
the server the capability to manage data, users, groups, security, applications, and other
networking functions. The primary purpose of the network operating system is to allow
shared file and printer access among multiple computers in a network, typically a local area
network (LAN), a private network or to other networks. Examples of network operating
systems include Microsoft Windows Server 2003, Microsoft Windows Server 2008, UNIX,
Linux, Mac OS X, Novell NetWare, and BSD.
The advantages of network operating systems are as follows:
• Centralized servers are highly stable.
• Security is server managed.
• Upgrades to new technologies and hardware can be easily integrated into the system.
(2) Embedded Operating System: An embedded operating system is a specialized operating
system for use in the computers built into larger systems. An embedded system is a
computer that is part of a different kind of machine. Examples include computers in cars,
traffic lights, digital televisions, ATMs, airplane controls, point of sale terminals.
The advantages of embedded operating system are as follows:
• Designed for specific applications
• Compact and efficient.
• Eliminate many unneeded features of operating system.
• Used in PDAs, cell phones, kitchen applications.
(3) Standalone Operating System: A standalone operating system is complete works on a
notebook or desktop computer. It is a complete operating program that works correctly on a
computer or laptop for that specified path. A standalone operating provides its services and
B) Utility Program: A utility program, also called a utility, is a type of system software that
allows a user to perform maintenance type tasks, usually related to managing a computer,
its devices or its programs. Utility programs are built into many operating systems or can
be purchased separately. Functions provided by the utility program are:
• Managing files
• Searching for files
• Viewing Images
• Uninstalling programs
• Cleaning up disks (disk defragmentation)
• Backing up files and disks
• Setting up screen savers
• Securing a computer (antivirus)
C) Language Translators: Translators are the software programs, which can translate
programs written into source language to target language. A Translator in computer science
follows the sequence of operation that is performed by a human translator. Fortunately for
the construction of translators, for the computer languages are far simpler than any spoken
language, hence the task of writing a program that translates from source language to the
target language is far simpler from translating from French to English. Some computer
translators are:
(b) Interpreter: An Interpreter is a program that translates high-level source code into
executable code. However, the difference between a compiler and an interpreter is that
an interpreter translates one line at a time and then executes it, no object code is
produced, and so the program has to be interpreted each time it is to be run. If the
program performs a section code 1000 times, then the section is translated into machine
code 1000 times since each line is interpreted and then executed. Whenever the
programs have to be executed repeatedly, the source code has to be executed every time.
In contrast the compiled programs create an object code and this object will be
(ii) Graphic Design and Multimedia: Used by Power Users (engineers, architectures,
publishers, etc.)
• Computer Aided Design (CAD): Creating architectural designs – 3-D shapes
• Desktop publishing (DTP): Used for high-quality colour documents (textbooks),
Supports Page-layout, arranging text and graphics page-by-page, includes a colour
Library (standard set of colours used to ensure that colours will print as expected)
• Paint/Image Editing
• Video and audio editing
• Multimedia Authoring
• Web Page Authoring