Introduction to Embedded Systems Flashcards

1
Q

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

A

Assembly File
C file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

Based on microcontrollers
Able to handle certain timing constraints

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which one is an intermediate file produced by the compiler?
1. Object file
2. Objective file
3. Binary file
4. Objection file

A

Object file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which is/are the typical product development process?
1. Testing
2. Deployment
3. Implementation
4. All of the above

A

All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

Missed deadline can have extreme consequences

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. Choose the programming language that is the lowest level
    1. Assembly
    2. C
    3. Fortran
    4. Object
A

Assembly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. A Compiler
    1. is also called an Assembler
    2. translate source codes in ‘C’ language into an executable file
    3. translate source codes in ‘C’ language into object files
    4. arranges all the ‘.c’ files in the folder
A

translate source codes in ‘C’ language into object files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. 17 && 23 = ?
    1. 6
    2. 1
    3. 40
    4. 0
A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. The Linker
    1. combines one or more object files into a single executable file
    2. executes a file
    3. loads the executable file to the memory for execution
    4. archives the data files into a single executable file
A

combines one or more object files into a single executable file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. Which of the following properties of embedded systems are true? (2 correct answers)
    1. Necessity for strict timing constraints
    2. Microcontrollers are typically used rather than microprocessors
    3. Dedication to a wide range of tasks
    4. Utilisation of high memory and computing power
A

Necessity for strict timing constraints
Microcontrollers are typically used rather than microprocessors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. Which is the main characteristic of low-level language?
    1. Productivity
    2. Very easy to understand
    3. Compact and optimised
    4. Do not need a compiler/assembler
A

Compact and optimised

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. A startup code typically
    1. initialize the Stack
    2. reset all the memory
    3. initialize the Heap
    4. calls the main function
A

initialize the Stack
initialize the Heap
calls the main function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. Which best describes the pattern that any embedded system should follow?
    1. process-input-output
    2. input-process-output
    3. input-output-process
    4. process-output-input
A

input-process-output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. An Assembler …
    1. does a one-to-one with a compiler
    2. translations an assembly source file into an object file
    3. optimizes the source code.
    4. is also called a Compiler
A

translations an assembly source file into an object file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly