Multiple Choice Questions–
Each question has four choices. Choose most appropriate choice of the answer. 1. An embedded system must have (a) hard disk (b) processor and memory (c) operating system (d) processor and input-output unit(s).
2. An embedded system hardware can (a) have microprocessor or microcontroller or single purpose processor (b) have digital signal processor (c) one or several microprocessor or microcontroller or digital signal processor or single purpose processors (d) not have single purpose processor (s).
3. An embedded system has RAM memory (a) for storing the variables during program run, stack and input or output buffers, for example, for speech or image (b) for storing all the instructions and data (c) for storing the programs from external secondary memory (d) for fetching instructions and data into cache(s).
4. A system might be connected to a number of other devices and systems. (i) A bus consists of a common set of lines to connect multiple devices, hardware units and systems (ii) A bus is used for communication between two of these at any given instance. (iii) A bus is used for communication between all of these at the same instance (iv) A bus may be serial bus or parallel bus to transfer one bit or multiple data bits at an instance, respectively.
(a) i, ii and iv correct (b) iii correct (c) iii and iv correct (d) all are correct. 5.
A system must have an interrupt handling mechanism for executing the interrupt service routines in case of the interrupts from (a) physical devices (b) interfaced circuits or systems, software interrupt instructions and software exceptions (c) physical devices or interfaced circuits or systems (d) physical devices or interfaced circuits or systems, software interrupt instructions and software exceptions.
6. (i) Final machine implementable software for a product embeds in the ROM (or PROM) as an image at a frame. Bytes at each address must be defined for creating the ROM image. (ii) Since the coding in assembly language is very time consuming in most cases, software is developed in a high-level language, 'C' or 'C++' or visual C++
Embedded Systems..Arhitecture, Programming and Design
or 'Java' in most cases. (iii) Since the coding should be modular, use top-down programming approach or use object oriented the software is developed in a highlevel language, 'C' or 'C++' or visual C++ or 'Java' in most cases. (iv) Since the coding needs to be completed fast and there is use of data structures and data type definitions and declarations, the software is developed in a high-level language. (a) i, ii and iv correct (b) all are correct (c) iii and iv correct (d) ii, iii and iv correct. 7. (i) A compiler generates an object file. (ii) The object file is linked with library functions using linker. (iii) After re-allocation of addresses a locator sends the codes to device programmer for burning as ROM image in embedded system ROM. (iv) After re-allocation of addresses a loader loads the codes to device programmer for burning as ROM image in embedded system ROM. (v) After re-allocation of addresses a loader loads the codes in RAM.
Steps for embedded system development are steps (a) i, ii and iv (b) i, iii, iv and vi (c)
Steps i, ii and iii (d) i , ii and vi.
8. In a multitasking OS, (i) each process (task) has a distinct process control block (ii) each process (task) has memory allocation of its own (iii) a task has one or more functions or procedures for a specific job. (iv) a task may share the memory (data) with other tasks. (iv) processor may process multiple tasks separately or concurrently (v) each process (task) has a separate stack in memory (vi) a process calls another process, which can call another process, similar to nested call of the functions. (a) i, ii, iv and vi correct (b) all are correct except vi (c) iii, iv and v correct (d) ii, iii and vi correct.
9. RTOS is used in most embedded systems when the system does (a)...
Please join StudyMode to read the full document