IPP QUIZ !

IPP QUIZ !

University

15 Qs

quiz-placeholder

Similar activities

Python

Python

University

20 Qs

Python Quiz 1.4

Python Quiz 1.4

University

12 Qs

BT1 2023

BT1 2023

University

10 Qs

PPS PYTHON QUIZ

PPS PYTHON QUIZ

University

20 Qs

Pyflask2020

Pyflask2020

KG - Professional Development

10 Qs

untitled

untitled

8th Grade - University

11 Qs

Python Basics

Python Basics

KG - University

15 Qs

Python - Functions

Python - Functions

University

10 Qs

IPP QUIZ !

IPP QUIZ !

Assessment

Quiz

Computers

University

Hard

Created by

Mrs Lakshmi

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Who developed Python Programming Language?



a) Wick van Rossum

b) Rasmus Lerdorf

c) Guido van Rossum

d) Niene Stom

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. Which type of Programming does Python support?



a) object-oriented programming

b) structured programming

c) functional programming

d) all of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?

i = 1

while True:

if i%3 == 0:

break

print(i)

  i + = 1




a) 1 2 3

b) error

c) 1 2

d) none of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the order of precedence in python?


a) Exponential, Parentheses, Multiplication, Division, Addition, Subtraction

b) Exponential, Parentheses, Division, Multiplication, Addition, Subtraction

c) Parentheses, Exponential, Multiplication, Addition, Division, Subtraction


d) Parentheses, Exponential, Multiplication, Division, Addition, Subtraction

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code snippet if x=1?

x<<2




a) 4

b) 2

c) 1

d) 8

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true for variable names in Python?



a) underscore and ampersand are the only two special characters allowed

b) unlimited length

c) all private members must have leading and trailing underscores

d) none of the mentioned

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the values of the following Python expressions?

2**(3**2)

(2**3)**2

2**3**2




a) 512, 64, 512

b) 512, 512, 512

c) 64, 512, 64

d) 64, 64, 64

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?