Which of the following statements is true?
Python Basics

Quiz
•
Computers
•
University
•
Medium
Used 128+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Python is a high level programming language.
Python is an interpreted language.
Python is an object-oriented language.
All of the above.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is used to define a block of code (body of loop, fuction etc.) in Python?
Curly braces
Parenthesis
Indentation
Quotation
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is correct?
Comments are for programmers for better understanding of the program.
Python Interpreter ignores comment.
You can write multi-line comments in Python using triple quotes, either ''' or """.
All of the above
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is correct?
Variable name can start with an underscore.
Variable name can start with a digit.
Keywords cannot be used as a variable name.
Variable name can have symbols like: @, #, $ etc.
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In the following code, n is a/an _______?
n = '5'
integer
string
tuple
operator
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the following code?
print(1, 2, 3, 4, sep='*')
1 2 3 4
1234
1*2*3*4
24
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is used to take input from the user in Python?
cin
scanf()
input()
<>
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Exploring Python: Input and Output Essentials

Quiz
•
9th Grade - University
10 questions
Python Sets

Quiz
•
University
10 questions
PYTHON PROGRAMMING POP QUIZ ON TOPIC 2!

Quiz
•
University
15 questions
Python Basics

Quiz
•
KG - University
15 questions
Exam 1 Practice

Quiz
•
University
15 questions
Python Basics

Quiz
•
University
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
15 questions
Python introduction

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade