Search Header Logo

Swift playground - about me module

Authored by Izza Akma

Computers

11th Grade

Used 11+ times

Swift playground - about me module
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a property in Swift?

A function that performs an action

A variable that describes an attribute of an object

A type of loop used in coding

A keyword used to import modules

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code would you use to change the background color of your profile?

.foregroundColor(.blue)

.background(.blue)

.color(.blue)

.font(.blue)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What Swift feature allows you to add emojis or special characters to your profile?

  • Text

  • Image

  • Symbol

  • Shape

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ZStack is used to layer views on top of each other in Swift Playgrounds.

TRUE

FALSE

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

During a group project, Maya used the ______ component to arrange elements horizontally on the presentation slide.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which component is used to group views in a vertical layout?

  • HStack

  • VStack

  • ZStack

  • GridStack

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Michael is learning Swift Playgrounds and wants to change the color of the text in his project. Which property should he use to achieve this?

.font

  • .color

  • .foregroundColor

  • .textColor

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?