Search Header Logo

Native mobile development

Authored by Symbat Nurgaliyeva

Education

University

Used 4+ times

Native mobile development
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is Swift?

A programming language developed by Microsoft.

A tool used to design user interfaces.

A powerful and intuitive programming language by Apple.

A library for handling backend databases.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of an optional in Swift?

To perform mathematical calculations.

To represent a value that can either exist or be nil.

To create loops for repetitive tasks.

To handle errors in Swift programs.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid declaration of an optional?

let name = "John"

var score = Int!

var userName: String? = nil

let pi = 3.14

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will this code print?

"It's hot outside!"

"It's cold."

An error message

Nothing

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you declare a constant in Swift?

Using var keyword

Using const keyword

Using let keyword

Using final keyword

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which logical operator ensures BOTH conditions are true?

&&

||

!

==

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will this loop print?

1 2 3 4

1 2 4

1 2

1 4

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Education