CS1310 Unit 1 Quizziz

CS1310 Unit 1 Quizziz

12th Grade

10 Qs

quiz-placeholder

Similar activities

CO - 2_ Quiz 1_Python Conditionals

CO - 2_ Quiz 1_Python Conditionals

10th Grade - University

15 Qs

Python End of Topic Quiz

Python End of Topic Quiz

8th Grade - University

15 Qs

Python - Year 8

Python - Year 8

3rd Grade - University

10 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Python Control Structure

Python Control Structure

12th Grade

15 Qs

Python Basics

Python Basics

12th Grade - University

10 Qs

Python Functions 1

Python Functions 1

12th Grade

12 Qs

Loops

Loops

9th - 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?