
Apple Swift Coding I - Lesson 3 - 4
Computers
9th - 12th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the escape character for?
Undoing the last program command
Telling the computer to quit an app
Skipping the rest of the string
Treating the next character in a special way
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the escape character for coding in Swift?
/
\
!
'
ESC
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a character in programming?
A distinguished coder like Ada Lovelace or Alan Turing
A letter from A to Z
A piece of a string like a letter punctuation mark, or number
The first 140 ADCII symbols
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The second line below has a "use of unresolved identifier" error. What does that mean?
Names need to match capital and lowercase letters; it should be playgroundName
playGroundName isn't a String
The string interpolation is done wrong; it should use a /
You can't repeat names
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression "1" + "1"
Hint: Not sure? Open the Strings playground, type it in and try it. That's not cheating: programmers try out little bits of code in Playgrounds all the time.
2
"2"
11
"11"
"1 1"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these are strings?
let myLuckyNumber = 42
"\"Curiouser and curiouser,\" said Alice."
Neither
Both A and B
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these are strings?
"$9.99"
"100%"
Neither
Both A and B
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
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
12 questions
Examen final algoritmo
Quiz
•
11th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
12 questions
Quizz Internet
Quiz
•
KG - Professional Dev...
10 questions
Inspire - AI Trivia
Quiz
•
11th Grade
12 questions
Tecnología Digital
Quiz
•
12th Grade
10 questions
Empowerment Technologies Quiz 2
Quiz
•
11th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade