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
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
15 questions
Milking Minds 2 17-01-24

Quiz
•
University
20 questions
Bootcamp Data Analyst 2

Quiz
•
University
20 questions
Day 6 - ONLINE TEST - PL03 PYTHON PROGRAMMING

Quiz
•
University
20 questions
Python 101

Quiz
•
University
15 questions
HCI 584 Python quiz

Quiz
•
University
15 questions
Python introduction

Quiz
•
University
25 questions
Introduction to Python

Quiz
•
KG - 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