Search Header Logo

Python basics29

Authored by Saurabh Hore

Computers

9th - 12th Grade

Used 2+ times

Python basics29
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 • 5 pts

In python print is a _____

Statement

Function

Command

program

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

print("R">"r") will display

Error

True

False

R

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Type casting is considered as

technique to use different variables

technique to display data type of the identifier

technique to convert one datatype to another

All of the options

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

a=30

a=a+1

a*=2

print(a)

This code will display

62

60

Error

30

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

a=input("Enter age")

b=input("Enter Experience")

a=a+b

print(a)

what will be the value of a if the value passed is 26 and 36

62

Error

2636

3626

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Sequences are a collection of values. In what way they are different from each other.

They are not different

Not all the sequences can be changed

They are defined in a different manner

Both b and c are correct.

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Predict the output

name-"Parv"

print("name" *3)

ParvParvParv

error

namenamename

Parv Parv Parv

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?