Python-04-2-Procedure&Function

Python-04-2-Procedure&Function

7 Qs

quiz-placeholder

Similar activities

Jaringan Komputer dan Internet Kelas 8

Jaringan Komputer dan Internet Kelas 8

KG - University

11 Qs

Up to Multi-Step Word Problems

Up to Multi-Step Word Problems

KG - University

10 Qs

Thử thách 3: Hỏi gì đáp nấy

Thử thách 3: Hỏi gì đáp nấy

12th Grade

10 Qs

MID-TERM REVISION

MID-TERM REVISION

KG - University

10 Qs

DAKWAH WALI SONGO DI INDONESIA

DAKWAH WALI SONGO DI INDONESIA

KG - University

12 Qs

EPP 5 AGRICULTURE GAME QUIZ 1

EPP 5 AGRICULTURE GAME QUIZ 1

5th Grade

10 Qs

Python-04-2-Procedure&Function

Python-04-2-Procedure&Function

Assessment

Quiz

others

Practice Problem

Hard

Created by

Chun-Jung Lin

FREE Resource

AI

Enhance your content in a minute

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

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Consider the following tuple: say_what=('say',' what', 'you', 'will') What is the result of the following say_what[-1] ?

'will'
'what'
'you'
'say '

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Consider the following tuple A=(1,2,3,4,5), what is the result of the following:A[1:4]:

(2, 3, 4, 5)
(3, 4, 5)
(2, 3, 4)

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Consider the following tuple A=(1,2,3,4,5). What is the result of the following: len(A)

6
5
4

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Consider the following list B=[1,2,[3,'a'],[4,'b']]. What is the result of the following: B[3][1]

"c"
"b"
[4,"b"]

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the result of the following operation? [1,2,3]+[1,1,1]

TypeError
[1, 2, 3, 1, 1, 1]
[2,3,4]

6.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the length of the list A = [1] after the following operation: A.append([2,3,4,5])

2
5

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the result of the following: "Hello Mike".split()

["H"]
["HelloMike"]
["Hello","Mike"]

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?