0
0
AI for Everyoneknowledge~10 mins

Setting up AI routines for daily use in AI for Everyone - Interactive Practice

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

Complete the code to start your AI routine by setting a daily reminder.

AI for Everyone
set_reminder(time=[1], message="Start AI routine")
Drag options to blanks, or click blank then click option'
A8
Btrue
Cdaily
D"8:00 AM"
Attempts:
3 left
💡 Hint
Common Mistakes
Using a number instead of a string for time.
Forgetting to include minutes in the time string.
2fill in blank
medium

Complete the code to activate the AI assistant when you say the wake word.

AI for Everyone
if voice_input == [1]:
    activate_ai()
Drag options to blanks, or click blank then click option'
A"Hello AI"
BTrue
C"Activate"
D1
Attempts:
3 left
💡 Hint
Common Mistakes
Using a boolean value instead of a string.
Not using quotes around the wake word.
3fill in blank
hard

Fix the error in the code to schedule a daily AI task.

AI for Everyone
schedule_task(task_name="Check emails", repeat=[1])
Drag options to blanks, or click blank then click option'
Aweekly
B"daily"
Cdaily
Dtrue
Attempts:
3 left
💡 Hint
Common Mistakes
Using daily without quotes causes a syntax error.
Using a boolean or unquoted word instead of a string.
4fill in blank
hard

Fill both blanks to create a dictionary of AI tasks with their scheduled times.

AI for Everyone
ai_tasks = {"morning": [1], "evening": [2]
Drag options to blanks, or click blank then click option'
A"5:00 AM"
B"9:00 PM"
C"8:00 PM"
D"6:00 AM"
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up morning and evening times.
Not using quotes around the time strings.
5fill in blank
hard

Fill both blanks to filter AI tasks that run after 6 PM.

AI for Everyone
filtered_tasks = {task: time for task, time in ai_tasks.items() if time [1] [2]
Drag options to blanks, or click blank then click option'
A>
B<
C"6:00 PM"
D>=
Attempts:
3 left
💡 Hint
Common Mistakes
Using the wrong comparison operator.
Not quoting the time string.