
















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















































Advanced Microprocessor and Microcontroller Systems: Architecture, Programming, and Embedded Design Examination – Comprehensive Assessment 2026 A memory connected to a microprocessor has 20 address lines and 16 data lines. What will be the memory capacity? a. 8 KB b. 2 MB c. 16 MB d. 64 KB - ✔✔ANSWER ✔✔-b. 2 MB If a 90 GB memory has to be connected to a microprocessor, minimum how many address lines are required? a. 36 b. 39 c. 32 d. 37 - ✔✔ANSWER ✔✔-d. 37
How many address lines are required to connect a 4 KB RAM to a microprocessor? a. 10 b. 16 c. 12 d. 20 - ✔✔ANSWER ✔✔-c. 12 In 8-bit microprocessor, how many opcodes are present? a. 246 b. 278 c. 250 d. 256 - ✔✔ANSWER ✔✔-a. 246 How much memory can a 16-bit CPU directly address? a. 2 KB b. 64 KB c. 8 KB d. 16 KB - ✔✔ANSWER ✔✔-b. 64 KB What is Microprocessor? a) A multipurpose PLD that accepts binary data as input
a. multiple b. Single c. Double d. Triple - ✔✔ANSWER ✔✔-b. Single Which of the following is true about microprocessors? a. It has an internal memory b. It has interfacing circuits c. It contains ALU, CU, and registers d. It uses Harvard architecture - ✔✔ANSWER ✔✔-c. It contains ALU, CU, and registers Which of the following is not a microprocessor? a. Z b. Motorola 6809 c.Zilog Z d.PIC1x - ✔✔ANSWER ✔✔-d.PIC1x The purpose of the microprocessor is to control ______ a. Memory b. Switches c. Processing
d. Tasks - ✔✔ANSWER ✔✔-a. Memory The first digital electronic computer was built in the year________ a. 1950 b. 1960 c. 1940 d. 1930 - ✔✔ANSWER ✔✔-c. 1940 In 1960's texas institute invented ______ a. Integrated circuits b. Microprocessor c. Vacuum tubes d. Transistors - ✔✔ANSWER ✔✔-a. Integrated circuits The First Microprocessor was__________. A. Intel 4004 B. 8080 C. 8085 D. 4008 - ✔✔ANSWER ✔✔-A. Intel 4004 The first microprocessor had a(n)________. a. 1 - bit data bus b. 2 - bit data bus c. 4 - bit data bus d. 8 - bit data bus - ✔✔ANSWER ✔✔-c. 4 - bit data bus
Which of the following should a microcontroller at least consist of? a) CPU, ROM, I/O ports, and timers b) RAM, ROM, I/O ports, and timers c) CPU, RAM, I/O ports, and timers d) CPU, RAM, ROM, I/O ports, and timers - ✔✔ANSWER ✔✔-d) CPU, RAM, ROM, I/O ports, and timers Unlike microprocessors, microcontrollers make use of batteries because they have: a) high power dissipation b) low power consumption c) low voltage consumption d) low current consumption - ✔✔ANSWER ✔✔-b) low power consumption What is the order decided by a processor or the CPU of a controller to execute an instruction? a) decode,fetch,execute b) execute,fetch,decode c) fetch,execute,decode d) fetch,decode,execute - ✔✔ANSWER ✔✔-d) fetch,decode,execute
Why microcontrollers are not called general purpose computers? a) because they have built in RAM and ROM b) because they design to perform dedicated task c) because they are cheap d) because they consume low power - ✔✔ANSWER ✔✔-b) because they design to perform dedicated task What is the most appropriate criterion for choosing the right microcontroller of our choice? a) speed b) availability c) ease with the product d) all of the mentioned - ✔✔ANSWER ✔✔-d) all of the mentioned What is the file extension that is loaded in a microcontroller for executing any instruction? a) .doc b) .c c) .txt
capability required by a relay If we say microcontroller is 8-bit then here 8-bit denotes size of: a) Data Bus b) ALU c) Control Bus d) Address Bus - ✔✔ANSWER ✔✔-b) ALU The microcontrollers are used in? a) computers, laptops, televisions b) printers, refrigerators c) microwave ovens d) all of the above - ✔✔ANSWER ✔✔-a) computers, laptops, televisions How many microcontrollers are there based on bits? a) one b) two c) three d) four - ✔✔ANSWER ✔✔-c) three The 8-bit microcontrollers are used to execute _________ a) Arithmetic operations only
b) Logical operations only c) Both a and b d) None of the above - ✔✔ANSWER ✔✔-c) Both a and b The 8051 microcontroller is a __________ bit microcontroller a) 8 bit microcontroller b) 16 bit microcontroller c) 32 bit microcontroller d) None of the above - ✔✔ANSWER ✔✔-a) 8 bit microcontroller The microcontrollers are divided into how many categories? a) One b) Two c) Three d) Four - ✔✔ANSWER ✔✔-c) Three ____________ is an example of 16 bit microcontroller a) 8031 microcontroller b) 8051 microcontroller c) 8096 microcontroller d) None of the above - ✔✔ANSWER ✔✔-c) 8096 microcontroller
b) 16 bit register c) 32 bit register d) None of the above - ✔✔ANSWER ✔✔-a) 8 bit register
b. 16-bit general purpose register c. Si or Di d. all of the mentioned - ✔✔ANSWER ✔✔-d. all of the mentioned In which of the following addressing mode, the offset is obtained by adding displacement and contents of one of the base registers? a. indexed mode b. register mode c. based mode d. direct mode - ✔✔ANSWER ✔✔-c. based mode The address of a location of the operand is calculated by adding the contents of any of the base registers, with the contents of any of index registers in a. based indexed mode b. based indexed mode with displacement c. based mode d. indexed mode - ✔✔ANSWER ✔✔-a. based indexed mode In which of the following addressing mode, the offset is obtained by adding
a. 16 bits b. 4 bits c. 2 bits d. 1 bit - ✔✔ANSWER ✔✔-c. 2 bits The instruction that multiplies the content of AL with a signed immediate operand is a. IMUL b. SMUL c. MUL d. AMUL - ✔✔ANSWER ✔✔-a. IMUL IT is a type of low-level programming language that is intended to communicate directly with a computer's hardware a. Python language b. Assembly language c. C++ language d. Java language - ✔✔ANSWER ✔✔-b. Assembly language What converts the programs written in assembly language into machine instructions? a. Compiler b. Converter
c. Interpreter d. Assembler - ✔✔ANSWER ✔✔-d. Assembler Instructions which won't appear in the object program are called as a. Assembler Directives b. Redundant instructions c. Comments d. Exceptions - ✔✔ANSWER ✔✔-a. Assembler Directives The assembler directive EQU, when used in the instruction: Sum EQU 200 does a. Replaces every occurrence of Sum with 200 b. Assigns 200 bytes of memory starting the location of Sum c. Finds the first occurrence of Sum and assigns value 200 to it d. None Of The Above - ✔✔ANSWER ✔✔-a. Replaces every occurrence of Sum with 200 The instructions like MOV or ADD are called as a. Operators
assign the memory required for the block of code? a. Assign b. Set c. Allocate d. Reserve - ✔✔ANSWER ✔✔-d. Reserve What directive specifies the end of execution of a program? a. Return b. Terminate c. End d. Reserve - ✔✔ANSWER ✔✔-a. Return The last statement of the source program should be a. Stop b. End c. Return d. Op - ✔✔ANSWER ✔✔-b. End What is the primary function of cache memory in the memory subsystem? a) Long-term data storage b) Quick access to frequent
used data c) Expanding the CPU's instruction set d) Managing access to frequently used data. - ✔✔ANSWER ✔✔-b) Quick access to frequent used data Which of the following is the fastest but smallest type of memory directly accessible by the CPU? a) RAM b) Cache c) Hard Drive d) Optical Disc - ✔✔ANSWER ✔✔-b) Cache Why is the concept of the memory hierarchy essential in the memory subsystem? a) It simplifies the hardware design b) It reduces the cost of memory components c) It balances trade-offs between speed and capacity d) It eliminates the need for