
Python Programming Quiz

Quiz
•
Computers
•
12th Grade
•
Easy
dcsgs sdfdg
Used 1+ times
FREE Resource
95 questions
Show all answers
1.
OPEN ENDED QUESTION
45 sec • 1 pt
Who developed Python?
Evaluate responses using AI:
OFF
Answer explanation
Python was developed by Guido van Rossum, who started working on it in the late 1980s and released the first version in 1991. His vision was to create a language that emphasized code readability and simplicity.
2.
OPEN ENDED QUESTION
45 sec • 1 pt
What is Python and what are its uses?
Evaluate responses using AI:
OFF
Answer explanation
Python is a high-level programming language known for its readability and versatility. It is widely used in web development, data analysis, artificial intelligence, scientific computing, and automation, making it a popular choice among developers.
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What are the two modes of working in Python?
Interactive mode
Script mode
Answer explanation
Python has two modes of working: Interactive mode, where commands are executed one at a time, and Script mode, where code is written in a file and executed as a whole. Both are essential for different programming tasks.
4.
OPEN ENDED QUESTION
45 sec • 1 pt
How is Python interpreted?
Evaluate responses using AI:
OFF
Answer explanation
Python is an interpreted language, meaning that its code is executed line by line by an interpreter at runtime, rather than being compiled into machine code beforehand. This allows for dynamic typing and easier debugging.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the smallest element of Python coding termed as?
Tokens
Variables
Functions
Answer explanation
In Python, the smallest element of coding is called a 'token'. Tokens are the basic building blocks of a program, including keywords, operators, identifiers, and literals. Therefore, the correct answer is 'Tokens'.
6.
OPEN ENDED QUESTION
45 sec • 1 pt
Differentiate between call by value and call by reference.
Evaluate responses using AI:
OFF
Answer explanation
Call by value passes a copy of the variable's value, so changes do not affect the original. Call by reference passes the variable's address, allowing changes to affect the original variable directly.
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Identify and write the name of the Python module to which the following functions belong: (a) ceil() (b) floor() (c) randint() (d) dump() (e) sqrt() (f) factorial
math module
random module
pickle module
Answer explanation
The functions belong to the following modules: (a) ceil() and (b) floor() are from the math module, (c) randint() is from the random module, and (d) dump() is from the pickle module, while (e) sqrt() and (f) factorial are also from the math module.
Create a free account and access millions of resources
Similar Resources on Wayground
100 questions
Computer Science Vocabulary Practice

Quiz
•
9th - 12th Grade
100 questions
Active Directory Domain Services (AD DS) Fundamentals Quiz

Quiz
•
12th Grade
100 questions
Com prog reviewer prelims

Quiz
•
12th Grade
100 questions
Year 7 Scratch Test

Quiz
•
6th Grade - University
100 questions
Chess Quiz - Compilation

Quiz
•
KG - Professional Dev...
99 questions
untitled

Quiz
•
12th Grade - University
100 questions
Informatica

Quiz
•
12th Grade
90 questions
Quiz Pengolah Grafis

Quiz
•
12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University