Bird
Raised Fist0
Intro to Computingfundamentals~10 mins

Storage devices (HDD, SSD) in Intro to Computing - Interactive Code Practice

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to print the type of storage device that uses spinning disks.

Intro to Computing
storage_type = "[1]"
print(storage_type)
Drag options to blanks, or click blank then click option'
ASSD
BHDD
CUSB
DRAM
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing SSD because it is faster, but it does not have spinning disks.
2fill in blank
medium

Complete the code to assign the storage device type that uses flash memory.

Intro to Computing
fast_storage = "[1]"
Drag options to blanks, or click blank then click option'
ASSD
BFloppy Disk
CCD-ROM
DHDD
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing HDD because it is a common storage device, but it uses spinning disks.
3fill in blank
hard

Fix the error in the code to correctly check if the device is an SSD.

Intro to Computing
device = "SSD"
if device == "[1]":
    print("Fast storage detected")
Drag options to blanks, or click blank then click option'
AHDD
BUSB
CSSD
DDVD
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'HDD' which is a different device type.
4fill in blank
hard

Fill both blanks to create a dictionary mapping device names to their storage type.

Intro to Computing
storage_devices = {"Seagate": "[1]", "Samsung": "[2]"}
Drag options to blanks, or click blank then click option'
AHDD
BUSB
CSSD
DRAM
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up device brands and storage types.
5fill in blank
hard

Fill all three blanks to create a list of storage devices with their type and speed.

Intro to Computing
devices = [
    {"name": "WD Blue", "type": "[1]", "speed": [2],
    {"name": "Crucial MX500", "type": "[3]", "speed": 550}
]
Drag options to blanks, or click blank then click option'
AHDD
BSSD
C7200
D5400
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing speed units or device types.

Practice

(1/5)
1. Which of the following is true about HDDs compared to SSDs?
easy
A. HDDs have moving parts and are generally slower than SSDs.
B. HDDs use flash memory and are faster than SSDs.
C. HDDs are more expensive than SSDs for the same storage size.
D. HDDs do not store data when the power is off.

Solution

  1. Step 1: Understand HDD technology

    HDDs use spinning disks and mechanical parts to read/write data, which makes them slower.
  2. Step 2: Compare with SSDs

    SSDs use flash memory with no moving parts, making them faster and more durable.
  3. Final Answer:

    HDDs have moving parts and are generally slower than SSDs. -> Option A
  4. Quick Check:

    HDD = slower with moving parts [OK]
Hint: Remember: HDDs spin, SSDs flash [OK]
Common Mistakes:
  • Confusing HDDs as faster than SSDs
  • Thinking HDDs use flash memory
  • Believing HDDs lose data when powered off
2. Which option correctly describes a Solid State Drive (SSD)?
easy
A. An SSD uses flash memory and has no moving parts.
B. An SSD uses spinning disks to store data.
C. An SSD is slower than an HDD.
D. An SSD loses data when power is off.

Solution

  1. Step 1: Identify SSD storage method

    SSDs store data using flash memory chips without any moving parts.
  2. Step 2: Confirm data retention and speed

    SSDs keep data without power and are faster than HDDs.
  3. Final Answer:

    An SSD uses flash memory and has no moving parts. -> Option A
  4. Quick Check:

    SSD = flash memory, no moving parts [OK]
Hint: SSD = flash memory, no spinning disks [OK]
Common Mistakes:
  • Thinking SSDs have spinning disks
  • Believing SSDs are slower than HDDs
  • Assuming SSDs lose data without power
3. Consider this comparison: You copy a 10GB file to an HDD and an SSD. Which is true about the time taken?
medium
A. The HDD will copy the file faster because it has spinning disks.
B. The SSD will copy the file faster because it has no moving parts.
C. Both will take the same time because storage size is equal.
D. The SSD will take longer because flash memory is slower.

Solution

  1. Step 1: Understand data transfer speeds

    HDDs use mechanical parts which slow down data transfer compared to SSDs.
  2. Step 2: Compare SSD speed advantages

    SSDs use flash memory allowing faster read/write speeds without mechanical delays.
  3. Final Answer:

    The SSD will copy the file faster because it has no moving parts. -> Option B
  4. Quick Check:

    SSD faster than HDD due to no moving parts [OK]
Hint: No moving parts means faster data transfer [OK]
Common Mistakes:
  • Assuming spinning disks are faster
  • Ignoring mechanical delays in HDDs
  • Thinking storage size affects speed equally
4. A user complains their SSD is slower than expected. Which of these could be a reason?
medium
A. The SSD is powered off during use.
B. The SSD uses spinning disks that are damaged.
C. The SSD is connected via a USB 3.0 port.
D. The SSD is nearly full, reducing its speed.

Solution

  1. Step 1: Identify SSD speed factors

    SSDs slow down when nearly full due to less free space for efficient data management.
  2. Step 2: Eliminate incorrect reasons

    SSDs have no spinning disks, USB 3.0 is fast enough, and powered off means no operation.
  3. Final Answer:

    The SSD is nearly full, reducing its speed. -> Option D
  4. Quick Check:

    Full SSDs slow down [OK]
Hint: Full SSDs lose speed, unlike HDD damage [OK]
Common Mistakes:
  • Thinking SSDs have spinning disks
  • Believing USB 3.0 slows SSDs
  • Assuming SSD works when powered off
5. You want to upgrade your computer for faster boot times and durability. Which storage device should you choose and why?
hard
A. Choose an HDD because it is cheaper and has moving parts.
B. Choose an HDD because it stores data only when powered on.
C. Choose an SSD because it is faster and has no moving parts.
D. Choose an SSD because it uses spinning disks for durability.

Solution

  1. Step 1: Identify requirements

    Faster boot times and durability require fast data access and no mechanical parts.
  2. Step 2: Match device features

    SSDs are faster and more durable due to no moving parts; HDDs are slower and fragile.
  3. Final Answer:

    Choose an SSD because it is faster and has no moving parts. -> Option C
  4. Quick Check:

    SSD = fast + durable [OK]
Hint: SSD = speed + durability, HDD = slower + fragile [OK]
Common Mistakes:
  • Choosing HDD for speed
  • Thinking HDD stores data only when powered
  • Believing SSD has spinning disks