
Computer Programming Quiz
Quiz
•
Others
•
8th Grade
•
Practice Problem
•
Hard
Kevin Daniel
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does syntax refer to in programming languages?
Set of rules that guide how statements and phrases are constructed
Special words reserved for specific purposes
Blocks used for stacking in visual programming languages
Predefined functions for specific tasks
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are statements terminated in Python and most text-based programming languages?
Colon
Semi-colon
Comma
Full stop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two main types of errors in programming?
Syntax errors and Logical errors
Runtime errors and Logical errors
Syntax errors and Runtime errors
Syntax errors and Semantic errors
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identifiers in Python are names of entities and must follow certain rules. Which of the following is NOT a rule for identifiers?
Case-sensitive
Can contain spaces and special characters
Must start with a letter or underscore
Must not be a keyword
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of keywords in Python?
To create identifiers
To print messages on the screen
To serve as special words with specific purposes
To define user-defined functions
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a function in Python contains more than one argument, how are the arguments separated?
Comma
Semi-colon
Full stop
Colon
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of errors deal with wrong output or abnormal behaviors of programs?
Logical errors
Syntax errors
Semantic errors
Runtime errors
Create a free account and access millions of resources
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
12 questions
Circulation
Quiz
•
8th Grade
12 questions
Challenge 7 test 2nd grade
Quiz
•
8th Grade
11 questions
Hobbies
Quiz
•
6th - 8th Grade
10 questions
Triva M/H
Quiz
•
6th - 8th Grade
20 questions
Tenses
Quiz
•
6th - 8th Grade
20 questions
Retake Quiz
Quiz
•
8th Grade
18 questions
cambridge &connect
Quiz
•
6th - 8th Grade
20 questions
STS Genap Baha Ingrris
Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Others
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
15 questions
scatter plots and trend lines
Quiz
•
8th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
6 questions
Veterans Day
Lesson
•
8th Grade
13 questions
Finding slope from graph
Quiz
•
8th Grade
10 questions
Exploring Europe: Geography, History, and Culture
Interactive video
•
5th - 8th Grade
