
Variables in Swift Playground Quiz

Quiz
•
Computers
•
9th Grade
•
Medium

Yaseen Al-Zubaidy
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Swift?
A value that can be changed
A value that is constant
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in Swift?
Using the keyword "let"
Using the keyword "var"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to declare a constant in Swift?
let
var
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type of the variable "age: Int" in Swift?
String
Integer
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of a variable "name" after the following code in Swift: "var name = "John""?
"John"
"Jane"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Swift, can you change the data type of a variable once it's declared?
Yes
No
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the symbol used for concatenating strings in Swift?
+
&
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
PYTHON PROGRAMMING FUNDAMENTALS

Quiz
•
11th Grade
15 questions
Python Basics

Quiz
•
KG - University
6 questions
Javascript variables

Quiz
•
12th Grade
9 questions
Python Variable Scope and Stack Frames

Quiz
•
11th Grade
10 questions
Grade 9 - User Defined Methods

Quiz
•
9th Grade
10 questions
TLE Q3 M4

Quiz
•
10th Grade
10 questions
TLE QUIZZIZ 2

Quiz
•
9th - 12th Grade
10 questions
Java Script

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade