
Basic Programming Concepts Quiz
Quiz
•
Engineering
•
8th Grade
•
Medium
Gabriel Silveira
Used 4+ times
FREE Resource
Enhance your content in a minute
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
L4 - CU1 Quiz 1
Quiz
•
8th - 9th Grade
10 questions
Conocimientos sobre Manufactura
Quiz
•
6th Grade - University
9 questions
Untitled Quiz
Quiz
•
1st Grade - University
6 questions
8 А сыныбы
Quiz
•
8th Grade
10 questions
Marine Engineering
Quiz
•
6th - 8th Grade
10 questions
Robotics Terms 20-30
Quiz
•
8th Grade
10 questions
CNC EDM Die Sinker Quiz
Quiz
•
8th Grade
7 questions
Bài 7. Một số phương pháp gia công cơ khí
Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Engineering
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
20 questions
Figurative Language Review
Quiz
•
8th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
22 questions
Newton's Laws of Motion
Lesson
•
8th Grade
24 questions
3.1 Parallel lines cut by a transversal
Quiz
•
8th Grade
20 questions
Slope from a Graph
Quiz
•
8th Grade
