CS1310 Unit 1 Quizziz

Quiz
•
Computers
•
12th Grade
•
Hard

Montserrat Molina
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 10 pts
Which of the following is an example of a string in Python?
"Hello World!"
5
True
[False, 5, "Hi"]
2.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
What would be the output of the following code snippet?
10
15
20
5
3.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
What would be the output of the following code snippet?
2
4
6
2
4
0
2
4
6
0
2
4
4.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
What would be the output of the following code snippet?
Great!
Okay!
Cool!
Okay!
Cool!
Nice!
Okay!
Great!
5.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
What would be the output of the following code snippet?
[True, True, True]
[True, 9, 'A']
[True, True, 'A']
[True, 9, 9]
6.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Which of the following code snippets will output:
3
6
9
12
7.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Which of the following is a correct statement?
It is not possible to iterate backwards in a for loop (ex: start at 5 and end at 0)
In an if-elif-else statement, all conditional branches that evaluate to True will execute their code blocks
By default, all input in Python (input()) is interpreted as a string
A continue statement is used to terminate a loop before a sequence completes
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Loops

Quiz
•
9th - 12th Grade
10 questions
AP CSA 4.2 (For Loops)

Quiz
•
10th - 12th Grade
12 questions
CodeHS Unit 1

Quiz
•
9th - 12th Grade
10 questions
Python Basics

Quiz
•
12th Grade - University
14 questions
C++ - Loops and Random Numbers

Quiz
•
9th - 12th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
10 questions
AP Computer Science-Quiz 2(G10)

Quiz
•
9th - 12th Grade
10 questions
Python Review 2023-01-12

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade