Basic Python

Quiz
•
Computers
•
University
•
Hard
Mamta Savadatti
Used 176+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Programming II CSE A

Quiz
•
12th Grade - University
15 questions
Programming - Screening Test

Quiz
•
3rd Grade - Professio...
20 questions
Beginner Quiz on ML and Python Basics

Quiz
•
University
15 questions
Python Programming 1: print, strings, variables, casting

Quiz
•
9th Grade - University
20 questions
python_4_Vivek

Quiz
•
University
15 questions
Python Quiz Ver- 1.3

Quiz
•
University
20 questions
OOPs in Python

Quiz
•
University
20 questions
Introduction To Python

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