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
Chapter 1: Introduction to Computer
Quiz
•
University
20 questions
Artificial Intelligence CT-1
Quiz
•
University
20 questions
Micro Arch - CPUs & Fetch-Execute
Quiz
•
University
16 questions
Python Basics
Quiz
•
KG - University
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
IT Essential UIUX Chapter 1 & 2
Quiz
•
University
20 questions
Chapter 3: Strategic Initiatives for implementing CA
Quiz
•
University
20 questions
DWDM-2
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
