Operators in Swift Programming
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Fahad Khan
Used 5+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the Swift expression 8 - 3 * 2?
2
16
5
0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If x = 12 and y = 4, what is the value of x / 2 + y ?
6
8
10
12
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to calculate the remainder when one number is divided by another?
-
/
*
%
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression 6 * (4 + 2) in Swift?
18
36
12
24
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a = 7 and b = 3, what is the value of a % b + 1 ?
3
4
2
1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Swift, what does the != operator check for?
Greater than
Less than
Inequality
Assignment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression (10 < 5) && (3 > 1) in Swift?
True
False
Undefined
Error
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
17 questions
Email Lớp 6
Quiz
•
6th Grade - University
15 questions
UH 1 BTIK
Quiz
•
10th Grade
20 questions
Structure of a Webpage
Quiz
•
10th Grade
10 questions
Social media influencers
Quiz
•
6th - 12th Grade
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
15 questions
J808 LO1 and LO2 planning project keywords / terms
Quiz
•
9th - 11th Grade
10 questions
Recursion Practice, Recursion Practice, Recursion Practice...
Quiz
•
10th Grade - University
10 questions
INTERNET AND INTRANET
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
