a computer program that interacts with the database by issuing an appropriate request to dbms
a computer program that interacts with the database by issuing an appropriate request (typically an sql statement) to the dbms.
refers to the n-dimensional space where your variables live, collection of features related to some properties of the class labels.