Homework 5- Variables and selection
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Kristie Hallmark
Used 6+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to print "Hello, World!" in Python?
`echo "Hello, World!"`
`print("Hello, World!")`
`printf("Hello, World!")`
`System.out.println("Hello, World!")`
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
`1st_variable`
`variable-name`
`variable_name`
`variable name`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the `import` statement in Python?
To define a new function
To include external modules or libraries
To declare a variable
To start a loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a built-in function in Python?
`sum()`
`add()`
`total()`
`plus()`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following expression in Python: `3 + 4 * 2`?
`14`
`11`
`10`
`7`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start a comment in Python?
`
`//`
`/*`
`#`
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does INT means in python?
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
10 questions
AI QUIZ
Quiz
•
6th - 8th Grade
10 questions
Computer
Quiz
•
6th - 12th Grade
10 questions
Year 8 Networks
Quiz
•
6th - 9th Grade
10 questions
Email Quiz - PWHS
Quiz
•
1st - 12th Grade
10 questions
Among us youtubers
Quiz
•
KG - Professional Dev...
12 questions
MAC KEYBOARD
Quiz
•
3rd - 9th Grade
10 questions
Python линейные алгоритмы
Quiz
•
8th Grade
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th 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
