Syntax & Semantics
CS 5000
Data Types & Expressions
CS 5000
Arrays & Lists
CS 5020
Stacks & Queues
CS 5020
Logic & Proofs
CS 5070
Set Theory
CS 5070
100

Rules that determine valid structure in a programming language

What is syntax?

100

A data type that stores text

What is a string?

100

A fixed-size collection of elements of the same type

What is an array?

100

Last-In, First-Out data structure

What is a stack?

100

This symbol means 'for all'

What is ∀?

100

The set containing no elements

What is the empty set (∅)?

200

Underlying meaning of syntactic code structures

What is semantics?

200

Stores true or false values

What is a boolean?

200

A dynamic collection that allows insertions and deletions

What is a list?

200

First-In, First-Out data structure

What is a queue?

200

This is the method of proving a statement by assuming the opposite

What is proof by contradiction?

200

This symbol means 'element of'

What is ∈?

300

These words are reserved by the language and can't be used as variable names

What are keywords?

300

Numeric type for decimal values

What is a float or double?

300

Traversal of a collection from first to last

What is iteration?

300

Operation to add an element to a stack

What is push?

300

This rule allows you to derive Q from P → Q and P

What is modus ponens?

300

The result of combining two sets

What is union (∪)?

400

Error from violating programming language rules

What is a syntax error?

400

Operation that evaluates to a new value

What is an expression?

400

Used to insert a new node in a linked list

What is a pointer/reference?

400

Removing an element from a queue

What is dequeue?

400

This is the method of demonstrating truth using steps and reasoning

What is a mathematical proof?

400

The set of elements in both A and B

What is intersection (∩)?

500

Logical grouping of code within braces or indentation

What is a block?

500

This process converts one data type into another

What is type casting?

500

Access time complexity for an element in an array

What is O(1)?

500

This method checks if a stack is empty

What is isEmpty?

500

This proof technique shows a base case and inductive step

What is mathematical induction?

500

This symbol means 'subset'

What is ⊆?