Embedded System Questions and Answers Part-15

1. How many data lines does 256*4 have?
a) 256
b) 8
c) 4
d) 32

Answer: c
Explanation: There are four data lines in the memory and these different organisations of memory and these different organisations of memory are apparent when upgrading memory and it also determines how many chips are needed.

2. How is the number of chips required is determined?
a) number of data lines
b) the minimum number of data
c) width of the data path from the processor
d) number of data lines and the width of the data path from the processor

Answer: d
Explanation: The minimum number of chips is determined by the number of data lines and the width of the data path from the processor. For example, MC6800 family have a 16-bit wide datapath, 16*1 devices, 4*4 or 2*8 devices are needed.

3. Where is memory address stored in a C program?
a) stack
b) pointer
c) register
d) accumulator

Answer: b
Explanation: Memory model is defined by a range of memory address which is accessible to the program. For example, in the C program, the memory address is stored in the pointer.

4. Which is the term that is used to refer the order of bytes?
a) endianness
b) memory organisation
c) bit
d) register

Answer: a
Explanation: Endianness defines the order of bytes, that is, whether it is big endian or little endian. The former represents the higher order bits and the latter represents the lower order bits.

5. Which of the following processors uses big endian representation?
a) 8086
b) ARM
c) PowerPC
d) Zilog Z80

Answer: c
Explanation: The IBM’s PowerPC uses big endian representation whereas 8086, ARM and Zilog Z80 use little representation.

6. Which statement is true for a cache memory?
a) memory unit which communicates directly with the CPU
b) provides backup storage
c) a very high-speed memory to increase the speed of the processor
d) secondary storage

Answer: c
Explanation: The RAM is the primary storage which directly communicates with the CPU. ROM is the secondary storage. Disk drives are capable of providing backup storage and the cache memory is a small high-speed memory which increases the speed of the processor.

7. Which of the following memory organisation have the entire memory available to the processor at all times?
a) segmented addressing
b) paging
c) virtual address
d) linear address

Answer: d
Explanation: There are two types of memory organisation, linear addressing in which the entire memory is available to the processor of all times as in Motorola 6800 and the other is segmented addressing where the memory space is divided into several segments and the processor is limited to access the program instructions and data which are located in particular segments.

8. How many memory locations can be accessed by 8086?
a) 1 M
b) 2 M
c) 3 M
d) 4 M

Answer: a
Explanation: The 8086 processor has a 20-bit address bus, hence it can access a memory of 220-1 M locations.

9. Which of them is a memory that is allocated to the program in LIFO pattern?
a) stack
b) index
c) accumulator
d) base

Answer: a
Explanation: A stack is a memory which is allocated to the program in last-in, first out pattern. Stack pointer contains the memory address of the stack.

10. What does SIMM stand for?
a) single in-line memory module
b) single interrupt memory module
c) single information memory module
d) same-in-line memory module

Answer: a
Explanation: SIMM is single in-line memory module is a kind of memory module, which contains random access memory used in computers of the early 1980s and 1990s.