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
TIN 11- KIỂU XÂU
Quiz
•
11th Grade
12 questions
limbajul pascal
Quiz
•
10th Grade
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
13 questions
python A
Quiz
•
10th Grade
13 questions
Раздел 5, информатика, 8 класс
Quiz
•
10th Grade
10 questions
ICT Java programming workshop
Quiz
•
9th Grade
10 questions
CALL: Causative Verb
Quiz
•
10th - 11th Grade
12 questions
website design elements
Quiz
•
12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
