Python

Python

University - Professional Development

10 Qs

quiz-placeholder

Similar activities

Basic Python Data Types

Basic Python Data Types

Professional Development

8 Qs

Python Numpy

Python Numpy

University

11 Qs

Exception Handling-2

Exception Handling-2

Professional Development

10 Qs

Java quiz based on inheritance

Java quiz based on inheritance

University

10 Qs

Python Programming Basics

Python Programming Basics

University

14 Qs

Python_R

Python_R

2nd Grade - Professional Development

8 Qs

Python debugging

Python debugging

University

10 Qs

Exploring Python: Input and Output Essentials

Exploring Python: Input and Output Essentials

9th Grade - University

10 Qs

Python

Python

Assessment

Quiz

Computers

University - Professional Development

Medium

Created by

Sheela Selva

Used 167+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Find T ?

T=144 / 2 + 5 * 9 - ( 8 -3 )

106

688

112

684

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Find the Output:

Item = {"ECE" , "CSE" , "EEE" , "CIVIL"}

Item.add (2,"MECH")

print(Item)

{ "ECE" , "MECH" , "CSE" , "EEE" , "CIVIL" }

{ "ECE" , "CSE" , "MECH" , "EEE" , "CIVIL" }

{ "ECE" , "CSE" , "EEE" , "CIVIL" }

{ "ECE" , "CSE" , "EEE" ,"MECH" , "CIVIL" }

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Find the Output ?

A = "Anand Institute of higher technology"

print ( A[-5:7]

_Institute of higher techn

nstitute of higher technol

d Institute of higher techn

Institute of higher techno

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

def.number (r1 , r2)

sum = r1 / r2

return sum

a = number (r2 = 15 , r1 = 10)

2 / 3

3 / 2

error

2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the output of the following code ?

var1 = 1

var2 = 2

var3 = "3"


print (var + var2 var3)

Error. Mixing operators between numbers and strings are not supported

6

33

123

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function convert a string to a float in python ?

float(X)

int(x[,base])

long(X[,base])

str(X)

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

what is the output of the following programing ?

X = [ 'ab' , 'cd' ]

for i in X:

i.upper()

print (x)

[ 'AB' , 'CD' ]

[ 'ab' , 'cd' ]

[ AB , CD ]

ERROR

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?