
PythonQuiz1

Quiz
•
Design
•
University
•
Hard
HOD Design
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following declarations is incorrect in python language?
Abc = 4,000,000
A B C D = 5000 4000 12000 9000
A B C D = 5000, 4000, 12000, 9000
A_B_C_D = 15,000,000
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Study the following code:
>>>"foobar"[3:]
What will be the output of this code?
foobar
foo
bar
None of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
names1 = ['Amir', 'Bala', 'Charlie']
names2 = [name.lower() for name in names1]
print(names2[2][0])
None
a
b
c
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is NOT the python IDE.
Jupyter notebook
Spyder
Anaconda
Numpy
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of PVM (Python Virtual Machine)
It translates source code into byte code line by line
It translates source code into byte code at once
It translates bytecode into machine code line by line
It translates bytecode into machine code at once
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of following code segment:
X = 2
for z in range(X, 4*X, X):
print(z, end=', ')
2, 3, 4, 5, 6, 7, 8,
2, 4, 6, 8,
2, 4, 6,
Table of 2
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
The part of a program that uses a function is called the(Choose 2)
user
caller
callee
driver
Create a free account and access millions of resources
Similar Resources on Wayground
23 questions
Mastering Typography Essentials

Quiz
•
University
21 questions
Design CorelDraw

Quiz
•
10th Grade - University
25 questions
Typography

Quiz
•
9th Grade - University
20 questions
Inbfographie 2M

Quiz
•
University
20 questions
CSS & RWD 測驗

Quiz
•
University - Professi...
17 questions
Developer's Quiz 10-10

Quiz
•
University
20 questions
Quiz GIS 3/3

Quiz
•
University
20 questions
UI/UX Design Midterm Exam

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 Design
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