Search Header Logo

Revision Quiz Game- 2

Authored by suba s

Computers

12th Grade

Used 4+ times

Revision Quiz Game- 2
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 of these is not a core data type?

Lists

Dictionary

Class

Tuples

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Following set of commands is executed in shell, what will be the output?

Str="Lockdown"


Str[:2]

Lo

wn

Lockdo

ckdown

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following expression?

print(4.00/(2.0+2.0))

Error

1

1.0

2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which code segment will NOT reach its print() function?

if 'yes' !='no':

print("condition met")

if 'yes' !='yes':

print("condition met")

if not 'yes' =='no':

print("condition met")

if 'yes' =='yes':

print("condition met")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following code segment?

String2="work"


String1="my"


String2="work"


print(String1+String2.upper())

my work

MyWork

myWORK

MyWork

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which two operators can be used on numeric values in Python?

@

%

#

+

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following keywords marks the beginning of the function block?

func

define

def

function

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?