0
0
Intro to Computingfundamentals~10 mins

Algorithm design (planning solutions) in Intro to Computing - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start the algorithm by defining the first step.

Intro to Computing
step1 = "[1]"
Drag options to blanks, or click blank then click option'
ARun the program
BWrite the code
CIdentify the problem
DTest the output
Attempts:
3 left
💡 Hint
Common Mistakes
Starting with writing code before understanding the problem
Trying to test output without a plan
2fill in blank
medium

Complete the code to represent the step where you plan the solution.

Intro to Computing
step2 = "[1]"
Drag options to blanks, or click blank then click option'
ADesign the algorithm
BRun the program
CDebug the code
DIdentify the problem
Attempts:
3 left
💡 Hint
Common Mistakes
Skipping the design and jumping to coding
Confusing debugging with planning
3fill in blank
hard

Fix the error in the code to correctly represent the step where you check the algorithm.

Intro to Computing
step3 = "[1]"
Drag options to blanks, or click blank then click option'
ATest the algorithm
BWrite the code
CIdentify the problem
DIgnore errors
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing testing with writing code
Ignoring errors during planning
4fill in blank
hard

Fill both blanks to complete the algorithm design steps in order.

Intro to Computing
steps = ["[1]", "[2]"]
Drag options to blanks, or click blank then click option'
AIdentify the problem
BWrite the code
CDesign the algorithm
DTest the algorithm
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing the order of steps
Starting with coding before planning
5fill in blank
hard

Fill all three blanks to complete the main steps of algorithm design.

Intro to Computing
algorithm_steps = ["[1]", "[2]", "[3]"]
Drag options to blanks, or click blank then click option'
AIdentify the problem
BDesign the algorithm
CTest the algorithm
DRun the program
Attempts:
3 left
💡 Hint
Common Mistakes
Skipping testing
Running the program before testing the algorithm