Programming in Python

Programming in Python

University

20 Qs

quiz-placeholder

Similar activities

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

ITE TEST 2

ITE TEST 2

University

20 Qs

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

Web Development Revision 1

Web Development Revision 1

University

15 Qs

Java Quiz 4

Java Quiz 4

University

15 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

Introducción Redes Tele1 IB

Introducción Redes Tele1 IB

10th Grade - University

15 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Programming in Python

Programming in Python

Assessment

Quiz

Computers

University

Hard

Created by

Dr.Adlin BHC

Used 65+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not valid variable name in Python?

_var

var_name

var11

11var

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How many keywords are there in python 3.7?

32

33

31

30

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

All keyword in python are in

lower case

upper case

lower case and uppercase

None of the above

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Why are local variable names beginning with an underscore discouraged?

they confuse the interpreter

they are used to indicate a private variables of a class

they are used to indicate global variables

they slow down execution

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these are keyword?

in

is

assert

all of the above

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the following code : print 5//2

2

2.5

0

error

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

4 is 100 in binary and 11 is 1011. What is the output of the following bitwise operators?

a = 4

b = 11

print(a | b)

print(a >> 2)

15 1

14 1

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?