
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
8 questions
Quizizz Procesos de Negocio
Quiz
•
2nd Grade - University
15 questions
Real World Application Measurements
Quiz
•
6th - 8th Grade
10 questions
Engineering Design Process & Innovation EOY
Quiz
•
8th Grade
15 questions
G7 Unit2 Review
Quiz
•
7th Grade - University
15 questions
Sistem Operasi -RKS
Quiz
•
1st Grade - University
15 questions
Ôn Công Nghệ 8 CHK1
Quiz
•
8th Grade
10 questions
La naturaleza del pensamiento de los sistemas blandos (suaves).
Quiz
•
6th Grade - University
9 questions
CAD Design 1
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Engineering
5 questions
Legends, Leaders, & Changemakers: Maya Angelou
Interactive video
•
6th - 8th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
15 questions
Product of Powers Property A1 U7
Quiz
•
8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
16 questions
8th U5L5 Graphs of Functions
Quiz
•
8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade