Basic Python
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Mamta Savadatti
Used 178+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In Python, print () by default adds which of the following as an end line argument?
\t
\n
\s
\r
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not true about variable names?
The length of the variable name is fixed
Can contain upper case or lowercase letters and digits 0-9
Variable names cannot begin with a digit
Variable names are case sensitive
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does IDE stand for?
Internet Data Evaluation
Integrated Drive Electronics
Integrated Development Enterprises
Integrated Development Environment
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In Spyder, the command to clear the console is
%reset
%clear
%del
%delete
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following code cannot be used to initialize multiple variables with a common value?
a, b, c = 55
a, b, c = 55, 55, 55
a = b = c = 55
a = 55; b = a; c = b
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output after executing the given codes?
6
42
3
52
None
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is true with respect to the below codes?
a = 4**3
b = pow(4,3)
print(a,b)
a = b
a ≠ b
a < b
a > b
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Name The Disney Animation Films
Quiz
•
KG - University
19 questions
DBMS - Fundamentals
Quiz
•
University
15 questions
PICMAKER
Quiz
•
University
15 questions
Vistacreate
Quiz
•
University
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
16 questions
E-Commerce
Quiz
•
University - Professi...
15 questions
8051-MCQ
Quiz
•
University
20 questions
Control Structures C#
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
