All Chapters of Computers
All Chapters of Computers
Computer
A computer is an electronic data processing machine of device that perform processes Calculation and
operations based on instructions provided by a program
Evolution of computers
The evolution of computers is generally divided in three eras
Mechanical Era(Dark Electro-Mechanical Era( Middle Electronical Era(Modern Age)
Age) Age)
In this era the true computer was
in mechanical era human To develop faster and more invented which worked on the
successful to make simple accurate principal of input store process and
machine that could help Computing machines they were output continuous advancement in
performing simple powered by steam and electricity electronic engineering increased
arithmetic operation efficiency and speed of computer
considerably
Napier’s bones(1612ad) Herman Hollerith’s tabulating First generation of
machine computers91940to1956
It was small machine that
contain ten rods the rod 1890 machine census data took This generation was based on
made up of bones bone s only six months to compile which vacuum tube this generation computer
was used for was very fast as compare as to used machine language (ie 1s and
multiplication and division previous us census on 1880 which o0s)magnetic drums
took 7 years to be complete Computers of this genertatio0n was
primly used for scientific and research
purpose electronic purpose electronic
numerical interrogator and calculator
(ENIAC)universal automatic ca
computer UNIVAC) are example of
first generation of computer
1. According to technology
This type of technology or type of data they handle computer are classified in to three type
Analog computer
Analog computer can process analog data Eg speedo meter of a car, voltmeter
Digital computer They are used to process information with quantities using the information
using binary number (0s and 1s) digital computers are used in home educational system business medical etc
Hybrid computer
Hybrid computer are combination of digital and analog computer A hybrid computer use to convert analog
to digital and digital in to analog
2: According to size
Computer are also divided in to four groups
Super computer
Super computer is the most powerful fastest and large computer these computers are widely used in
scientific application such as aerodynamic simulation processing of geo logical data weather forecasting and
nuclear research
Mainframe
Page 3 of 28
They can process huge amount of calculation at very high speed they are use in bank and many large
business organization were several user can work at simultaneously
Mini computer
These are similar than main frame computer but it is very power full than microcomputer DECVAX and
IMB AS/400 are the good example of computers
Micro computer
Micro computer is also called personal computer (pc)the use of microprocessor made computer cheaper yet
faster and more reliable these are the smallest computer design to be individuals now computer are also used
for communication and socialization
3: According to purpose
According to purpose computer are used for either general purpose and special purpose
General purpose computer These computer can perform variety of task and store execute different program
in their memory therefore various task like word processing (typing and editing) payrolls, inventory, account
control manipulating facts in a data base marketing scientific calculation and statistical data analysis and
controlling security system of any organization are achieve by this computer desktop, laptop, and smart
phone are the example of general purpose machine
Special purpose computer
Special purpose computer repeatedly perform single job more efficiently these computer are use full
in traffic light control system navigational system aviation weather forecasting satellite tracking and ATM
Career in it fields There are many fields in it but some are as follows
1: Software engineer
Software engineer is a person who use different language to make different software products like game
learning software entertainment software and etc
2: Network administrator
Network administrator is a it expert person who manage network organization responsible for installing and
updating Amy software or hardware required to efficiency to run a computer
3: Data base administrator
Data base administrator is a skilled professional person who secure a data base environment in an office
business or organization
4: web designer
Web designer are people who build website
5: graphic designer
Graphic designer are make all type of layout broachers magazine and other type of publisher administrator
and document they do various type of graphic software Information security analyst
These people protect network and plain and carry out security measures and ensure to no lose data
and information occurs Computer science or it teachers Another very rewarding for computer science
graduates and post graduates is teaching in school College and university
Page 4 of 28
Computer hardware
Computer consist hardware or software .software is a program that run
in computer hardware is a physical part of the computer that run in program and application and hardware
can been seen and touch while software cannot. Computer hardware is a collection of all physical part of
component of computer .it include the computer casing, the cpu or central processing unit computer
memory vga graphic card sound card and the mother board
System unit
A system unit is a part of computer that contain the primary devices
1: mother board
Mother board is a main board that connect the different part of computer it includes
the following general components microprocessor (cpu), slots, port, buses, ram, rom and other electronic
components for example resistor capacitors diodes transistors and jumpers etc just like nervous system that
allows communication between all parts of computer we can find cpu memory slots expansions slots and a
number of chip slots in a mother board
2: microprocessor cpu
CPU or microprocessor is the brain of computer. The m i c r o p r o c e s s o r i
s a c h i p containing millions of tiny transistors. These transistors manipulate data. Microprocessor performs
all the calculations necessary to make the computer work. These calculations are performed at very high
speed and accuracy. Microprocessor is made up of silicon. The microprocessor fetches, decodes, executes
and stores all the instructions given by the user or any other device. The speed of computer mainly depends
upon the speed of microprocessor. A microprocessor that has faster clock speed (measured in GHz) and
more cores and cache works faster. There are typically five components of a microprocessor.
A: Arithmetic logical (ALU)
Alu perform al type of calculation like arithmetic operations and logical comparison arithmetic
operation include addition subtraction multiplication and division while logical compression include
comparing selection and matching of data
B: Control unit
Control unit is a responsible for controlling and transfer the data instruction among other components of
computer this unit control the operations of all parts of the computer but does not carry out any actual data
C: Clock
Clocks generates pulses and instruction existed on the basic of pulses clock measured in GHZ and MHZ
D: registers
It is a temporary storage area that holds the data that has been processed it is also known as programing
model which may be of 8bits 16bits 32bits and 64bits
E: Cache
Cache is an intermediate storage area, which is available inside microprocessor. The
immediate processed information is stored in cache. The cache inside the microprocessor is called internal
cache and outside is called external cache.
3: Buses In computer, Buses are the electric paths on which data is sent and received by different
components. They are just like roads. As roads connect different places, buses connect all the parts of the
Page 5 of 28
computer to each other. They also connect all internal components on the motherboard. There are three types
of buses; control bus, data bus and address bus.
Control Bus carries command between different components to control all activities in a computer.
Data Bus carries data between the processor, memory unit and other components.
Address Bus carries the address of the data (but not the data).The address bus is used to specify memory
location to be used by microprocessor for specific operation.
Input Devices
Input devices are used to enter data into computers. These devices can be categorized into Text Entering,
Pointing and Image Scanning Devices.
Text entering devices
1: Keyboard: It is the most common text entering device and used to enter data usually in text format or to
perform other controlling functions. When a key is pressed, keyboard controller chip sends its corresponding
code in keyboard buffer called scan code, which is then processed by CPU.
2: pointing devices (mouse and its varous)
Pointing devices are those devices that are used for quick movement of cursor on screen usually needed in
graphic mode it includes joy stick, joy ball and track pad
3: image scanner
Image scanner is a device that convert electronic format and understandable by computer thought lightening
sensing and also work on optical recognition and occur when a device scan a clear print surface and
translates the image into machine-readable formats that a computer understands. Image scanners include
Optical Mark Recognition (OMR), Optical Barcode Reader (OBR) and Optical Character Recognition
(OCR).
4: Other types of input devices
There are also input devices for example microphone are used to accept sound input and convert into digital
audio format touch screen is also used for input it accept input directly on monitor by touching figures and
any object on the screen magnetic ink character Recognition (MICR) and Magnetic Strip Reader are also
used for input
5: output devices
A hardware device that sent data from a computer (cpu) to another devices or user the most common
example of input devices are monitor or printer they are two types of output devices
1: soft copy
It is screen display or voice output. It is volatile output and lost when other output is shown or computer is
turned off. Following are some of the devices used to give output in soft form.
Monitor
It is TV like device that displays data by small bright dots called pixels. Monitors are of two types.
Cathode Ray Tube (CRT) Flat Panel Display (FDP)
Page 6 of 28
Data projectors
Data projectors are used to show colorful slides and images directly from computer disk on a wall or large
screen through an optical lens. They are also called digital light projectors and video projectors.
Speakers
Speakers give output in form of sound. They are good for people with visual disabilities or where
display is not easy
3: hardcopy
It is out put on paper it is nonvolatile output that is relatively stable and permanent from hardcopy devices
are
Printers
They usually give output on paper and can print both text and graphics. There are two types of printers
Impact Non-Impact
Plotters Like printer it gives images on paper but typically used to print large format images such as maps,
construction drawing, advertising hoardings etc
Storage device
A storage device refers to a hardware used to store information. There are two types of storage device
Primary and Secondary
1: Primary storage devices
They are quite smaller in storage capacity most primary storage devices are found in computer and they
have fastest access to primary devices include ram rom
Rom
It is read only memory it is permanent memory rom is quite small in capacity it stores the major setting of
computer permanently
Ram
Is Random Access Memory. RAM is volatile, means it loses its content as the power supply
is disconnected. This is used to store data and instructions temporarily
Secondry storage device
Secondary storage devices have a larger storage capacity and can store data permanently. Users save their
data on secondary storage devices. Hard Disk, CD and DVD, SD Card and USB flash disk are the examples
of secondary storage devices.
Basic operation of computers
A computer is a machine that act according to the instruction given by the user computer process four basic
operation in put, processing output and storage
Input Computer
Input has many forms. It can be from a command entered using a keyboard or a mouse. It can be data sent
from another computer on a network.
Page 7 of 28
Processing
Processing is done inside the computer by CPU. Processing is the conversion of input into output. After
processing, data is turned into meaningful information. This is carried out with the help of arithmetic and
logical operations.
Storage
Storage refers to the holding or saving data. RAM, ROM and Hard Disk are the devices that are used for
storage
Output
Output is the result of a computer processing. Output may be viewed on a monitor screen, heard through
speakers or printed on paper. Here, monitor screen, speakers and printer are called output devices.
Computer of software
Software I a set of computer that a computer use to perform a task there are two main software system
software and application software
System software
System software is a computer program that coordinate all activates and function of
computer it also control all the operation of the computer and hardware it includes operating system device
drivers utility programs and language translators
Operating system
Operating system is the master control program that manage all the system resources
window and Linux are commonly used in operating system
Device drier
Device driver are computer program that control a particular device when it is connected to a computer any
hardware that we have in our computer must have a device driver to communicate with operating
system .operating system have drivers pre install in them this gave rise to the concept of plug and play
Page 8 of 28
CHAPTER 2
File management
It manage all the file related activates such as organization, storage, retrievals, renaming, sharing,
and protection of file
User management
In modern operating system user management describe the ability of administrator to control user
access to various computer resources lie software 1/0 devices, operating system and network etc.
Q3 which resources is managed by resources management function of Os?
An Operating system manages all the hardware and software resources. This includes allocation and de-
allocation of processor, memory, access to shared cache memory and access to network resources.
Q4 what is interface? Describe these types
AN An interface is a program that allows a user to interact with the computer or another computer over a
network. A User Interface (UI) is the part of operating system, program, or devices that allows a user to
enter and receive information. There are many types of User Interfaces. Two most common user interfaces
are discussed below
Command line interface
A Command Line Interface (CLI) is a screen or text based representation in which the user types the
commands on place called prompt to operate the computer. Command contains string of characters CLI is
difficult to use because the user has to remember the commands and their syntaxes but it is fast in use
because text mode takes less resources. It was primarily provided to users by computer terminals on UNIX,
and personal computers including MS-DOS and Apple DOS.
Graphical user interface
GUI is graphical (menus, icons, button) based interface .working surface of gui is called desktop
(icons, taskbar, start button) it is easily to use as a user are supposed to just click on picture to run command
without memorizing them
Q5 how many types of real time processing operating system explain in detail?
ANS there are two types if real time operating system
Hard real time
A Hard Real Time System guarantees that critical tasks complete on time, even the shortest delay or
urgency is not acceptable. Here system should meet the deadline. Missile systems and Air Traffic Control
System are best examples of Hard Real Time System.
Soft real time system
Soft real time system does not guarantees that task will be complete in definite time. In soft real time
system delay a certain time according to priority. Online transaction, airline tickets are the example of soft
real time system
Page 10 of 28
1 themes group: A theme is a predefine set of formatting, colors, and setting and changes the overall design
and look of the entre document there are different themes available relevant to the types of document based
composed.
2 page setup group: Page setup setting help us set the page payout properties such as margin page orientation
and size the setting in this section are often applied throughout the document
3 Page background group: These settings are used mostly for special document such as certificates,
invitations, and broachers’, essay, etc.it contains 3 buttons namely watermark, page color and page border
4 paragraph group: The paragraph is group is where we can modify all the settings of the paragraph that
appear in our document this allow us to set a few basic paragraph styles and also adjust the indent and
spacing.
5Arrange group: The buttons in arrange group help the user to quickly arrange graphical and other element
of the document in relation to the main textual content
Q4 Describe the following button present in arrange group position selection pane align group rotate?
ANS following are the option which are available I n arrange group
1 Position: Position is place to use an object (picture or shape) on the page where you want in the document.
2 Selection Pen: selection pen is used to select hoe hide and change the order of object in a document.
3 Align: It is used place object like picture, shape, icon etc. in alignment with margins edge or relative to
another object in the document.
4 Group: Group is used to combine two or more object together so that they can be trated a a single object.
5 rotate: rotate is used to rotate or flip the selected object.
Q5 Descries the page margin. How can we apply page margin in a document?
ANS Margins: A margin is the area or space between the main content of a page and the page edge.
Margin is used to change the margin of the entire document or selected selection the page setup group on the
page layout tab contain tools for setting the page margins.
Steps to apply a margin in a document
1 Go to page lay out
Click margin from page setup group.
3 Click on the arrow under Margins to choose an option from margin size for the document. You can also
find more option by clicking on custom margin in the menu.
Q6 Define line number and hyphenation present in page setup getup?
ANS Line number: this button is used to add line number on the left side of each line of the document
Hyphenation: this button is used to specify hoe how hydration in a document should be applied
Page 13 of 28
B) Continuous: Insert a section break and start the new section on the next page.
C) Even page: Insert a section break and start the next section on the text even numbered page.
D) Odd page: Insert a section brake and the start new section on the next odd numbered page.
Q12 why do we use water mark in a document? Give some example of water mark
ANS It is used to insert the logo of you company image of your brand /business and it can also be used to
insert text like confidential, draft and copyright etc. behind the content of a page.
Q13 How do we used indent text in a document?
ANS we use different indent option in a document which are as follows:
Indent left: It is used to define amount of blank space used to separate the paragraph from left margin.
Indent right: It is used to define amount of blank space used to separate the paragraph from right margin.
Space before: It is used to indicate how much space is added before the selected paragraph.
Space after: it is used to indicate how much space is added after the selected paragraph.
Q14 Definite between “being forward” and “sent back word” option in arrange group with example?
ANS Bring to front: moves a selected object to the very top of the canvas. Bring forward: moves a selected
object one layer up within the canvas.
Bring forward: bring a selected object in front of all object.
Send backward: sent select object behind all other object.
Q15 What is the table of content (toc) in what way does a toc help book reader?
ANS a table of content (toc) is an organized listing of selection, groups and heading of content in a
document and identified by page number where they are placed. It provides an over view of the document
and allow reader to go directly to specific or content in a document,
Q16 how to create table of content?
ANS we need following steps to make table of contents
Go to the reference tab where table of content button appear as the faster option of the tab.
MS word provide several option of creating a toc that include automatic table creation based on the
requirements of the document.
Q17 can we use other than the default English language in Misword?
ANS yes we can use other language in MS word software.
1 Urdu
2 Persian
3 Sindhi etc.
Q18 what is micro soft excel software?
ANS Microsoft excel is an application software that use spread sheet system to organized display format
and calculation data using advanced future formals an function.ms excel is a part of micro soft office suite
and integrates With other application in the office suite it is mostly used in accounting and financial purpose.
Page 15 of 28
Chapter 4C
Q1 Define communication?
ANS communication is a process of data sharing a message. A conversation between two people is an
example of communication
Q2 define the basic following terminological of data communicates? (1) Data (2) data communication
(3) data transmission (4) analog signal (5) digital signal (6) data rate /bitrate (7) baud rate (8) Signal of noise
ratio
ANS
1 Data: collection of raw facts and figure is called data. The text, number, symbol, image, voice and video
which are processed by computer and digital devices are called data.
2 Data communication: data communication is a process of transferring data electrically from one place to
another. It is process of exchange of data and information between two parts such as human and electronic
or computing device
3 Data transmission: the data transmission means emission of data in any directions wireless or wired
medium. Transmission may occur and destination
4 Digital signal: a digital signal is an electrical signal that is converted into a pattern of bits to represent a
sequence to discrete values, at any given time it can only be one of the finite numbers represented as 0 or 1
5 Analog signal: analog signal are a continuously varying signals or wave that change with time period and
used to represented data. An analog signal can be used to measure change in some physical quantities such
as light, sound, pressure, or temperature.
6 Data rate /bit rate: data rate is a rate at which data is transferred. It is normal measured in bit per second
bit is a actual binary digit which is basic unit of data transmission. Bit can hold either 0or 1. Data rate can be
ranging from bps (bits per second) for smaller values to kbps (kilobits per second) and mbps (megabits it’s
per second)
Baud rate: the baud rate is number of signals transmitted per second and one signal can represent one or
more bits it is used to describe the maximum change in an electronic signal for example(if a signal change
1200 times in a second it would be measured at 1200 hands
Q3 Definite between analog and digital signal
2 Router: a router is a networking device that forward data packets between computer networks
outperform the traffic direction through the internet. Such as webpage or e mail is the form of data
package.
3 Switch: A switch or network switch is a networking device which is connect with a computer and
other device like printers, scanners, cameras on a network.
4 Hub: Basically a hub is a repeater with multiples ports. The function of a hub in a network is
similar to repeat. It transform a data in a form of binary bits in uses for broadcasting data.
Q15 Define modem and its types
ANS Modem is a short form of modulator and de modulator. Modulator is a process of data converting
digital signal and de modulate convert data in to analog signal. Module has a ability to sending and receiving
signals that allow computer to sharing information in each other.
(1) Dial up modem: Dial up modem is a standard telephone lines to transmit and receives information. A
dial up modem can be internal or external. It is important to remember that telephones lines carry only
analog signals. Where the data package sent the data in in digital form.
(2) DSL modem: Dsl modem stand for digital subscriber line. Dsl modem has a built in network switch
which enable us to twisted pair wire to deliver data and voice at high speed a compare to dial up modem.
(3) Isdn modem: Integrated service digital network is a digital phone connection that can transmitted data
voice and video over a normal telephone line at the same time which was not done before. It is faster and
expensive technology.
Q16 Define network interface card?
ANS Network interface card: Network cards also known as network interface card are hardware devices
that connects a computer with the network. They are install cards on the mother board. They are responsible
for establishing a physical connection between the network and the computer. Computer data is transmitted
into a electrical signals and sent to the network via network interface cards.
Page 20 of 28
Q17 Define computer network and networking. Define with example of LAN, WAN, MAN
ANs Computer networking: A computer networking is a group of computers and related equipment
connected by a communication links to share data and other resources related equipment may be printer
scanner, fax machine, server , etc.
Network: networking is the act of joining computer and its accessories so that exchange of
information and sharing of resources tale place.
Example of LAN, MAN WAN:
1 Local area network (LAN): the first application of LAN network is that can be easily implement as a
server client model work. Example home wife and small business network are the example of LAN.
2 Metropolitan network area (MAN): Various government bodies use MAN network for inter
connectivity between their department offices situated at different location Example. Man can be used
ovaries police station which are situated with in a district or city wicth each other the office can easily
communicate with each other and quickly pass on the important data and an urgent message over this
network without any need for the internet connection.
3 Wide area network (WAN): WAN is widely used in long distance communication system Example
Military operation require highly secured network for communication this WAN is used in this scenario
Q18 Define topology and describe is its type.
ANS The physical layout which computers are connect it is called topology .there are three types of
topology Bus, Ring, and Star topology.
1 Bus topology: Bus topology and different devices are connected with a single cable. The central cable is
the back bone of the network and every devices communicates worth the other devices through the bus
topology.
2 Star topology: Star topology all the computer are connected to a central devices is called hub or switch.
To communicate with any computer, the sender must send information to the hub. Then the hub transmitted
that information to the destination.
3 ring topology: ring topology computers are connects in a ring or circle shape. The signal travels around
the loop in one direction and pass through each other
Q19 List one merit and one demerit of each topology?
ANS Merit and demerit of topology.
1) Bus topology
A) Easy to implement and extend
B) Difficult to administer /trouble shoot
2) Ring topology:
a) The transmission of data is relative simple as packet travel in one direction only.
b) If any of the nodes fail then the ring is broken and the data cannot be transmitted successfully
3) Star topology
a) Easy to expand and setup
b) Extra hardware required
Page 21 of 28
Chapter 6
Q1 what dos web development means and how it can be done?
ANS Development of web site and online application is called web site. And it is done by coding in
different language by using several wed development tool and framework.
Q2 Define the followings term?
ANS
(1) World wide web. (6) Search engine.
(2)Web page. (7) Home page.
(3) Web site. (8) Web hosting.
(4) Web browser. (9) Web server.
(5) Uniform resources locator (URL).
(1) World Wide Web (WWW): The World Wide Web (WWW) is commonly known as web. The web
is collection of computers connected through a network to provide publicity accessible information.
(2) Web page: A web page is a document commonly written in HTML. This is accessible through
internet by using internet browser.
(3) Web site: A web site is a collection of web pages containing text, images and all types of
multimedia related to a specific set of information. A web site can be accessed through a uniform
resources locator (URL).
(4) Web browser: A software application used to access information on the World Wide Web.
(5) Uniform resources locator(URL): It is used to address of a resources of the internet (e.g.
https://.google.com)
(6) Search engine: A search engine is a web base tool that enable a user to locate information on the
web. Most popular search engine are Google, yahoo.
(7) Home page: A home page is also known as (landing page) is a web page that serves as the starting
point of the web page.
(8) Web hosting: A web hosting is a service that allows a web developer to make a website publicity
accessible through the internet.
(9) Web server: A web server is a computer that responsible for serving a website and all pf its contents
including text and media to a user.
Page 24 of 28
(10) Social: social website is a plat form where platform where different people get together and
socialized with each other. They can also share their ideas, opinions and media. Facebook and twitter
are instances of social networking websites.
Q10 How can we change the back ground of the HTML document o an image or to a color other than
white also explain bg color and background attribute.
ANS To add background color in HTML, use the CSS background-color property. Set it to the color name
or code you want and place it inside a style attribute. Then add this style attribute to an HTML element, like
a table, heading, div, or span tag.
Bg color: This attribute is used to change the color of the entire web page. Its color value can be defined as
RGB code, hexadecimal code or by color name. For instance.to set the back ground color of the web page to
green we can use these value: rgb (0, 255, 0):#00FF00: green EG <body bg color=”green” >.
Back ground: This attribute id\s used to display an image as the background of the web page. Its value will
be the reference ir URL of the background image. EG<body background=”image”. Jpg”>.
Q11 How we can create a hyper link to an external web page or within in same web page?
ANS 1 Use the <a> element to define a link.
2 Use the href attribute to define the link address.
3 Use the target attribute to define where to open the linked document.
4 Use the <img> element (inside <a>) to use an image as a link. More item.
Q12 What type of html elements is used to display data in rows and column? Discuss some of its
formatting features.
ANS 1 Tables: Table allow displaying the content (like text, image, and links) in the form of rows and
columns. The coordinating placed of a row with a column is called cell.
2 Rows and columns: Rows are horizontal lines and columns are vertical lines.
3 Table heading: Table heading allows defining a header for the columns of our table. Cell is define
by <th> tag is placed inside a<tr> row tag it is used for the definite from the content placed inside
normal<td> tags data cells. To make the entire header raw stand our from the rest of the table content s,
define <th> tags foe all columns of tge first <tr> row tag of any <table> tag.
Page 27 of 28
4 Table data: The content is placed inside a cell in table by using <td> table data tag. A cell can
contain any type of data such as text. Image. Media, links etc.
5 Cell attribute:
S Attribute value Description
no
1 Align Left: Specifics the alignment of the content inside the cell.
Center:
Right
2 Valign Top: Vertically aligns the content in a cell.
Middle:
Bottom:
Baseline
3 Cols pan number Specifies the number of columns a cell should merge into
4 Rows pan Number Sets the number of roes a cell should merge into.
Framesets: Framne sheets define how a web page is divided in to woes and columns to display
multiple frames on that web page. It is define by <frameset> tag and contains one or more <frame> tags.
S no Attribute Value Description
1 cols Pixels:% Define the number and the size of frame columns.
2 rows Pixels:% Define the number and size of frame rows.
Q14 List some popular text editor and tools which help in designing and development of websites.
ANS Following is the list of some of the tools thqat helps in designing and development a website
.
S no Tools Text editor
1 Microsoft Not
front page epa
d
2 Coral draw Text mate
3 Adobe Dreamweaver Vim
4 Word press PS pad
5 Microsoft visual studio Coda
6 WIX APTANA
Page 28 of 28