Vous êtes sur la page 1sur 19

COMMANDS OF UNIX

Q. Which command is used to sort the content of a file :


(a)Sort
(b)Tail
(c)Cd
(d)mkdir
Q. Which command is used to create a director:
(a)Mkdir
(b)Rmdir
(c)Tail
(d)Head
Q. Which command is used to loo! the first lines of the file:
(a)Head
(b)Tail
(c)Cd
(d)None of the above
Q. Which command is used to loo! the last lines of the file:
(a)Tail
(b)Head
(c)None of the above
(d)All of the above
Q. Which command is used to co" a file:
(a)cp
(b)cd
(c)A and B both
(d)None of the above
COM#U$%& SOF$WA&%
Q. $hrashin' is related to :
(a)Cache Memory
(b)Main Memory
(c)Secondary memory
(d)Virtal memory
Q. $he(((. Is a com"uter "ro'ram that runs )hen ou first start
the com"uter*
(a)!AT
(b)Record
(c)Boot record
(d)Root directory
Q. Which of the follo)in' is also !no)n as +,i'ht )ei'ht "rocess-.
(a)!nction
(b)Application modle
(c)"ernel
(d)Thread
Q. Which of the follo)in' is not an o"eratin' sstem.
(a)#$N%&#S
(b)'N$(
(c))ASCA*
(d)MS+%&S
Q. Sstem in )hich different "art of a sin'le "ro'ram can run
concurrentl is:
(a)Real time
(b)Mltita,kin-
(c)Mltithreadin-
(d)None of the above
Q. Which one is a se/uential stora'e de0ice::
(a)Hard di,k
(b)Ma-netic di,k
(c)Ma-netic tape
(d)None of the above
Q. Factors im"ortant for desi'nin' of O"eratin' sstems are
(a)Maintainability
(b))ortability
(c),ecrity
(d)All above
Q. O"eratin' Sstem is re/uired to mana'e1
(a)Hard.are
(b)vario, re,orce,
(c)memory
(d)All
Q. Which of the follo)in' is not an e2am"le of O"eratin' Sstem.
(a)#indo., /0
(b)%&S
(c)'N$(
(d)MS #ord
Q. O"eratin' Sstem is a :
(a)Hard.are
(b)Sy,tem Soft.are
(c)Application Soft.are
(d)None
D%AD,OC3S
Q. An o"eratin' sstem )or!s as:
(a)An e1tended machine
(b)A re,orce mana-er
(c)A 2 b both
(d)None of the above
Q. In UNIX4the command to terminate e2ecution of a "ro'ram is:
(a)"ill
(b)!ork
(c)Stop
(d)3nd
Q. If 5an!ers al'orithem is to deadloc!4#a'in' is to:
(a)Memory mana-ement
(b)Schedlin-
(c)Thread,
(d)None of the above
Q. A situation )here t)o or more "rocesses 'et into a state
)here5 each is holdin' a resource )hile other is re/uestin'
(a))a-e !alt
(b)%eb--in-
(c)%eadlock
(d)$4& mana-ement
Q. Which of the follo)in' condition is not res"onsi5le for a
deadloc! to occur.
(a)Mtal 31cl,ion
(b)Hold and #ait
(c)No+)reemption
(d)Semaphore
Q. Which of the follo)in' is not a direct function of o"eratin'
sstem
(a)$4& operation
(b)Memory mana-ement
(c)Re,orce mana-ement
(d)%BMS
Q. Mutual %2clusion "ro5lem occurs 5et)een
(a)t.o di,5oint proce,,e, that do not interact
(b)proce,,e, that ,hare re,orce,
(c)proce,,e, that do not ,e the ,ame re,orce
(d)None
Q. I#C stands for:
(a)$nter+ )roce,, commnication
(b)$ntra+)roce,, commnication
(c)$n+)ro-ram cooperation
(d)None
Q. Messa'es are 0er much re/uired for
(a),ynchroni6ation
(b)inter proce,, commnication
(c)both (a) and (b)
(d)None
Q. SI6NA, and WAI$ o"eration are related to
(a)Mltipro-rammin-
(b)Semaphore,
(c))re+emptive ,chedlin- of proce,,e,
(d)None of the above
Difference 7et)een DOS UNIX 8
Windo)s
Q. Delete files DOS uses the del command )hile UNIX has the
999999 command.
(a)RM command
(b)Md command
(c)A and B both
(d)None of the above
Q. Dis"la file contents UNIX has the cat command and DOS uses
the 999999999 command.
(a)T7)3
(b)Cat
(c)Copy con
(d)None of the above
Q. MS DOS is the oldest OS from 9999999999999999.
(a)Micro,oft
(b)Sn,oft
(c)Sn micro,oft
(d)None of the above
Q. DOS )as ori'inall desi'ned for9999999999999994 )hile UNIX
)as desi'ned for sstems )ith man users.
(a),in-le+,er ,y,tem,
(b)mlti,er ,y,tem
(c)A and B both
(d)None of the above
Q. DOS is a command line interface )hile Uni2 offerin' a
999999999999 as )ell as command line:
(a)8'$ interface
(b)C'$ interface
(c)None of the above
(d)All of the above
Information Mana'ement
Q. Which t"e of file or'ani:ation are su""orted 5 ma'netic ta"e:
(a)Random file
(b)Conti-o, ,e9ential file
(c)$nde1ed ,e9ential file
(d)All of the above
Q. In the 5atch "rocessin' sstem the tas! are su5mitted in:
(a)one by one
(b),imilar ta,k in batche,
(c)different ta,k in batche,
(d)none of the above
Q. &#C stands for
(a)Remote )ro-rammin- center
(b)Remote )rocedre Call
(c)Ri-ht )ro-ram Call
(d)None
Q. $he ad0anta'e of distri5uted sstem is1
(a)more comptin- po.er
(b)Reliability
(c)Re,orce ,harin-
(d)All
Q. Multimedia a""lication can in0ol0es
(a)adio
(b)video
(c)te1t
(d)all
Q. D7MS is used 5ecause of
(a)con,i,tency
(b)data independency
(c)controlled redndancy
(d)all
Q. $he o"eration "erformed on director is
(a)creation
(b)deletion
(c)open
(d)all
Q. A file can ha0e follo)in' states:1
(a)clo,ed
(b)opened
(c)achieved
(d)All above
Q. &emote #rocedure Call ;&#C< is
(a)Commnication in centrali6ed ,y,tem
(b)Commnication in di,tribted ,y,tem
(c)Both (a) and (b) both
(d)None of the above
Q. $he ma=or securit threats are
(a)'nathori6ed ,e of ,ervice
(b)'nathori6ed di,clo,re of information
(c)'nathori6ed alteration of information
(d)All of the above
Memor Mana'ement
Q. Interlea0ed e2ecution of more than one "ro'rams at a time is
!no)n as:
(a)Mltipro-rammin-
(b)Mltita,kin-
(c)Mltiproce,,in-
(d)8'$
Q. In "a'in'4 can the total address s"acee2ceed the si:e of the
"hsical memor.
(a)7e,
(b)No
(c)Sometime,
(d)%epend, on proce,,
Q. Which of the follo)in' is a "lace re"lacement strate'.
(a)!$!&
(b)Second Chance
(c)Clock )a-e
(d)None of the above
Q. 7an!er>s al'orithm is used for deadloc!:
(a)Avoidance
(b)%etection
(c))revention
(d)Bankin- tran,action on compter
Q. Which of the follo)in' is a non1"reem"ti0e C#U schedulin'
"olic:
(a)Shorte,t 5ob fir,t
(b)!ir,t come fir,t ,erved
(c)Shorte,t remainin- time
(d)Both A 2 B
Q. Default file sstem of Windo)s ?@@A:
(a)31t:
(b)NT!S
(c)C%!S
(d)RA$%
Q. Default file sstem of linu2:
(a)31t:
(b)NT!S
(c)C%!S
(d)RA$%
Q. &ead state means a "rocess has:
(a)All re9ired re,orce, e1cept memory
(b)All re9ired re,orce, e1cept C)'
(c)All re9ired re,orce, e1cept $4& device,
(d)None of the above
Q. &ead state means a "rocess has:
(a)A; All re9ired re,orce, e1cept memory
(b)All re9ired re,orce, e1cept C)'
(c)All re9ired re,orce, e1cept $4& device,
(d)None of the above
Q. Interlea0ed e2ecution of more than one "ro'rams at a time is
!no)n as:
(a)Mltipro-rammin-
(b)Mltita,kin-
(c)Mltiproce,,in-
(d)8'$
Q. In "a'in'4 can the total address s"acee2ceed the si:e of the
"hsical memor.
(a)7e,
(b)No
(c)Sometime,
(d)%epend, on proce,,
Q. Which of the follo)in' is a "lace re"lacement strate'.
(a)!$!&
(b)Second Chance
(c)Clock )a-e
(d)None of the above
Q. 7an!er>s al'orithm is used for deadloc!:
(a)Avoidance
(b)%etection
(c))revention
(d)Bankin- tran,action on compter
Q. Which of the follo)in' is a non1"reem"ti0e C#U schedulin'
"olic:
(a)Shorte,t 5ob fir,t
(b)!ir,t come fir,t ,erved
(c)Shorte,t remainin- time
(d)Both A 2 B
Q. Default file sstem of Windo)s ?@@A:
(a)31t:
(b)NT!S
(c)C%!S
(d)RA$%
Q. Default file sstem of ,inu2:
(a)31t:
(b)NT!S
(c)C%!S
(d)RA$%
Q. &ead state means a "rocess has:
(a)A; All re9ired re,orce, e1cept memory
(b)All re9ired re,orce, e1cept C)'
(c)All re9ired re,orce, e1cept $4& device,
(d)None of the above
Q. $o 5rin' "ro'ram a'ain from dis! into the main memor is called:
(a)S.appin- in
(b)S.appin- ot
(c)A and B both
(d)None of the above
O"eratin' Sstem
Q. ,AN s"eed are measured in:
(a)Bp,
(b)"bp,
(c)8bp,
(d)mbp,
Q. De0ice dri0er is a:
(a)Hard.are
(b)Soft.are
(c)A 2 b Both
(d)None of the above
Q. Disad0anta'e of distri5uted sstem are:
(a)Comple1 ,oft.are
(b)Co,tly net.orkin-
(c)Comple1 ,ecrity
(d)All of the above
Q. Net)are is a:
(a))rotocol
(b)Rote
(c)Net.ork operatin- ,y,tem
(d)None of the above
Q. $he o"eratin' sstem )hich the I7M1#C uses:
(a)C)4M
(b)MS4%&S
(c)'N$(
(d)AT+%&S
Q. OSI model has 'ot:
(a)< layer,
(b)= layer,
(c)> *ayer,
(d): *ayer,
Q. $he t"ical &AM ca"acit of a #C is of the order of:
(a)=< "B
(b)=< MB
(c)? TB
(d)?= 8B
Q. $he minimum num5er of 5its re/uired to re"resent AB is:
(a) =
(b) @
(c) 0
(d) >
Q. C#U resource mana'ement is also !no)n as:
(a)Schedlin-
(b)$4& Mana-ement
(c)S.appin-
(d)All of the above
Q. &eal time o"eratin' sstems are mainl used in :
(a)3%) )roce,,in-
(b)&ffice atomation
(c)$nd,try
(d)%ay+to+day life
#rocess Mana'ement
Q. FSCAN is a:
(a)%i,k checkin- mechani,m
(b)%i,k clearin- mechani,m
(c)%i,k formattin- mechani,m
(d)%i,k ,chedlin- mechani,m
Q. Which of the follo)in' is not a sstem utilit.
(a)Compiler
(b)$nterpreter
(c)&peratin- ,y,tem
(d)$nternet e1plorer
Q. $hrashin' is related to:
(a)Cache memory
(b)Main memory
(c)Secondary memory
(d)Virtal memory
Q. Which of the follo)in' is also called as li'ht)ei'ht "rocesses:1
(a)!nction
(b)Application Modle
(c)"ernel
(d)Thread
Q. Different )a of creatin' and deletin' "rocess are
(a)!&R"
(b)A&$N
(c)B'$T
(d)All
Q. C#U resource mana'ement is !no)n as
(a)Schedlin-
(b)$4& Mana-ement
(c)S.appin-
(d)None
Q. $he 0arious /ueues are1
(a)Aob Bee
(b)Ready 9ee
(c)%evice 9ee
(d)All
Q. $he 0arious states of "rocess are:
(a)Ne.C Ready
(b)Ne.C ReadyC Rnnin-
(c)Ne.C Rnnin-C Terminated
(d)Ne.C ReadyC Rnnin-C .aitin-C Terminated
Q. #rocess is a
(a))ro-ram
(b)Hard.are
(c))ro-ram nder e1ection
(d)None
Q. #C7 stands for
(a))ro-ram Control Block
(b))roce,, Control B,
(c))ro-ram Control B,
(d))roce,, Control Block
Q. #rocess Mana'er is res"onsi5le for
(a)Schedlin- of proce,,
(b)Synchroni6ation
(c)deadlock handlin-
(d)All
Securit 8 #rotection
Q. $he addressin' scheme used for ICO de0ices is:
(a)Memory mapped $4&
(b)$4& mapped $4&
(c)A and B both
(d)None of the above
Q. $he t)o im"ortant characteristics of ICo de0ices are:
(a)A,ynchrono, operation
(b)Speed -ap
(c)A and B both
(d)None of the above
Q. In UNIX dead nloc! is handled considerin':
(a)$-nore the problem
(b)By re,orce preemption
(c)Solve the problem
(d)none of the above
Q. DMA stands for:
(a) %irect memory acce,,
(b) %irect memory a,,i-ned
(c) %i-ital memory acce,,
(d) All of the above
Q. Conditions for deadloc! are:
(a)Mtal e1cl,ion and partial allocation
(b)Non+preemption and circlar .ait
(c)Both A 2 B
(d)None of the above
Q. $he address4 )hich C#U 4'enerates is called as:
(a))hy,ical addre,,
(b)Actal addre,,
(c)*o-ical addre,,
(d)None of the above
Q. An o"eratin' sstem desi'ned for usa'e on 5oth #C>s at home
andon ser0ersin 5usiness is:
(a)#indo., ()
(b)#indo., M3
(c)#indo., NT
(d)#indo., C3
Q. A techni/ue that can 5e used )hen a 0er lon' "ro'ram e2ceeds
the stora'es ca"acit of memor is called:
(a)#indo.in-
(b)Time ,harin-
(c)*inka-e editin-
(d)Virtal memory
Q. Most o"eratin' sstem are desi'ned to run )ith a s"ecific:
(a)Type of proce,,or
(b)ManfactrerD, printer
(c)Brand of compter
(d)Style of keyboard
Q. $he o"eratin' sstem )hich the I7M D#C uses:
(a)C)4M
(b)MS+%&S
(c)'N$(
(d)AT+%&S
Uni2 o"eratin' Sstem
Q. Which of the follo)in' command is used for creatin' a file:
(a)Mkdir
(b)Rmdir
(c)Cd
(d)None of the above
Q. %ditors in Uni2 are:
(a)Sin-le line editor
(b)mlti line editor
(c)A and B both
(d)None of the above
Q. CA$ command is used for:
(a),ed to read file
(b)create ne. file
(c)copy e1i,tin- file,
(d)All of the above
Q. #ro'rams )ritten in shell lan'ua'e is !no)n as:
(a)Shell ,cript
(b)VB ,cript
(c)Aava ,cript
(d)None of the above
Q. . +4-4 +EF-4 +.- are called((((.. in UNIX o"eratin' sstem:
(a)Meta character,
(b)Meta data
(c)A and B both
(d)None of the above