Docsity

Computational_Thinking_and_Problem_Solving_Exam., Exams of Human-Computer Interaction Design

Toggle sidebar
bg1
Independent Computer Engineering Practice Material Page 1
Computational Thinking and Problem Solving
Exam
Batch 1 · Exam 13 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 Computational_Thinking_and_Problem_Solving_Exam. and more Exams Human-Computer Interaction Design in PDF only on Docsity!

Computational Thinking and Problem Solving

Exam

Batch 1 · Exam 13 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. Two subsystems disagree about the format used at the abstraction 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.

2. A defect reappears after a new build involving algorithms. 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.

3. In the context of testing, 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.

4. 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.

5. 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%.

6. 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.

13. Which document is most useful for communicating the expected behavior of decomposition 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.

14. When comparing two ways to implement decomposition, 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.

15. What is a likely consequence of changing decomposition 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.

16. Which practice improves maintainability of the decomposition 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.

17. A measured result for decomposition 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.

18. In a computer-engineering design, what is the primary purpose of pattern recognition?

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: pattern recognition should be selected and used to meet a stated system need. Documentation, reliability measures, and verification remain necessary.

19. Which action best verifies that the pattern recognition 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.

20. An engineer finds that the pattern recognition 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.

21. Which document is most useful for communicating the expected behavior of pattern recognition 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.

22. When comparing two ways to implement pattern recognition, 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.

23. What is a likely consequence of changing pattern recognition 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.

24. Which practice improves maintainability of the pattern recognition 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.

25. A measured result for pattern recognition 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.

32. Which practice improves maintainability of the abstraction 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.

33. A measured result for abstraction 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.

34. In a computer-engineering design, what is the primary purpose of algorithms?

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: algorithms should be selected and used to meet a stated system need. Documentation, reliability measures, and verification remain necessary.

35. Which action best verifies that the algorithms 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.

36. An engineer finds that the algorithms 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.

37. Which document is most useful for communicating the expected behavior of algorithms 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.

38. When comparing two ways to implement algorithms, 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.

39. What is a likely consequence of changing algorithms 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.

40. Which practice improves maintainability of the algorithms 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.

41. A measured result for algorithms 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.

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

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: testing 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 testing 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 testing 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.

52. An engineer finds that the complexity 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.

53. Which document is most useful for communicating the expected behavior of complexity 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 complexity, 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 complexity 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 complexity 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 complexity 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 the context of pattern recognition, 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.

59. 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.

60. 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%.

61. 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.

62. 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%.

63. 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.

64. 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.

72. A defect reappears after a new build involving algorithms. 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.

73. In the context of testing, 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.

74. 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.

75. 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%.

76. 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.

77. 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%.

78. 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.

79. 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.

80. 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.

81. 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.

82. 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.

83. A design review reveals an unstated assumption about abstraction. 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.

84. Which metric is most directly useful when evaluating algorithms 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.

85. A proposed shortcut reduces initial effort but makes testing 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.

93. 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.

94. 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.

95. 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.

96. 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.

97. 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.

98. A design review reveals an unstated assumption about complexity. 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.

99. Which metric is most directly useful when evaluating decomposition 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.

100. A proposed shortcut reduces initial effort but makes pattern recognition 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.