Python
Data Structures
Algorithms
Workshops
Misc.
100

What symbol is used to start a comment in Python?

#

100

What data structure uses square brackets and is mutable?

list

100

What type of search goes through each item one by one?

linear search

100

What does PCB stand for?

Printed circuit board

100

What’s today’s wordle answer?

Plaid
200

What is the output of print(5 + 3)?

8

200

Which data structure stores key-value pairs?

dictionary or dict

200

What’s the time complexity of linear search?

O(n)

200

What's the html tag for a link?

<a>

200

What is the output of bool(0)?

False

300

What keyword is used to define a function in Python?

def

300

What does len([10, 20, 30]) return?

3

300

What’s the time complexity of binary search?

O(log n)

300

What shape is this? (What was the funny shape in A Frame called. Hint (weird Donut))

TorusKnot

300

What is the output of print("a" < "b")?

True

400

What is the output of print("14" * 2)?

1414

400

What is the output of set([1, 2, 2, 3])?

{1, 2, 3}

400

What algorithm finds the shortest path in a weighted tree with different edge weights to calculate the minimum total weight?

Dijkstra’s Algorithm

400

What Language is Sprig Based on

JavaScript

400

What bitwise operator is used with bitmasks?

XOR (left shift)

500

What method removes trailing whitespace?

strip()

500

What data structures can insert and delete elements from both ends in O(1) time?

deques

500

What condition in a recursive function stops it from calling itself?

Base case

500

What was the monkey doing when he discovered Ook!

He was walking down the mountain when he hit his head.

500

What is today's spangram?

ARCHITECTURE