Search Header Logo

Python_IISem_IA1_quiz

Authored by Shubha Rao

Science

University

Used 4+ times

Python_IISem_IA1_quiz
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

The input function takes the user input as

integer

float

string

char

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comment starts with what symbol?

#

//

%

/*

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the output?

print(not (100<0) or (100>20))

true

True

False

false

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of 2**3 in Python ?

7

8

5

9

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement ends the current iteration of the loop and goes to the next one?

pass

continue

break

jump

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword would you use to add an alternative condition to an if statement?

else

is else

elif

elseif

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the given below program?

Hi

Hi

Hello

Hi

Bye

Hello

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?

Discover more resources for Science