Lexical Analysis
Compiler vs. Interpreter
Python Stuff
Completely Unrelated
100

This is the smallest meaningful unit in a grammar

token

100

The type of translator executes code line-by-line without producing an executable

Interpreter

100

What was the inspiration for the name of the Python language?

Monty Python

100

What was the release date of The Elder Scrolls 5: Skyrim?

11-11-2011

200

In this code:

print("Hello")

the string "Hello" belongs to what category of token?

Literal

200

The output of a successful compilation is...

binary, executable

200

What keyword do we use in Python to represent "Nothing"

None

200

Who is the greatest point-guard in NBA History?

1. Magic Johnson followed by Oscar Robertson, John Stockton

300

Name two parts/steps in the compilation process

Source → Lexer → Parser → AST → Code Generation

300

This is the primary reason why compiled code typically runs faster than interpreted code.

The translation (or analysis) is done only once, before execution.

300

What keyword is used to define a function in python?

def

300

Which music group wrote the song "Stairway to Heaven"

Led Zeppelin

400

The Lexer strips away these two elements from the source code as they are not meaningful to the compiler.

comments and whitespace

400

This process performed by a compiler helps improve execution speed by restructuring code without changing its behavior.

Optimization

400

In Python everything can be described as this fundamental concept?

Object

400

Which WW2 Era General was known as the "Desert Fox"

Erwin Rommel

500

This data structure, which maps recognized strings to their token type, is used by the lexer for lookup

Look-up table, symbol-table, or table

500

Name 5 Interpreted Languages

Python, Ruby, JS, PHP, Perl, Bash, Lua, R

500

Who created the Python language and where is he from?

Guido van Rossum, Netherlands

500
Name the movie this quote comes from:


"I'm going to make him an offer he can't refuse"

The Godfather