Professional Documents
Culture Documents
2. Target embedded system usually use _____ technology for hardware implementation?
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?
15. Version control allows you to track all the changes made to a software project indefinitely.
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.
24. What are some characteristics of the development kit in this course?
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?
10. Why is the #ifndef conditional directive included in the header file?
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_.
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.
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).
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.
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