Database

Translating "English like" statements into Python

1. What is Grammar?

a. A particular analysis of the system and structure of language or of a specific

language

2. Defining a language to query a data base

a. Goal is to come up with a SQL (Structured Query Language) like language to

interrogate our database.

b. Define the definition of the grammar for the database query language

i. Translate grammar definition in Python code

c. Using the Python "eval" statement

3. Project 1: Write a Python program to accept English like queries to search a

database - easy

database - challenge

eval() in dictionary

Due Thursday 11/8

4. Project 2

Due Monday 11/19