0
0
Intro to Computingfundamentals~10 mins

Why AI is transforming technology in Intro to Computing - Test Your Understanding

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

Complete the code to print a simple AI greeting message.

Intro to Computing
print([1])
Drag options to blanks, or click blank then click option'
A"Hello, AI world!"
BHello, AI world!
CHello AI world
Dprint("Hello, AI world!")
Attempts:
3 left
💡 Hint
Common Mistakes
Forgetting quotes around the text
Trying to print without parentheses
2fill in blank
medium

Complete the code to create a list of AI technologies.

Intro to Computing
ai_tech = [[1]]
Drag options to blanks, or click blank then click option'
A"Machine Learning" 'Deep Learning' "NLP"
BMachine Learning, Deep Learning, NLP
C'Machine Learning', 'Deep Learning', 'NLP'
D"Machine Learning", "Deep Learning", "NLP"
Attempts:
3 left
💡 Hint
Common Mistakes
Missing quotes around items
Not separating items with commas
3fill in blank
hard

Fix the error in the code that checks if AI is transforming technology.

Intro to Computing
if ai_impact [1] "transforming":
    print("AI is transforming technology")
Drag options to blanks, or click blank then click option'
A=
B==
C!=
D=>
Attempts:
3 left
💡 Hint
Common Mistakes
Using '=' instead of '==' in conditions
Using invalid operators like '=>'
4fill in blank
hard

Fill both blanks to create a dictionary mapping AI fields to their descriptions.

Intro to Computing
ai_fields = { [1]: [2] for [1] in ["ML", "NLP", "CV"]}
Drag options to blanks, or click blank then click option'
A"field"
B"description"
Cfield
Dfield.upper()
Attempts:
3 left
💡 Hint
Common Mistakes
Using quotes around variable names
Not using a method to transform values
5fill in blank
hard

Fill all three blanks to filter AI technologies with names longer than 3 characters.

Intro to Computing
filtered_ai = { [1]: [2] for [1] in ai_tech if len([3]) > 3 }
Drag options to blanks, or click blank then click option'
Atech
Btech.upper()
Dtechnology
Attempts:
3 left
💡 Hint
Common Mistakes
Using different variable names inconsistently
Not applying the length check correctly