You are on page 1of 41

WEEK 1

1. What resources prove to be limiting factor during embeded system design?

2. Target embedded system usually use _____ technology for hardware implementation?

3. What are the content of a CPU?


4. Which of these component might be included in a microcontroller?

5. Software diagram can depict graphical software representation like _____


6. Software that directly interacts with hardware is called ____

7. Hardware abstraction later allows the application layer developer to write platform
independet code.

8. Which of these doesn’t belong to the five main software development tools?

9. Advance hardware can make up for inefficient and buggy code.


10. Which of these are focus of embedded C?

11. What are the data types available in C?


12. Which of the following loop-constructs are available in C?

13. Which of these are characteristics of functions?


14. Which of these are characteristics of pointes?

15. Version control allows you to track all the changes made to a software project indefinitely.

16. Which of the following are characteristics of legacy system?


17. Standardization decreases engineering overhead.

18. Wat are the purpose of coding standard?

19. Mark all the statement for CLI and IDE that are true.
20. Gcc -o test.out test.c command can be used to create an executable file.

21. Which of these are feature of IDEs?

22. What are the important microcontroller features?


23. Which of the following statement describe the Nordic Nrf24l01 chip?

24. What are some characteristics of the development kit in this course?

25. Git tracks revisions by looking at changes or deltas between commits.


26. What git commands allow developer to get access to other developers software?

27. What are branches used for?

28. In the demo, what was the purpose ot the git add command?
QUIZ 2
1. what differentiates an embedded system from most other desktop or server computer
system?
2. Which of the option below is valid function declaration?

3. Which code declare two variables an 8 bit type named foo and an 8 bit pointer . . .
4. What embedded software development components are necessary for developing a
project?
5. Which of this are part of CPU?
6. Which of these parts of microcontroller?

7. What will be the value of foo and bar after executing this code?
8. What is the value of a after these bitwise operation?
9. What is the following unsigned binary number in decimal ob110101101?
10. Which of the following statement are true about this code?

11. What are the purpose of of a team coding standard?


12. What is the following signed 2’s complement binary number in decimal ob110101101?
13. What git commands allow developers to get access to other developers software?
14. Architecture independent and software portability can be achieved by
WEEK 2
1. Where is the build environment setup located?

2. The main job of compiler toolchain is to

3. What is cross compilation?

4. What file extension is used for files output from preprocessing?


5. What is the linux command for finding the location of gcc installation?

6. Which among below is a correct way to pass option to gcc?

7. What is the flag used to get verbose compile results?

8. Which directive is used to provide compiler instruction from code itself?


9. The #define directive can be used to create

10. Why is the #ifndef conditional directive included in the header file?

11. Where are shared libraries stored?

12. How can the linker process be invoked?


13. What linker flag is used to link the shared libraries?

14. Is make a part of the gnu tool chain?

15. What happen if make is called without any target specified?

16. Make clean target should remove all the output generated files and source files from the
project.
17. Why should the makefile be version controlled?

18. Each rule in the makefile targets should start with a_.

19. Make executes the full makefile from top to bottom.

20. Which is true for simply assigned variables?


21. What symbol is used for pattern matching?

22. Why is .phony protection required?

23. Assembler and linker are part of the GNU binary utilities.

24. Which GNU utility is used to get the list of all defined symbols in the code file?
QUIZ
1. Which compiler is used for the ARM cortex M processors.
2. When compiling with gcc the command line parameter WI allow options to be passed to
the.
3. In the preprocessing stage of compilation . . .
4. The assembly code generated depends upon the . . .
5. What kind of targets should have a phony directive in the makefile
6. A linker file is . . .

7. Make can use what feature to ask the OS for compilation information?
8. Which of the following is a proper declaration of an include guard?
9. Variable for a makefile can be defined in
10. Cross compiled executable can run on both a host machine and target embedded system.
11. Which one of the following provides all prerequisites in a makefile target?
12. Which gcc option includes debugging info in the generated object code?
13. Make can help generate which of the following files.
14. The shared option of gcc generates a shared ________for shared library.
15. The correct sequence of the GCC compilation process is
16. What utility allows you to produce assembly code from a given object file?
17. Which compilation step make sure that all the undefined symbols in the code are
resolved.
18. If a program is linked against a static library then,
19. What architecture specific flag will need to be used for our ARM cross compiler?
20. A processor executes what kind of code?
21. A compile time switch can help.
WEEK3
1. Which type of memory is used to contain a programs code memory?
2. What is the purpose of the linker script?
3. To control the memory layout of the outfile file
4. ___are used to stored configuration and run time state of the CPU and peripherals.
5. Memory is usually modeled as long ________
6. Among all memories __ is most expensive has the least latency and has the smallest
capacity.

7. Non-volatile (such as PROM,FLASH) memory can endure infinite write erase cycles.

8. Which type of memory is used to decrease latency to lower/slower memories?

9. SRAM usually contains code memory and FLASH usually contains data memory.
10. The compiler only needs to be aware of the cpu architecture and not the platform
architecture of the target embedded device.

11. peripherals, code, and Data are all represented by ____ address space(s).

12. which are some typical data segment sub-segment?

13. data memory is a read-only memory.


14. which sub-segment of data memory contains the zero-initializes and uninitialized global
and static data?

15. a variable declared in a function has ___ scope.

16. size of allocated data is controlled by ______.

17. unsigned long int will occupy same amount of memory as unsigned short int
18. static variable have local scope limited to a function but they retain their value throughout
the lifetime of the program even after returning from the function they are declared in.

19. a function can ______ the stack memory used by a previous called function which has
already returned.

20. which of the following are stored in stack memory generally


21. nested function have the same stack and frame pointers.

22. Heap and stack are reserved during runtime but heap allocation can be controlled by the
programmer while stack allocation is automatic.

23. Ptr1 = (short int*) malloc (sizeof(shaort int)*64) will reserve ___

24. If heap doesn’t have enough ______ memory for allocation, it will return a NULL pointer
25. What are the disadvantages of using heap?

26. Code memory is a read only memory that contains compiled code and some constant or
initialized . . .

27. ________-stores the address of the executable code for interrupt routines.

28. Which segment contain initialized variables that are loaded into data memory from code
memory each time the program is executed.
QUIZ
1. What are some of the characteristics that can vary for a platform in a chipset family?
2. The CPU uses peripheral register to load/store data for operation in ARM microprocessor.
3. Which are characteristics of flash memory?
1 B and C
2 = FALSE
3=A
4. Which are characteristics of RAM memory?
5. The stack is reserved during _______ and allocating during ________
6. Ptr = (short int*) mallocs . . .
7. Peripherals, code, and data are all represented by _______
8. Which subsegment of data memory contains the initialized global and static data?
9. Register definition files provide
9- C

9 = C.
WEEK 2 QUIZ

You might also like