Programming Basics & Variables

Quiz
•
Information Technology (IT)
•
11th Grade
•
Medium
Tarra Jackson
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Which of the following is NOT a valid variable name?
user_name
2nd_place
favoriteColor
total_amount
2.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Which data type would be used for a person’s full name?
Integer
Boolean
String
Float
3.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What does the following code output? python CopyEdit x = 10 y = 5.5 print(x + y)
105.5
15.5
"10 + 5.5"
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Which symbol is used to assign a value to a variable?
a) :
b) ==
c) =
d) =>
5.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What will happen if you try to store the number 100 in a variable meant for a boolean?
The program will crash.
It will store the number 100.
It will convert 100 into True.
Nothing will happen.
Similar Resources on Wayground
10 questions
Quiz về Danh sách trong Python

Quiz
•
11th Grade
8 questions
R050 - AI Revision

Quiz
•
10th Grade - University
10 questions
Network Devices Quiz

Quiz
•
11th Grade
10 questions
Fundamentos de Programación en Python

Quiz
•
6th Grade - University
10 questions
Arrays Part 1

Quiz
•
11th Grade
7 questions
Understanding Assignment Statements

Quiz
•
11th Grade
5 questions
User Input in Python

Quiz
•
9th Grade - University
10 questions
KUIS INFORMATIKA KELAS 9

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University