Académique Documents
Professionnel Documents
Culture Documents
Computers
Introduction to computers
Algorithms & Flowcharts
C++ Fundamentals
Operators and Expressions
Flow of control
Derived Data types
Functions
Object oriented Programming Concepts
Dept. of CSE
References:
Dept. of CSE
Mode of evaluation
Sum of best two of three tests
20 +20 = 40 marks
Sum of best two of three
Assignments/quizzes/open book tests
5 + 5=10 marks
Total 50 marks
Dept. of CSE
What Is A Computer?
A computer is an electronic device,
operating under the control of
instructions (software) stored in its own
memory unit, that can accept data
(input), manipulate data (process), and
produce information (output) from the
processing.
Generally, the term is used to describe
a collection of devices that function
together as a system.
Monitor
(output
)
Speake
r
(output
)
Printer
(output
)
System unit
(processor,
memory)
Storage devices
(CD-RW, Floppy,
Hard disk, zip,)
Scanne
r
(input)
Mouse
(input)
Keyboard
(input)
Dept. of CSE
Dept. of CSE
Output Device
Arithmetic Logic
Unit
Control unit
Auxiliary storage
Device
Primary storage
Dept. of CSE
10
Input Devices
The input device is usually a keyboard where programs
and data are entered into the computer.
Examples of other input devices include
Mouse
Joystick
Light pen
Trackball
Optical Scanner
Touch screen
Voice input
Dept. of CSE
11
The Keyboard
The Mouse
System Unit
Data and instructions received from the input device are
stored and processed in the System unit. The Central
Processing Unit and Memory Unit are together called as
System Unit.
Dept. of CSE
14
16
16
Primary storage
Dept. of CSE
17
Output Devices
19
Floppy Disks
Hard Disks
Another form of auxiliary storage is a hard disk.
A hard disk consists of one or more rigid metal
plates coated with a metal oxide material that
allows data to be magnetically recorded on the
surface of the platters.
The hard disk platters spin at a high rate of
speed, typically 5400 to 7200 revolutions per
minute (RPM).
Storage capacities of hard disks for personal
computers range from 10 GB to 120 GB (one
billion bytes are called a gigabyte).
Dept. of CSE
21
Compact Discs
A compact disk (CD), also called an optical disc, is a
flat round, portable storage medium that is usually
4.75 inch in diameter.
A CD-ROM (read only memory), is a compact disc
that used the same laser technology as audio CDs
for recording music. In addition it can contain other
types of data such as text, graphics, and video.
The capacity of a CD-ROM is 750 MB of data.
Dept. of CSE
22
Flash Drives
Flash drive consists of flash
memory storage device
USB flash drives are
typically removable and
rewritable, much smaller than
a floppy disk
Storage capacities can be as
large as 256 GB
Dept. of CSE
23
Dept. of CSE
24
Computer Software
Software
System Software
Application Software
Dept. of CSE
25
System Software
System software consists of programs that
27
Application Software
Application
Software
is
directly
responsible for helping users solve their
problems.
Word processing
Electronic spreadsheet
Database
Presentation graphics
Word Processing
29
Electronic Spreadsheets
30
Database Software
31
Presentation Graphics
32
Computer Languages
Machine Language - Only programming language
available in earlier days
Consists of only 0s and 1s
Symbolic language or Assembly language symbols or mnemonics used to represent instructions
hardware specific
High-level languages- English like language using which
the programmer can write programs to solve a problem.
more concerned with the problem specification and
not oriented towards the details of computer.
eg: C, C++, C#, Fortran, BASIC, Pascal etc.
Dept. of CSE
33
Machine language
Uses two symbols 0 and
1
Each instruction is a
sequence of 0s and 1s
Can be directly executed
Difficult to understand,
write, modify and debug
Efficient(fast)
Not standardized
Called first generation
programming language
Dept. of CSE
34
Language translators
Assembler- takes assembly language program
as input and translates it into machine
language
Compiler- takes entire high level language
program as input and translates it into machine
language
Interpreter-takes one statement of high level
language program as input and translates it
into machine language and executes it
Dept. of CSE
35
Dept. of CSE
36
Computer Memories
The computer memory is classified into
Main memory-Primary storage
Secondary memory-Auxiliary storage
Cache Memory
Dept. of CSE
37
Main memory
This is a temporary memory because the
data and instructions stored here erased
when the power goes off.
This is also referred as primary memory.
It is a semiconductor memory and
measured in terms of megabytes and
gigabytes.
It consists of RAM and ROM
Dept. of CSE
38
39
Dept. of CSE
40
Dept. of CSE
41
Cache memory
It is a High speed memory and placed
between the CPU and the main memory.
Users cannot access this memory.
It stores the data and instructions currently
to be executed.
More costlier than main memory.
Lesser capacity than main memory
Dept. of CSE
42