0
0
Intro to Computingfundamentals~20 mins

Abstraction (focusing on what matters) in Intro to Computing - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Abstraction Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
What is the main purpose of abstraction in computing?

Imagine you are driving a car. You don't need to know how the engine works to drive it. What does this example best explain about abstraction?

AIt makes the car slower by adding extra steps.
BIt hides complex details and shows only what is necessary to use the car.
CIt shows all the internal parts of the car to the driver.
DIt requires you to learn every part of the car before driving.
Attempts:
2 left
💡 Hint

Think about what you really need to know to use something effectively.

trace
intermediate
2:00remaining
Trace the abstraction layers in a smartphone call

When you make a call on a smartphone, several layers work together. Which step shows abstraction focusing on what matters?

Steps:

  1. You press a contact's name.
  2. The phone converts the name to a number.
  3. The phone sends signals to the network.
  4. The network connects the call.
AConnecting the call through the network.
BSending signals to the network.
CPressing the contact's name without seeing the number.
DConverting the name to a number.
Attempts:
2 left
💡 Hint

Which step hides details and lets you focus on what you want?

Comparison
advanced
2:00remaining
Which example best shows abstraction in software design?

Choose the example that best demonstrates abstraction by focusing on what matters.

AA script that requires the user to input every single calculation step manually.
BA program that shows every step of how the computer processes data in detail to the user.
CA user interface that displays all code behind the scenes to the user.
DA function that calculates the area of any shape by taking only the shape type and dimensions as input.
Attempts:
2 left
💡 Hint

Look for the option that hides complexity and shows only what is needed.

identification
advanced
2:00remaining
Identify the abstraction level in a flowchart

Below is a flowchart for making a cup of tea. Which step is an abstraction focusing on what matters?

Flowchart steps:

  1. Boil water
  2. Place tea bag in cup
  3. Pour water into cup
  4. Wait 3 minutes
  5. Remove tea bag
  6. Add sugar or milk if desired
ABoiling water without explaining how the kettle works.
BWaiting 3 minutes for the tea to brew.
CAdding sugar or milk with exact measurements.
DRemoving the tea bag carefully.
Attempts:
2 left
💡 Hint

Which step hides complex details and focuses on the main action?

🚀 Application
expert
3:00remaining
Apply abstraction to simplify a complex task

You want to explain how to send an email to a friend who knows nothing about computers. Which explanation best uses abstraction focusing on what matters?

AClick 'Compose', type your message, enter the friend's email, and press 'Send'. Don't worry about how the internet works.
BOpen the email program, understand SMTP and TCP/IP protocols, configure servers, then send the message.
CWrite the email, convert it to binary code, and manually send packets through the network.
DExplain how to build a computer first, then how to connect to the internet, then how to send emails.
Attempts:
2 left
💡 Hint

Focus on what the friend needs to do, not the technical details.