Documente Academic
Documente Profesional
Documente Cultură
7 Computer Software
Q.1: Complete, he/folio ing statements. ·
(i) AnJ. ·. ,~;) ~ Jacts as an interface between the hardware and the
.arplication sonwarc. '
(ii) Device drivers is a 5pJi ~ . software. ~
(iii) DOS i ntcrnt commands arc stored in the~/'r11d&'i f ;;/J Ii le.
(iv) Type · after the prompt to change the default drive to drive
A. ·_ ! www.ratta.pk
(v) Cl !DIR is a DOS ·,. {Vf,J!, . command.
(vi) CHKDSK is a DOS ti/uJ'!il command.
Answe~:
(i) ope·racing ystcrn (ii) service (iii) COMMAND.COM
(iv) A (v) internal (vi) external
Answers:
(i).1\ ( ii ) I) (iii) D
( i\) H ( \ ) t\
Q.4: Match the iterns given in Column I with thqse given in Column II.
Column I J Column II
1----, ) --,··-
-~ -
1_:1·d--i-n-l2--l -
~ _o<-~ ~L~ -~~~- =:_· a) Furrnal Disk
ii) S\\ it ch (_ / l_1)_ _ ._C
_'trn: pa1y _l_-·i_k_ _ _ _ _ ___.
iii) n~i>f- ·-~- ~ g___ - H~~-- l) __ _,_~i _tll_·l _a_r_1k_·________ __..,
i\ ) I·( !I~ ~v1 ;\ I __ _ t,l.t _i __ I J _ _ _1_31._H_)_t i_n__g·- - - - -- -----l
v) 1:c f, c) ivli..Jilic s l'ommand ·
r - - - - - --
~-~----------- - -_,_
-·1-_ (________
) Prim th e current lilc
_ _ _ __ ___.
~--------------- _ I --'k_,)_
_..._ __C_n_n_te_n_b_1_1_·t_c x_·t_ _ _ __ _____,
Answers:
( i) d (ii) c (iii ) g
( i \') J ( \) b
.,
Q.5: Clearly define the terms, data and information, given an example
'
in e'ach case not mentioned in the book.
Answer:
No te:
Some times the information of the some data becomes the data for the further
info rm atio ~
-
Fig: Difference between high-level and low-level
Q'.9·; Name a.t least four high-le~el languages and describe any two of
• J
Answer:
these high-level languages.
HIGH-LEVEL LANGUAGES
www.ratta.pk
Some of the more popular high-level language are :
• BASIC (Beginner's All Purpose Symbolic Instruction Code)
• FORTRAN (FORmula TRANslation)
• COBOL (Common Business Oriented Language)
• PASCAL
BASlC
BASIC was developed in 1964. It is sufficientl y close lo nglish and is one f
the mo t wide! u ed and easy-to-learn high level la guage. ven a person with little
or no knowled ge of computer programming can learn it quickly. BASIC can be u cd
for both business a_nd cientific applications. Th problem with BA IC is that it h~ ~
no standard version. It has been modified into different ver ion b different
computer manufacturers e.g. QBasic, GW-BASlC, Turbo BASIC
FORTRAN
FORTRAN was developed in 1957 for IBM computers. It was de igned to
so lve mathematical, scientific and engineering problems. FO RTRAN was one of the
cn rliest languages to introduce the concept of modular pro ramming. FORTRAN i a
·tandard high level language. If has been revised many times. One of its version
FO RTRAN 77 appeared in 1978.
Visit Ratta.pk for more notes Page 5 of 10 www.office.com.pk
.Q.10: What is the significance of an ·assembly language?
Answer:
The difficulty in understanding the machine language to the user was resolved
by symbolic coding using simple Engli sh-like words which the user can understand
more easil y. These expressions are then translated into machine language. This
concept has lead to thl! development of a large number of different high-level
programming languages which are easy to use and understand. In assembly language,
all operation codes of the machine language are substituted by letters and symbols
called mne~onic by the manufacturers. An assembly language program cannot be
executed directl y by a computer. The mnemonic operation codes and symbolic
addresses must be translated into a machine language for the computer to understand.
That is why this language is more suitable for human use than machine language and
enables the programmer to write instructions easily using E~gli sh words and familiar
mathematical symbols.
Q.14: Name the types of commands used in DOS and describe at least
five commands of each type.
Answer:
There are two types of DOS commands:
INTERNAL C0!\1!\!IANDS
lnternul commands are a part of th e DOS program CO 1 1AN D.COM . and
are loaded into memory when yo u boot your computer. These co mrn ~rnd s urc needed
to be used most often, although they are not seen whe n we di spl ay the di 'k directory
of lilenames on our screen. Some internal DOS c mrnancl s arc:
(i) CLS
This command is used to clea r th e ere en of a monitor.
Syntax: CLS
Visit Ratta.pk for more notes Page 8 of 10 www.office.com.pk
DJ 't
(ii)
This command is used to displays a list of current directory . files and
subd i rec tori es.
Syntax: DIR [drive:] [p~th] [filename] (/p] [/w]
e.g. DIR
(iii) CHOIR (CD)
This command is used to displays the current directory or changes the current
(default) directory.
· Syntax: CD [drive:] [path]
e.g. CD Ali
(iv) COPY
Th is commands is used to copies one or more ti lcs to another location .
Syntax: COPY ffilc name] fsourcc].[Jcstination Jircctory]
e.g. Copy !\Ii.Doc.A:
(\') DEL
This command is used to deletes one or more specified liles from the disk.
Syntax: DEL [drive] fpath] file name f/p] www.ratta.pk
e.g. DEL Aslam.Doc
EXTERNAL COMMANDS
www.ratta.pk
External commands are programs, \\.hich c. · ist on the DOS disk or the hard
disk . They are run when you type their name on the command line. For example,
typing FORMAT at the DOS prompt results in a progra m called FORMAT.COM
being cxc·cuted. ·
External ·commands are not frequently used and DOS saves valuable memory
space by loading them only when required. Some of the external commands are:
(i) CHKDSK .
t'his command is used to checks the validity or a disk and reports the total
space. used and free space on the selected disk.
Syntax·: CHKDSK ldrive] [path] [(fJ [Iv]
e.~.
.._, CHKDSK
(ii) SYS
This command is used to creates a bootable dri ve and installs the main DOS
files . Syntax: SYS [drive I:] [path] drive2:
e.g. SYS A:
(iii) TREE
1 his command is used to displays directory structure.
Syntax: TREE [drive:] [path] [/fl [/a]
e.g. TREE