Python Quizz-13

Python Quizz-13

University

25 Qs

quiz-placeholder

Similar activities

C PROGRAMMING LANGUAGE

C PROGRAMMING LANGUAGE

University

20 Qs

Python Programming

Python Programming

University

25 Qs

python_4_Vivek

python_4_Vivek

University

20 Qs

РЭУ тест по Python

РЭУ тест по Python

University

20 Qs

Computer Quiz Developed By Bishal Rawani (8A) JNV Dhanbad

Computer Quiz Developed By Bishal Rawani (8A) JNV Dhanbad

6th Grade - Professional Development

20 Qs

Quiz Condicionales y Ciclos

Quiz Condicionales y Ciclos

University

20 Qs

C programming Quiz

C programming Quiz

University

20 Qs

1. Intro to Java

1. Intro to Java

University

25 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?