Search Header Logo

IPP QUIZ !

Authored by Mrs Lakshmi

Computers

University

Used 3+ times

IPP QUIZ !
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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?