Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Typical Microprocessor - Microprocessor Systems Engineering I- Past Exam Paper, Exams of Materials science

Main points of this past exam paper are: Architecture, Modern Pc Motherboard, Floating Point Data Type, System Block Diagram, Memory Device, Assembly Language Program, Microconverter Quick Reference, Microprocessor Based System., Typical Microprocessor, Block Diagram

Typology: Exams

2012/2013

Uploaded on 03/26/2013

rana-r
rana-r 🇮🇳

4.5

(31)

199 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
EE206.i Sem I 2007/2008 Page 1 of 5
Semester I Examinations 2007/2008
Exam Code(s) 2BP121, 2BN121
Exam(s) Second Electronic and Computer Engineering
Second Electronic Engineering
Module Code(s) EE206.i
Module(s) Microprocessor Systems Engineering 1
Paper No. 1
Repeat Paper
External
Examiner(s) Prof. P. Cheung
Internal
Examiner(s)
Prof. G. Ó Laighin
Dr. M. Glavin
Instructions:
Answer Question 1 and any two other questions.
Question 1 is compulsory and carries 40 marks.
Questions 2, 3 and 4 carry 30 marks each.
Duration 2hrs
No. of Pages 5
Department(s) Electronic Engineering
Course Co-
ordinator(s)
Requirements:
MCQ
Handout
Statistical Tables
Graph Paper
Log Graph Paper
Other Material
pf3
pf4
pf5

Partial preview of the text

Download Typical Microprocessor - Microprocessor Systems Engineering I- Past Exam Paper and more Exams Materials science in PDF only on Docsity!

EE206.i Sem I 2007/2008 Page 1 of 5

Semester I Examinations 2007/

Exam Code(s) 2BP121, 2BN

Exam(s) Second Electronic and Computer Engineering

Second Electronic Engineering

Module Code(s) EE206.i

Module(s) Microprocessor Systems Engineering 1

Paper No. 1

Repeat Paper

External

Examiner(s)

Prof. P. Cheung

Internal

Examiner(s)

Prof. G. Ó Laighin

Dr. M. Glavin

Instructions: Answer Question 1 and any two other questions.

Question 1 is compulsory and carries 40 marks.

Questions 2, 3 and 4 carry 30 marks each.

Duration 2hrs

No. of Pages^5

Department(s) Electronic Engineering

Course Co-

ordinator(s)

Requirements :

MCQ

Handout

Statistical Tables

Graph Paper

Log Graph Paper

Other Material

EE206.i Sem I 2007/2008 Page 2 of 5

1. Compulsory Question [40 marks total]

(a) Describe in your own words the functions of the Address, Data and Control buses of a

typical microprocessor based system. You may use diagrams where necessary. [5 marks]

(b) What is the function of the South Bridge in a modern PC motherboard? You may use a

diagram to illustrate your answer. [5 marks]

(c) Name and briefly describe any 5 data types in typical computer systems and indicate the

type of applications they are most suited to. [5 marks]

(d) With the aid of a system block diagram showing a microprocessor and memory device,

describe the memory write operation. You should further illustrate your answer with a

timing diagram. [5 marks]

(e) With the aid of the attached Microconverter quick reference guide, describe the function of

the following 8051 resources (i) PSW, (ii) SP, (iii) Accumulator (iv) IP and (v) IE.

[5 marks]

(f) Describe how register indirect addressing is implemented in an 8051. Illustrate your answer

with sample code and suggest an application that could benefit from use of this addressing

mode. Explain the reasons for your application choice. [5 marks]

(g) Write an assembly language program to add the number 27 10 to the contents of memory

location 33H and store the result in Bank 1, Register 3 (you may need to refer to the

Microconverter quick reference guide at the end of this exam paper). [5 marks]

(h) Describe the sequence of events that takes place when an interrupt is asserted in an 8051

microcontroller, with particular reference to ISR vectoring. [5 marks]

2. (a) With reference to a modern computer system, explain briefly the following terms (your

answer must include a short description of main features of each technology):

i. PCI

ii. SATA

iii. RAID [6 marks]

(b) Why is DVI superior to VGA for carrying a video signal from a desktop PC to a DVI

compliant monitor? [4 marks]

(c) How is cache used to speed up a modern computer system? (Your answer should include a

diagram of how cache is situated with respect to the microprocessor and main memory.)

How does it differ from conventional RAM? What are the differences between level 1 and

level 2 cache? [8 marks]

(d) Switches, push buttons and relays are examples of devices that cause contact bounce.

Describe what you understand by the term contact bounce and explain how this is a problem

for a microprocessor system. Can you suggest two ways in which contact bounce can be

mitigated? You may use diagrams and code to illustrate your answer. [12 marks]

3. (a) What is STACK memory generally used for in a microprocessor system? How does the

STACK operate and how is it addressed? [6 marks]

(b) Describe the basic Von Neumann architecture instruction cycle. You may use a flowchart to

illustrate your answer. [6 marks]

(c) Describe the process you would go through to debug a malfunctioning embedded system

that does not appear to be communicating with a peripheral (list and describe the 4 points

you would consider to be the most important). [4 marks]

(d) Draw a circuit diagram showing the structure of an 8051 port pin and explain how data are

output on the port pin (You may assume that an internal pull-up resistor exists). [8 marks]

(e) An 8051 port pin could be damaged (electrically) by allowing excessive current flow

through the output transistor. Can you suggest two ways in which current damage could be

avoided? [6 marks]

^ 
A# 
"9%B%
CBD
" E%"  2%F
" E%"  2%F
"G+9
'H
A
/%I
'I
4'I
'I
'I
'I

#% !$' !::: I0B:JBK5CD

* 5''^ 1G     '=
C1&G  ^   '=
*D
C!/#" 
 " D
J
K
K
I!
J
#0:J5$5/!,$
#0:15A%
J
)/G
J
J
&J
I!
K
K
#:J5J5
J
K
K
#:5K5
#:055K
4$)C"D
0J
4$)C
D
01 0J 00 I!
0K
#:J505
#:15&55#A(
0K
#:5J505#A(
&J
&J
&K
J
I!
J
&K
J
J
J
#:J5J
J
J&
J
JJ

$) (^) !+,*

  ++*( "

(^)  "

+

&0



-)

A  9$  "

+

J



'

'8 "* "

+

0

0



'"  "-

(^)  " "

+ 00

&

$

$ /- *  "

+



J

'

'8 "* "

+

0

1

$

$ /- *  "

+





)$./

# 5  "

+

0



% 5$

%$ "

+

0

K

$5'4

$  "

+





0 1!+/*

(^) $ " -*

(^) "  "

+

J0



 +  /

 +  /

 +  /

 +  /

 +  /

;

:J) !)@!%^ JL  ""  * "

; (^)  *JL - *9

(^) + 

)!)

6'.11$*

(^) ; (^) 1G * 5''+

(^) 9 

(^) 

&G * 5''

(^) 

"

  ; (^) " (^)   " J

 1(6? + :0( #0 5/*"

'  (^) < '  ;

(^) + 

(^)  "

+  

++* "

(^) 

  9 8  *"  +

(^)  

  • 9  " " -

" 

 *51#A(+  B "B  

/=/,

/>/

///

/?@

A

=,

>

>?>

>/>

>>>,

>=>A

>>@

,?,

,/

/?@A=,>/

/A//@?/>,=A@

C"  $/#, 'A J+"(H# 

(^) *D

    

/=/,/>

////

/?@

A=,

/

,>,,,=

>>>>,

>=>A>

>@,?,

,/

/?@A=,>/

/@?/>,=A@>>/

C"  $/#, 'A J1+"# 
*D

    

>

>? /A

,

(H# #

(H# #

(H# #

 

CB0,5 $ (^) D



"  (^) "

C )$  *"  

D

(4!

" 

"  @* *  "

 " "9+ :J,"$'(#

 "   *+ (^)  (^) "

C 4

D (^ ?,/ 

 99 "* 

 "9B+"

/ "1

  •    " (^) ++*   9 %(J18 M4%(NG8

#A(

6'.11 + 9 1G8 6'.11  &G8

#/%

  

"" -*

A  >/>/

? @

/=/A @

/,/>

///

@

A=

@

A=

?

/@/

>

/

>

/

,/,

,?>@

>=>,

>>>

 16 # 16 A=,>/?

 ?

)0.)(7 ) )))/*

/

!#)0* 

$+A$+=

$+,$+>

$+$+/

$+$+?

$/+$/+?

$+A$+=

$+,$+>

$+$+/

$+$+?

$?+A$?+=

$?+,$?+>

$?+$?+/

$?+$?+?

$/+/$/+ $/+>$/+, $/+=$/+A

**>/>

? $)1!( 1**

0=A

////

/ @ 0/1B0/00?

B0(B0(/ @ $- 

 $- ?

!0!0?

**,

/?> ,>A/**

>

#  ! # (^)  ! 1)10,

$+ACD$+=C-D

$+,C0.!#)0D$+>C0?.$-*^ .$-^ ?D

$+C!0.$+/C!0?D ).$- D*

$+C0D$+?CD

$/+C@.AD$/+?C.=D

$+ACAD$+=C=D

$+,C,.))D$+>C>D

$+CD$+/C/D

$+C.0/1BD$+?C?.0/D

$?+ACAD$?+=C=D

$?+,C,D$?+>C>D

$?+CD$?+/C/D

$?+CD$?+?C?D

$/+/C?.D$/+C.@D $/+>C/./?D$/+,C./D $/+=C>.//.$-$/+AC,./.$- ?DD

 "3 3

(^) &   (^)  (^) 6$ 2

C"  D
C"  D
C"  D
C"  D
C"  D
C"  D
C"  D
C"  D C"  D C"  D C"  D
C   -D
C   -D
C   -D
C   -D
C   -D
C   -D
C   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
J^ $1 
^ $0/ 
J^ 0 
^ 10/ 

J 

K^ )^ / 

KJ 

^ 06? 

J 

'^ -*( 

1 

''^ 1 

'1 

'^ ^  
1^  
'^ 1B6/ 
1^ $1/ 
'^ $ 
1^ - 
'^ 1 

1 

K'^ )^  

K1 

'^ 0 

1 

^ )$ 

 

'^ * 

' 

^  
^ 5 
^ 06/ 
^ $1 
^ $) 
^  
^ 1 

 

K^ )^? 

K 

^ 06 

 



K )$



O *  "
+  B +  
0&J1K'0:::
%J
K
J
%J
%J
K
J
%J
K
J
1K
1J
J
J'
J
J
J
J
JK
J
J
J1
JJ
J&
J0
J
J
J
&K
&J
0K
0J
K
J
K
J
K
J
   0 & J 1   K 0&J1K0&J1K000 00 0&0J 01 000K&&&&0&&&J&1&&::: * 
C 
 D
C 6'.11  CG+9 D&G
% D
  I0:=
  C1(
*D
C+9D C+90D
 ^ I0:=
G
^ E$ 04 ^ 1E 
^ $-^ ?(  ^ $-^ ?E  0^ $-^ (  &^ $-^ E  ^ )$E 
^ 0^ 1!  ^ E0E)1  0^ )1  &^ !  J^ E4  1^ !0#(  ^ $*! 
K^ 06  K'^ 0*! 
K /0  K^ / JJ

$F1)10#(41)

P

  5''C* 5 D

$

C 5  D

/!:

( * C==D

/!:

%"9* C=,

%'=, D

/!:J

%"9* C=,

%'=, D

/!:&

* C=,="

(^) * +  "D

/!:

* C=,="

(^) * +  "D

/!:

"  (^) " +C= " 

(^) " D

/!:

  "C= = "D

/!:

  "C= = "D

 " (^) * 9 

EG(

(^)  9 

!E

*  "I" (^)  "

6)(6)E!(

*  "^ /  (^)  "

 8*  9 

  *

(^) #   ++*( "

(^)  " * 9 

#(/!: (^) #(  (^) C=" (^) *5= *D

#(/!:J (^) #(" (^) +

#(/!:& (^)  ++ " * 

#(/!: (^) E&:0,0:,:K0,:10,F

#(/!: (^) C  (^)  ""? (^) D

#(/!: (^) C   -D

#(/!: (^) #(+   "

(^) " *C= "5= D

0E

 9 

$G
EG

(^) ( 

(^) + "

Q  (^) *

  8   (^) 

 9" + (^) + 9

% 9  "7 * 

(^) " *

%  - 9  "7=E0F

/, - * *

 9" + (^) + 9

+  

?EG?(

(^)  9 

9  (^) A (^) 

0E/G0(/

$  9 

$/EG$/(

(^) $ %* 5+

(^) 

$ - * *

'4 (^) 8 "

%)G  - * (^) 7"*C=$ 

(^)  (^) %8 *7D

$)G (^)  "  *

(^) 7"*C=$ 

(^)  (^) $8 *7D

'4'! (^) 8 ""C=9"

(^) $'4= +5 * "$'4D

$% " " (^) *C=  +=

(^) "D

!$ (^)  5 (^) "  * C= =

(^) " D

# + 5 *   C=  = +

(^) D

$  "

(^) * 9 

#

  •    # 5  C  *"  "

(^) +D

#

  •    C"

(^) +D

#$

  •   $5'4C$  - * "

(^) +D

#

  •   % 5$ C  *+

(^) " (^) +D

#$

  •   $C$  - * "

(^) +D

#4

  •    'C8 "*"

(^) +D

#$

  •   $C$  - * "

(^) +D

#4

  •    'C8 "*"

(^) +D

" +#  (^)  9 

% 8 "*

(^)    (^) 

A% 8 "*

(^)    (^) 

$  5 (^) " 8 "*"+ 

$  5 (^) " 8 "*"+ 

!$ 8 "*" (^) +

!$ 8 "*" (^) +

$8  + (^)  " "

%8  + (^)   -"

(^) 0 9 

' "" (^) + C=*"

(^) +  *D

' (^) "* C"

(^) +D

'$ "$5'4C$  -  "

(^) +D

' "% 5$ C  +

(^) " (^) +D

'$ "$C$  -  "

(^) +D

'4 " 'C8 ""

(^) +D

'$ "$C$  -  "

(^) +D

'4 " 'C8 ""

(^) +D

" +'"* 9  

(^)  9 

(^) C* BJ@1B0D

(^)  *+ (^)    9 

( (^) %$ 

(^) " (^) * (^)   P

( (^) B   9 

(^) B /5

B %$

B- *

B K%$

B/ 51&C8D

B K%$

B- *

( (^) "  @0"*  *+

(^)   (^)  "  "

%'! (^)  -"*

(^) " (^) *

$ "  @0K " 

% "  @0K  -

$  " "

+*

%  -"

+*

(^)  * (^)  "  "  "

(^) * 9 

$' (^)  5 (^) "  +

(^) 5 *  99

$  5 (^) " 8 "*"+ 

(^)  9  C"* 9@9*"+  D

0E?G0(?

$  9 

0EG0(

$  9 

$(/:05: (^) 9 (^) " (^) *C=9" (^)  !$8D

$(/:5:

" 5  * C= D

$(/:5:J (^)    *  "

$(/:5:& (^) E0$1$5$5 * 8$F

C ++ "=$   "*=$ D 0

$ (  9 

$ $  - * *9C   *  "- 

(^)   %D

$% $  (^) " " (^) *C= =

(^) "D

$ $  - * *9C   *  "- 

(^)   %D

$% $  (^) " " (^) *C= =

(^) "D

' 8 " !$9C   *  "- 

(^)   %D

$ '+C=- 9=9 9D

' 8 " !$9C   *  "- 

(^)   %D

$ '+C=- 9=9 9D

$  " (^) * 9 

#/!: (^)  *  

(^) "

#/!:& (^) )' *C="

(^) *= (^)  )'9D

#/!: (^) 9" + (^) + 

#/!: (^) 9" + (^) + 

#/!: (^) +  B "

(^) " C  (^) -    D

#/!: (^) B  (^) " (^) C  (^) - ""

(^) +D

(^) #   "

(^) * 9 

# " #9

$EG$(C$0D

(^) # "

 7# "

(^)  9 

(^) C* B@BD

/!: (^)  C= = "D

/!: (^) 8 ",   C= "B +, D

/!:J

"-  "=15 *

/!:& (^)  *7=116?5E1&F

/!: (^)  >   " * 

/!: (^)  >=E0&F5 *

/!: (^) $  (^) "- "*

/!: (^) 8 "/!,$"

 " (^) * 9  

 " (^) * 9  

 " (^) +*

( ( "*

/!,

""  (^) "- (^)  ""*

/!, "9* (^) "- (^)  "  

 "+  ""   P

 B=B

 =+ 

(^)  "

 K===I!

$ ('/!: (^) C  (^)  ""D

$ ('/!:J (^) !$,)  * 

$ ('/!:& (^) E   

(^) " "  

F

$ ('/!: (^) "9" -

(^) " C=  @   D

$ ('/!: (^) " -*"

(^) +M$ N

$ ('/!: (^) " -"C= *@ * D

$ ('/!: (^)  * (^) 7"C= D

(^) $ " -*

(^) "  " (^) *%9 

E0E)1

(^) $ '*+ 

(^) "%9 

$ '*+ 

(^) " %9 

$ '*+ ("  %9 

E*4

$ '*+ 

%9 

$  " -*%9 

(^)  0 "

(^)  "%9 

I0:

8"  7B+ " "C= D

I0:

#A(+"  * C=#:15#:=#0:&5#0:0D

I0:J

 (^) +   +

(^) C=  "*D

I0:&

* 5''@#A( *

(^) 7 - 

I0:

  ,= /%' 5E01&J1J&88F

I0:

C  (^)   , (^) =0G6?RJSD

I0:

C  (^)  ""? (^) D

I0:

" "4%(  C=8 "*4%(D

1EG1(

(^) * 5'' 

(^)  9 

10G10/G10G10>

* 5'' 9 1 (^) '%'))J (^) '%'+9& (^) ,'% Q+9 #%/I%(+9 %'+9

* 5''

^ " 9  C**   (^) '!$'%)/  (^) '4 $)/  (^) #%/I%(    -D

# # " (^) +C " #  "  D

A/)   (^) *  " (^) 

#' # "C= "=# "*D

# (     * C= *-D

#/)

  • (^) 7+    C=)G  D

#6

  • (^) 7+   C="99* D

#% #   * 

#%  = (^) 5E&1FC *-P#%=D

#  " (^) * 9 

#  9 

#%'   9

(^)  *  "

#%' B=EJ:10:1:JJJJF

#%' = C  D

#%' T=   -

A %   9" (^) +  + " 

A   9  (^) *9C"    9

(^) D

A'   9"*

(^) " (^) C= D

AA% (^)   9 "C  " D

A  9$ 

(^) " (^) * 9 

' #: (^) +  (^)  $ "

(^) +C" -*D

' #:J (^) +  (^)  #( "

(^) +C+   (^) ++* " (^) D

' #:& (^) +  (^)   # "

(^) +C  *"  D

' #: (^) C  (^)  ""? (^) D

' #: (^) "*$ "

(^) +C" -*D

' #: (^) "*#( C+  

(^) ++* " (^) " (^) +D

' #: (^) "* # "

(^) +C  *"  D

(^) " (^) +'"*5# 

(^)  9  

E$

+ %9 

(^) C048= 0D

)$E

 7# " 69

(^) #A( "

(^) * 9 

#A(/!: (^) #A(  E= = "95- :  :

#A(/!:J (^) ="50="51&= *51!%<

#A(/!:& (^) J= 51= 51%<=C   -DF

#A(/!: (^) #A( * (^) 7-

#A(/!: (^) #A( (^) " = * (^) 75E&11&F

#A(/!: (^) #A( * (^) 7  E=  ,5J=  ,

#A(/!: (^) 0=$8:": &=

/%' F

?EG$-

(^) #A( 9 

EG$-

(^) #A( 9 

# "  "

(^) * 9 

#/!: (^) + "   B 99"C= *D

#/!:J

 + "  

(^) " (^) *

#/!:& (^) E=J=+

(^) B" 0=+ (^) B &=)9*F

#/!: (^) "+ "  

(^) " (^) *

#/!: (^) E=J=+

(^) B" 0=+ (^) B &=)9*F

#/!: (^) C" +" *  !#/! 99*"9D

#/!: (^) + "  * E="=  F

$ 0 "

(^) * 9 

$0/!:

$ 0  "C= D

$0/!:

" - 

(^) C ,D

$0/!:

 ,=* 9E

/%' 5C0U  DF5* 9

$0/!:

C " "D

$ 0   "*-  9 

$0=CU

/%' D5C  U

(^) DB1& ,

(/    $

(^) + 

('    $

(^) + "C= D

(/    )G

(^) + 

(    $"+ 

(     * C= *- D

%  *+ (^)   

$ (^)  "  (^)  "   " 

(^) C=%4=$4D

  *"  "

(^) +

(^)  " (^) * 9 

(^)  

(^)  9 

(^)  9 

/!0: (^)  (^) "  (^) *9C="  -D

/!0: (^) 9"   " C=9" "D

/!0:J (^) "   - 9  *  " P

/!0:& (^) EJ010F

/!0:

 * 7-  C= *7= *75D

/!0:

   C=- =  D

/!0:

+  C=  =9"D

/!0:

  *  " *   

 " (^) * 9  

  C   )6
"*D "
  C"  ^   
"*D "
 "   C    &  
"9D