0% found this document useful (0 votes)
80 views9 pages

Quiz I

This document contains a quiz with multiple choice questions about microprocessors and computer architecture. The questions cover topics like binary, hexadecimal, and octal number representations; microprocessor components like registers and flags; addressing modes; instruction types; and concepts like interrupts and macros.

Uploaded by

Harman Gahir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views9 pages

Quiz I

This document contains a quiz with multiple choice questions about microprocessors and computer architecture. The questions cover topics like binary, hexadecimal, and octal number representations; microprocessor components like registers and flags; addressing modes; instruction types; and concepts like interrupts and macros.

Uploaded by

Harman Gahir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 9

Quiz -1

Question 1
The binary representation of hexadecimal number ABC is
A 101010111100
B 101010111000
C 011010111100
D 101010111111
Question 2
Subtractin octal number !"# from octal number $%# results in &
A $
B "
C %
D #
Question '
#0#$ micro processor is an ((((((((((((((( de)ice
A *+,S
B C+,S
C -+,S
D Q+,S
Question !
(((((((((((((((((( reister deals .ith se/uencin the execution of instructions
A Stac0 pointer
B proram counter
C accumulator
D fla
Question $
(((((((((((((((((fla is used in #0#% for strin manipulation instructions
A D1
B A1
C ,1
D *1
Question %
#0#% as (((((((((((((((((((( of sement reisters
A '
B $
C !
D 2
Question "
A &&&& is an identifier that is assined the address of the first byte of the instruction in
.hich it appears
A ,perand
B mnemonic
C 2abel
D Comment
Question #
3n .hich instruction the flas are not affected
A 2DS
B DAA
C ADC
D DAS
Question 4
Data storae in stac0 is desined in 555555555555555method&
A 1irst in first out
B last in last out
C first in last out
D last in first out
Question 10
((((((((((((((( instruction is used to call a procedure
A CA22
B 67T
C *6,C
D -7A6
Question 11
(((((((((((((((is a prefix used in #0#% machine lanuae that simplifies the use of strin primiti)es
.ith loops
A 67*
B 2,,*
C 2,DS
D +,8S
Question 12
2,DSB instruction .ill automatically increment 5555555555reister&
A D3
B S3
C DS
D 7S
Question 1'
((((((((((( is a special component used in #0#% for bloc0 transfer of data to or from a port
A B+A
B D-A
C D+A
D B-A
Question 1!
The first operand in the 3- instruction must be ((((((((((reister for byte transfer
A C2
B B2
C A2
D D2
Question 1$
3n 55555555555555 en)ironment t.o or more process is executed in a time multiplexed fashion
A 9niprorammin
B +ultiprorammin
C 3:, operation
D D+A
Question 1%
*re)entin t.o or more process from simultaneously enterin their critical sections for accessin
a shared resource is called(((((((((((((((((((((((
A +utual sharin
B +utual process
C +utual exclusion
D mutual accessin
Question 1"
&3C is used as cloc0 enerator for #0#%
A #0#"
B #2#!
C #0##
D #24!
Question 1#
A processor is in minimum mode .hen its +-:+; pin is strapped to ((((((()olts
A <$0
B <$
C 0
D ($
Question 14
#0#% is interfaced .ith (((((((((((((Co(processor to perform float point calculations&
A #0#4
B #0#$
C #0#"
D #0#!
Question 20
An instruction to be executed by the coprocessor is indicted .hen ((((((((((instruction appears in
the proram se/uence
A T697
B 1A2S7
C T7ST
D 7SC
Question 21
,ne of the follo.in addressin modes is not possible in #0#$&
A 3ndexed addressin
B 3ndirect addressin
C Direct addressin
D 3ndirect reister address
Question 22
The speed of a microprocessor is usually measured by the
A +icroprocessor=s throuhput&
B Speed .ith .hich it performs 3:* and ,:* operations&
C Time re/uired executin a basic instruction&
D Time re/uired processin a small operation&
Question 2'
>hich of the follo.in is an #0#$ hard.are interrupt?
A T6A*@
B 6ST%&$
C 6ST"&$@
D All the abo)e
Question 2!
>hich of the follo.in is does -,T belon to #0#$ fla reister
A Carry fla
B Sin fla
C Aero fla
D ,ne fla
Question 2$
DAD re instruction mean
A Add the content of specified re& to center of B2 C store the result in B2
B Add # bit data i)en in instD to center of one C store the result in re
C Add 10 bit data i)en in inst to contact of B2 C stout the result in B2
D -one of the abo)e
Question 2%
3nstruction that sets the carry fla
A CE set
B ST6
C STC
D Set CE
Question 2"
3nstruction that a)oids unnecessary Fumps to terminate the pro
A -,*
B B2T
C ei
D ,3
Question 2#
3nstruction cycle can be dined as sum of
A 3nstruction fetch < 3nstruction decode
B 3nstruction fetch < instruction 7xecute
C 3nstruction fetch < instruction exit
D All of abo)e
Question 24
3nstruction cycle use 55555555 m:c cycle@
A 1($
B 1(1%
C 1(#
D -one of abo)e
Question '0
7ach m:c cycles ha)e 55555555 T states
A ' to %t
B ' to 10t
C ' to #t
D -one of abo)e
Question '1
>hich of the follo.in does the tas0 of displayin the result computed by the microprocessor?
A Cathode 6ay Tube GC6TH
B 2iht(7mittin diodes G27D=SH
C 2aser printer
D All of the abo)e&
Question '2
3n #0#% microprocessor .hich of the follo.in is -ot a reister pair reister
A B(C pair
B 1(I pair
C B(2 pair
D D(7 pair
Question ''
Aero 1la is to 55555 if the result of an arithmetic operation is Jero&
A 1
B 0
C (1
D 2
Question '!
T.o=s complement representation of (2 is 55555555
A 0010
B 0110
C 1110
D 0011
Question '$
The binary representation of decimal number 0&'"$ is 5555
A 0&011
B 0&111
C 0&010
D 0&011
Question '%
3f there are t.o operands@ the 5555555 operand appears first&
A destination
B Destination
C source
D label
Question '"
An interrupt initiated by a sinal on the -+3 pin is called a 5555555555
A -,- mas0able interrupt
B -umber mas0 able interrupt
C -,T mas0 able interrupt
D -one of the abo)e
Question '#
There are t.o po.er connection for <$ )olts in #0#$ they are
A 8ss and 8
B 8cc and 8ss
C 8cc and 8
D -one of the abo)e
Question '4
>hich of the follo.in is the function of microprocessor
A 6ecei)in input
B *erformin computations&
C Storin data C instructions
D All of the abo)e&
Question !0
(((((((((((((((( and ((((((((((((((( lines pro)ide the #0#$ .ith a D+A capability by allo.in
another processor on the same system bus to re/uest control of the buses
A S0@S1
B 6ead and >rite
C A27 and 67ADE
D B,2D and B2DA
Question !1
((((((((((((((((and ((((((((((((((((((( instructions pro)ide a means of mo)in t.o bytes bet.een B2
reister and a 6A+ address
A 2DA; C STA;
B 2B2D C SB2D
C 2DAC STA
D *9SB C *,*
Question !2
The binary representation of decimal number '!&$%is &&
A 100011&100
B 100010&110
C 100010&100
D 100011&111
Question !'
The octal representation of hexadecimal number CD is &
A '1$
B '0$
C ''$
D '12
Question !!
#0#% processor has ((((((((((((( address pins out of .hich (((((((((((((((( number of pins are used
as data pins
A 1%@#
B 1%@1!
C 20@1%
D 20@#
Question !$
3n #0#% is a ((((((((((((((((((((bit microprocessor and is fabricated usin ((((((((((((technoloy
A 1%@C+,S
B #@B+,S
C 20@-+,S
D 1%@B+,S
Question !%
555555555 and55555555555instructions are specifically used to chane the status of carry fla
A ST3@C23
B STC@C2C
C +,8@27A
D DAA@;CBI
Question !"
3n #0#% the instruction is used to simplify the decrementin@ testin and branchin&
This instruction uses 5555555as Counter reister&
A 2oop@ C;
B K+*@ C;
C D7C@ A;
D 3-C@ A;
Question !#
T.o eneral class of interrupt are555555555555555555 and 555555555555555
A *ointer and )ector
B 3- and ,9T
C input and output
D internal @external
Question !4
A 55555555is a sement of code that needs to be .ritten only once but .hose basic structure can
be caused to be repeated se)eral times .ithin a source module but placin a sinle statement at
the point of each appearance
A +icro
B +acro
C prototype
D interrupt
Question $0
*ac0ed BCD format of number 01 02 0! 0$ is ((((((((((((((((((and unpac0ed BCD format
of -umber $"#4 is(((((((((((((((((((
A 1020'0!0@ $0 "0 #0 04
B 1122''!!@ $$ %" "# 44
C 12'!@ 0$ 0" 0# 04

You might also like