Swift Programming Basics: Syntax, Data
Types, and Control Structures UPDATED
Study Guide QUESTIONS AND
CORRECT ANSWERS
- Swift - CORRECT ANSWERS A programming language
developed by Apple for iOS and macOS applications.
Syntax - CORRECT ANSWERS The set of rules that defines
the combinations of symbols that are considered to be correctly
structured programs in a language.
Error (logical vs syntax) - CORRECT ANSWERS Logical
errors occur when the program runs but produces incorrect results;
syntax errors occur when the code does not conform to the language's
syntax rules.
Remainder Operator (MOD) - CORRECT ANSWERS An
operator that returns the remainder of a division operation.
String Interpolation - CORRECT ANSWERS A method of
embedding variables within a string literal.