Back to Challenge Set 24

Question Set 14

Six questions · 11 minutes · cumulative

divider

What This Is

Six questions through Activity 2.20, weighted toward data representation and the problems datasets have.

Question 1 is in exam notation. The rest are the kind of reasoning question the Data big idea is made of — 17–22% of the multiple-choice section, and Quarter 2 is the only place this course teaches it.

Set a timer for 11 minutes. Work them out on paper; do not run the code. Mark each answer sure or unsure. Guess rather than leave a blank.


The Questions

Four have exactly one correct answer, one asks you to select all that apply, and the last is about the impact of computing rather than about data itself.


Question 1

What does this display?

Question 1
bits ← [1, 0, 1, 1]
total ← 0
place ← 1
i ← LENGTH(bits)
REPEAT UNTIL(i < 1)
{
IF(bits[i] = 1)
{
total ← total + place
}
place ← place * 2
i ← i - 1
}
DISPLAY(total)
  • (A) 4
  • (B) 13
  • (C) 11
  • (D) 1011

Question 2

A row of 20 characters is put through a lossless compression algorithm and comes out as 24 characters. Which statement is best supported?

  • (A) The original had little redundancy for this algorithm to exploit
  • (B) The algorithm is broken and cannot be lossless
  • (C) Information was lost during compression
  • (D) The compression ratio is 0.83

Question 3 — Select all that apply

Which of these are true?

  • (A) Analog data changes in discrete steps rather than smoothly
  • (B) Analog data can be closely approximated digitally using sampling
  • (C) Using digital data to approximate real-world analog data is an example of abstraction
  • (D) Too low a sample rate can make two different signals produce identical samples
  • (E) Sampling stores the original analog signal exactly

Question 4

A counter is stored in 8 bits. It is at 255 and the program adds 1. What has happened?

  • (A) The program stops with a syntax error
  • (B) An overflow error — the value is outside the range the storage defines
  • (C) The value is rounded to the nearest storable number
  • (D) The storage grows to 9 bits automatically

Question 5

A survey is collected through a form on a school website. Which action is most likely to reduce bias in the result?

  • (A) Collect ten times as many responses through the same form
  • (B) Remove any responses that look unusual
  • (C) Compress the dataset so it is faster to process
  • (D) Collect responses through an additional channel that reaches people the form misses

Question 6 — Impact of Computing

A photo-sharing service strips location information out of photo metadata before publishing them. This most directly addresses a concern about:

  • (A) Privacy
  • (B) Compression ratios
  • (C) Overflow errors
  • (D) Scalability

Submit

Six answers, each marked sure or unsure, plus how far you got when the timer went off. Worth 4 points, graded on completion.

Start the Timer