A client reports the following obstetric history: an ectopic…
A client reports the following obstetric history: an ectopic pregnancy at 8 weeks that was surgically treated, a stillbirth delivered at 38 weeks, and twins born alive at 34 weeks. She is currently pregnant. Using the GTPAL system, how should the nurse document this history?
Read DetailsA budgeting app, Penny Ledger, has a live “remaining budget”…
A budgeting app, Penny Ledger, has a live “remaining budget” preview that should update continuously as a user drags a spending-limit slider, and a separate savings-goal dropdown where only the final selected goal matters for a calculation. Which event should each use, respectively?
Read DetailsA weather dashboard, SkyCast, has a number input for enterin…
A weather dashboard, SkyCast, has a number input for entering a temperature and wants to double it: doubled = temperature.value * 2. Unlike using + for addition, does multiplying a string like “20” by the number 2 with * also produce concatenation, or does it behave differently?
Read DetailsA job board called WorkBench has a wrapping an application,…
A job board called WorkBench has a wrapping an application, with the submit listener mistakenly attached to the “Apply” button itself (button.addEventListener(‘submit’, …)) instead of the form. What’s the practical consequence of this mistake?
Read DetailsA checklist app, Taskly, has a click listener on a “Complete…
A checklist app, Taskly, has a click listener on a “Complete” button that, once triggered, needs to behave differently depending on whether the task was overdue or on time. Which part of this scenario is the “event” role, and which is the “conditional statement” role, per this framing?
Read DetailsA signup form on a coffee shop’s site, Grounded, uses if (ag…
A signup form on a coffee shop’s site, Grounded, uses if (age >= 65) { tier = ‘Senior’; } else if (age >= 18) { tier = ‘Adult’; } else if (age >= 13) { tier = ‘Teen’; }. For a visitor whose age is 70, how many of these branches actually execute?
Read DetailsA volunteer matching site called HelpDesk Civic has a checkb…
A volunteer matching site called HelpDesk Civic has a checkbox labeled “I can drive volunteers to events,” and code that should run only once, right when the box gets checked or unchecked — not repeatedly during any other interaction with the page. Which event best matches “only once, right when the box’s checked state actually flips”?
Read Details