
Python Day 2 Quiz

Quiz
•
Computers
•
University
•
Easy
ABINAYA 2022-2026
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a bitwise operator in Python?
and
or
&
not
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following variable names is not valid in Python?
my_var
_myvar
2myvar
myVar2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operators is used to compare two values in Python?
=
==
!=
<>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a single-line comment in Python?
/* This is a comment */
# This is a comment
<!-- This is a comment -->
// This is a comment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to write a multi-line comment in Python?
/* This is a multi-line comment */
''' This is a multi-line comment '''
<!-- This is a multi-line comment -->
# This is a multi-line comment
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct definition of a variable in Python?
A variable is a reserved memory location to store values.
A variable is a fixed value that cannot change.
A variable is a type of function in Python.
A variable is used to perform arithmetic operations.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a keyword in Python?
True
False
None
define
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python-1st

Quiz
•
University
13 questions
Python

Quiz
•
University
20 questions
Python Basics 1

Quiz
•
University
10 questions
Chapter 1: Python Overview

Quiz
•
University
12 questions
Python-Variables, Expressions

Quiz
•
University
16 questions
Python Basics

Quiz
•
KG - University
10 questions
python quiz

Quiz
•
6th Grade - Professio...
20 questions
Python Recap

Quiz
•
7th Grade - University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University