Search Header Logo

ARC swift

Authored by Alex Zverev

Computers

1st - 5th Grade

Used 2+ times

ARC swift
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

/// # EXAMPLE 1 # output is....

User and Message are Deinited

Only User is Deinited

Only Message is Deinited

Nothing is Deinited

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

# EXAMPLE 2 # output is ...

Hi

deinitialized

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

# EXAMPLE 3 # output is ....

Nothing

"Hi"

"Hi" and then "Deinitialised"

"Deinitialised", but without "Hi"

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Example 4 Output is ...

Hi

Deinitialised

Nothing

"Hi" and "Deinitialized"

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Example 5 , what's true about this code?

Deinit was called

Cmon,

it's a memory leak,

obviously!

Can't say, but potentially it's a memory leak

I had a great lunch today!

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

The Final Example Output is ...

0) 0 777

2) 0 333

3) 0 333

4) 1 999

0) 0 777

3) 0 777

2) 0 333

4) 2 333

0) 0 777

3) 0 777

2) 1 333

4) 2 333

0) 0 777

3) 0 777

2) 1 999

4) 2 333

0) 0 777

3) 0 777

2) 0 999

4) 2 333

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?