Basic Python

Basic Python

Professional Development

10 Qs

quiz-placeholder

Similar activities

Python-quiz2

Python-quiz2

University - Professional Development

11 Qs

Sosialisasi BRIONE Data

Sosialisasi BRIONE Data

Professional Development

10 Qs

ER Model

ER Model

Professional Development

10 Qs

Software Security

Software Security

University - Professional Development

10 Qs

C Programming

C Programming

Professional Development

10 Qs

Advance MS Excel Tips and Tricks

Advance MS Excel Tips and Tricks

Professional Development

10 Qs

Interesting Bird Facts

Interesting Bird Facts

KG - Professional Development

11 Qs

Streams

Streams

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

Already have an account?