Apple Swift Coding I - Lesson 3 - 4

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Used 9+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Arrays and Lists

Quiz
•
6th - 12th Grade
10 questions
String Manipulation Quiz

Quiz
•
10th - 11th Grade
11 questions
JS: Conditionals!

Quiz
•
6th Grade - University
16 questions
Device Configuration and Management- Domains 3 & 4

Quiz
•
9th - 12th Grade
15 questions
AP CSP Unit 4: Lesson 15: Assessment Day

Quiz
•
9th - 12th Grade
8 questions
Basics of JavaScript

Quiz
•
12th Grade
16 questions
An introduction to Arduino

Quiz
•
10th - 11th Grade
14 questions
TechSmart Unit 1 Vocabulary Text

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade