CS1310 Unit 1 Quizziz

CS1310 Unit 1 Quizziz

12th Grade

10 Qs

quiz-placeholder

Similar activities

GDScript Quiz - Lesson 3 - Conditional statements & Iteration

GDScript Quiz - Lesson 3 - Conditional statements & Iteration

12th Grade

10 Qs

Python Functions

Python Functions

12th Grade

15 Qs

3c (i) OCR Exam Reference Language

3c (i) OCR Exam Reference Language

12th Grade

14 Qs

Python quiz

Python quiz

10th Grade - Professional Development

10 Qs

Java Loops

Java Loops

9th - 12th Grade

12 Qs

Python Basics Quiz 1

Python Basics Quiz 1

8th Grade - University

15 Qs

Python Flow Control

Python Flow Control

9th - 12th Grade

10 Qs

Pseudocode WHILE Loops

Pseudocode WHILE Loops

10th - 12th Grade

10 Qs

CS1310 Unit 1 Quizziz

CS1310 Unit 1 Quizziz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

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

Media Image

What would be the output of the following code snippet?

10

15

20

5

3.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Media Image

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

Media Image

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

Media Image

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

Media Image
Media Image
Media Image
Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?