Search Header Logo

Apple Development - Unit 1 - Getting started with App Developmen

Computers

9th - 12th Grade

Used 8+ times

Apple Development - Unit 1 - Getting started with App Developmen
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

39 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a great environment for prototyping Swift code?

Playgrounds

Safari

Terminal

Xcode

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code print to the console?

let helloWorld = “Hello, world!”

let helloPlayground = “Hello, playground!”

let goodbyePlayground = “Goodbye, playground!”

 

print(“Testing, testing, 1-2-3”)

A.    “Goodbye, playground!”

“Hello, world!”

A.    “Hello, playground!”

"Testing, testing, 1-2-3"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

    Player level

   Player location

Player Name

Player Score

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

   Which keyboard is used to declare a constant?

Const

Let

Var

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

    Which keyword is used to declare a variable?

Const

Let

Var

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  Which of the following is not a reason for declaring most values as constants?

It is a best practice

It is safer, developers can rely on a consistent value

Most values never change

The compiler can make special optimizations for immutable values

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

let speedLimit = 75.0

  let country = “Belgium”

    let population = 142000

var state = "Rhode Island"

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?