Introduction to Embedded Systems Flashcards
Based on the lecture, which file(s) can be converted to an object file? (can be more than 1)
1. decoded file
2. assembly file
3. hex file
4. c file
Assembly File
C file
Which of these are properties of embedded systems?
1. Based on microcontrollers
2. Infinite memory
3. Unlimited processing power
4. Able to handle certain timing constraints
Based on microcontrollers
Able to handle certain timing constraints
Which one is an intermediate file produced by the compiler?
1. Object file
2. Objective file
3. Binary file
4. Objection file
Object file
Which is/are the typical product development process?
1. Testing
2. Deployment
3. Implementation
4. All of the above
All of the above
Which of the following is true about “hard real-time constraints”?
1. Typically non-critical systems
2. Missed deadline can have extreme consequences
3. Tasks have no deadlines
4. A late response can degrade a system
Missed deadline can have extreme consequences
- Choose the programming language that is the lowest level
- Assembly
- C
- Fortran
- Object
Assembly
- A Compiler
- is also called an Assembler
- translate source codes in ‘C’ language into an executable file
- translate source codes in ‘C’ language into object files
- arranges all the ‘.c’ files in the folder
translate source codes in ‘C’ language into object files
- 17 && 23 = ?
- 6
- 1
- 40
- 0
1
- The Linker
- combines one or more object files into a single executable file
- executes a file
- loads the executable file to the memory for execution
- archives the data files into a single executable file
combines one or more object files into a single executable file
- Which of the following properties of embedded systems are true? (2 correct answers)
- Necessity for strict timing constraints
- Microcontrollers are typically used rather than microprocessors
- Dedication to a wide range of tasks
- Utilisation of high memory and computing power
Necessity for strict timing constraints
Microcontrollers are typically used rather than microprocessors
- Which is the main characteristic of low-level language?
- Productivity
- Very easy to understand
- Compact and optimised
- Do not need a compiler/assembler
Compact and optimised
- A startup code typically
- initialize the Stack
- reset all the memory
- initialize the Heap
- calls the main function
initialize the Stack
initialize the Heap
calls the main function
- Which best describes the pattern that any embedded system should follow?
- process-input-output
- input-process-output
- input-output-process
- process-output-input
input-process-output
- An Assembler …
- does a one-to-one with a compiler
- translations an assembly source file into an object file
- optimizes the source code.
- is also called a Compiler
translations an assembly source file into an object file