stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Swift Revision Flashcards | StudBud
Explore
/
Swift Revision
Swift Revision
7 terms
·
StudBud Administration
·
27 plays
Review some key terms and concepts from intro to swift programming language
Flashcards
7 cards
F
Practice quiz
P
Host live
L
Questions
7
Answers
1
Which of the following would be classified as a double value?
3
A big one
4.22
4.33
2
how do you define a constant?
let
con
=
constant
3
Do you need to declare a variable or constant type every time you create a new variable?
Yes!
No!
4
What kind of value has to be used for an integer?
Number
Decimal Number
Binary
Whole Number
5
Where would a string value be useful
Storing names of users
connecting balloons
connect multiple values
attaching one value to another
6
Can you add perform an operation on a double value with an integer value? eg 2*4.5
No, don't be silly
They said there would be food...
Yes, of course.
Bananas
7
What does a boolean type do?
records binary or hexdecimal values
records large number set values
records scary values
Record true or false values