Python Quiz Techno India

Python Quiz Techno India

University

10 Qs

quiz-placeholder

Similar activities

Python Quiz 2.0

Python Quiz 2.0

University

14 Qs

Control Structures - Selection in Python

Control Structures - Selection in Python

8th Grade - University

11 Qs

Intermediate Python

Intermediate Python

University

15 Qs

Conditions

Conditions

University

15 Qs

Quizizz Python Start test2

Quizizz Python Start test2

University

10 Qs

Python Language Programming

Python Language Programming

University

15 Qs

CodeHS Python

CodeHS Python

9th Grade - Professional Development

15 Qs

OCR A Level Computer Science (H446) - Component 1.3.1 - Compression, Encryption and Hashing

OCR A Level Computer Science (H446) - Component 1.3.1 - Compression, Encryption and Hashing

11th Grade - University

9 Qs

Python Quiz Techno India

Python Quiz Techno India

Assessment

Quiz

Computers

University

Medium

Created by

Rahul Mahato

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What datatype is the object below?

L = [1, 23, ‘hello’, 1]

list

dictionary

array

tuple

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Write the output of below code:

a = True

b = False

c = True

if not a or b:   

print ("a")

elif not a or not b and c:   

print ("b")

elif not a or b or not b and a:   

print ("c")

else:   

print ("d")

a

b

c

d

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the answer to this expression, 22 % 3 is?

7

1

0

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Operators with the same precedence are evaluated in which manner?

Right to Left

Left to Right

Can’t say

None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following has the highest precedence in the expression?

Exponential

Addition

Multiplication

Parentheses

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose t = (1, 2, 4, 3), which of the following is incorrect?

print(t[3])

print(max(t))

print(len(t))

t[3] = 45

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is called when a function is defined inside a class?

Module

Class

Another function

Method

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?