Search Header Logo

EI Python Basic-Intermediate Course

Authored by Prakash Sakari

Education

5th - 6th Grade

Used 7+ times

EI Python Basic-Intermediate Course
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code?

print("Hello")

Hello

Error

hello

"Hello"

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the code?

name = 'Prakash'

age = '27'

print('My name is'+name+'I am'+age+'years old')

My name is Prakash I am 27 years old

My name isPrakashI am27years old

Error

None of the above

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The input function converts the data entered by user in to which data type?

String

Integer

Float

Boolean

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

To convert string into float which function should be used?

str()

int()

float()

None of the above

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Open the image and read the code and select the correct answer of the code?

0

1

2

3

4

5

6

1

2

3

4

5

0

1

2

3

4

5

None of the above

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Open the image and read the code and select the correct answer for the code?

1st number is greater than 2nd number

2nd number is greater than 1st number

Both numbers are equal

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can we compare an integer with string?

Yes

No

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?