HINA SHAMI
HINA SHAMI
HINA SHAMI
1.
MOTHERBOARD:
A motherboard is the most essential
parts of the computer system. Is holds
together many of the crucial
components of a computer including
CPU, memory & connectors for input &
output devices. The base of
motherboard consists of a very thin firm
sheet of non conductive material, typically
some sort of rigid plastic.
2.
MEMORY):
RAM is a type of data storage used in
computers that is generally located on
motherboard. This type of memory is
volatile & all information is stored in RAM
is lost when computer is turned off.
3. HARD DRIVE:
It is a non volatile computer storage device
containing magnetic disks or platters
rotating at high speed. It is s secondary
storage device used to store data
permanently. Hard drive is also known as
Hard Disk.
4. VIDEO CARD:
A video card is an expansion card
which generates a feed of output
images to a display device. Video cards
are also refereed as graphic cards.
Video card includes processing unit,
memory a cooling mechanism &
connections to a display device.
5. MOTHERBOARD:
Q: 3 WHAT IS A COMPUTER
PROGRAM?& EXPLAIN ALL
PARTS OF COMPUTER
PROGRAM.
COMPUTER PROGRAM:
A computer program is a list of
instructions that tell a computer what
to do . A computer program is written
by a computer programmer in a
programming language. A collection of
computer programs libraries & related
data are refereed to as software.
Computer program is the process of
writing or editing source coding.
Ending source coding involves testing,
analysing, refining & sometimes
coordinating with other programs on a
jointly.
PARTS OF COMPUTER
PROGRAM:
Programming is somewhat like working
with building block. Five basic elements
in programming are:
1. INPUT:
Getting data & commands into the
computer.
2. OUTPUT:
Getting your results out of the
computer.
3. AIRTHEMATIC:
Performing mathematical calculations
on your data.
4. CONDITIONAL:
Testing to see if a condition is true or
false.
5. LOOPING:
Cycling through a set of instruction
until some condition is met.
INPUT:
Input can be come from just about
anywhere: a keyboard , a touchscreen
a text file are few examples of input.
Input is one of the two elements that
are used by every program because
every program need some data to
work with.
OUTPUT:
Output is the result of your program
gives you. That is the whole purpose of
writing a program: to ask a question
and get the answer! Output can take
many form-texts or graphics; either
printed or on screen.
EXAMPLE: Anything that’s displayed
from tye computer is output.
AIRTHEMATIC:
Computer can perform all kind of
mathematical operations & functions,
from the simple addition or subtraction
needed to update your checking account
balance after withdrawal or deposit. Not
every program needs to do calculations
on the data that is entered.
EXAMPLE: 10 – 8= 2
CONDITIONAL:
It is a set of rules performed if a certain
condition is met. It is sometimes
referred to as an IF- THEN statement
because IF a condition is met, THEN an
action is performed.
LOOPING:
Loops are among the most basic &
powerful pf programming concept. It is
the sequence of instructions that is
continually repeated until a certain
condition is reached. A loop is a
fundamental program idea that is
commonly used in writing program.
EXAMPLE: for( counter=1;counter<=
10;counter ++)
Print(“%d/n" , counter);
TYPES OF LOOPING:
1. Next loop
2. Do loop
3. While loop
FIRSTL GENERATION OF
COMPUTER:
1 1946-1959 is the period of first
generation computer.
2 J.P.Eckert and J.W.Mauchy invented
the first successful electronic
computer called ENIAC, ENIAC stands
for “Electronic Numeric Integrated
And Calculator”.