0
0
Intro to Computingfundamentals~10 mins

Mobile operating systems (iOS, Android) 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 print the name of a popular mobile operating system.

Intro to Computing
print("The most popular mobile OS is [1].")
Drag options to blanks, or click blank then click option'
ALinux
BWindows
CAndroid
DmacOS
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing desktop operating systems instead of mobile ones.
2fill in blank
medium

Complete the sentence to name the mobile OS exclusive to Apple devices.

Intro to Computing
The mobile operating system exclusive to iPhones is called [1].
Drag options to blanks, or click blank then click option'
AAndroid
BiOS
CWindows Phone
DBlackBerry OS
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing Android with iOS.
3fill in blank
hard

Fix the error in the code that checks if a device runs Android.

Intro to Computing
device_os = "iOS"
if device_os == [1]:
    print("This device runs Android.")
Drag options to blanks, or click blank then click option'
A"Android"
Bdevice_os
C"iOS"
DAndroid
Attempts:
3 left
💡 Hint
Common Mistakes
Forgetting quotes around string literals.
Comparing to the wrong OS name.
4fill in blank
hard

Fill both blanks to create a list of mobile OS names and print the first one.

Intro to Computing
mobile_os = [[1], [2]]
print(mobile_os[0])
Drag options to blanks, or click blank then click option'
A"Android"
B"Windows"
C"iOS"
D"Linux"
Attempts:
3 left
💡 Hint
Common Mistakes
Not using quotes for strings.
Using desktop OS names instead.
5fill in blank
hard

Fill all three blanks to create a dictionary mapping OS names to their developers and print the developer of iOS.

Intro to Computing
os_developers = {
    [1]: [2],
    [3]: "Google"
}
print(os_developers["iOS"])
Drag options to blanks, or click blank then click option'
A"iOS"
B"Apple"
C"Android"
D"Microsoft"
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up keys and values.
Forgetting quotes around strings.