Python Quizz-13

Python Quizz-13

University

25 Qs

quiz-placeholder

Similar activities

Python Recap

Python Recap

7th Grade - University

20 Qs

Python Strings

Python Strings

University

20 Qs

Programming in Python

Programming in Python

University

20 Qs

C Programming Quiz

C Programming Quiz

12th Grade - University

20 Qs

python_4_Vivek

python_4_Vivek

University

20 Qs

ITIPT01 Quiz No 1

ITIPT01 Quiz No 1

University

20 Qs

Básicos Python

Básicos Python

University

21 Qs

Python Control Structures

Python Control Structures

University

20 Qs

Python Quizz-13

Python Quizz-13

Assessment

Quiz

Computers

University

Medium

Created by

shilpa gupta

Used 17+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following program :

print "Hello World"[::-1]

dlroW olleH

Hello Worl

d

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

x = 50

def fun1():

x = 25

print(x)

fun1()

print(x)

25

50

50

25

Error

Null

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of print(type(10))

int

float

complex

none

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print(type(0xFF))

Hexadecimal

int

float

string

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python 3, what is the type of

print(type(range(5)))

int

float

complex

range

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of

print(type([]) is list)

True

false

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

str = "pynative"

print (str[1:3])

yn

pyn

pyna

pynative

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?