Programming in Python

Quiz
•
Computers
•
University
•
Hard
Dr.Adlin BHC
Used 64+ 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
20 questions
Basic 2 Python

Quiz
•
12th Grade - Professi...
20 questions
Mastering Python Loops and Functions

Quiz
•
10th Grade - University
20 questions
Câu hỏi về Python

Quiz
•
University
15 questions
Round 4 - Harvest

Quiz
•
University
25 questions
PYTHON CONTERST 3

Quiz
•
University
20 questions
Números, booleanos y casting

Quiz
•
University
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
20 questions
Geeks for Geeks PCCOER Info Session CP Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University