Upload
lyminh
View
213
Download
0
Embed Size (px)
Citation preview
To get updates to mobile sms ON JNTUHOME to 09870807070 or http://labs.google.co.in/smschannels/subscribe/JNTUHOME
www.jntuhome.com
www.jntuhom
e.com
Code No: A107410505 Set No. 1 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD IV B.Tech. I Sem., I Mid-Term Examinations, SEPTEMBER – 2011
EMBEDDED SYSTEMS Objective Exam
Name: ______________________________ Hall Ticket No.
Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 20.
I Choose the correct alternative:
1. A microcontroller normally has which of the following devices on- chip? [ ] (A)RAM (B) RO (C) I/ (D) all of the above 2. In 8051 what type of serial communication available. (A)synchronous (B)Asynchronous (C)both (D)none of the above [ ] 3. There are a total of ______ports in the 8051 and each has ______ bits [ ] (A) 2, 2 (B)4,8 (C)8,16 (D)16,32 4. Which 8051 ports needs pull-up resister to function as I/O ports [ ] (A) port-0 (B) port-1 (C) port-2 (D) port-3 5. General purpose microprocessor contains the following [ ] (A) RAM (B) ROM (C) I/O ports (D) none of the above 6. Microcontrollers are normally ____ than microprocessor [ ] (A) Less expensive (A) more expensive (C) can’t compare (D) none of the above 7. State which of the following is by directional [ ] (A) Address bus (B) data bus (C) both (D) none of the above 8. The Clock frequency of the 8051 microcontroller is____________ [ ] (A) 3 KHz (B) up to 16 MHz (C) ) up to 15 MHz (D) none 9. DPTR is a ______________ bit register [ ] (A) 8 (B) 32 (C) 4 (D) 16 10. Indicate which of the following registers are not bit -addressable [ ] (A) A (B) B (C) R4 (D) PSW Cont….2
A
To get updates to mobile sms ON JNTUHOME to 09870807070 or http://labs.google.co.in/smschannels/subscribe/JNTUHOME
www.jntuhome.com
www.jntuhom
e.com
Code No: A107410505 :2: Set No. 1
II Fill in the blanks
11. An embedded system is also called_________________
12. The mnemonic DJNZ stands for ______________
13. The LCALL instruction is a ____________ byte instruction
14. The minimum number of machine cycles needed to execute an 8051 instruction is__________
15. In multiplication of two bytes in the 8051, we must place one byte in register______ and other in register____________
16. How many timers do we have in the 8051?
17. SFR stands for_____________
18. XRLing an operand with itself results in___________
19. The instruction “ ADD A, source” places the sum in_______________
20. What address in the interrupt vector table is assigned to Timer 0? _______________
-oOo-
To get updates to mobile sms ON JNTUHOME to 09870807070 or http://labs.google.co.in/smschannels/subscribe/JNTUHOME
www.jntuhome.com
www.jntuhom
e.com
Code No: A107410505 Set No. 2 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD IV B.Tech. I Sem., I Mid-Term Examinations, SEPTEMBER – 2011
EMBEDDED SYSTEMS Objective Exam
Name: ______________________________ Hall Ticket No.
Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 20.
I Choose the correct alternative:
1. Which 8051 ports needs pull-up resister to function as I/O ports [ ] (A) port-0 (B) port-1 (C) port-2 (D) port-3 2. General purpose microprocessor contains the following [ ] (A) RAM (B) ROM (C) I/O ports (D) none of the above 3. Microcontrollers are normally ____ than microprocessor [ ] (A) Less expensive (A) more expensive (C) can’t compare (D) none of the above 4. State which of the following is by directional [ ] (A) Address bus (B) data bus (C) both (D) none of the above 5. The Clock frequency of the 8051 microcontroller is____________ [ ] (A) 3 KHz (B) up to 16 MHz (C) ) up to 15 MHz (D) none 6. DPTR is a ______________ bit register [ ] (A) 8 (B) 32 (C) 4 (D) 16 7. Indicate which of the following registers are not bit -addressable [ ] (A) A (B) B (C) R4 (D) PSW 8. A microcontroller normally has which of the following devices on- chip? [ ] (A)RAM (B) RO (C) I/ (D) all of the above 9. In 8051 what type of serial communication available. (A)synchronous (B)Asynchronous (C)both (D)none of the above [ ] 10. There are a total of ______ports in the 8051 and each has ______ bits [ ] (A) 2, 2 (B)4,8 (C)8,16 (D)16,32
Cont….2
A
To get updates to mobile sms ON JNTUHOME to 09870807070 or http://labs.google.co.in/smschannels/subscribe/JNTUHOME
www.jntuhome.com
www.jntuhom
e.com
Code No: A107410505 :2: Set No. 2
II Fill in the blanks
11. The minimum number of machine cycles needed to execute an 8051 instruction is__________
12. In multiplication of two bytes in the 8051, we must place one byte in register______ and other in register____________
13. How many timers do we have in the 8051?
14. SFR stands for_____________
15. XRLing an operand with itself results in___________
16. The instruction “ ADD A, source” places the sum in_______________
17. What address in the interrupt vector table is assigned to Timer 0? _______________
18. An embedded system is also called_________________
19. The mnemonic DJNZ stands for ______________
20. The LCALL instruction is a ____________ byte instruction
-oOo-
To get updates to mobile sms ON JNTUHOME to 09870807070 or http://labs.google.co.in/smschannels/subscribe/JNTUHOME
www.jntuhome.com
www.jntuhom
e.com
Code No: A107410505 Set No. 3 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD IV B.Tech. I Sem., I Mid-Term Examinations, SEPTEMBER – 2011
EMBEDDED SYSTEMS Objective Exam
Name: ______________________________ Hall Ticket No.
Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 20.
I Choose the correct alternative:
1. Microcontrollers are normally ____ than microprocessor [ ] (A) Less expensive (A) more expensive (C) can’t compare (D) none of the above 2. State which of the following is by directional [ ] (A) Address bus (B) data bus (C) both (D) none of the above 3. The Clock frequency of the 8051 microcontroller is____________ [ ] (A) 3 KHz (B) up to 16 MHz (C) ) up to 15 MHz (D) none 4. DPTR is a ______________ bit register [ ] (A) 8 (B) 32 (C) 4 (D) 16 5. Indicate which of the following registers are not bit -addressable [ ] (A) A (B) B (C) R4 (D) PSW 6. A microcontroller normally has which of the following devices on- chip? [ ] (A)RAM (B) RO (C) I/ (D) all of the above 7. In 8051 what type of serial communication available. (A)synchronous (B)Asynchronous (C)both (D)none of the above [ ] 8. There are a total of ______ports in the 8051 and each has ______ bits [ ] (A) 2, 2 (B)4,8 (C)8,16 (D)16,32 9. Which 8051 ports needs pull-up resister to function as I/O ports [ ] (A) port-0 (B) port-1 (C) port-2 (D) port-3 10. General purpose microprocessor contains the following [ ] (A) RAM (B) ROM (C) I/O ports (D) none of the above Cont….2
A
To get updates to mobile sms ON JNTUHOME to 09870807070 or http://labs.google.co.in/smschannels/subscribe/JNTUHOME
www.jntuhome.com
www.jntuhom
e.com
Code No: A107410505 :2: Set No. 3
II Fill in the blanks
11. How many timers do we have in the 8051?
12. SFR stands for_____________
13. XRLing an operand with itself results in___________
14. The instruction “ ADD A, source” places the sum in_______________
15. What address in the interrupt vector table is assigned to Timer 0? _______________
16. An embedded system is also called_________________
17. The mnemonic DJNZ stands for ______________
18. The LCALL instruction is a ____________ byte instruction
19. The minimum number of machine cycles needed to execute an 8051 instruction is__________
20. In multiplication of two bytes in the 8051, we must place one byte in register______ and other in register____________
-oOo-
To get updates to mobile sms ON JNTUHOME to 09870807070 or http://labs.google.co.in/smschannels/subscribe/JNTUHOME
www.jntuhome.com
www.jntuhom
e.com
Code No: A107410505 Set No. 4 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD IV B.Tech. I Sem., I Mid-Term Examinations, SEPTEMBER – 2011
EMBEDDED SYSTEMS Objective Exam
Name: ______________________________ Hall Ticket No.
Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 20.
I Choose the correct alternative:
1. The Clock frequency of the 8051 microcontroller is____________ [ ] (A) 3 KHz (B) up to 16 MHz (C) ) up to 15 MHz (D) none 2. DPTR is a ______________ bit register [ ] (A) 8 (B) 32 (C) 4 (D) 16 3. Indicate which of the following registers are not bit -addressable [ ] (A) A (B) B (C) R4 (D) PSW 4. A microcontroller normally has which of the following devices on- chip? [ ] (A)RAM (B) RO (C) I/ (D) all of the above 5. In 8051 what type of serial communication available. (A)synchronous (B)Asynchronous (C)both (D)none of the above [ ] 6. There are a total of ______ports in the 8051 and each has ______ bits [ ] (A) 2, 2 (B)4,8 (C)8,16 (D)16,32 7. Which 8051 ports needs pull-up resister to function as I/O ports [ ] (A) port-0 (B) port-1 (C) port-2 (D) port-3 8. General purpose microprocessor contains the following [ ] (A) RAM (B) ROM (C) I/O ports (D) none of the above 9. Microcontrollers are normally ____ than microprocessor [ ] (A) Less expensive (A) more expensive (C) can’t compare (D) none of the above 10. State which of the following is by directional [ ] (A) Address bus (B) data bus (C) both (D) none of the above Cont….2
A
To get updates to mobile sms ON JNTUHOME to 09870807070 or http://labs.google.co.in/smschannels/subscribe/JNTUHOME
www.jntuhome.com
www.jntuhom
e.com
Code No: A107410505 :2: Set No. 4
II Fill in the blanks
11. XRLing an operand with itself results in___________
12. The instruction “ ADD A, source” places the sum in_______________
13. What address in the interrupt vector table is assigned to Timer 0? _______________
14. An embedded system is also called_________________
15. The mnemonic DJNZ stands for ______________
16. The LCALL instruction is a ____________ byte instruction
17. The minimum number of machine cycles needed to execute an 8051 instruction is__________
18. In multiplication of two bytes in the 8051, we must place one byte in register______ and other in register____________
19. How many timers do we have in the 8051?
20. SFR stands for_____________
-oOo-
JNTUWORLD
R09Code No: 09A61206 SET-1 B. Tech III Year II Semester Examinations, April/May - 2012
EMBEDDED SYSTEMS (INFORMATION TECHNOLOGY)
Time: 3 hours Max. Marks: 75 Answer any five questions
All questions carry equal marks ---
1.a) Develop a requirement description and specification of a handheld robot
controller. b) Explain the characteristics of embedded computing applications. [10+5] 2.a) Describe the port configuration of 8051. b) Explain the mode0 and mode1 operation of timer0. [7+8] 3.a) Discuss about assembly Language programming, assembler and flowchart with
suitable examples. b) Write a program that will do the task below.
i)Exchange the contents of SP and PSW ii) Set timer 1 to A23Dh iii)Move the contents of B register to TMOD iv) Copy the contents of DPTR to registers R0 and R1. [7+8]
4.a) Write a program to add ten unsigned numbers from internal RAM location and
store the result. b) Write a program that will use the timer1 to interrupt the program after a delay of 2
m/sec. Write an interrupt service routine to find the average of five numbers.[7+8]
5. Develop a program to interface a matrix keyboard to 8051. Draw the interface circuit. [15]
6.a) Discuss briefly about semaphores and shared data problem. b) Write notes on memory management. [7+8] 7.a) Discuss briefly about design of underground tank monitoring system. b) Explain about linker/Locator for embedded software. [7+8] 8. Discuss about networks for embedded system. [15]
--ooOoo--
www.jntuworld.com
www.jntuworld.com
www.jwjobs.net
JNTUWORLD
R09Code No: 09A60302 SET-2R09Code No: 09A60802 SET-2R09Code No: 09A60102 SET-2R09Code No: 09A60808 SET-2R09Code No: 09A61206 SET-2 B. Tech III Year II Semester Examinations, April/May - 2012
EMBEDDED SYSTEMS (INFORMATION TECHNOLOGY)
Time: 3 hours Max. Marks: 75 Answer any five questions
All questions carry equal marks ---
1. Describe the embedded system design process with the help of GPS moving map system. [15]
2. Discuss the architecture of 8051 in detail. [15] 3.a) Briefly explain the tools used in programming 8051. b) Write a program to do the following: i) Copy external code byte at address 007Dh to the SP ii) Swap the bytes in timer0 iii)Move bit 4 of RAM location 30h to bit 2 of A iv)Invert the data on port 0 pins and write the data to port1. [15] 4.a) Write a program to count the odd numbers and even numbers in an array of 20
numbers. b) Write a subroutine to find the maximum from the given array of numbers. [15] 5. Develop an interface for A/D convertor and multiple interrupt circuit. Also test it. [15] 6.a) Explain the three different plans by which an RTOS finds out that an interrupt
routine is executing. Compare these plans. Which plan is likely to produce best interrupt time and which will be easiest to code?
b) Write about timer functions and message queues. [7+8] 7. Explain in detail about a)Real time scheduling considerations b)Logic analyser
and in circuit emulator. [15] 8. Discuss about SHARC processor and elevator controller. [15]
--ooOoo--
www.jntuworld.com
www.jntuworld.com
www.jwjobs.net
JNTUWORLD
R09Code No: 09A61206 SET-3 B. Tech III Year II Semester Examinations, April/May - 2012
EMBEDDED SYSTEMS (INFORMATION TECHNOLOGY)
Time: 3 hours Max. Marks: 75 Answer any five questions
All questions carry equal marks ---
1.a) State the characteristics of embedded computing applications. b) Briefly explain the tasks in the embedded system design. [7+8] 2. Explain how serial data is communicated between 8051 and outside world.[15]
3. Explain the various addressing modes of 8051. [15]
4.a) Write a program to find the address of the first two internal RAM locations
between 20h and 60h which contain consecutive numbers. If so, set carry flag to 1, else clear the flag.
b) Assuming the crystal frequency is 10 MHz, write a program that will use timer 1 to interrupt the program after a delay of 2ms . [7+8]
5. Write a program that performs all of the functions of an intelligent daisy chain
interrupt source controller. [15]
6.a) Explain any two techniques of memory management in real time operating systems. Discuss their advantages and disadvantages.
b) Write notes on Task States and events. [15]
7. Explain the various debugging techniques used in embedded systems. [15]
8. Explain the structure and the electrical interface to the I2C bus. Also explain the bus transaction. [15]
--ooOoo--
www.jntuworld.com
www.jntuworld.com
www.jwjobs.net
JNTUWORLD
R09Code No: 09A60302 SET-2R09Code No: 09A60802 SET-2R09Code No: 09A60102 SET-2R09Code No: 09A60808 SET-2R09Code No: 09A61206 SET-4 B. Tech III Year II Semester Examinations, April/May - 2012
EMBEDDED SYSTEMS (INFORMATION TECHNOLOGY)
Time: 3 hours Max. Marks: 75 Answer any five questions
All questions carry equal marks ---
1.a) Explain the challenges in embedded computing system design. b) Explain the requirements of embedded system. [7+8] 2. Explain in detail about counters and timers of 8051. [15]
3. Explain the logical operations of 8051 with an example for each. [15]
4. Write a 8051 program to find:
a) (A * B ) – (C + (D/E)) where A,B,C,D and E are integers. b) The number A6h is placed somewhere in external RAM between locations 0100h and 0200h. Find the address of that location and put that address in R6(LSB) and R7 (MSB). [8+7]
5. Write a 8051 program that finds frequency by measuring the time for M cycles of
the unknown periodic wave. Estimate the highest frequency that can be measured to an accuracy of 1 % if the crystal is 12 MHz. [15]
6.a) Explain a technique to avoid deadlock condition. b) Explain how interrupts are processed in RTOS. [7+8]
7. Explain in detail about embedded system software development tools. [15] 8.a) Explain briefly the processor and memory organization of ARM processor. b) Write briefly on CAN bus. [7+8]
--ooOoo--
www.jntuworld.com
www.jntuworld.com
www.jwjobs.net