Python basics29

Python basics29

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Inputs and Variables

Inputs and Variables

9th - 11th Grade

12 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

Python Selection

Python Selection

8th - 9th Grade

10 Qs

Python Basics

Python Basics

6th - 12th Grade

9 Qs

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Intro to Python

Intro to Python

KG - University

10 Qs

Program Development - Python: Errors

Program Development - Python: Errors

8th - 10th Grade

13 Qs

PF Unit  10

PF Unit 10

9th Grade - University

10 Qs

Python basics29

Python basics29

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Saurabh Hore

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?