Python IT T

Python IT T

Professional Development

25 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

Professional Development

25 Qs

operators & loops

operators & loops

Professional Development

20 Qs

FUNCTIONS - FILES - MODULES - OOPS

FUNCTIONS - FILES - MODULES - OOPS

Professional Development

25 Qs

Study Comrade | Data Analytics

Study Comrade | Data Analytics

University - Professional Development

20 Qs

Programming Boot Camp-Quiz I

Programming Boot Camp-Quiz I

Professional Development

30 Qs

Netligent Python Basic

Netligent Python Basic

Professional Development

30 Qs

Python

Python

Professional Development

30 Qs

Python Code

Python Code

8th Grade - Professional Development

20 Qs

Python IT T

Python IT T

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

PRAVEEN SHARMA

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression: 7 | 3?

4
7
3
10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operators has the highest precedence in Python?

**

and

%

+

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression: 15 // 4 + 2?

3

5.75

5
6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, what does the expression

not (True and False)

evaluate to?

False
None

ERROR

True

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is true about the expression 5 & 3?

The result of the expression 5 & 3 is 8.
The result of the expression 5 & 3 is 1.
The result of the expression 5 & 3 is 2.
The result of the expression 5 & 3 is 0.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following expression evaluate to:

'Hello' * 2 == 'HelloHello'

?

Type Error

Hello * 2 == 'Hello'
HelloHelloHello
True

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given x = 5, which of the following is correct for x += 10?

x is now 10.
x is now 5.
x is now 20.
x is now 15.

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?