What is the output of the following code?
Swift
let age = 30
print("My age is \(age)")
Apple Academy Indonesia Quiz
Quiz
•
Information Technology (IT)
•
Professional Development
•
Hard
reyner subrata
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the following code?
Swift
let age = 30
print("My age is \(age)")
My age is age
My age is 30
My age is (age)
Error
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the Optional type in Swift?
To represent a value that might be missing.
To store multiple values in a single variable.
To define a constant value.
To create a loop.
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which keyword is used to define a function in Swift?
method
function
func
define
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the guard statement in Swift?
To handle errors.
To create a loop.
To define a function.
To check for a condition and exit early if it's not met.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the design pattern used to notify objects about changes in another object?
Singleton
Delegate
Observer
Factory
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the concept of Grand Central Dispatch (GCD) and how it helps in iOS development.
GCD is a framework for managing concurrent operations by distributing them to different queues, which helps improve app responsiveness and performance.
GCD is a way to store data in a key-value format, making it easy to access and retrieve information.
GCD is a networking library that simplifies making API calls and handling network requests.
GCD is a UI framework that helps create complex animations and transitions.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berapakah kode pos dari gedung apple developer academy?
15343
15345
13545
15435
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these celebrities has NEVER appeared in an Apple commercial?
John Travolta
Justin Timberlake
Taylor Swift
Bill Gates
7 questions
Docker-Compose Quiz (Basics)
Quiz
•
Professional Development
10 questions
VEX Data Types 1
Quiz
•
Professional Development
10 questions
JavaScript Conditional Logic Quiz
Quiz
•
Professional Development
11 questions
DEAM (Quiz 1)
Quiz
•
Professional Development
10 questions
Web Development Mastery
Quiz
•
Professional Development
10 questions
[FE] Ice Breaking - TypeScript Fundamentals and Data Structures
Quiz
•
Professional Development
12 questions
Cyber August Retro Energizer
Quiz
•
Professional Development
8 questions
Recuperação - Robótica (T1 AV1)
Quiz
•
Professional Development
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade