Q.1) What is a Computer? KPK Class 11 Computer Science notes
Table of Contents
Answer:
Computer
Definition:
“A computer is an electronic device that accepts input data and instructions with the help of input devices, stores them until needed, processes it and then produces the output as a result with the help of output devices.”
The computer is composed of several components used to perform different functions. These are:
a. Input devices: Used for giving input data to computer. For example mouse, keyboard etc.
b. Output devices: Used to give the output of that input given by the user. For example, monitor, printer etc.
c. CPU: Used for processing data instruction to produce required result.
d. Primary Storage device: Stores data temporarily while processing of instructions i.e. RAM.
e. Secondary Storage devices: Stores data permanently in the memory of computer, i.e. hard disk.
f. Communication devices: Used for communicating with users.
Q.2) What is processing operation?
Answer:
Processing Operation
It is the basic operation of computer. Processing operation is the transformation process to convert the input into output. The Central Processing Unit (CPU) processes the input and generates the required output. In order to process this input CPU stores instructions in computer’s memory. From computer memory all instructions and programs are directly accessible for processing.
Parts:
It consists of three parts:
- Control Unit (CU) directs all of the processor operations
- Arithmetic Logic Unit (ALU) performs the arithmetic, logical and decision operations.
- Main Memory is the working area of computer.
Q.3) Show basic operations of a computer with the help of a block diagram.
Answer:
The block diagram of basic operations is as follows:
Above figure shows the block diagram of basic operations. The block diagram includes:
- Storage operation: It is related to the storage of instructions or programs in computer Secondary or Primary storage.
- Input operation: It relates to giving input to the computer through primary storage.
- Output operation: It is to get output of processed instruction.
- Processing operation: It is the processing or manipulation of input to generate its output.
Q.4) What is a notebook computer?
Answer:
Notebook Computer:
A notebook computer is one of the Microcomputer. It is designed to use for mobile computing. It has all features that mobile users required for work. This is easy to use. It is smaller in size so it is transported easily. These can be used such as on aeroplane etc.
Q.5) State five differences between hardware and software.
Answer:
Difference between Hardware and Software
The differences between hardware and software are as follows:
Headings | Hardware | Software |
Definition | Physical components of the computer are called hardware. | Non- physical components of computer and collection of instructions that enable a user to interact with the computer are called software. |
Types | Input, storage, processing, control, and output devices. | System software, Programming software, and Application software. |
Function | The computer is hardware, which operates under the control of software. | The operations of the computer are controlled through software. |
Viruses | Hardware is not affected by computer viruses. | The software is affected by computer viruses. |
Examples | CD-ROM, monitor, printer, video card, scanners, label makers, routers and modems. | Adobe Acrobat, Internet Explorer, Microsoft Word, Microsoft Excel etc. |
Q.6) Differentiate between an Interpreter and a compiler.
Answer:
Difference between Interpreter and Compiler
The differences between interpreter and compiler are as follows:
Headings | Compiler | Interpreter |
Input | The compiler takes the entire program as input. | The interpreter takes single instruction as input. |
Intermediate object Code | Intermediate object code is generated. | No Intermediate object code isGenerated. |
Control statements | Conditional Control Statements executes faster. | Conditional Control Statements executes slower. |
Memory requirement | Memory requirement is more. | Its memory requirement is less. |
Errors display | Errors are displayed after the entire program is checked. | Errors are displayed for every instruction interpreted. |
Examples | C language has a compiler. | Visual Basic has an interpreter. |
Rad more: Class 11 Mathematics Notes Chapter 1 to chapter 12 – FSc Part 1 kpk board
Q.7) How Application software help Users?
Answer:
Application software is a type of software that is used for performing number of different tasks. It helps users to solve real world problems. Some of the software that are used for helping users are as follows:
- Enterprise software is used to satisfy the needs of organization rather than individual customers.
- Accounting software is used process and record accounting transactions.
- Office suites are the set of business applications with the same style of user interface.
- Graphics software is used to manipulate and edit images.
- Media players are used to play audio and video or animation files in computer.
Q.8) Differentiate between shareware and freeware.
Answer:
Difference Between Shareware and FreewareThe differences between shareware and freeware are as follows:
Headings | Shareware | freeware |
Definition | The software that gives users a chance to try the software before buying is called shareware. | The software that anyone can download from the internet and use for free is called freeware. |
License and copyright | Copyright laws apply to shareware. | Freeware has a proper license or end user agreement. |
Features | Most of the time all features are not available in trial version or have limited use. To use all features, one has to purchase the software. | All features are used for free. |
Distribution | Shareware may or may not be distributed freely. Most of the time author’s permission is needed to distribute the shareware. | Freeware programs can be distributed free of cost. |
Example | Winzip etc. | Adobe PDF, Google Talk etc. |
Q.9) What is Licensed Software?
Answer:
A software license is permission or agreement that provides legal binding for the use and distribution of the software.
Licensed software is therefore a type of software that uses a license to transfer the rights of using software to the user. It has some restrictions for software’s modification, further distribution and re-building etc. Some examples of these software’s are:
- Microsoft Windows
- Adobe Flash Player
- Adobe Photoshop
- Winzip etc.
License agreement usually limits the ways we used the software. We cannot copy it, alter it or redistribute it. We don’t have access to underlying source code. License software commonly used different terms. These include:
- Freeware: It is licensed downloadable small utilities. We don’t have right to view the source code and also we cannot copy or re – distribute the software.
- Shareware: This software is also known as Trial software that we can use free of charge for a limited time. After that we are expected to pay to continue using it.
Q.10) What is firmware?
Answer:
Firmware is a software program or set of instructions programmed on a hardware device. It provides the necessary instructions for how the device communicates with the other computer hardware. These instructions are written in machine languages and permanently embedded in the hardware. Examples of the hardware devices included firmware are:
- ROM
- Mobile phones
- Digital cameras
- Toys etc.
Extensive Questions
Q.3) Give detailed answers to the following questions.
i) What are computing devices? Explain early and modern computing devices.
Answer:
Computing devices:
Computing devices can be defined as:
“ The devices used to perform calculations are called computing devices.”
These calculations can be simple or they can be complex. The fastest computer device is computer. It can perform or help ro perform calculations.
Computing devices can be classified as:
- Early computing devices
- Modern computing devices.
Early computing devices:
Earlier computing devices that were developed for the purpose of calculation are as follows:
- Abacus: It was introduced about 5000 years a go. It was considered as first computer. Abacus uses a system of sliding beads arranged on a rack.
- Leibniz calculator: It was created by a German mathematician and philosopher, Gotfried Von leibniz in 1964. It was a computing device used for addition, subtraction and multiplication by using the system of gears and dials
- Difference engine: It was created in 1822 by charles babbage. It was designed for solving differential equations. This machine was the beginning of real computers.
- Tabulating machine: Tabulating machine was developed in 1989 by Herman Holirath for computing U.S. census.
- Z3: Z3 was created by german engineer Konard for designing aircrafts and missiles.
- Mark I: it was all electronic computer developed by IBM in 1944. It was and electronic relay computer. It uses electromagnetic signals to solve basic arithmetic as well as complex equations.
- ENIAC (Electronic Numerical Integrator and Computer): It was first general purpose computer developed by John Presper Eckert and John W. Mauchly. It was 1000 times faster than MARK I
- EDVAC( Electronic Discrete Variable Automatic Computer): It was first computer which holds memory. It was developed in 1945 by Von Neumann.
- UNIVAC-I : It was the first commercially computer built by Remigton Rand in 1951.
Modern Computing Devices:
Early computing devices mostly uses Vaccum tubes, due to which the speed of computer were slow and their size was also large. Then in 1948 they were replaced by transistors which enhances the speed of computer systems and lessen their sizes as well.
In 1951, Integerated Ciircuit chips(IC’s) were introduced. This was the real revolution in computing industry. These small chips increases the performance of computers and modern computing devices came into being.
Some of devices that were created in the era of modern computing devices are as follows:
- IBM 1401: It was first universally accepted throughout the industry.
- Intel 4004: It was the chip developed in 1971. This chip locates all components of computer system on single chip. i.e. CPU, memory, input and output controls.
- Personal Computer(PC): In 1981 PC was introduced by IBM to use in home, office and schools.
Further, computing devices are getting faster speed and getting trend towards a smaller size. Now, we have a number of modern computing devices like laptop, notebook computer etc.
ii) Explain different classifications of computers.
Answer:
Classification of computers:
Computers are classified on the base of physical size, performance and application areas. Generally, computers are classified as:
– Microcomputers
– Mainframe
– Super computers
All of these are explained as under:
1) Microcomputers:
Microcomputers are also known as Personal Computers (PC’s). It is the least expensive computer. These are originally designed for individual users but nowadays they are also used in businesses and several other places.
Types:
Microcomputers have the following types:
I. Desktop computers
II. Notebook computers
III. Laptop computers
IV. Handheld computers
V. Mobile computers
All of these are explained as follows:
Desktop computers:
It is the most common type of microcomputer. This type of computer is equally used in home, office, educational institutes etc. They vary in size and style. Their speed depends on the CPU and other internal hardware components they are using.
Notebook computers:
A notebook computer is one of the Microcomputer. It is designed to use for mobile computing. It has all the features that mobile users required for work. This is easy to use. It is smaller in size so it is transported easily. These can be used such as on airplane etc.
Notebook computers:
A notebook computer is one of the Microcomputer. It is designed to use for mobile computing. It has all the features that mobile users required for work. This is easy to use. It is smaller in size so it is transported easily. These can be used such as on airplane etc.
Handheld computers:
These computers are very light weight and even can be taken on the top of palm. So they are also called Palmtop computers. They are portable computers. The most common type of these computers used now a days are smartphones. The figure below shows a handheld computer.
Mobile computers:
Mobile computer is a small computing device. These include laptops, smartphones, PDA’s and table PC’s. Some of themare small enough to be handheld. It has a display screen with touch input. These devices can receive and send signal through a receptor device. All of these devices work in a full duplex mode. Full duplex means that these can send and receive signal at the same time.
Mobile computer has an operating system which can run various types of application software known as apps.
These devices provides mobility to users. It means that they are not bound to sit or stay at one place for using computers. They can move and go everywhere and use mobile computers because mobile computer’s one of the basic feature is this that they provide wireless communication. The figure shows the mobile computer:
2) Mainframe computers:
Mainframe computers are expensive than desktop computers. They are used by large organizations for some critical applications, such as for census, industry and customer statistics, enterprise resource planning and financial transaction processing.
These computers are large in size and also powerful than desktop computers. They have a large memory to store a large number of data. Their speed is in Billion per second(BIPS). Mainframe systems are mostly used as super servers in large client-server networks. These are also used for high volume websites. These are used in Airline companies for ticketing and reservations. Government departments, banks, and insurance companies also use this.
Automated Teller Machine (ATM) is also an example of a mainframe system.
3) Supercomputers:
Supercomputers are the most powerful, most expensive and huge in size. These are specially designed for scientific, engineering and business applications. Their speed is in billions or trillions instructions per second.
They are used for weather forecasting, weapon research, stock analysis, automobile designing etc. They have a large memory space to store data. Their memory speed is also higher than other types of computers.
One of the examples of a supercomputer is Sequoia, which is IBM’s supercomputer placed at NASA. It can perform 16 thousand trillion instructions per second. Below figure shows this supercomputer.
ii) What is software? Explain its two main types with examples.
Answer:
Software:
Software is defined as:
“The set of instructions which directs the computer how to do a specific work.”
We cannot touch and feel software as like hardware. It provides communication between computer and user. These instructions are written in specific computer language which is understandable for computer hardware.
Types of Software:
The computer software is divided in to two main types:
– System software
– Application software
1) System software:
System software is a collection of one or more programs used to control and coordinate the hardware and other application software. Generally the system software may perform the following functions:
- Communicates with hardware devices. Controls and monitors the proper use of various hardware resources like CPU, memory, peripheral devices like monitor, printer etc.
- Supports the execution and development of other application software.
Examples of system software:
Some of the examples of system software are:
- Operating system
- Programming language translators
- Device drivers
- Antivirus etc.
2) Application software:
Application software is a collection of one or more programs used to solve a specific task. It is not limited to one specific function. It is helpful to solve many problems. Generally, it is used in banking industry, airline reservation and in many other fields.
Example of application software:
Some of the examples of application software are:
- Word processing software
- Spreadsheet software
- Education software
- Entertainment software
- CAD software etc.
iv) Explain different types of General Purpose Application Software
Answer:
Application software:
Application software is a collection of one or more programs used to solve a specific task. It is not limited to one specific function. It is helpful to solve many problems. Generally, it is used in banking industry, airline reservation and in many other fields.
General purpose application software:
General purpose application software is a type of application that can be used for a variety of tasks. It is not limited to one particular function. These are called packages of commercial software. These are divided into the following main categories:
i. Productivity software
ii. Business software
iii. Entertainment software
iv. Education software
Types of general purpose application software:
i. Productivity software:
It is the type of application software which makes people more efficient and effective in their daily activities. This software is becoming more popular and more in demand to learn for employment. Some common types of productivity software are:
- Database software: A database is a system that collects data and allows access, retrieval and use of the data. Data is stored in tables, which consists of rows and columns. This software allows users to create database. This also allows manipulate and update data stored in database. MS Access, MySQL, Oracle are examples of this software.
- Multimedia software: This software is used to play audio and video media files. This type of software includes Real player, Media player etc
- Word processor: Word processing is widely used to create or edit a typed document. In this program we can change the format of your work like color, text size etc. Some of the common word processors include Notepad, WordPad and MS-Word.
- Spreadsheet software: A spreadsheet is used to organize data in rows and columns in a worksheet. Data is stored in cells that are divided in columns and rows. More than 15 million cells can hold data.MS-Excel and Lotus 1-2-3 are common example of spreadsheet software.
- Presentation Software: Presentation software enables users to create slides and make on screen presentations, reports and slideshows. In slides we can merge text, graphics, audio and video files etc. MS-PowerPoint is the common example of presentation software.
ii.Business software:
It is any software that are used by business users to perform various business functions. The term is often used more specifically for software that helps a business to accomplish specific goals through the applied principles that the software supports. Some business software include:
- Marketing software
- Payroll software
- Inventory control system
- Communication software
- Accounting software
iii.Entertainment software:
Entertainment software is an entertainment tool for users. They can play any kind of media files i.e. audio, video etc. using them. Game software are also available. Some examples of entertainment software are:
- Media player
- Video games
iv.Educational software:
Application software is also helpful for education purpose. They allows computer to be used as teaching as well as learning tool for students. The software that are helpful for educational purpose are:
- Computer Based Training (CBT): CBT is used for training purpose. This training software are many types and used in many fields. For example, Flight simulation CBT is used for the training of pilots. It guides them how to fly and aircraft. Some CBT are also designed for the training of doctors, engineers etc.
- Encyclopedia: Encyclopedia software is like a dictionary but it gives a complete guide to speak and use a word correctly and also provide complete information and knowledge of the particular word.
- Computer Aided Learning (CAL): CAL software provides a wide range of computer software which provides education in an interactive way. These are designed for variety of subjects. CAL are not only useful for students but teachers can also take help from this type of software to develop a better understanding of their lectures. This software might include:
- Presentation software
- Online tools of different subjects.
v) Write short note on any five input devices.
Answer:
Input devices:
Input devices are hardware components of computer system. These are used to give enter data or different instructions to computer memory.
Types:
There are many types of input devices. Some of them are:
1. Keyboard
2. Mouse
3. Joystick
4. Light pen
5. Scanner
All of these input devices are explained as follows:
1) Keyboard:
It is an input device through which input is given to a computer by pressing its keys. It looks like keypad of a typewriter but it has some additional keys. The keys a normal keyboard includes are:
– Numeric
– Alphabetic
– Alphanumeric
– Function
The standard keyboard contains 101 keys. This is also called a QWERTY keyboard because of the top row of alphabetic keys.
Keyboard Segments:
It has four segments:
– Main keyboard
– Numeric keys
– Cursor control keys (Arrow keys)
– Function keys
- Main Keyboard:
The main keyboard includes almost similar keys as of the typewriter keypad but it has some special command key. The working of command keys depends on the software being used. Some of the most common keys are:
– Alphabetic keys
– The Escape key(Esc)
– Caps Lock
– Shift
– Ctrl
– Alt
– Backspace
– Enter - Numeric keys:
Numeric keys serve one of the two purposes, depending upon the status of Num lock (NumLk) mode. When the computer is in NumLk mode, numbers can be entered by pressing these keys and mathematical symbols. When NumLk is off then keys of 2,4,6,8 can be used to control cursor movement. - Cursor Control Keys:
Cursor control keys are located on the left of the numeric keys. These are also called Arrow keys, and used to move the cursor position. It is the set of four arrow keys, which moves the cursor to up, down, left and right. - Function keys:
Function keys are the special purpose keys located on the top row of keyboard. These are 12 in number, labeled as F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, and F12. These keys are easy way to give commands to computer. They have different functions in different programs, particularly in application programs.
2) Mouse:
Pointing input device that control cursor movement is called Mouse. It has a ball on its underside that is rolled on a flat surface or mouse-pad. The rolling movement causes a corresponding cursor movement on the screen. It has two buttons Left and Right click and one scroll wheel between those buttons.
Functions of the mouse:
1. A computer mouse enables its user to move a cursor smoothly and intuitively.
2. It is essential for dragging, selecting, hovering and clicking.
3. It allows users to switch between applications, select options and
4. It moves objects around the screen with a great degree of accuracy and fluidity.
5. It is used to move between and select links on a website, buttons on an options screen, and entries on menu.
Examples of mouse use:
Best example of mouse use is an image editing program. Image-editing programs that require detailed selections and games where fine on-screen movements are necessary are two situations where a mouse can prove very useful. A mouse is a key peripheral in any program and the operating system itself, but it is essential for such creative applications as image, video, and music editing; it’s also standard equipment for many games titles, desktop publishing, and presentation software.
3) Joystick:
A joystick is an input device consisting of a stick that pivots on a base and reports its angle or direction to the device it is controlling. It allows a user to control a character or machine in a computer program such as a plane in a flight simulator.
It looks like a device used for controlling arcade game but it includes some extra buttons for additional functionality.
Joystick was invented in 1926. It was originally designed for remotely piloting aircraft.
Computer joystick ports:
Now a day computer joysticks connect to the computer using a USB port. Here are the computer ports that accept a joystick:
- Bluetooth
- Game port
- Serial port
- USB
4) Light Pen:
A light pen is a light sensitive pointing device commonly used to select or otherwise modify text or data on a screen. It gives input in the form of a light-sensitive pointer used in conjunction with a computer CRT display. It allows the user to point the displayed objects or draw on the screen.
vi) What is output? Briefly explain softcopy output devices.
Answer:
Output:
Output is the result given by the computer hardware to the user which is generated after processing the input of user. The device use to display the input given to the computer is called output device. Output can be of two types:
- Softcopy output
- Hard copy output
Softcopy output:
It is the output that is shown on the display screen or is in audio or voice form. This output cannot be touched. The devices that generate soft copy output are as follows:
- Monitors
- Speakers etc.
Hardcopy output:
It is the output that is printed on the paper. This output can be touched. Some of the output devices which generate are hard copy output are listed below:
- Printer
- Plotters etc.
Soft copy Output devices:
The devices that generate soft copy output are called softcopy output devices. Some of these are:
- Monitor
- Speaker
Monitor:
A monitor is also called a visual display. It has a display screen for viewing images and it has a casing that holds it. It has different sizes and types.
Features of monitor:
It is distinguished on the basis of the following features:
- Size: Standard size of monitor is 15 to 19 inch. Its shape is like early TV sets but now modern monitors are different from that and has flat screens.
- Color: It can be either monochrome or color monitor (RGB colors).
- Resolution: The number of pixels or dots per square inch is called resolution. The image on your computer screen is built up from thousands or millions of pixels. The image on the screen is created by changing the colors of these tiny pixels. The screen resolution tells us that how many pixels the screen display horizontally and vertically. It is written as 1024 x 768. 1024 is the number of horizontal pixels and 768 is of vertical pixels.
- Refresh Rate: Refresh rate is the speed in with which the monitor restores the screen per unit time.
- Dot pitch: Measure of the distance between each pixel on a color computer monitor is called dot pitch. It is expressed in millimeters (mm). Lower the dot pitch, sharper the displayed image.
Types of monitor:
Monitor is of two types:
- CRT(Cathode Ray Tube) monitor
- LCD monitor
1. CRT monitor:
CRT monitor is like a television set. It uses the same CRT technology. The CRT monitor has two major parts;
- The screen: It is on the front of the monitor
- CRT: It is fitted inside the monitor.
2. LCD (Liquid Crystal Display ) monitors:
It is another and modern type of monitors. LCD monitors do not use CRT technology. They have flat lightweight surface filled with millions of tiny glass bubbles, each having a phosphorous covering. These phosphorous coverings glow to create an image. They are easily portable.
Speakers:
It is a hardware device which is connected to the computer’s sound card that gives the output of sound generated by the computer. Headphones are also used as a alternative of speakers. PC’s have separate speakers attached with them from outside but laptops come with integrated speakers.
vii) What is the importance of magnetic cards/devices based systems? Explain different types of magnetic cards
Answer:
Magnetic cards/ devices based systems:
Magnetic cards / devices are used in many fields and by many organizations. These are used by hotels, banks, credit card companies, for payments etc. They are very important in many aspects. Some of the common types of magnetics cards that are used on daily basis and also show the importance of magnetic cards are as follows:
i. Magnetic Ink Character Recognition (MICR).
ii. Magnetic Stripe Card
iii. Smart card
All of them are explained as under:
i. Magnetic Ink Character Recognition (MICR):
Characters written by special magnetic ink are read by MICR systems. These are mostly used in banks. Banks use this to read information from cheques and save them in their computer. Magnetic characters that are written on cheque and read by MICR system is shown in figure below:
ii. Magnetic Stripe Card:
It is a type of card which stores data by modifying the magnetism of tiny-iron based magnetic particles on a band of magnetic material on the card. These cards are also called swipe cards. Credit cards are the best example of credit card.
The stripe on the back of a credit card is a magnetic stripe often called a magstripe. The magstripe is made up of tiny iron-based magnetic particles in a plastic-like film. Each particle is really a very tiny bar magnet of an inch long. To read a card it is swiped through a Magnetic stripe reader, which efficiently reads the pattern of magnetic particles.
This information on a magstripe can be destroyed by scratching or by coming in contact with some liquid. Magstripe of credit card is shown in figure below:
viii) What are impact and non-impact printers? Explain any two types of printers in each category.
Answer:
Printer
Printer is the output device which is used to produce hardcopy output on paper.
Types:
Printers are divided into two categories:
– Impact printers
– Non-impact printers
1) Impact printers:
It is the type of printer that works by striking a head or needle against an ink ribbon to make a mark on the paper.
Characteristics:
Some of the characteristics of impact printers are as follows:
– Impact printer generates more noise while printing.
– Their speed is comparatively slow.
Types:
Following are types of impact printers:
– Dot matrix
– Drum printer
- Dot matrix printer:
Any printer that produces character made up of dots using a wire pin printed head. The quality of output from a dot matrix printer depends largely on the number of dot matrix, which might be low enough to show individual dots. Dot matrix printers are often categorized by the number of pins in the printer head typically 9 or 24. - Drum printer:
Drum printer is a type of solid-font line printer. In these types of printers, a fixed font character sets. These character sets are engraved onto a number of print wheels. All these wheels combine to form a drum. This drum spins at high speed.
When the desired character arrives in a drum, the hammer strikes on it and prints it on a paper. A full set of hammers delivers (600 lines per minute) and a half set of hammers delivers (300 Lines Per Minute).
2) Non-impact printers
It is the type of printer that does not operate by striking ahead against a ribbon.
Characteristics:
Some of the characteristics of non-impact printers are as follows:
– They are quieter than impact printers i.e. they generate less noise.
– Their speed is comparatively greater.
Types:
Some of the types of non-impact printers are as follows:
– Ink-jet printers
– LASER printers
- Ink-jet printer:
It is a kind of non-impact spray small dots of electrically charged ink onto a paper to form images. A typical ink-jet printer has a resolution of 300 to 600 dots per inch (dpi). - LASER printer:
LASER printer is similar to a photocopying machine. A type of printer that utilizes a laser beam to produce an image on a drum. The light of the laser alters the electrical charge on the drum wherever it hits. The drum is then rolled through a reservoir of toner, which is picked up by the charged portions of the drum. Finally, the toner is transferred to the paper through a combination of heat and pressure. This is also the way copy machines work.
The laser printer produces high-quality images of both text and graphics ranging from 300 dpi to 12000 dpi. Its speed ranges from 4- 32 pages per minute for microcomputers and up to 200 pages per minute for mainframes.