CBSE Python Quiz B22-23

CBSE Python Quiz B22-23

12th Grade

18 Qs

quiz-placeholder

Similar activities

Keyboard Shortcuts

Keyboard Shortcuts

12th Grade

15 Qs

Logic gates & circuits

Logic gates & circuits

12th Grade

22 Qs

Computer Science Quiz

Computer Science Quiz

12th Grade

19 Qs

Season 1 #Spaic Python Weekly Quiz

Season 1 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

Python Lists and Tuples

Python Lists and Tuples

11th - 12th Grade

20 Qs

Easy Scholastic Bowl Quiz

Easy Scholastic Bowl Quiz

5th Grade - University

17 Qs

File Handling in Python - Grade 12 CBSE

File Handling in Python - Grade 12 CBSE

12th Grade

15 Qs

Algorithm and Problem Solving Quiz

Algorithm and Problem Solving Quiz

11th Grade - University

15 Qs

CBSE Python Quiz B22-23

CBSE Python Quiz B22-23

Assessment

Quiz

Computers

12th Grade

Hard

Created by

A SK Edifier

Used 4+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

State True or False.

“Identifiers are names used to identify a variable, function in a program”.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid keyword in Python ?

false

return

non_local

none

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following Tuple Tup= (10, 20, 30, 50) Which of the following statements will result in an error ?

print (Tup[0])

Tup.insert (2, 3)

print (Tup [1:2])

print (len (Tup))

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the given expression : 5<10 and 12>7 or not 7>4 Which of the following will be the correct output, if the given expression is evaluated ?

True

False

NONE

NULL

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the correct output of the code :

S= "Amrit Mahotsav @ 75"

A=S.partition (" ")

print (a)

('Amrit Mahotsav','@','75')

['Amrit','Mahotsav','@','75']

('Amrit', 'Mahotsav @ 75')

('Amrit','' , 'Mahotsav @ 75')

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following mode keeps the file offset position at the end of the file ?

r+

r

w

a

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_____ function is used to arrange the elements of a list in ascending order.

sort()

arrange()

ascending()

asort()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?