Python Quiz Techno India

Python Quiz Techno India

University

10 Qs

quiz-placeholder

Similar activities

CodeHS - Intro to Python - Conditionals Quiz

CodeHS - Intro to Python - Conditionals Quiz

9th Grade - Professional Development

15 Qs

Conditionals Unit Quiz

Conditionals Unit Quiz

9th Grade - University

15 Qs

CodeHS 5.1 Python

CodeHS 5.1 Python

9th Grade - Professional Development

15 Qs

Code HS Unit 6 Computer Science in Python

Code HS Unit 6 Computer Science in Python

9th Grade - Professional Development

15 Qs

Avaliação Pensamento Computacional - Prático

Avaliação Pensamento Computacional - Prático

1st Grade - Professional Development

10 Qs

Python Codehs

Python Codehs

9th Grade - Professional Development

15 Qs

Python Conditional Statements

Python Conditional Statements

University

8 Qs

Python Dictionaries

Python Dictionaries

University

10 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?