
Basic Programming Concepts Quiz
Authored by Gabriel Silveira
Engineering
8th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to convert string values to integers?
int()
str()
float()
bool()
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
What sequence is used to create a newline at the end of statements?
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Construct a block of code that asks the user for a number and prints three times that number. There is extra code to watch out for.
Evaluate responses using AI:
OFF
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to convert an integer to a string in Python?
int()
float()
list()
str()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of int('42') in Python?
42
'42'
4.2
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will raise a ValueError in Python?
int('123')
int('abc')
int(True)
int(5.0)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why will this code not run?
there has to be a number in the variable
there are supposed to be no spaces in the variable label
there are no caps in variables
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
13 questions
Properties of materials
Quiz
•
8th Grade
10 questions
untitled
Quiz
•
5th Grade - University
10 questions
Câu hỏi về hình chiếu
Quiz
•
8th Grade - University
9 questions
STEM 6: U2 L2 Vocab Review
Quiz
•
6th Grade - University
6 questions
DM 2.4 Puzzle Cube Design Vocabulary
Quiz
•
6th - 8th Grade
14 questions
Arduino Projects and TinkerCAD Quiz
Quiz
•
8th Grade
15 questions
Fundamentos de Cimentaciones Superficiales
Quiz
•
8th Grade
15 questions
2025 Wolf Domestication
Quiz
•
7th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Engineering
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
20 questions
Slope from a Graph
Quiz
•
8th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade