M.S.ENGINEERINGCOLLEGE,BENGALURU Form No.
: R/
PP-02/15/01
Title:QuestionPape
r
1 M E C S
Department of Computer Science & Engineering
Preparatory Examination
Subject: Microcontrollers Date: 22/07/24
Subject Code: BCS402 Time: 2:00 pm to 4:00 pm
Max. Marks: 60 Duration: 2 Hours
Semester: 4th Section: CSE A,B,C
Note: Answer any two full questions, selected one question from each part
MODULE 1
Classificatio
Mar
Sl. nasperBloo C
Questions ks
No. ms O Allott
Taxonomy
ed
a Compare A)Microprocessor and Microcontroller C
1 L1 O 10
. B) CISC and RISC 1
What is pipelining? Illustrate it with example.
b C
L2 O 10
.
2
OR
a With a neat diagram, explain the 4 main hardware components of a ARM based C
embedded device. L1 O 10
. 1
2 With a neat diagram, explain the CPSR.
b C 1
L2 O
. 0
2
MODULE 2
Classificatio
Mark
Sl. n as per C
Questions s
No. Blooms O Allott
Taxonomy
ed
a Explain the different Data processing instructions in ARM. C
1
3 . L1
O
0
1
b Explain the following instruction with syntax and example. C
L2 O 6
. i)SWI ii) MOV iii) BIC
2
C
c Discuss swap instruction with example. L3 O 4
3
OR
a Explain different branch instructions in ARM Processor. C
4 . L1 O 4
1
Explain different types of addressing modes for load store multiple instruction with
b example. C
L2 O 10
.
2
Explain co-processor instructions for ARM Processor. L3 6
C
c
. O
3
MODULE 3
Classificatio
Mark
Sl. n as per C
Questions s
No. Blooms O Allott
Taxonomy
ed
a Explain code optimization, profiling and cyclic counting. C
1
3 . L2
O
2
2
b C
Develop an ALP to find the sum of first 10 integer numbers. L3 O 8
.
3
OR
a Discuss how registers are allocated to optimize the program. C
4 . L2 O 12
2
Write a C program that prints the squares of integers between 0 and 9 using functions
b and explain how to convert this C function to assembly function. C
L3 O 8
.
3
Course outcome (Course Skill Set) :1 Illustrate the basic concepts of object-oriented programming.
2 Design appropriate classes for the given real world scenario. 3 Apply the knowledge of compile-time / run-time
polymorphism to solve the given problem 4 Use the knowledge of inheritance for developing optimized solutions
5 Apply the concepts of templates and exception handling for the given problem.6 Use the concepts of input output streams
for file operations