
Computer Science Long Exam

Quiz
•
Computers
•
University
•
Easy
CSU 2021
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Marco is learning Python for the first time. Which of the following lines correctly declares a variable that stores his favorite color?
favoriteColor = blue
favorite color = "blue"
favorite_color = "blue"
"blue" = favorite_color
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You want to store your age, height in meters, and name in Python. Given the program snippet, what are the correct data types for age, height, and name?
int, int, string
float, int, string
int, float, string
string, float, int
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following variables is NOT following proper naming conventions?
1stName
firstName
first_name
FIRST_NAME
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given the code snippet, what will be the output of this code?
Hi! I'm Eryne 13
Error: Wrong print syntax
Hi! I'm Eryne and I'm 13 years old.
Hi! I'm name and I'm age years old.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to check if two values are equal in Python?
=
!=
==
equals
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given the code snippet, what will be the output of this code?
0
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Anna wants to know if a student is at least 13 years old AND in Grade 7 or higher. Which of the following conditions is correct?
age = 13 and grade = 7
age >= 13 or grade >= 7
age >= 13 not grade >= 7
age >= 13 and grade >= 7
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
PYTHON CONTERST 3

Quiz
•
University
25 questions
Quiz 1 Review - CS125

Quiz
•
University
25 questions
S2 Python Turtle Quiz

Quiz
•
9th Grade - University
25 questions
Code Carnival

Quiz
•
University
30 questions
Python Mock

Quiz
•
University
25 questions
ict5_mt_w5-6_q2

Quiz
•
12th Grade - University
25 questions
MATLAB Exam prep

Quiz
•
University
30 questions
Python Function

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University