Name: Student ID: Date:

Time: 1hour 15 Minutes Answer all Questions

Question No. 1 a.

Define the terms microprocessor and micro-controller.

(2)

b.

With the aid of a diagram describe the typical microprocessor architecture.

(6)

c.

Write the name of the operations that should be supported by a microprocessor.

(2)

Question No. 2 a.

With the help of appropriate example define the terms pooling and interrupt.

(2)

b.

How many types of Interrupts are there? What do you know about them?

(2)

c.

What do you know about interrupt priority? How do we change the default priorities? What happens if the priorities are set incorrectly? (3)

d.

What do you understand from the term context switching? How do you think this can be achieved?

(3)

Question No. 3 a.

Briefly explain the term DMA.

(2)

b.

Describe the various types of DMA.

(6)

c.

What is the name of the hardware that performs DMA operations? Name the major components of this hardware system. (2)

Question No. 4 a.

Write a 5 millisecond Delay Routine assuming that the Microprocessor finishes 250K cycles in 10 seconds. The program should make use of Timer 0. (8)

b.

Describe the phenomenon called bouncing.

(2)

Question No. 5 What is Harvard Architecture? Describe External and Internal Memory organization of 8051

(10)

Page 1 of 2

Question No. 6 Consider the System in Figure 1. Pressing Switch 1 toggles the Green Light (connected to P1.0) and pressing Switch 2 toggles the Red Light (connected to P1.1). Switch 1 can trigger external interrupt 0 (INT0) and Switch 2 can trigger external interrupt 1 (INT1). Write an Assembly program for the 8051 to toggle the lights when the respective switches are pressed. In your program Switch 2 Should have Higher Priority than Switch 1 (i.e. if Switch 1 and Switch 2 are pressed simultaneously, Red Light should be toggled). Your program should also be able to handle bouncing effect of the switches.

Switch 1

INT 0

(Marks 10)

P1.0

Green

P1.1

Red

8051

Switch 2

INT 1

Figure 1

Required Figures: Figures for Question 1 and 2:

Page 2 of 2

Mock Midterm -

(3). Question No. 3 a. Briefly explain the term DMA. (2) b. Describe the various types of DMA. (6) c. What is the name of the hardware that performs DMA operations? Name the major components of this hardware system. (2). Question No. 4 a. Write a 5 millisecond Delay Routine assuming that the Microprocessor finishes ...

151KB Sizes 1 Downloads 372 Views

Recommend Documents

Midterm - GitHub
Feb 21, 2017 - How would your decision to use validation/holdout or k-fold cross validation affect your ability to obtain out-of-sample predictions from the ...

midterm examination - VU Students.Ning
MIDTERM EXAMINATION. Spring 2010. IT430- E-Commerce (Session - 5). Asslam O Alikum 100% solved papers of it 430 (2010) with reference by. Afaaq and Shani bhai (5). Remember Us In Your Prayers. Best regard's. Muhammad Afaaq .... If a web server is bom

midterm examination - VU Students.Ning
http://www.scribd.com/doc/3701290/Product-Life-Cycle1. ▻ Improve warranty terms and service availability. ▻ Emphasize market segmentation. ▻ Stimulate demand for the product. Question No: 21 ( Marks: 1 ) - Please choose one. The majority of fir

midterm examination - VU Students.Ning
Star Topology. ▻ Bus Topology ... denial of service attack P#95 (Afaaq). Question No: ... of the items the customer has select and allow him to view the details of ...

midterm examination -
Operating System talks to and manages devices through. ▻ Loader ..... ANSWER: The key feature of object-oriented design is that it treats every thing as object ...

midterm examination - Ning
FIN622- Corporate Finance (Session - 5) Spring 2009 MIDTERM PAPERS .... Which of the following statements is Correct regarding the fundamental analysis?

midterm examination - VU Gujranwala
Java script interact with user through______________. ▻ Special ... Java script does not interact with user. Question No: 8 ... Monitor is an example of: ______.

midterm examination - VU HELP
Question No: 3 ( Marks: 1 ) - Please choose one. In which protocol, the messages are not deleted from email server. ▻ SMTP. ▻ POP3. ▻ IMAP (Afaaq).

midterm examination - Ning
Manager [email protected]. Super Moderator in http://www.virtualinspire.com/. Islamabad. 0346-5329264. If u like me than raise your hand ...

midterm examination - VU Students.Ning
Question No: 13 ( Marks: 1 ) - Please choose one. Following are malicious programs EXCEPT ----------------- . ▻ Back doors. ▻ Trojan Horses. ▻ Firewalls p#94(Afaaq). ▻ Worms. Question No: 14 ( Marks: 1 ) - Please choose one. Outside attacks o

midterm examination -
Which of the following is a obstacle to going in international business? ▻ Mergers ... Control the costs. Question No: 10 ... How many perspectives should be considered while preparing business plan? ▻ One. ▻ Three .... Which of the following t

midterm examination - VU Students.Ning
Mba 3rd Finance Group. [email protected] ... Retailers are at the end of the supply chain. Marketers see retailing as ... Global markets (page 2) (Afaaq) ...

midterm examination - VU Gujranwala
Java script interact with user through______________. ▻ Special ... Java script does not interact with user. Question No: 8 ... Monitor is an example of: ______.

midterm examination -
Jobs in which success demands stamina, leg strength and manual dexterity ... If trait theories of leadership are valid, then leaders are _____. ▻ Educated.

cs402-Midterm-SubjectivesWithReferencesbyMoaaz.pdf ...
Q. Point of Kleen Theory. ... 2) Write the first step to convert GTG to FA? ... labeled by the RE which is the concatenation of corresponding two REs in the existing.

midterm examination - VU Students.Ning
MIDTERM EXAMINATION. Spring 2010. IT430- E-Commerce (Session - 5). Asslam O Alikum 100% solved papers of it 430 (2010) with reference by. Afaaq and Shani bhai (5). Remember Us In Your Prayers. Best regard's. Muhammad Afaaq ... Network 01 byte and 03

midterm examination - VU Students.Ning
Question No: 13 ( Marks: 1 ) - Please choose one. Following are malicious programs EXCEPT ----------------- . ▻ Back doors. ▻ Trojan Horses. ▻ Firewalls p#94(Afaaq). ▻ Worms. Question No: 14 ( Marks: 1 ) - Please choose one. Outside attacks o

Mock trading (Contingency) - NSE
5 days ago - Mock trading (Contingency) on Saturday, December 02, 2017 – No new ... Toll Free No. Fax No. Email id. 1800-266-00-53. +91-22-26598155.

Mock trading - NSE
Apr 28, 2017 - Kindly do not transfer any data files for this session. 2. Members having ... faoftp/faocommon/NEATPlus722 to your local hard disk drive (C:\).

Mock trading - NSE
May 26, 2017 - Kindly do not transfer any data files for this session. 2. ... Kindly participate actively in the mock trading session from all trading software and re-.

Mock trading - NSE
Apr 27, 2018 - ... queries please call Toll Free no: 1800 266 0053. Annexure 2. Parameters for Login without TAP. • For Login through NEW protocol (Mandatory from May 05, 2018). Primary (BKC) / DR site. Gateway Router IP Address. Port. 172.19.12.80

MMM Midterm TakeHome.pdf
9) If the graph of the second derivative of some function f is a line of slope -6, then f could be which type of. function? a) constant b) linear c) quadratic d) cubic e) ...

04) Mock Exam.pdf
conference call schedule this morning you will not be able to complete the. assessment to report to in the meeting. However, this is only a minor delay. and you ...

Physics 5400 Midterm
Instructions: This exam has 3 short problems and 2 long problems. ... The long problems have multiple parts (to guide you) and point values (they sum to 20 ...