
Python Basic Programming Quiz
Authored by Rakesh Kumar
Computers
11th Grade
25 Questions
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a program defined as, according to the sources?
A mathematical equation
A compiler for various languages
An ordered set of instructions or commands to be executed by a computer
A graphical user interface
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who created Python and in what year, as stated in the sources?
Bill Gates in 1980
Steve Wozniak in 1995
Guido van Rossum in 1991
Dennis Ritchie in 1972
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python is described as being case sensitive. What does this imply for its keywords?
Keywords can be written in any case (e.g., false or False)
Keywords are always written in uppercase
Keywords must be written exactly as given (e.g., False not false)
Case sensitivity only applies to variable names, not keywords
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid rule for naming an identifier in Python?
The name should begin with an uppercase or lowercase alphabet
It can be of any length
It must begin with a digit
It should not be a keyword
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an invalid identifier name in Python based on the rules provided?
marksMaths
_Percentage
1st_Room
total_Marks
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A fixed value that cannot be changed during program execution
An identifier whose value can change
A special symbol used for mathematical operations
A reserved word with specific meaning to the interpreter
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if a variable is used in a Python program before it has been assigned a value?
The interpreter automatically assigns it a default value of None
It results in a logical error, but the program continues to run
The program prompts the user to enter a value for it
It will lead to an error
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
HISTORY OF COMPUTER_SUMMATIVE 1
Quiz
•
11th - 12th Grade
20 questions
UH1_INFO_XII
Quiz
•
11th Grade
20 questions
Ujian Akhir Semester Genap Teknik Animasi 2D 3D Kelas XI
Quiz
•
11th Grade
20 questions
SaaS
Quiz
•
11th Grade
20 questions
Quiz
•
7th - 12th Grade
20 questions
แบบทดสอบปลายภาคโปรแกรมแอนิเมชัน
Quiz
•
9th - 12th Grade
25 questions
HTML
Quiz
•
11th Grade
20 questions
Nuevas tecnologías
Quiz
•
6th Grade - Professio...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University