String Sin Tax
String Sly Sing
Hi-nary
Hidden Gems
Recent Gems
100

These punctuation marks are used to signify a string.

What are quotation marks?

100

The way you use indexing to get the first letter of "MyString"

What is "MyString"[0]?

100

A base 2 counting system

What is the binary counting system?

100

The answer to 54%5

What is 4?

100

What we use to repeat code over and over again.

What is a while statement?

200

The data type of "213432401238471209341"

What is a string?

200

The way you use slicing to get "My" from "MyString".

What is "MyString"[0:2]?

200

A base 10 counting system

What is the decimal counting system?

200

This is a different way to write
n = n + 1

What is n += 1?

200

What we specifically use to let a program continue when there's an error.

What is a Try Except Statement?

300

This is the output of: print("Tha\nksgiving")

Tha

ksgiving

(A new line should have been printed)

300

The way you use slicing to get "String" from "MyString".

What is "MyString"[2:]?

300

A base 16 counting system

What is the hexadecimal counting system?

300

This is the number of bytes in a kilobyte.
(The number mentioned in class)

What is 1024 bytes?

300

What we specifically use to make a program take multiple possible paths in a code.

What is an If-Elif-Else Statement?

400

These special characters are produced using backslashes insides strings.

What are escape sequences?

400

The way you use striding to read "MyString" backwards.

"MyString"[::-1]

400

The decimal equivalent of 100(binary).

4

400

The output of print(7%(5 // 2))

What is 1?

400

A way to get out of a while loop WITHOUT falsifying the Boolean condition.

What is the break command?

500

This is the type of error you get when you try to combine a string and an integer.

TypeError

500

The way you use string slicing to get "MS" from "MyString"

What is print("MyString"[:3:2])?

or

What is print("MyString"[:4:2])?

500

The hexadecimal equivalent of 255(decimal)

FF

500

An if statement inside another if statement

What is a nested-if statement?

M
e
n
u