Basic Python

Basic Python

Professional Development

10 Qs

quiz-placeholder

Similar activities

GIT

GIT

Professional Development

15 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Introduction

Introduction

Professional Development

10 Qs

Friday Fun

Friday Fun

Professional Development

10 Qs

Day3 - Python STT

Day3 - Python STT

Professional Development

10 Qs

TCH_Induction

TCH_Induction

Professional Development

12 Qs

1 - Introducing SCRUM in SAFe

1 - Introducing SCRUM in SAFe

Professional Development

10 Qs

Basic Python

Basic Python

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Faiz keezhattil

Used 21+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output of 33 == 33.0

False

True

33

None of the Above

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How can we swap two numbers

a = 10

b = 20

in python without using third variable?

a = b

b = a

a,b = b,a

a=20,b=10

b = a

a = b

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following are valid ways to specify the string literal foo'bar in Python?

'foo''bar'

'foo'bar'

"foo'bar"

'foo'+'bar'

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

>>> print(r'foo\\bar\nbaz')

Which of the following is the correct output?

foo\\bar\nbaz

foo\bar\nbaz

foo\\barnbaz

foo\bar

baz

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not a Python built-in function:

diff()

round()

isinstance()

map()

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is false statement in python

int(144)==144

int('144')==144

int(144.0)==144

None of the above

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output for −

'Hello world' [1:2]

Hello

e

world

Syntax error

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?