CS343 Midterm Test Fall2017 Name: Ceedem microcontroler ememory to store program
ID: 3602243 • Letter: C
Question
CS343 Midterm Test Fall2017 Name: Ceedem microcontroler ememory to store program code A only RAMS B only DRAM C only Flash ROM D both RAM and ROM 2. An 8-bit microcontroller uses A an &-bit address bus B an 8-bit data bus C only 8-bit control signals D an 8-bit program counters register 3.For the 8051 meroontoler, the lowest 8 tytesofon bond RAM ae- A. Bank B Bank 1 C Bank 2 D Bank 3 nstructon to be executed? 4 which ofthe toloweg 8051 regsters corans the mess of BRO-R7 D. Program counber ne C.B 5 Which of the following is actualy stored in on-chip program memory A The hex object codes of the application program B The assembly source files of the application program C C codes of the application program D Java codes of the application program 6. What is the maximum number of memory locations (bytes) that can be accessed by an address bus hat is 18 bits wide? A 8 8 64 C 64K D. 8KExplanation / Answer
1.
The modern microcontroller use both RAM and ROM(Option D).
They read and write both.
2.
An 8-bit microcontroller uses 8-bit data bus (Option B)
3.
Bank 0 (Option A)
4.
Program counter contains the address for next instruction to be executed. (Option D)
5.
A. The hex object codes of the application program are stored in program memory(Option A)
6.
a 16 bits wide address bus can address 2^16 bytes or 64KB memory, Hence 64K (Option C)