Bird
Raised Fist0
Intro to Computingfundamentals~20 mins

Next steps in your computing journey in Intro to Computing - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Computing Fundamentals Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding the role of algorithms

Imagine you want to bake a cake. You follow a recipe step-by-step. In computing, what is the equivalent of this recipe?

AA list of ingredients
BA computer program's output
CAn algorithm
DA computer's hardware
Attempts:
2 left
💡 Hint

Think about what guides the steps to solve a problem.

❓ trace
intermediate
2:00remaining
Tracing a simple program's output

What will be the output of the following Python code?

numbers = [1, 2, 3]
result = 0
for n in numbers:
    result += n * 2
print(result)
A9
B12
C6
DError
Attempts:
2 left
💡 Hint

Multiply each number by 2 and add them all up.

❓ Comparison
advanced
2:00remaining
Comparing data storage types

Which of the following best compares RAM and Hard Drive in a computer?

ARAM is temporary memory used for active tasks; Hard Drive stores data permanently
BRAM stores data permanently; Hard Drive stores data temporarily
CRAM is slower than Hard Drive but holds more data
DRAM and Hard Drive are the same and used interchangeably
Attempts:
2 left
💡 Hint

Think about what happens when you turn off your computer.

❓ identification
advanced
2:00remaining
Identifying the output of a flowchart

Consider a flowchart that starts with a number 5, then subtracts 1 repeatedly until the number is 0, counting how many times subtraction happens. What is the final count?

A5
B4
C6
D0
Attempts:
2 left
💡 Hint

Count how many times you subtract 1 from 5 to reach 0.

🚀 Application
expert
2:00remaining
Choosing the best next step in learning computing

You have learned basic programming concepts like variables, loops, and conditionals. What is the best next step to deepen your computing skills?

AMemorize all programming languages syntax without practice
BImmediately build a complex app without planning
CIgnore programming and focus only on hardware
DStart learning about data structures like lists and dictionaries
Attempts:
2 left
💡 Hint

Think about what helps organize and manage data efficiently.

Practice

(1/5)
1. What is the best first step when starting your computing journey?
easy
A. Only watch videos without practicing
B. Buy the most expensive computer
C. Skip learning and start coding complex programs
D. Learn the basics of how computers work

Solution

  1. Step 1: Understand the importance of basics

    Starting with basics helps build a strong foundation for future learning.
  2. Step 2: Evaluate options

    Options A, B, and C skip important foundational steps or are not effective for learning.
  3. Final Answer:

    Learn the basics of how computers work -> Option D
  4. Quick Check:

    Basics first = D [OK]
Hint: Start simple to build a strong foundation [OK]
Common Mistakes:
  • Trying to learn advanced topics too soon
  • Ignoring how computers work
  • Not practicing regularly
2. Which of the following is the correct way to write a simple print statement in Python?
easy
A. print('Hello, world!')
B. echo 'Hello, world!'
C. console.log('Hello, world!')
D. printf('Hello, world!')

Solution

  1. Step 1: Identify the language syntax

    Python uses the print() function to display output.
  2. Step 2: Match options to Python syntax

    Only print('Hello, world!') uses correct Python syntax; others belong to different languages.
  3. Final Answer:

    print('Hello, world!') -> Option A
  4. Quick Check:

    Python print = B [OK]
Hint: Remember Python uses print() for output [OK]
Common Mistakes:
  • Using syntax from other languages
  • Missing parentheses in print
  • Using quotes incorrectly
3. What will be the output of this Python code?
count = 0
for i in range(3):
    count += i
print(count)
medium
A. 6
B. 0
C. 3
D. Error

Solution

  1. Step 1: Trace the loop iterations

    range(3) gives i values 0, 1, 2. Adding these to count: 0+0=0, 0+1=1, 1+2=3.
  2. Step 2: Calculate final count value

    After loop, count is 3.
  3. Final Answer:

    3 -> Option C
  4. Quick Check:

    Sum 0+1+2 = 3 [OK]
Hint: Add loop values carefully to find sum [OK]
Common Mistakes:
  • Adding one extra number
  • Confusing range end value
  • Assuming count starts at 1
4. Identify the error in this Python code:
for i in range(5)
    print(i)
medium
A. Incorrect indentation of print statement
B. Missing colon ':' after range(5)
C. range() function is not defined
D. print() cannot be used in loops

Solution

  1. Step 1: Check syntax of for loop

    Python requires a colon ':' at the end of the for loop declaration line.
  2. Step 2: Verify indentation

    Indentation of print is correct; range() is built-in; print() works in loops.
  3. Final Answer:

    Missing colon ':' after range(5) -> Option B
  4. Quick Check:

    For loop needs ':' = A [OK]
Hint: Look for missing colons in loop statements [OK]
Common Mistakes:
  • Ignoring missing colon errors
  • Misunderstanding indentation rules
  • Thinking range() needs import
5. You want to practice programming regularly. Which plan will help you improve the most?
hard
A. Write small programs daily and review mistakes
B. Only read programming books without coding
C. Try to memorize code without understanding
D. Code only once a month for long hours

Solution

  1. Step 1: Understand effective learning habits

    Regular practice with small tasks helps build skills steadily.
  2. Step 2: Compare options

    Options B, C, and D lack practice, understanding, or consistency, which slows progress.
  3. Final Answer:

    Write small programs daily and review mistakes -> Option A
  4. Quick Check:

    Practice + review = A [OK]
Hint: Practice daily with small tasks for steady progress [OK]
Common Mistakes:
  • Ignoring regular practice
  • Focusing on memorization only
  • Coding infrequently with long breaks
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard