Swift Programming Course Assessment

Swift Programming Course Assessment

Professional Development

30 Qs

quiz-placeholder

Similar activities

Health & Safety CSCS

Health & Safety CSCS

1st Grade - Professional Development

25 Qs

Round-2 Quiz

Round-2 Quiz

Professional Development

25 Qs

Professional Policing Exam

Professional Policing Exam

University - Professional Development

28 Qs

Travel Industry Terms

Travel Industry Terms

Professional Development

25 Qs

SJIT ECE PLACEMENT PRACTICE TEST-1 @ 8/7/23

SJIT ECE PLACEMENT PRACTICE TEST-1 @ 8/7/23

Professional Development

25 Qs

Datacube First Competition

Datacube First Competition

Professional Development

35 Qs

Quiz Reglas de Juego

Quiz Reglas de Juego

Professional Development

28 Qs

EXAMEN PARCIAL REGLAS DE JUEGO 1 AL 6

EXAMEN PARCIAL REGLAS DE JUEGO 1 AL 6

Professional Development

28 Qs

Swift Programming Course Assessment

Swift Programming Course Assessment

Assessment

Quiz

Specialty, Education, Other

Professional Development

Medium

Used 8+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following values would be best represented with a constant

Name

Age

Location

Score

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following would be best represented with a variable?

Name

Birthday

Age

Address

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a constant?

const

let

var

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a variable?

const

var

let

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Refers to the automatic detection of the data type of an expression in a programming language

Function

Variable

Type

Type Inference

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Using type inference, which of the following variables would be assgined a Double type?

var state = "Metro Manila"

let country = "Philippines"

let population = 1243456

let speedLimit = 75.0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Will the code compile? Why?

let number : Double = 3

Yes, because the compiler will assign the value 3.0 to number

Yes, becuase 3 is a Double

No, because 3 is not a Double

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?