Software: IT Workshop
Software: IT Workshop
Task-1: Define computer, Classification of computer system, Draw the block diagram of the CPU along with the configuration of each peripheral, Programming languages classification, identify the peripherals of a computer and components in a CPU and its functions.
Definition: A computer is a fast electronic device that processes the input data according
to instructions given by programmer/user and provides the desired information as output. Computers Have Two Main Parts 1. Computer Hardware 2. Computer Software
Hardware
The hardware is the part of the computer you can touch and see. The computer and all equipment attached to it are called hardware. Example: Monitor, Keyboard, Mouse
Software
Software is a part of the computer you cannot touch. The instructions that tell it what to do are called software. Software consists of computer programs and procedures that perform some tasks on your computer. Computer software is divided into three basic types 1. System software 2. Application software 3. Programming software 1. System software : Operating System is the base program on a computer is considered system software. It tells the computer how to work or operate. The operating system also allows you to load other programs that do specialized tasks on to your computer. (ex. Windows XP and Vista
2. Application software:
Application software allows you to accomplish one or more specific (non-computer related) tasks. Such as computer games for entertainment or Microsoft Word for typing 1 Year CSE E1 Task 1 -SNIST Page 1
IT Workshop
3. Programming software
Programming software provides tools to assist a computer programmer in programs and software. writing
Central Processing Unit (CPU) It performs all the processing of input data. In microcomputers, the CPU is built on a single chip or integrated Circuit (IC) and is called as a Microprocessor. CPU consists of following parts: 1. Arithmetic Logic Unit (ALU) 2. Control Unit (CU) 3. Memory Unit (MU) 4. Registers 5. Buses 6. Clock
Memory Unit It is used to store the data, instructions and information before, during and after the processing by ALU. It is also known as Main/Primary/Internal Memory. 1 Year CSE E1 Task 1 -SNIST Page 2
IT Workshop
It is divided into 3 types: 1. Read Only Memory (ROM)/Non-Volatile Memory 2. Random Access Memory (RAM)/ Volatile Memory 3. Complementary Metal Oxide Semiconductor Memory (CMOS) Read Only Memory (ROM)/Non-Volatile Memory ROM is permanent and is not erased when system is switched off. ROM is also called Nonvolatile Memory. Memory capacity varies from 64 KB to 256 KB (1 KB = 1024 bytes). Types of ROM 1. Mask ROM 2. PROM (Programmable Read Only Memory) 3. EPROM (Erasable Programmable Read Only Memory) 4. EEPROM (Electrically Erasable Programmable Read Only Memory) 5. EAPROM (Electrically Alterable Programmable Read Only Memory) Random Access Memory (RAM)/ Volatile Memory RAM is temporary and is erased when the computer is switched off. RAM is also called volatile Memory. Memory capacity varies from 640 KB to several megabytes (1 Megabyte = 1024 KB). Types of RAM 1. Dynamic RAM (DRAM) 2. Static RAM (SRAM) Differences between Dynamic RAM & Static RAM
Page 3
IT Workshop
Complementary Metal Oxide Semiconductor Memory (CMOS) CMOS is used to store the system configuration, time, date and other important data. Input Devices: devices through which computer receives the information Keyboard Mouse Scanner Output Devices: The output device is used to display or print result from a computer Monitor Printers Plotter PROGRAMMING LANGUAGES CLASSIFICATION 1. Machine Languages / First Generation Languages 2. Assembly Languages / Second Generation Languages 3. High Level Languages 1. Machine Languages / First Generation Languages Each processor or CPU has its own set of instructions. These instructions are binary instructions and written in a sequence of 0s and 1s. Any program written by using the binary instructions are known as machine language. Machine language for every processor is different. Writing a program in machine language is very burden and difficult. Advantages: The advantage of the machine language code is that a processor can execute it without any transaction. Assembly Language / Second Generation Languages The processor cannot understand the code written in assembly language. So, it would not be able to execute assembly language instructions. The processor understands the machine language. So, assembly language programs have to be converted into machine language. This is done by the assembler. Assembler: The assembler is a program, which converts an assembly language program into machine code (object code), which can be executed by the processor.
Page 4
IT Workshop
Advantages: The advantage of the assembly language over machine language is that it is more convenient for the programmer to write programs in assembly language. 2. High Level Languages (HLL) High-level languages are machine independent. So, it is not necessary to know the architecture details of a processor to write the programs in these languages. Ex: COBOL, BASIC, PASCAL, ADA, C etc. Advantages: Writing programs in High Level Languages is more easy because they provide the construct and set of statements which are easy to use. Writing a program for problem in higher-level language is easier than machine and assembly language. So, program development time in high-level language is low. Translation of High-level language Program Compiler/Interpreter The program written in a high-level language needs to be translated into the language, which a machine understands. Translation of a program from high-level language to low level language is done by the software called Compiler & Interpreter.
Parts of a Computer
To learn more about the components of a computer, let us examine the various parts that are visible from outside. Basically, a computer consists of a CPU, a monitor, a mouse and a keyboard. Some Computers may also contain additional accessories like speakers, a microphone, a headphone etc. The additional accessories simply facilitate us to use the computer for doing something extra. A discussion on the essential and optional components of the 1 Year CSE E1 Task 1 -SNIST Page 5
IT Workshop
computer will be taken up later on in this chapter. components of a simple computer. For the moment, let us discuss the
Central Processing Unit (CPU): The Central Processing Unit (CPU) of computer is usually located in a tower-shaped cabinet. The CPU consists of different smaller components like the motherboard, hard disk, RAM, floppy disk drive, sound card etc. These components are discussed in the next section. Monitor: Monitor is television-like equipment which displays the output of a computer. Monitors can be monochrome (black and white), LCD (liquid crystal display), VGA or SVGA. Further, monitors can be analogue or digital. The monitor of a PC works like a television screen. It displays text characters and graphics in colors or in shades of grey. The monitor is sometimes also known as screen display or a CRT (cathode Ray Tube). An image is made up of tiny dots called pixels. Anything typed on the keyboard is displayed on the monitor. When a program is executed, the information is displayed on the monitor. However, the results on the screen are shown only temporarily and are not permanent unless they are saved in the hard disk. Various types of monitors are, the monochrome monitor and the colour monitor differ in terms of their resolution (i.e. the sharpness of the image on the screen). Higher the resolution, higher the cost. Coloure monitors have a higher resolution High resolution monitors are used for specialized jobs, like creating graphics and images. Mouse: Mouse is a small component that fits inside out palm. Mouse is a rectangularshaped device, with a rubber ball (tracking ball) embedded at its lower side and buttons on the top. This hand-held device allows you to control computer without having to type instructions from the keyboard. It serves to move around your computer screens as wells as to active commands. Working on a computer through a mouse is easy to faster as compared to the keyboard. The mouse is generally available in two types: Two Button mouse; and Three Button mouse. Keyboard: Keyboard is a typewriter like device which contains key to feed information into the computer. Keyboard is a typewriter-like device which contains key to feed information into the computer. The standard keyboard with 83 84 keys; and The enhanced keyboard with 104 keys or more Components of a PC 1 Year CSE E1 Task 1 -SNIST Page 6
IT Workshop
Basic Components Processor Hard disk RAM Display / Video card Keyboard Drives : Hard Disk, Floppy Disk and CD-ROM Mouse Monitor
Optional
The Keyboard, monitor, mouse, printer, etc. are all linked to the System Unit through cables which are plugged into the back of the System Unit. The hard disk, the floppy disk drive and the CD-ROM drive are placed inside this unit. Vital components of the System Unit. 1. Hard Disk: The hard disk is a device which stores all programs and data in the computer. The capacity of the hard disk is measured in Giga Bytes (GB). Larger the hard disk capacity, more the amount of software programs and information that can be stored in it. 2. Motherboard: The motherboard is a flat platform of fibre glass on which the electronic components in a PC are mounted. The motherboard is also called a Printed Circuit Board (PCB) 3. Central Processing Unit (CPU): The Central Processing Unit (CPU) contains the microprocessor chip which undertakes all the thinking for the PC and runs the programs according to the users commands and requests. Following are the various types of CPU chips: a. Pentium b. Pentium Pro c. Pentium III d. Pentium IV e. AMD Athlon f. Intel Celeron g. AMD Duron h. Cyrix 4. CD-ROM Drive: CD-ROM drive is a device that reads the information stored on CDROM disks, CD-ROM is an abbreviated term for Computer Disk Read Only Memory. The Speed of a CD-ROM drive is indicated by a number followed by the alphabet X. The 56X CD-ROM is currently the most popular drive specification. The CD-ROM disk is flat and circular in shape and can store a lot more information as compared to a floppy disk. 1 Year CSE E1 Task 1 -SNIST Page 7
IT Workshop
5. Floppy Disk Drive: Floppy disk drive is a component that enables us to read/store information on floppy disks. The floppy disk drive consists of a slot to accept a floppy disk, a motor to spin the disk, and a recording/reading device that moves across the disk to read or write data. A floppy disk (also called diskette) is used to store information just as hard disk. It is a removable device, its capacity is (1.44 MB). A PC has 3 floppy disk drive. 6. RAM Chips: RAM stands for Random Access memory, RAM chips are components that help the computer to hold the program and it data temporarily while the computer is working. RAM chips come in memory sizes of 16 MB, 32 MB, 64 MB, 128 MB and so on. 7. RAM Chip Slots: These slots are meant to expand the computers random access memory by incorporating additional RAM chips. 8. SCSI: SCSI stands for Small Computer System Interface (pronounced skuzzy). An SCSI provides an internal connector which in turn allows to connect the computer to an external storage dev ice. 9. Power Supply Unit: The components in a PC can work only when they get electric supply. Most components require a 5 Volt supply while the floppy and the hard disk require about 12 Volts. The power supply unit safeguards the PC components by converting high-voltage current to low voltage. 10. Disk Drive Control Card: This stand controls the disk drive motors of the PC and transfers data to the control circuitry and directs the read/write heads to access data on the disk. It is permanently inserted in the motherboard. 11. Display/Video/Graphic Card: Display card is used to display the data to the user. It is indirectly linked with the computer memory. Nowadays, it is inbuilt in the motherboard. Two types of display cards are available. PCI graphics card and the AGP card. 12. Printer Adaptor Card: The display / printer adaptor card is the link between the PCs memory, the monitor and the printer. It displays the information on the monitor as well as allows it to be printed. 13. Expansion Slots: Expansion slots are long and narrow connectors which allow to plug in expansion cards (also called adaptor cards), like the sound card, network card etc. 14. ROM Chips: Read Only Memory (ROM) chips have data written on them during manufacturing, that tells the CPU the tasks that it needs to carry out when the CPU switched on.
Page 8
IT Workshop
15. Sound Card: This card allows you to play sound and music. The sound card converts the digital information into electrical signals that speakers use. When the speaker is connected to the sound card, the sound can be heard on the speaker.
Page 9
IT Workshop
Fan Housing: During operation, the electronic, components in a PC generate a lot of heat, which is liable to overheat the system. To remove excess heart from the system, fan is placed at the back of the unit. Audio jack: An audio jack is used for connecting devices such as speakers headphones or microphones. Modem jack: This jack is mainly used in case of internal modems. SCSI port: The Small Computer System Interface (SCSI) port is used to connect the external hard drive, the DVD drive or the scanner. Network port: The network port allows you to connect a computer to other computers in a network.
The Modem
The Modem is technically called the Modulator Demodulator. It is an electronic device, which helps transmit programs and data locally or around the world through the telephone line. The main function of a modem is to transform digital signals into analog signals and vice versa. A modem may be a card mounted inside the PC (an internal modem), or it may be a separate piece of equipment that connects to the serial port of the PC via a cable (an external modem). Telephone lines then connect the modem to the telephone service.
Page 10
IT Workshop Assignment 1
1. What is mean by computer? Classification of computer system and History of computers? Ans: Define computer Classification of Computer Systems :Classification of Computers is based on following 4 criteria: 1. According to Purpose 2. According to Technology Used 3. According to Size and Storage Capacity 4. According to Historical Advancement 1. According to Purpose It is divided into 2 types: 1. General Purpose Computers 2. Special Purpose Computers 2.According to Technology Used
IT Workshop
1. Zeroth Generation Computers (1642 1946) 2. First Generation Computers (1946 1954) 3. Second Generation Computers (1954 1964) 4. Third Generation Computers (1964 1980) 5. Fourth Generation Computers (1980 till date) 6. Fifth Generation Computers (Tomorrows Computers)
Page 12