Python Quizz-13

Python Quizz-13

University

25 Qs

quiz-placeholder

Similar activities

First Quiz Interactive Designing

First Quiz Interactive Designing

University

20 Qs

Evaluación de Matemáticas

Evaluación de Matemáticas

5th Grade - University

20 Qs

KRIPTOGRAFI POLTEKAD

KRIPTOGRAFI POLTEKAD

University

20 Qs

C - Structures

C - Structures

University

20 Qs

Django-quiz

Django-quiz

5th Grade - University

20 Qs

PAS 2022 Twan

PAS 2022 Twan

University

20 Qs

Lesson 3 (Model Training)

Lesson 3 (Model Training)

University

20 Qs

Bubble Sort and Pointers

Bubble Sort and Pointers

University

20 Qs

Python Quizz-13

Python Quizz-13

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

shilpa gupta

Used 17+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers