Lesson 9 - Apple Swift Coding 1
Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Used 5+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type is foo in the code below? let foo = "Hello"
Let
String
"Hello"
Hello
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type is foo in the code below? let foo = 42
Double
foo
42
Int
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type is foo in the code below? let foo: Double = 42
Double
foo
42
Int
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type is foo in the code below? var foo: SolarPhenomen
SolarPhenomenon
Interstellar
variable
Not possible to tell
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one way Swift determines the type of a value in your code?
Type intrusion
Type allegiance
Type writing
Type inference
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does Swift decide what type distance should be? let distance: Double = 4
Type inference
Type annotation
Typewriting
Type interference
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line shows correct type annotation in Swift?
String: let name
let String: name
let name: String
let String
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Information processing cycle
Quiz
•
10th Grade
12 questions
АЛГОРИТМІЗАЦІЯ 7 КЛ частина 1
Quiz
•
12th Grade
10 questions
Scratch (28th March)
Quiz
•
KG - University
11 questions
Cyber Security Solutions
Quiz
•
9th - 12th Grade
11 questions
Understanding Motherboards: A Quiz
Quiz
•
11th Grade - University
10 questions
CHƯƠNG TRÌNH CON BT1
Quiz
•
10th - 12th Grade
10 questions
DTJSQuiz
Quiz
•
11th Grade
10 questions
Grade9-Sensors
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
