Programming Quiz

Programming Quiz

10th Grade

95 Qs

quiz-placeholder

Similar activities

Nature of Science Review

Nature of Science Review

9th - 12th Grade

92 Qs

Business of Retail Practice 3

Business of Retail Practice 3

9th - 12th Grade

92 Qs

spanish words

spanish words

KG - Professional Development

94 Qs

CC SISWA DAN GURU INOTEK

CC SISWA DAN GURU INOTEK

9th - 12th Grade

100 Qs

Babak Penyisihan SESO SMA/Sederajat 2020

Babak Penyisihan SESO SMA/Sederajat 2020

KG - University

100 Qs

General Knowledge - UK

General Knowledge - UK

5th Grade - University

100 Qs

Car logos

Car logos

KG - Professional Development

93 Qs

Synoptic Gospels

Synoptic Gospels

9th - 12th Grade

92 Qs

Programming Quiz

Programming Quiz

Assessment

Quiz

Other

10th Grade

Hard

Created by

Parnika Chukkaluri

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

95 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the output of this code snippet where x=4 and then x is set to "Sally"?

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is an example of Python string addition that will run without error?

Hello" + "World!"

new_string = Hello + World! All choices message1 'Hello' + 'World!'

message1 = 'Hello' + 'World!'

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming paradigms, increased levels of abstraction usually mean that the language approaches human readability and becomes less tied to the intricacies of specific hardware. Would you agree?

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The string.isdigit() does what?

Returns True if all characters in the string are lowercase

Returns True if the string is a title-cased string otherwise returns False

Returns True if all characters are alphabetical or digits

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, you can use the in operator to check if a value exists in a group of values.

True

False

6.

OPEN ENDED QUESTION

3 mins • 1 pt

What will be the output of the following Python code snippet where game One Points = 200, game TwoPoints=456, and an attempt is made to print game One Points + game TwoPoints?

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Using the following list of players, what will be the output when print(players[1:5]) is used?

Evaluate responses using AI:

OFF

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?