Search Header Logo

Computer Science Quiz

Authored by Shubham Mishra

Computers

12th Grade

Computer Science Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

State True or False.

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a sequential datatype in Python ?

Dictionary

String

List

Tuple

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following dictionary Day={1:"Monday", 2: "Tuesday", 3: "Wednesday"} Which statement will return "Tuesday".

Day.pop()

Day.pop(2)

Day.pop(1)

Day.pop("Tuesday")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the given expression : 7<4 or 6>3 and not 10==10 or 17>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.split(" ",2) 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 modes in Python creates a new file, if file does not exist and overwrites the content, if the file exists ?

r+

r

w

a

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the blank : ___________ is not a valid built-in function for list manipulations.

count()

length()

append()

extend()

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?