Search Header Logo
Arrays in Swift

Arrays in Swift

Assessment

Presentation

Computers

9th - 10th Grade

Medium

Created by

Fahad Khan

Used 21+ times

FREE Resource

13 Slides • 7 Questions

1

media

2

media

3

media

4

media

5

media

6

media

7

Multiple Choice

Which of the following is NOT a data collection in Swift programming?

1

Arrays

2

Strings

3

Sets

4

Dictionaries

8

Multiple Choice

The index number of an array always starts from 0.

1

True

2

False

9

media

10

media

11

Multiple Choice

Question image

What is the output of this program?

1

["Bahrain", "Kuwait", "UAE", "Egypt", "Qatar"]

2

Error

3

4

4

5

12

Multiple Choice

Question image

What is the output of the given program?

1

True

2

False

13

Multiple Choice

Question image

What is the output of the given program?

1

True

2

False

14

media

15

media

16

Multiple Choice

Question image

What is the ouput of this program?

1

["Bahrain", "Egypt", "Kuwait", "UAE", "Qatar"]

2

["Bahrain", "Egypt", "Kuwait", "Qatar", "UAE"]

3

["UAE", "Qatar", "Kuwait", "Egypt", "Bahrain"]

4

["Bahrain", "Kuwait", "UAE", "Egypt", "Qatar"]

17

Multiple Choice

Question image

What is the output of the given program?

1

[61, 57, 42, 39, 28]

2

[42, 57, 39, 28, 61]

3

[28, 39, 42, 57, 61]

4

[28, 39, 42, 61, 57]

18

media

19

media

20

media
media

Show answer

Auto Play

Slide 1 / 20

SLIDE