What the Function

From Scioly.org
Jump to: navigation, search
What the Function

Type Inquiry
Category Lab
Division C Results
1st West Windsor-Plainsboro High School North
2nd Hotchkiss School
3rd Belmont High School

What the Function is a Division C trial event that was run at the 2019 MIT Invitational. It focuses on the Python programming language, with an emphasis on functions and lambda expressions. The event is similar to Source Code in that it revolves around Python syntax, but the events are structured differently. In What The Function, competitors are given snippets of code and will answer questions about it as opposed to producing and running code. Competitors are allowed to bring one standard 8.5" x 11" note sheet and scratch paper will be provided by the event supervisor. Computers and other electronics are not allowed in the testing room.

Python Syntax

For more information on basic Python syntax, see Source Code#Python Syntax.

Functions

Built-in Functions

Lambda Expressions

Links

2019 Trial Event Rules
Official Python documentation

Trivia

Pikachu4919 is almost pretty much responsible for helping name this event. She cites it as a rather iconic quote from her high school calculus teacher, who was incidentally also the calculus teacher of former MIT Invitational tournament director Joshua Segaran (They went to the same high school and were even SciOly event partners on the Carmel team for a few years! Different graduating classes, though). Her reasoning to defend it: "If our high school calculus teacher was the one who said it, it's probably fine to use in front of Division C folks."