Upload
dipanjan-das
View
216
Download
0
Embed Size (px)
Citation preview
8/22/2019 2762 Computer-Introduction 2
1/46
8/3/2013 Introduction to Computers 1
CHAPTER -1
8/22/2019 2762 Computer-Introduction 2
2/46
8/3/2013 Introduction to Computers 2
Back ofComputer
Remove these screws
8/22/2019 2762 Computer-Introduction 2
3/46
8/3/2013 Introduction to Computers 3
8/22/2019 2762 Computer-Introduction 2
4/46
8/3/2013 Introduction to Computers 4
End of Session # 2
Queries???
8/22/2019 2762 Computer-Introduction 2
5/46
8/3/2013 Introduction to Computers 5
CPU
The central processing unit or (CPU) is the "brain"of your computer. It contains the electronic circuitsthat cause the computer to follow instructionsfrom memory.
The CPU contains three main parts, all housed
in a single package (Chip):
Control Unit (CU)
Arithmetic Logic Unit (ALU)
Memory
BACK
8/22/2019 2762 Computer-Introduction 2
6/46
Session # 3Computer Peripherals
8/22/2019 2762 Computer-Introduction 2
7/46
8/3/2013 Introduction to Computers 7
Major Peripherals
Keyboard
Mouse
Hard Disk
Floppy Disk CD ROM
Printer
Scanner
Joystick
8/22/2019 2762 Computer-Introduction 2
8/46
8/3/2013 Introduction to Computers 8
Keyboard
Keypad contains:
Alphabets Numbers
Special Symbols
Function Keys
qwert Keyboard (Typewriter Keyboard).
On key press it sends a code (ASCII Code) to the CPU.
Plug N Play device.
Typical Cost is Rs.300 Rs.1200
8/22/2019 2762 Computer-Introduction 2
9/46
8/3/2013 Introduction to Computers 9
Mouse
Pointing & Click Device.
Two / Three Buttons
Wheel / Optical Mouse
NormallyLeft Click Select/ Run
Right Click Popup Menu
Typical Cost is Rs.100 Rs1000
8/22/2019 2762 Computer-Introduction 2
10/46
8/3/2013 Introduction to Computers 10
Hard Disk
Magnetic Memory Device.
Non-removable storage device.
Several Circular Magnetic Disks are housed in a
single case.
Data is stored as 1s & 0s.
Typical Capacity is 20 GB -80 GB
Typical Cost is Rs.2200 Rs6000
Cost/Bit is Low.
8/22/2019 2762 Computer-Introduction 2
11/46
8/3/2013 Introduction to Computers 11
Floppy Disk
Magnetic Memory Device.
Removable storage.
A single circular mylar plastic disk, coated with magnetic
material is packed in a protective plastic casing.
Typical size is 3.5 & Capacity is 1.44MB
Typical Costs are:
Floppy Drive -- Rs.300
Floppy Disk -- Rs.10
8/22/2019 2762 Computer-Introduction 2
12/46
8/3/2013 Introduction to Computers 12
CD ROM
Optical Device.
Removable Storage.
Read Only Memory.
Typical Capacity is 550 Mb 800MB
Typical Costs are:
Drive -- Rs.1000
Disk Rs10 Rs.35
Related Terms:
CD Writer
WORM
CD RW
8/22/2019 2762 Computer-Introduction 2
13/46
8/3/2013 Introduction to Computers 13
Printer
Output Device, Produces Hard Copy
Types: Dot Matrix
Inkjet
Laser Typical Cost Ranges from Rs.3500 Rs.2 lacs
Related Terms:
Impact Non Impact
Ribbon, Cartridge, Toner, Duty Cycle
Major Vendors in India:
HP, Cannon, Samsung, TVS, Epson etc.
8/22/2019 2762 Computer-Introduction 2
14/46
8/3/2013 Introduction to Computers 14
Scanner
Input Device, Converts a hard copy into acomputer file.
Used to Scan Signatures, Photographs etc.
Optical Device.
Typical Cost Rs.4000 Rs.75000
Major Vendors in India:
HP, Umax, Cannon
Nowadays Scanners with OCR produces
editable documents.
8/22/2019 2762 Computer-Introduction 2
15/46
8/3/2013 Introduction to Computers 15
End of Session #3
Queries???
8/22/2019 2762 Computer-Introduction 2
16/46
Session - 4
Overview of Operating System
8/22/2019 2762 Computer-Introduction 2
17/46
8/3/2013 Introduction to Computers 17
What is Operating System
OS is system software, which may be viewed ascollection of software consisting of procedures foroperating the computer.
It provides an environment for execution of programs(application software).
Its an interface between user & computer.
8/22/2019 2762 Computer-Introduction 2
18/46
8/3/2013 Introduction to Computers 18
Computer Machine
(Hardware)
User / Programmer
Operating System
Human Understandable Language(High Level Language)
Machine Language(Low Level Language)
8/22/2019 2762 Computer-Introduction 2
19/46
8/3/2013 Introduction to Computers 19
Types of OS
Multiprogramming OS
Multitasking/Multiprocessing
Multiuser OS
Time Sharing OS
Real Time OS
Distributed OS
8/22/2019 2762 Computer-Introduction 2
20/46
8/3/2013 Introduction to Computers 20
A Second Classification
This Classification is based on the type of interface
Operating System provides for the user to work in.
Character User Interface (CUI)
The User has to type the commands on thecommand prompt to get the work completed.
Ex. DOS, UNIX.
Graphical User Interface (GUI)
The User need not type any commands. He/She
just point and clicks on the desired Icon to get the
work done.
Ex. Windows (9X, XP, NT, 2000), Linux.
8/22/2019 2762 Computer-Introduction 2
21/46
8/3/2013 Introduction to Computers 21
Functions of OS
File Management
Memory Management
Process Management
Device Management
8/22/2019 2762 Computer-Introduction 2
22/46
8/3/2013 Introduction to Computers 22
Types of Processing
Serial Processing
The job is processed at the time when
it is submitted.
Batch Processing
The similar jobs are bunched together andare kept for processing at an later time.
8/22/2019 2762 Computer-Introduction 2
23/46
8/3/2013 Introduction to Computers 23
MS-DOS Overview
MS-DOS is an acronym for MicroSoft Disk Operating System
It is a CUI based operating system.
It provides user with a command prompt (generally called as C:\) where
various command could be typed.
When one operates in the DOS environment, one interacts with thecommand interpreter, which interprets the commands given by user.
It provides an environment for execution of various application programslike MS-Word, MODBANKER, ISBS etc.
8/22/2019 2762 Computer-Introduction 2
24/46
8/3/2013 Introduction to Computers 24
What is Command
It is a string of characters which tells the computer what to do.
When one types commands to a computer, one is conversingwith the operating system's command interpreter.
For example, to copy a file called file.txt from the 3-1/2"floppy drive to the hard drive, one could type
C:\> copy a:\file.txt c:\
The word "copy" is a DOS command which causes files to becopied from one location to another
8/22/2019 2762 Computer-Introduction 2
25/46
8/3/2013 Introduction to Computers 25
Entering the DOS Environment
If the OS is DOS then the system will directly show prompt (C:\>)
If the OS is windows one must either terminate the Windows environment, oropen a DOS shell within the Windows environment.
Ist Method: Terminating Windows Environment
Select Restart in MS-DOS Mode from Shut Down in StartMenu.
IInd Method: Opening DOS Shell in Windows
Select Start>Programs>Accessories>Command Prompt (XP)Start>Programs>Accessories>MS-DOS Prompt (98)
8/22/2019 2762 Computer-Introduction 2
26/46
8/3/2013 Introduction to Computers 26
Files and Directory
Files
A file is a collection of Records. It is the smallest unit of File System (Storage) in a computer.
Any document created using computer is a file. This document could either be aletter, any excel sheet, any image or even a database.
Directory A collection of files is directory (in DOS) or folder (in Windows) It is analogous to the Office Folder which contains various documents.
A directory/folder eases the management of related files/ documents, like thevarious circulars related to personnel could be placed in a directory calledpersonnel and all the circulars related to loans could be placed in a directory
called loans.
8/22/2019 2762 Computer-Introduction 2
27/46
8/3/2013 Introduction to Computers 27
Filenames in DOS?
The filename in DOS have the following format.
.
It has two parts the name and the extension.
The name could be of 8 characters and the extension of 3characters.
The filename can contain alphabets and numbers. It cannotcontain any special character other than underscore (_) andalso no spaces.
8/22/2019 2762 Computer-Introduction 2
28/46
8/3/2013 Introduction to Computers 28
Organization of files in DOS
The DOS file system is a hierarchical file system.
Files are collected into directories, and directories may contain
both files and other directories.
There is always a directory which is not contained by any other,
called the root which is represented by the backslash '\'
character.
8/22/2019 2762 Computer-Introduction 2
29/46
8/3/2013 Introduction to Computers 29
Organization of files in DOS (Contd.)
Concept of Path: Every file can be specified by enumerating
all of the directories between the root and it, separated by the
backslash '\' character, and appending the file name to the end.
The drive which contains the root is specified at the head of the
path, separated from the root by a colon (':')
The hard drive is most commonly known as the C: drive, and
the floppy drives are usually called A:(3-1/2 inch) and B: (5-
1/4 inch).
8/22/2019 2762 Computer-Introduction 2
30/46
8/3/2013 Introduction to Computers 30
Organization of files in DOS (Contd.)
/
circulars loans personnel
january february
retire.txt
rest.txt
abc.txt
officer.txt new.dat
Fig. Hierarchical Structure of Files
8/22/2019 2762 Computer-Introduction 2
31/46
8/3/2013 Introduction to Computers 31
Some DOS Commands
dir: Listing of all the directories.
C:\> dir
cls: Clears the screen.
C:\> cls
copy con: Creates a file.
C:\> copy con
< Write your Contents Here>Press Ctrl-Z (^Z) to finish writing.
Ex: C:\> copy con test.dat
Lets Make UCO a top class Bank.
Ctrl-Z (^Z)
1 file(s) copied. (A Message will be shown on the system)
This will create a file named test.dat having some data.
8/22/2019 2762 Computer-Introduction 2
32/46
8/3/2013 Introduction to Computers 32
Some DOS Commands (Contd.)
edit: Edits a file.
C:\> edit
This will open a editor window where the contents of file can be seen. Thesecontents could also be edited here and on saving, the contents of file willchange.
type: Displays the content of a file.
C:\> type
This will display the contents of file on the computer. The contents of file could
only be viewed but could not be changed, as in the case of edit.
8/22/2019 2762 Computer-Introduction 2
33/46
8/3/2013 Introduction to Computers 33
Some DOS Commands (Contd.)
md: Make Directory.
C:\> md (directory name>
This will create a directory with the specified name.
cd: Change Directory.
C:\> cd (directory name>
This will change the directory from current directory to the specified directory.
rd: Remove Directory.
C:\> rd (directory name>
If the directory is needed to be removed permanently from the computer, usethis command. For this command to be executed it is necessary that the
directory should be empty and user should be on a directory above it.
8/22/2019 2762 Computer-Introduction 2
34/46
8/3/2013 Introduction to Computers 34
Some DOS Commands (Contd.)
copy: Copies a file.
C:\> copy
This will copy the file from the source location to the specified destination. Thecommand creates a copy of the file on the destination i.e. the file would befound on both the location.
move: Moves a file.
C:\> move
This will move the file from the source location to the specified destination. Thefile from the source location would be removed and would be moved to thedestination.
8/22/2019 2762 Computer-Introduction 2
35/46
8/3/2013 Introduction to Computers 35
Some DOS Commands (Contd.)
ren: Renames a file.
C:\> ren
This will change the name (rename) of the file to a new name as
specified.
del: Deletes a file.
C:\> del
This will delete the file permanently from the system.
8/22/2019 2762 Computer-Introduction 2
36/46
8/3/2013 Introduction to Computers 36
Overview of Windows
Windows is an GUI based operating system.
It is also developed by Microsoft Corporation, which is headed by
Mr. Bill Gates.
Over the years the Microsoft have evolved various versions of
Windows. Win95, Win98, Win2000, Win ME, Win NT, Win XP.
It gives user a handy environment where he doesnt have to
remember and learn the syntaxes of various commands as is the case
in DOS.
The user can just point and click on the Icons provided to him on the
screen.
8/22/2019 2762 Computer-Introduction 2
37/46
8/3/2013 Introduction to Computers 37
Folders and Documents
Folders are a way to organize your documents within drives in Windows asare the directories in DOS.
A document is each thing that you create on a computer. A document can
be made using any type of software.
8/22/2019 2762 Computer-Introduction 2
38/46
8/3/2013 Introduction to Computers 38
End of Session #4
Queries???
8/22/2019 2762 Computer-Introduction 2
39/46
8/3/2013 Introduction to Computers 39
QUIZ
1. Name any four devices of a Computer.
Keyboard, Mouse, Scanner, Light Pen.
2. What is the job of CPU?
Central Processing Unit controls and coordinates
all the activities of the computer.
8/22/2019 2762 Computer-Introduction 2
40/46
8/3/2013 Introduction to Computers 40
QUIZ
3. What is the unit of measuring the speed of the
processor?
Mega Hertz or Kilo Hertz ( No. of CPU
Cycles/second)
4. What is a computer network?
It is interconnection of computers to make aLAN,MAN or WAN.
8/22/2019 2762 Computer-Introduction 2
41/46
8/3/2013 Introduction to Computers 41
QUIZ
5. Name any three storage devices.
Hard Disk, Magnetic Tape, Compact Disk.
6. What is command to create directory?
C:\>MD
8/22/2019 2762 Computer-Introduction 2
42/46
8/3/2013 Introduction to Computers 42
QUIZ
7. What is Internet?
It is the network of networks.
8. What are different types of printers?
Dot Matrix Printer, Inkjet
Laser
8/22/2019 2762 Computer-Introduction 2
43/46
8/3/2013 Introduction to Computers 43
QUIZ
9.What is the use of Scanner?
It is used to copy the real image on
paper to be stored as digital image in
the computer.
10. Why Operating system is required?
It is required to provide the interfacebetween the user and the computer.
8/22/2019 2762 Computer-Introduction 2
44/46
8/3/2013 Introduction to Computers 44
QUIZ
11. What is the difference between Primary
Storage and Secondary Storage?
Primary Storage is temporary storage,fast and costly.
Secondary storage is permanent, slow and
cheap.
8/22/2019 2762 Computer-Introduction 2
45/46
8/3/2013 Introduction to Computers 45
QUIZ
12. What is MODEM. Why it is required?
It is Modulator Demodulator. It is used to
connect the PC to the Internet using Analog
Telephone Lines.
13. What is the maximum length of file
name in DOS?First Name- 8 characters, Last Name- 3
characters.
8/22/2019 2762 Computer-Introduction 2
46/46
QUIZ
14. What is the command in DOS to see the
contents of the file?
C:\> Type
15. What are the two types of Software?
Systems Software
Application Software