Python

Python

Professional Development

10 Qs

quiz-placeholder

Similar activities

Python Class 1

Python Class 1

Professional Development

15 Qs

Módulo 2

Módulo 2

Professional Development

10 Qs

.   Python бағдарламалау тілі

. Python бағдарламалау тілі

Professional Development

10 Qs

PHP nulmeting

PHP nulmeting

8th Grade - Professional Development

14 Qs

c programming-Test 1

c programming-Test 1

Professional Development

10 Qs

CodeMonkey Platform Management & Resources

CodeMonkey Platform Management & Resources

Professional Development

10 Qs

Avaliação Pensamento Computacional - Prático

Avaliação Pensamento Computacional - Prático

1st Grade - Professional Development

10 Qs

Sains Komputer Tingkatan 4 - 1.7.1 Menghuraikan setiap fasa

Sains Komputer Tingkatan 4 - 1.7.1 Menghuraikan setiap fasa

1st Grade - Professional Development

11 Qs

Python

Python

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Kavya M

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...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

dic={1:’A’,2:’E’,3:’I’}dic[4]=’O’print(dic)

{1: 'A', 2: 'E', 3: 'I', 4: 'O'}

{1: 'A', 2: 'E', 4: 'O'}

{4: 'O',1: 'A', 2: 'E'}

Error

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the following code?

list1=[‘a’,’b’,’g’,1,5]

print(list1.pop)

5

['a','b','g',1]

['b','g',1,5]

Syntax error

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following cannot be a Python variable name?

Int_1

true

int-23

Int12

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which Statement is correct?

List is mutable and Tuple is immutable

List is immutable and Tuple is mutable

Both are mutable

Both are immutable

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following operators is used to add elements at the end of list?

add()

join()

append()

insert()

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of following Code?

arr=[1,2,3,4,5,6]

arr[::2]

[2,4,6]

[1,3]

[1,3,5]

[3]

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

print(int(3.9))

4

3.90

3

Error

Create a free account and access millions of resources

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?