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
UNIT 1 PYTHON

Quiz
•
University
18 questions
Programming lesson 1 - Syntax

Quiz
•
9th Grade - University
20 questions
Python Quiz - BPLCK105B

Quiz
•
University
16 questions
Quiz de Programación en Python – Nivel Básico (Grado Noveno)

Quiz
•
9th Grade - University
16 questions
Python and data processing test

Quiz
•
University
18 questions
Kiểu dữ liệu xâu kí tự trong Python

Quiz
•
10th Grade - University
25 questions
Iedc Coders Club Programming Quiz

Quiz
•
University
15 questions
Grade 8 End of Unit Revision

Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University