
Computer Science Long Exam
Authored by CSU 2021
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
25 questions
Understanding Input, Selection and Loops in Python
Quiz
•
7th Grade - University
25 questions
DevOps Quiz
Quiz
•
University
25 questions
untitled
Quiz
•
8th Grade - University
25 questions
Computer Science Quiz
Quiz
•
4th Grade - University
25 questions
model pembelajaran
Quiz
•
University
25 questions
QUIZ
Quiz
•
University
25 questions
IT Quiz | E-Zone
Quiz
•
University
26 questions
AI Quiz 26/9
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University