Choosing how to earn college credit? CLEP vs AP guide
| preferred AP College board partner for AP classes
medium

Modular Architecture for Badge Generation

Mark
< Prev
Next >

A student programming team is designing software to process event registrations and print personalized entrance badges. The program must satisfy two engineering requirements: (1) the badge text layout can be modified for future events without altering attendee validation logic, and (2) the physical printer hardware driver can be replaced without modifying how badge text is formatted.

The team plans to decompose the system into three distinct functional modules: Module 1 (Registration Verification), Module 2 (Badge Layout Formatting), and Module 3 (Hardware Output Driver).

Module Input Data Output Data
Module 1 Raw attendee registration form Standardized attendee data record (ID, name, seat)
Module 2 Standardized attendee data record Formatted badge layout string
Module 3 Formatted badge layout string Hardware-specific printer control signals

Which interface boundary design correctly isolates the modules so that changing the badge text layout does not require modifying Module 1 or Module 3?

A

Module 2 receives raw registration forms directly and transmits hardware printer signals directly to the printer

B

Module 1 formats the badge text before verification and sends raw layout commands directly to Module 3

C

Module 3 formats attendee names into badge layout text before generating physical printer signals

D

Module 2 depends only on receiving a standardized attendee record from Module 1 and outputs a layout string consumed by Module 3

Did You Know?
Explain Why
Explain All Answers
Check Answer
Show Correct Answer
Report Question

Question Leaderboard

Not enough data yet to show leaderboard.

No comments yet. Be the first to comment!

AI Tutor

How can I help?

APFIVE © 2020.
Email: apfive@apfive.org|Instagram: @_apfive_|Privacy Policy|