Search Header Logo

AI Beginners level 3

Authored by Anusha Jain

Computers

2nd - 9th Grade

Used 1+ times

AI Beginners level 3
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

Which one is correct for giving [5] as output in list [1,2,3,4,5]?

[4:]

[-1:]

Both

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is correct for giving [3] as output in list [1,2,3,4,5]?

[0]

[1]

[2]

[3]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can positive indexing be used on tuples?

Yes, positive indexing can be used on tuples
No, positive indexing cannot be used on tuples
Only negative indexing can be used on tuples
Tuples do not support indexing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to define a function with variable arguments

def myfunc()

def myfunc:

def myfunc(*args)

def myfunc(x,y)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can lists be manipulated?

yes

no

sometimes

none

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which functions can be performed on dictionary

Add

Delete

Replace

All

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of following is known as Higher Order Function

map

filter

lambda

both map & filter

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?