Apple Swift Coding I - Lesson 3 - 4

Apple Swift Coding I - Lesson 3 - 4

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

Computer Security

Computer Security

8th - 10th Grade

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

WAN Sesi 1

WAN Sesi 1

1st Grade - University

10 Qs

11 сыныпқа арналған тест тапсырмалары

11 сыныпқа арналған тест тапсырмалары

11th Grade

9 Qs

Chapter 8 Week 1

Chapter 8 Week 1

9th - 12th Grade

11 Qs

Debugging Challenge 2

Debugging Challenge 2

7th - 12th Grade

15 Qs

Apple Swift Coding I - Lesson 3 - 4

Apple Swift Coding I - Lesson 3 - 4

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?