Programming in Python

Quiz
•
Computers
•
University
•
Hard
Dr.Adlin BHC
Used 61+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
Data Analytics using Python - Quiz 2

Quiz
•
University
15 questions
Python функциялары 7 сынып

Quiz
•
12th Grade - University
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
20 questions
1st Year quiz

Quiz
•
University
20 questions
Algoritma Pemrograman

Quiz
•
University
20 questions
1212 Midterm Review

Quiz
•
University
20 questions
Operator in C

Quiz
•
University
20 questions
GirlsWhoML Workshop 0

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade