
Programming lesson 1 - Syntax
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Robert Riley
Used 11+ times
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of error is present when the if statement is the wrong way round?
Logic
Syntax
Runtime
Semantic
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the solution for an error where there is no closing speech mark?
Add a closing speech mark
Change the print statement to lowercase
Reverse the comparison signs
Use a different variable name
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of error would happen if dividing by zero was in your code?
Syntax error
Runtime error
Logic error
No error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you fix an undefined variable error in the code?
Declare the variable before use
Remove the variable
Change the variable type
Ignore the error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of error occurs when a function is called with the wrong number of arguments?
Syntax error
Runtime error
Logic error
Semantic error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you resolve a syntax error in your code?
Check for missing punctuation
Change variable names
Optimize the algorithm
Ignore the error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of error is indicated by a program that compiles but produces incorrect results?
Syntax error
Runtime error
Logic error
Semantic error
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
15 questions
GIS Unit III
Quiz
•
University
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms
Quiz
•
12th Grade - University
14 questions
Intro to Robotics
Quiz
•
9th Grade
20 questions
Digital and Analog transmission
Quiz
•
University
14 questions
4th quarter 2nd summative
Quiz
•
10th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
21 questions
Computer System
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
