Pathway

Pathway

Professional Development

45 Qs

quiz-placeholder

Similar activities

Bible Game (WOMEN IN THE BIBLE)

Bible Game (WOMEN IN THE BIBLE)

Professional Development

40 Qs

TMS Laravel Test

TMS Laravel Test

Professional Development

40 Qs

II_III Years-Java, Python, and C Quiz

II_III Years-Java, Python, and C Quiz

Professional Development

50 Qs

Information Storage & Management Assessment (Set B)

Information Storage & Management Assessment (Set B)

Professional Development

50 Qs

Test web development

Test web development

Professional Development

48 Qs

Advance Hydraulic HD785-7

Advance Hydraulic HD785-7

Professional Development

45 Qs

Final Day Quiz for ICT Skill Share

Final Day Quiz for ICT Skill Share

4th Grade - Professional Development

41 Qs

RA-VIGNITE SILVER SALES- 21/02

RA-VIGNITE SILVER SALES- 21/02

Professional Development

40 Qs

Pathway

Pathway

Assessment

Quiz

Other

Professional Development

Hard

Created by

chien nguyen

Used 9+ times

FREE Resource

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which keyword is used to declare a constant in Swift?

let

var

const

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In Swift, can the value of a constant be changed after it has been declared?

True

False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which Swift data type is used to represent a sequence of characters?

String

Character

Array

Set

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which property can be used to get the number of characters in a string in Swift?

count

length

size

sizeOf

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How can we write a single-line comment in Swift?

<!-- This is a comment -->

/* This is a comment */

// This is a comment

# This is a comment

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is readLine() used for in Swift?

To read a text file

To read user input from the command line

To read data from a URL

To read an array

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In Swift, what does the ! symbol mean when placed after a variable?

It declares a new Optional variable

It increments the value of a variable

It implicitly unwraps an Optional variable

It indicates a factorial operation

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?