Docsity

Introduction_to_Embedded_Computer_Systems_Exam, Exams of Computer Programming

Toggle sidebar
bg1
Independent Computer Engineering Practice Material Page 1
Introduction to Embedded Computer Systems
Exam
Batch 1 · Exam 37 of 50 · 100 multiple-choice questions
Instructions
Select the single best answer for each question. Each item has four options (A–D). Answers and
explanations are included immediately after each question for self-study.
Scope and status
This is independently prepared practice material for learning and review. It is not an official examination, certification test, or
endorsement by any examination body. Check your course syllabus for the exact learning outcomes that apply to you.
Exam coverage
Topics are aligned to the exam title and emphasize engineering fundamentals, applied reasoning,
verification, measurement, system design, and responsible practice where relevant.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Introduction_to_Embedded_Computer_Systems_Exam and more Exams Computer Programming in PDF only on Docsity!

Introduction to Embedded Computer Systems

Exam

Batch 1 · Exam 37 of 50 · 100 multiple-choice questions

Instructions

Select the single best answer for each question. Each item has four options (A–D). Answers and

explanations are included immediately after each question for self-study.

Scope and status

This is independently prepared practice material for learning and review. It is not an official examination, certification test, or endorsement by any examination body. Check your course syllabus for the exact learning outcomes that apply to you.

Exam coverage

Topics are aligned to the exam title and emphasize engineering fundamentals, applied reasoning,

verification, measurement, system design, and responsible practice where relevant.

Questions, Answers & Explanations

1. Which metric is most directly useful when evaluating microcontroller against a performance requirement?

A. A metric tied to the requirement, measured under a defined workload B. The number of pages in the report C. The engineer's preference D. The color of the enclosure Correct answer: A — A metric tied to the requirement, measured under a defined workload Explanation: A relevant metric under a defined workload allows a fair comparison with the requirement.

2. A proposed shortcut reduces initial effort but makes gpio harder to test. What is the best engineering response?

A. Assess lifecycle impact and preserve adequate verification B. Accept it automatically C. Remove the test plan D. Avoid telling stakeholders Correct answer: A — Assess lifecycle impact and preserve adequate verification Explanation: Initial effort should be weighed against testability, maintenance, risk, and lifecycle cost.

3. Two subsystems disagree about the format used at the interrupts interface. Which remedy is best?

A. Agree and document a common interface contract, then test both sides B. Let each side guess C. Disable error reporting D. Change unrelated hardware Correct answer: A — Agree and document a common interface contract, then test both sides Explanation: A shared interface contract resolves ambiguity and gives integration tests a clear target.

4. A defect reappears after a new build involving timers. Which test practice is most relevant?

A. Regression testing B. Deleting old results C. Randomly changing requirements D. Skipping version control Correct answer: A — Regression testing Explanation: Regression tests check whether a change has broken previously working behavior.

5. In the context of adc, a subsystem completes 240 operations in 6 seconds. What is its average throughput?

A. 40 operations/s B. 6 operations/s C. 234 operations/s D. 1,440 operations/s Correct answer: A — 40 operations/s Explanation: Throughput is operations divided by time: 240 / 6 = 40 operations per second.

6. A 5 V supply delivers 0.4 A to a load. Assuming steady DC operation, what power is delivered?

A. 0.08 W B. 1.25 W C. 2.0 W D. 12.5 W Correct answer: C — 2.0 W Explanation: Using P = V × I, power is 5 × 0.4 = 2 W.

14. A test instrument has a stated uncertainty of ±0.2 V. Which reading is consistent with a nominal 5.0 V measurement?

A. 5.8 V B. 4.9 V C. 5.4 V D. 4.7 V Correct answer: B — 4.9 V Explanation: A reading consistent with ±0.2 V lies from 4.8 V through 5.2 V; 4.9 V is within that interval.

15. A design review reveals an unstated assumption about interrupts. What should the team do?

A. Record the assumption, assess its impact, and validate it B. Leave it undocumented C. Treat it as a guarantee D. Remove all acceptance criteria Correct answer: A — Record the assumption, assess its impact, and validate it Explanation: Explicit assumptions can be reviewed and tested; hidden assumptions create integration and safety risks.

16. Which metric is most directly useful when evaluating timers against a performance requirement?

A. A metric tied to the requirement, measured under a defined workload B. The number of pages in the report C. The engineer's preference D. The color of the enclosure Correct answer: A — A metric tied to the requirement, measured under a defined workload Explanation: A relevant metric under a defined workload allows a fair comparison with the requirement.

17. A proposed shortcut reduces initial effort but makes adc harder to test. What is the best engineering response?

A. Assess lifecycle impact and preserve adequate verification B. Accept it automatically C. Remove the test plan D. Avoid telling stakeholders Correct answer: A — Assess lifecycle impact and preserve adequate verification Explanation: Initial effort should be weighed against testability, maintenance, risk, and lifecycle cost.

18. Two subsystems disagree about the format used at the real-time scheduling interface. Which remedy is best?

A. Agree and document a common interface contract, then test both sides B. Let each side guess C. Disable error reporting D. Change unrelated hardware Correct answer: A — Agree and document a common interface contract, then test both sides Explanation: A shared interface contract resolves ambiguity and gives integration tests a clear target.

19. A defect reappears after a new build involving microcontroller. Which test practice is most relevant?

A. Regression testing B. Deleting old results C. Randomly changing requirements D. Skipping version control Correct answer: A — Regression testing Explanation: Regression tests check whether a change has broken previously working behavior.

20. In the context of gpio, a subsystem completes 240 operations in 6 seconds. What is its average throughput?

A. 40 operations/s B. 6 operations/s C. 234 operations/s D. 1,440 operations/s Correct answer: A — 40 operations/s Explanation: Throughput is operations divided by time: 240 / 6 = 40 operations per second.

21. A 5 V supply delivers 0.4 A to a load. Assuming steady DC operation, what power is delivered?

A. 0.08 W B. 1.25 W C. 2.0 W D. 12.5 W Correct answer: C — 2.0 W Explanation: Using P = V × I, power is 5 × 0.4 = 2 W.

22. A test passes 92 cases out of 100. What is the observed pass rate?

A. 8% B. 92% C. 100% D. 108% Correct answer: B — 92% Explanation: Pass rate = passed cases / total cases × 100 = 92/100 × 100 = 92%.

23. A 16-bit unsigned value can represent how many distinct values?

A. 16 B. 256 C. 32, D. 65, Correct answer: D — 65, Explanation: An n-bit field has 2^n patterns; 2^16 = 65,536 distinct unsigned values.

24. A design's measured latency drops from 50 ms to 40 ms. What is the percentage reduction?

A. 10% B. 20% C. 25% D. 80% Correct answer: B — 20% Explanation: Reduction is (50 − 40) / 50 × 100 = 20%.

25. A memory stores 4,096 bytes. How many KiB is this?

A. 2 KiB B. 4 KiB C. 8 KiB D. 32 KiB Correct answer: B — 4 KiB Explanation: One KiB is 1,024 bytes; 4,096 / 1,024 = 4 KiB.

26. A signal repeats every 2 ms. What is its frequency?

A. 2 Hz B. 50 Hz C. 500 Hz D. 2,000 Hz Correct answer: C — 500 Hz Explanation: Frequency is 1/period. A period of 0.002 s gives 500 Hz.

33. Two subsystems disagree about the format used at the interrupts interface. Which remedy is best?

A. Agree and document a common interface contract, then test both sides B. Let each side guess C. Disable error reporting D. Change unrelated hardware Correct answer: A — Agree and document a common interface contract, then test both sides Explanation: A shared interface contract resolves ambiguity and gives integration tests a clear target.

34. A defect reappears after a new build involving timers. Which test practice is most relevant?

A. Regression testing B. Deleting old results C. Randomly changing requirements D. Skipping version control Correct answer: A — Regression testing Explanation: Regression tests check whether a change has broken previously working behavior.

35. In the context of adc, a subsystem completes 240 operations in 6 seconds. What is its average throughput?

A. 40 operations/s B. 6 operations/s C. 234 operations/s D. 1,440 operations/s Correct answer: A — 40 operations/s Explanation: Throughput is operations divided by time: 240 / 6 = 40 operations per second.

36. A 5 V supply delivers 0.4 A to a load. Assuming steady DC operation, what power is delivered?

A. 0.08 W B. 1.25 W C. 2.0 W D. 12.5 W Correct answer: C — 2.0 W Explanation: Using P = V × I, power is 5 × 0.4 = 2 W.

37. A test passes 92 cases out of 100. What is the observed pass rate?

A. 8% B. 92% C. 100% D. 108% Correct answer: B — 92% Explanation: Pass rate = passed cases / total cases × 100 = 92/100 × 100 = 92%.

38. A 16-bit unsigned value can represent how many distinct values?

A. 16 B. 256 C. 32, D. 65, Correct answer: D — 65, Explanation: An n-bit field has 2^n patterns; 2^16 = 65,536 distinct unsigned values.

39. A design's measured latency drops from 50 ms to 40 ms. What is the percentage reduction?

A. 10% B. 20% C. 25% D. 80% Correct answer: B — 20% Explanation: Reduction is (50 − 40) / 50 × 100 = 20%.

40. A memory stores 4,096 bytes. How many KiB is this?

A. 2 KiB B. 4 KiB C. 8 KiB D. 32 KiB Correct answer: B — 4 KiB Explanation: One KiB is 1,024 bytes; 4,096 / 1,024 = 4 KiB.

41. A signal repeats every 2 ms. What is its frequency?

A. 2 Hz B. 50 Hz C. 500 Hz D. 2,000 Hz Correct answer: C — 500 Hz Explanation: Frequency is 1/period. A period of 0.002 s gives 500 Hz.

42. In a computer-engineering design, what is the primary purpose of microcontroller?

A. To support the required function of the system in a defined and testable way B. To eliminate the need for documentation C. To guarantee that no component can ever fail D. To replace all verification with visual inspection Correct answer: A — To support the required function of the system in a defined and testable way Explanation: microcontroller should be selected and used to meet a stated system need. Documentation, reliability measures, and verification remain necessary.

43. Which action best verifies that the microcontroller portion of a design meets its requirements?

A. Assume it works because the design is familiar B. Run a planned test with measurable acceptance criteria and record the result C. Change several variables at once without recording them D. Skip testing if the prototype powers on Correct answer: B — Run a planned test with measurable acceptance criteria and record the result Explanation: A planned, repeatable test tied to measurable acceptance criteria provides evidence of compliance.

44. An engineer finds that the microcontroller subsystem performs inconsistently. What is the best first step?

A. Replace every component immediately B. Change the specification after the fact C. Reproduce the problem and collect observations under controlled conditions D. Ignore intermittent failures Correct answer: C — Reproduce the problem and collect observations under controlled conditions Explanation: Reproduction and controlled observation help distinguish symptoms from root causes and avoid unnecessary changes.

45. Which document is most useful for communicating the expected behavior of microcontroller to another engineer?

A. An undocumented verbal description B. A requirements or interface specification appropriate to the subsystem C. A list of unrelated parts D. A screenshot with no labels or context Correct answer: B — A requirements or interface specification appropriate to the subsystem Explanation: A specification records expected behavior and interfaces so implementation and testing can be coordinated.

53. Which document is most useful for communicating the expected behavior of gpio to another engineer?

A. An undocumented verbal description B. A requirements or interface specification appropriate to the subsystem C. A list of unrelated parts D. A screenshot with no labels or context Correct answer: B — A requirements or interface specification appropriate to the subsystem Explanation: A specification records expected behavior and interfaces so implementation and testing can be coordinated.

54. When comparing two ways to implement gpio, which approach is most defensible?

A. Choose the newest option automatically B. Choose the option with the most features regardless of need C. Compare both against requirements, constraints, risks, and lifecycle costs D. Choose without recording the rationale Correct answer: C — Compare both against requirements, constraints, risks, and lifecycle costs Explanation: Engineering decisions should be justified against requirements and constraints, including lifecycle cost and risk.

55. What is a likely consequence of changing gpio without checking dependent interfaces?

A. No consequence is possible B. Integration defects or incompatible assumptions may appear C. All tests become unnecessary D. System power consumption must become zero Correct answer: B — Integration defects or incompatible assumptions may appear Explanation: Subsystem changes can alter timing, data formats, electrical levels, or assumptions at connected interfaces.

56. Which practice improves maintainability of the gpio implementation?

A. Use meaningful names, clear structure, and current design records B. Hide all assumptions from the team C. Remove version history D. Mix unrelated functions into one opaque block Correct answer: A — Use meaningful names, clear structure, and current design records Explanation: Clear structure and accurate records help future engineers understand, diagnose, and safely modify the design.

57. A measured result for gpio differs from the predicted value. What should be checked first?

A. Whether units, test setup, calibration, and assumptions match the model B. Whether the result can be deleted C. Whether the prediction should always be trusted D. Whether all future measurements should be skipped Correct answer: A — Whether units, test setup, calibration, and assumptions match the model Explanation: Measurement setup, units, calibration, and model assumptions are common sources of discrepancies.

58. In a computer-engineering design, what is the primary purpose of interrupts?

A. To support the required function of the system in a defined and testable way B. To eliminate the need for documentation C. To guarantee that no component can ever fail D. To replace all verification with visual inspection Correct answer: A — To support the required function of the system in a defined and testable way Explanation: interrupts should be selected and used to meet a stated system need. Documentation, reliability measures, and verification remain necessary.

59. Which action best verifies that the interrupts portion of a design meets its requirements?

A. Assume it works because the design is familiar B. Run a planned test with measurable acceptance criteria and record the result C. Change several variables at once without recording them D. Skip testing if the prototype powers on Correct answer: B — Run a planned test with measurable acceptance criteria and record the result Explanation: A planned, repeatable test tied to measurable acceptance criteria provides evidence of compliance.

60. An engineer finds that the interrupts subsystem performs inconsistently. What is the best first step?

A. Replace every component immediately B. Change the specification after the fact C. Reproduce the problem and collect observations under controlled conditions D. Ignore intermittent failures Correct answer: C — Reproduce the problem and collect observations under controlled conditions Explanation: Reproduction and controlled observation help distinguish symptoms from root causes and avoid unnecessary changes.

61. Which document is most useful for communicating the expected behavior of interrupts to another engineer?

A. An undocumented verbal description B. A requirements or interface specification appropriate to the subsystem C. A list of unrelated parts D. A screenshot with no labels or context Correct answer: B — A requirements or interface specification appropriate to the subsystem Explanation: A specification records expected behavior and interfaces so implementation and testing can be coordinated.

62. When comparing two ways to implement interrupts, which approach is most defensible?

A. Choose the newest option automatically B. Choose the option with the most features regardless of need C. Compare both against requirements, constraints, risks, and lifecycle costs D. Choose without recording the rationale Correct answer: C — Compare both against requirements, constraints, risks, and lifecycle costs Explanation: Engineering decisions should be justified against requirements and constraints, including lifecycle cost and risk.

63. What is a likely consequence of changing interrupts without checking dependent interfaces?

A. No consequence is possible B. Integration defects or incompatible assumptions may appear C. All tests become unnecessary D. System power consumption must become zero Correct answer: B — Integration defects or incompatible assumptions may appear Explanation: Subsystem changes can alter timing, data formats, electrical levels, or assumptions at connected interfaces.

64. Which practice improves maintainability of the interrupts implementation?

A. Use meaningful names, clear structure, and current design records B. Hide all assumptions from the team C. Remove version history D. Mix unrelated functions into one opaque block Correct answer: A — Use meaningful names, clear structure, and current design records Explanation: Clear structure and accurate records help future engineers understand, diagnose, and safely modify the design.

65. A measured result for interrupts differs from the predicted value. What should be checked first?

A. Whether units, test setup, calibration, and assumptions match the model B. Whether the result can be deleted C. Whether the prediction should always be trusted D. Whether all future measurements should be skipped Correct answer: A — Whether units, test setup, calibration, and assumptions match the model Explanation: Measurement setup, units, calibration, and model assumptions are common sources of discrepancies.

73. A measured result for timers differs from the predicted value. What should be checked first?

A. Whether units, test setup, calibration, and assumptions match the model B. Whether the result can be deleted C. Whether the prediction should always be trusted D. Whether all future measurements should be skipped Correct answer: A — Whether units, test setup, calibration, and assumptions match the model Explanation: Measurement setup, units, calibration, and model assumptions are common sources of discrepancies.

74. In a computer-engineering design, what is the primary purpose of adc?

A. To support the required function of the system in a defined and testable way B. To eliminate the need for documentation C. To guarantee that no component can ever fail D. To replace all verification with visual inspection Correct answer: A — To support the required function of the system in a defined and testable way Explanation: ADC should be selected and used to meet a stated system need. Documentation, reliability measures, and verification remain necessary.

75. Which action best verifies that the adc portion of a design meets its requirements?

A. Assume it works because the design is familiar B. Run a planned test with measurable acceptance criteria and record the result C. Change several variables at once without recording them D. Skip testing if the prototype powers on Correct answer: B — Run a planned test with measurable acceptance criteria and record the result Explanation: A planned, repeatable test tied to measurable acceptance criteria provides evidence of compliance.

76. An engineer finds that the adc subsystem performs inconsistently. What is the best first step?

A. Replace every component immediately B. Change the specification after the fact C. Reproduce the problem and collect observations under controlled conditions D. Ignore intermittent failures Correct answer: C — Reproduce the problem and collect observations under controlled conditions Explanation: Reproduction and controlled observation help distinguish symptoms from root causes and avoid unnecessary changes.

77. Which document is most useful for communicating the expected behavior of adc to another engineer?

A. An undocumented verbal description B. A requirements or interface specification appropriate to the subsystem C. A list of unrelated parts D. A screenshot with no labels or context Correct answer: B — A requirements or interface specification appropriate to the subsystem Explanation: A specification records expected behavior and interfaces so implementation and testing can be coordinated.

78. When comparing two ways to implement adc, which approach is most defensible?

A. Choose the newest option automatically B. Choose the option with the most features regardless of need C. Compare both against requirements, constraints, risks, and lifecycle costs D. Choose without recording the rationale Correct answer: C — Compare both against requirements, constraints, risks, and lifecycle costs Explanation: Engineering decisions should be justified against requirements and constraints, including lifecycle cost and risk.

79. What is a likely consequence of changing adc without checking dependent interfaces?

A. No consequence is possible B. Integration defects or incompatible assumptions may appear C. All tests become unnecessary D. System power consumption must become zero Correct answer: B — Integration defects or incompatible assumptions may appear Explanation: Subsystem changes can alter timing, data formats, electrical levels, or assumptions at connected interfaces.

80. Which practice improves maintainability of the adc implementation?

A. Use meaningful names, clear structure, and current design records B. Hide all assumptions from the team C. Remove version history D. Mix unrelated functions into one opaque block Correct answer: A — Use meaningful names, clear structure, and current design records Explanation: Clear structure and accurate records help future engineers understand, diagnose, and safely modify the design.

81. A measured result for adc differs from the predicted value. What should be checked first?

A. Whether units, test setup, calibration, and assumptions match the model B. Whether the result can be deleted C. Whether the prediction should always be trusted D. Whether all future measurements should be skipped Correct answer: A — Whether units, test setup, calibration, and assumptions match the model Explanation: Measurement setup, units, calibration, and model assumptions are common sources of discrepancies.

82. In a computer-engineering design, what is the primary purpose of real-time scheduling?

A. To support the required function of the system in a defined and testable way B. To eliminate the need for documentation C. To guarantee that no component can ever fail D. To replace all verification with visual inspection Correct answer: A — To support the required function of the system in a defined and testable way Explanation: real-time scheduling should be selected and used to meet a stated system need. Documentation, reliability measures, and verification remain necessary.

83. Which action best verifies that the real-time scheduling portion of a design meets its requirements?

A. Assume it works because the design is familiar B. Run a planned test with measurable acceptance criteria and record the result C. Change several variables at once without recording them D. Skip testing if the prototype powers on Correct answer: B — Run a planned test with measurable acceptance criteria and record the result Explanation: A planned, repeatable test tied to measurable acceptance criteria provides evidence of compliance.

84. An engineer finds that the real-time scheduling subsystem performs inconsistently. What is the best first step?

A. Replace every component immediately B. Change the specification after the fact C. Reproduce the problem and collect observations under controlled conditions D. Ignore intermittent failures Correct answer: C — Reproduce the problem and collect observations under controlled conditions Explanation: Reproduction and controlled observation help distinguish symptoms from root causes and avoid unnecessary changes.

85. Which document is most useful for communicating the expected behavior of real-time scheduling to another engineer?

A. An undocumented verbal description B. A requirements or interface specification appropriate to the subsystem C. A list of unrelated parts D. A screenshot with no labels or context Correct answer: B — A requirements or interface specification appropriate to the subsystem Explanation: A specification records expected behavior and interfaces so implementation and testing can be coordinated.

93. A 16-bit unsigned value can represent how many distinct values?

A. 16 B. 256 C. 32, D. 65, Correct answer: D — 65, Explanation: An n-bit field has 2^n patterns; 2^16 = 65,536 distinct unsigned values.

94. A design's measured latency drops from 50 ms to 40 ms. What is the percentage reduction?

A. 10% B. 20% C. 25% D. 80% Correct answer: B — 20% Explanation: Reduction is (50 − 40) / 50 × 100 = 20%.

95. A memory stores 4,096 bytes. How many KiB is this?

A. 2 KiB B. 4 KiB C. 8 KiB D. 32 KiB Correct answer: B — 4 KiB Explanation: One KiB is 1,024 bytes; 4,096 / 1,024 = 4 KiB.

96. A signal repeats every 2 ms. What is its frequency?

A. 2 Hz B. 50 Hz C. 500 Hz D. 2,000 Hz Correct answer: C — 500 Hz Explanation: Frequency is 1/period. A period of 0.002 s gives 500 Hz.

97. A processor executes 3 billion instructions in 1.5 seconds. What is the average instruction rate?

A. 0.5 billion/s B. 1.5 billion/s C. 2 billion/s D. 4.5 billion/s Correct answer: C — 2 billion/s Explanation: Instruction rate = 3 billion / 1.5 s = 2 billion instructions per second.

98. A binary number 1010 n equals which decimal value?

A. 8 B. 10 C. 12 D. 14 Correct answer: B — 10 Explanation: 1010 n = 1×8 + 0×4 + 1×2 + 0×1 = 10.

99. A test instrument has a stated uncertainty of ±0.2 V. Which reading is consistent with a nominal 5.0 V measurement?

A. 5.8 V B. 4.9 V C. 5.4 V D. 4.7 V Correct answer: B — 4.9 V Explanation: A reading consistent with ±0.2 V lies from 4.8 V through 5.2 V; 4.9 V is within that interval.

100. A design review reveals an unstated assumption about real-time scheduling. What should the team do?

A. Record the assumption, assess its impact, and validate it B. Leave it undocumented C. Treat it as a guarantee D. Remove all acceptance criteria Correct answer: A — Record the assumption, assess its impact, and validate it Explanation: Explicit assumptions can be reviewed and tested; hidden assumptions create integration and safety risks.