Impact of Program Design MCQ Practice

Question 1 of 10

A student program that assigns after-school rooms compiles with no errors. The team never ran it with two clubs requesting the same room. Which statement is most accurate?

  1. A. Compilation proves the room assignments will always be reliable.
  2. B. The team still needs tests, including the double-booking case, because untested designs can fail in use.
  3. C. Testing is required only for programs that print graphics.
  4. D. If the source file is saved, reliability is guaranteed.

Question 2 of 10

A neighborhood library launches a hold-notice program that texts when a reserved book arrives, reducing extra car trips. Which statement best describes a beneficial impact?

  1. A. People may learn about holds sooner and make fewer wasted trips.
  2. B. Any text-message system is required by law to be open source.
  3. C. A beneficial impact means the program cannot have any drawbacks.
  4. D. Compilation is the same thing as a social benefit.

Question 3 of 10

A school installs hallway cameras with a face-matching program that often misidentifies students who wear glasses. Which harmful impact is most directly illustrated?

  1. A. Students may be wrongly flagged, creating unfair discipline or stigma.
  2. B. Cameras always raise standardized test scores.
  3. C. Open-source licenses forbid cameras on campus.
  4. D. The program cannot be tested because it uses images.

Question 4 of 10

A club wants a dragon sprite from a classmate's unpublished game. The classmate has not given permission. Which action is legally appropriate?

  1. A. Copy the sprite into the club game because schoolwork is never covered by copyright.
  2. B. Ask for permission, or replace the art, before using it.
  3. C. Use the sprite if the club does not sell the game.
  4. D. Use the sprite if the club renames the file.

Question 5 of 10

A volunteer writes a dosing helper for a pet clinic. It has not been tested with a 2 kg animal, though the clinic treats animals that small. Which design concern is most serious?

  1. A. An untested small-weight case could recommend an unsafe dose.
  2. B. Pet clinics are not allowed to use software.
  3. C. The program is automatically reliable if variable names are clear.
  4. D. Testing is an ethical issue only when code is open source.

Question 6 of 10

A homework-hint program explains algebra steps but can also paste a full answer with no explanation if a student toggles a hidden switch. Which statement is most accurate?

  1. A. The design can help learning and can also enable cheating, so the hidden full-answer switch is an ethical concern.
  2. B. Any educational program is harmless.
  3. C. Hidden switches are required for system reliability.
  4. D. Beneficial and harmful impacts cannot appear in the same program.

Question 7 of 10

A team finds a clearly labeled open-source timer class whose license allows reuse with attribution. They also want a paid commercial chart widget whose license forbids copying. Which statement is correct?

  1. A. They may follow the timer license, including attribution, but need permission or a paid license for the chart widget.
  2. B. Open-source and commercial code may both be copied freely for school projects.
  3. C. Attribution is never allowed when a license requests it.
  4. D. Commercial widgets become open source after one school semester.

Question 8 of 10

A lunch-account app is about to ship. Which design choice best supports both reliability and legal, ethical use?

Design choice Plan
Skip tests Ship tonight without testing negative balances
Test first Run tests for zero, typical, and overdraft cases before release
Copy branding Use a bank's logo and slogans without permission
Relabel copied code Hide the source of copied payment code and claim it is original
  1. A. Skip tests
  2. B. Test first
  3. C. Copy branding
  4. D. Relabel copied code

Question 9 of 10

A city posts a bus-delay estimator. It helps riders plan, but a bug sometimes reports "on time" when buses are 40 minutes late, and people miss connections. Which statement is most accurate?

  1. A. The estimator can be beneficial when accurate and harmful when false reports waste people's time.
  2. B. Once an app is beneficial, later bugs cannot cause harm.
  3. C. City programs are exempt from testing.
  4. D. False reports are only a copyright issue, never a reliability issue.

Question 10 of 10

A student finds a code snippet on a popular blog that names no license and no author to contact. Another snippet comes from a well-known open-source project with a license that allows reuse if attribution is kept. Which legal approach is most appropriate?

  1. A. Avoid or seek permission for the unlabeled blog snippet; use the open-source snippet only under that license's terms.
  2. B. Anything posted on the internet may be copied into a school project.
  3. C. Open-source licenses forbid school use.
  4. D. Unlabeled blog code is safer than licensed code because nobody is watching.