Python Quizz-13

Python Quizz-13

University

25 Qs

quiz-placeholder

Similar activities

IT (data, viruses and more)

IT (data, viruses and more)

8th Grade - Professional Development

20 Qs

PHP First Internal Practical Viva

PHP First Internal Practical Viva

University

20 Qs

quizz tkinter

quizz tkinter

11th Grade - University

20 Qs

Design Thinking Overview

Design Thinking Overview

University

20 Qs

ICT WEBINAR QUIZ

ICT WEBINAR QUIZ

KG - Professional Development

20 Qs

Terminos ITGS x

Terminos ITGS x

8th Grade - University

20 Qs

COMP_Technical Quiz_Round 2

COMP_Technical Quiz_Round 2

12th Grade - University

20 Qs

Aplikom

Aplikom

1st Grade - 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