Question: I Microcontroller Concepts [ 8 marks ] In the context of this course, what is the best definition of a microcontroller? [ 1 mark ]

I Microcontroller Concepts [8 marks]
In the context of this course, what is the best definition of a microcontroller? [1 mark]
(a) A central processing unit, some memory, and several peripherals on a single integrated circuit.
(b) A short person who tells people what to do.
(c) A central processing unit on a single integrated circuit.
(d) A central processing unit, some memory, and several peripherals on a small circuit board.
In the context of this course, what is the best definition of a bus? [1 mark]
(a) Part of memory used to store addresses.
(b) A wire that transmits binary information serially between various electronic circuits.
(c) A set of parallel wires used to move binary information between various electronic circuits.
(d) A large vehicle used by may public transit organizations.
In the context of this course, what is the best definition of I/O-mapped architecture? [1 mark]
(a) A design where peripherals share the same address space as the main memory.
(b) A design where the system has so many I/O devices the programmer needs a map to find them all.
(c) A design where peripherals share the same address space as main memory, but have a different data bus.
(d)1 design where peripherals have a separate, special address space.
In the context of this course, what is the best definition of a minterm? [1 mark]
(a) An indexed row on a truth table.
(b) The bitwise logical and of two n-bit numbers.
(c) A Boolean expression that evaluates as True when an n-bit number is inside a given range.
(d) A Boolean expression that evaluates as True when an number is a valid address in a n-bit space.
What does the instruction rsbr1,r2do?[1 mark]
(a) Subtracts the value in r2 from the value in r1 and stores the result in r1.
(b) Subtracts the value in r1 from the value in r2 and stores the result in r2.
(c) Subtracts the value in r2 from the value in r1, updates the status flags, and discards the result.
(d) Subtracts the value in r1 from the value in r2 and stores the result in r1.
What must be true for a mnemonic to execute if it has the vs condition code? [1 mark]
(a) The status flag is V=0.
(b) The status flag is C=0.
(c) The status flag is Z=1.
(d) The status flag is V=1.
If multiple devices are connected to the same I2C communications network, how can a device specify which other device it wishes to communicate with? [1 mark]
(a) In full-duplex mode the transmission line from one device is directly wired to the receiving port of another device, so it is simply a matter of choosing the appropriate transmission line to reach a specific device.
(b) The first communications frame sent by the master contains the target address of the device it wishes to communicate with.
(c) The devices on the network are all memory-mapped, so the transmitter can access the desired registers of the target by sending the appropriate address on the address bus.
2
(d) The transmitting device holds the SCL low, while all other devices in the network send an acknowledgement pulse on SDA. The transmitting device releases SCL when the correct target device has acknowledged.
What is a stack overflow? [1 mark]
(a) When the stack pointer reaches the maximum level and wraps around back to zero.
(b) A popular question-and-answer website for computer programming.
(c) When the call stack pointer exceeds the stack bound defined by the frame pointer set in the program status register.
(d) When the stack has grown large enough that pushing data to the stack results in overwriting other data stored in memory, or attempting to push to unallocated or reserved space.
I Microcontroller Concepts [ 8 marks ] In the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!