Ethical and Social Issues Around Data Collection MCQ Practice

Question 1 of 10

BramblePath, a nature-preserve check-in kiosk, stores a visitor's full legal name, home street address, and a health note such as "uses an inhaler." A printed trail map only needs the trail name. Why is this a privacy risk that programmers should treat carefully?

  1. A. Health notes and a home address are personal data. If they leak or are reused without a need, visitors can be identified, contacted, or embarrassed.
  2. B. Only numeric values can be personal data, so a health note cannot create a privacy risk.
  3. C. Deleting the kiosk app from a visitor's phone automatically erases every copy on the preserve's servers.
  4. D. Privacy risks apply only when a visitor pays money, and this kiosk is free.

Question 2 of 10

Kettle & Twine, a tea shop, wants a stamp-card program. Which programmer choice best safeguards customer privacy while still tracking stamps?

  1. A. Store each customer's full home address, birth date, and complete card number so the shop can always look people up later.
  2. B. Publish every customer's stamp total on a hallway screen next to their full name so staff never have to ask.
  3. C. Store a nickname and a stamp count on a shop card, and do not keep home addresses or full payment numbers.
  4. D. Email the entire customer list, including phone numbers, to a snack-ad partner each night without telling customers.

Question 3 of 10

Mossbridge Youth Orchestra uses a check-in program. The table shows stored fields. The program's only job is to print a seat card with a first name and chair number. Which stored field is the clearest extra privacy risk?

Stored field Example value
firstName Priya
chairNumber 3
rehearsalRoom B
parentCellAndSchoolId 555-0177 / SID-44821
  1. A. firstName, because a first name can never be stored
  2. B. parentCellAndSchoolId, because a phone number paired with a school ID can identify a family and is not needed to print a seat card
  3. C. chairNumber, because integers are always more private than names
  4. D. rehearsalRoom, because a room letter is medical data

Question 4 of 10

A Gullperch ferry kiosk runs this fragment and later copies the stored values to an advertising partner.

String riderName = "Eden Walsh";
String homeStreet = "12 Harbor Court";
int tripMinutes = 18;
System.out.print(tripMinutes);

The printed output is only the trip length. Which statement best describes the privacy problem?

  1. A. There is no privacy problem because tripMinutes is an int.
  2. B. There is no privacy problem because System.out.print does not display the name.
  3. C. Sharing the name and home street with an advertiser is a privacy risk even if those values are never printed.
  4. D. Programmers cannot reduce this risk unless they stop using String variables entirely.

Question 5 of 10

CopperLantern Makerspace trains a workshop-placement program on past acceptances. Almost every past record is from two suburban zip codes; rural applicants were rarely in the training data. The program now rejects most rural applications. Which statement best names the data-quality issue?

  1. A. This cannot be bias because the program never mentions zip codes in its printed message.
  2. B. This is algorithmic bias: the system produces unfair outcomes for a group because of how it was trained, even if no one typed a rude comment.
  3. C. This is only a hardware failure, because unfair results always mean a broken keyboard.
  4. D. Bias occurs only when a programmer writes an if statement that names a group on purpose.

Question 6 of 10

Noonbell Cafeteria wants to know whether students want a later dinner window. Staff survey only students who buy lunch between 11:00 a.m. and 11:20 a.m. on weekdays. Which data-quality problem is this?

  1. A. Collection-method bias: the survey misses evening and later-lunch students whose answers matter for the dinner question.
  2. B. There is no quality problem if every surveyed student answered honestly.
  3. C. Algorithmic bias, because any cafeteria survey is automatically unfair to vegetables.
  4. D. The data set is incomplete only if a computer later sorts the answers.

Question 7 of 10

Rainbarrel Community Garden waters plots using yesterday's rainfall total. The sensor file is missing three stormy days, so those days are stored as 0 mm. The watering program then soaks already-wet soil. Which statement best matches the CED idea about incomplete or inaccurate data?

  1. A. Missing storm days cannot affect the program because 0 is a valid integer.
  2. B. Incomplete data only makes a program slower; it cannot make watering incorrect.
  3. C. Treating missing storm days as 0 mm is inaccurate, so the program waters when it should not.
  4. D. The program is inefficient only if it prints the word "rain," which is unrelated to the missing days.

Question 8 of 10

Puddlewatch staff ask, "Which day last week had the most rainfall at the garden?" Which data set is appropriate for that question?

  1. A. A list of snack-cart dessert flavors sold last week
  2. B. A list of volunteer T-shirt sizes
  3. C. A list of ferry ticket prices from last summer
  4. D. A list of daily rainfall totals in millimeters for each of the last seven days

Question 9 of 10

Wickford Rec Center wants to know which hour the gym door is busiest. Four data sets are available. Which one is appropriate?

Data set What each record stores
DoorSwipes hour of day and a count of people entering
SmoothieMenu drink names and prices
LockerColors paint colors used on locker doors
PoolTemps water temperature each morning
  1. A. SmoothieMenu, because food data always predicts crowd size
  2. B. DoorSwipes, because it records how many people enter during each hour
  3. C. LockerColors, because color is stored as text and crowds are colorful
  4. D. PoolTemps, because temperature data can stand in for any building question

Question 10 of 10

A student has a data set of Saturday movie-ticket counts by showtime. The student wants to answer, "Which Saturday showtime sold the most tickets?" A classmate suggests using last year's popcorn-flavor survey instead because both are "about the theater." Which response is best?

  1. A. The ticket-count data set is appropriate; a popcorn-flavor survey does not record tickets sold at each showtime.
  2. B. Any theater-related data set can answer any theater question.
  3. C. The popcorn survey is better because flavors are more personal than ticket counts.
  4. D. Neither data set can be used unless it is stored as an ArrayList.