cs1010e tutorial 3

cs1010e tutorial 3

University

5 Qs

quiz-placeholder

Similar activities

Marginal Conditions of Pareto Optimality with Edgeworth Box

Marginal Conditions of Pareto Optimality with Edgeworth Box

University

10 Qs

BPO

BPO

University

10 Qs

independent/dependent variables

independent/dependent variables

KG - University

10 Qs

Guess the band!

Guess the band!

University

10 Qs

Management Accounting test 1

Management Accounting test 1

University

10 Qs

Elementary Arts Teaching Quiz

Elementary Arts Teaching Quiz

University

10 Qs

Rianxo Gaming Beach Music Party

Rianxo Gaming Beach Music Party

University

10 Qs

Untitled Quiz

Untitled Quiz

2nd Grade - University

10 Qs

cs1010e tutorial 3

cs1010e tutorial 3

Assessment

Quiz

Arts

University

Practice Problem

Hard

Created by

Windsor Koh

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the expected output when this code is run?

1

2

3

None of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the expected output when this code is run?

cs1010e

cs10e10

Error

None of the above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What should go in the blank to achieve the desired output?

i

foo

foo[i]

'abc'

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What code should go in the blank to achieve the desired output?

range(len(foo))

range(foo)

len(foo)

len(range(foo))

foo

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

Given this function, which of these statement(s) is/are true?

thisfunction('abc') returns True

thisfunction('abc') returns False

thisfunction('bc') returns True

thisfunction('bc') returns False

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?