Search Header Logo

Lesson 21- Matrix manipulation

Authored by NotchUp .co

Professional Development, Education

5th - 8th Grade

Lesson 21- Matrix manipulation
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following program ?

x=[[1,2,3],[4,5,6],[7,8,9]]

print(x[0][2])

5

4

3

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times the ‘hii’ will be printed ?

2

12

1

nothing

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following program ?

{}

{1,2,3}

{1,2,3,4}

none

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following program ?

{1,4}

{2,5,3,2}

{1,2,3,4}

none

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code ?

{10,20,30,40}

{20,30}

{2,3,4}

none

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of following code ?

s={1,2,3,4,5,2,4,1}

t=tuple(s)

print(t)

[1,2,3,4,5,2,4,1]

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

{1,2,4}

none

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can you change the elements of the tuple ?

yes

no

can't say

may or may not be

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?

Discover more resources for Professional Development