MAT 101 Assignments
This page is used to document examples and/or assignments for the Information Literacy component of courses.
Assignment Type 1: Simple and Compound Statements
Goals and Objectives
- Exhibit the difference between and and or and use not as applied to a database.
- Formulate queries in both symbolic logic form and general database syntax.
- Introduce the idea of identifying keywords and assigning of variables.
- Introduce the concept of literal strings.
- The Information Literacy session should stress the difference in the variable assignment used in class (see Variable Assignment below) versus using the literal string (phrase) syntax of the actual database
- Exhibit the difference is searching for a string versus the typed words.
- Introduce particular database syntax.
- Apply the distributive equivalence and DeMorgans Law.
Global Warming Example
You are taking a science course where the discussion involves the triggering of an ice age. Some theories suggest that global warming is really the precursor to an ice age because of the build up of greenhouse gases. Greenhouse gases consist of primarily carbon dioxide which gives rise to the term Greenhouse effect.
Variable Assignment
- i = ice age
- w = global warming
- g = greenhouse
- e = effect
- a = gas
- r = greenhouse effect
- s = greenhouse gases
Questions
- Determine the number of hits for the search (query)
- i.
- Explain, using the number of hits, which search would give you the desired articles you require for your research paper:
- i \/ w
- i \/ w
- Using the letters, 1, 2, 3 and 4 in the Venn Diagram
, describe the regions for each of the previous expressions, where the A is the set of articles that contain ice age and B is the set of articles containing global warming.
- Suppose you wanted to find articles about the ice age that did not talk about global warming. Which expression would you use and why?
- i \/ ~w
- i \/ ~w
- Using the numbers, 1, 2, 3 and 4 in the Venn Diagram
, describe the regions for each of the previous expressions, where the A is the set of articles that contain ice age and B is the set of articles containing global warming.
- Use the information / number of articles from the following parts o answer the questions.
- Do you receive more or fewer hits as compared to the previous part with the following search.
- i \/ ~w \/ ~r \/ ~s
If you receive the same amount of hits, is that just a particular instance of what you are searching for? Explain your answer using the next question.
- Rewrite the i \/ ~w \/ ~r \/ ~s search using DeMorgans Law.
- Write the query and the logic expression that determines
- if the phrase greenhouse effect appears but not greenhouse gases
- if the phrase greenhouse gases appears but not greenhouse effect
- Using the letters, 1, 2, 3 and 4 in the Venn Diagram
, describe the regions for each of the previous expressions, where the A is the set of articles that contain greenhouse effect and B is the set of articles containing greenhouse gases.
- Comparing to the previous part, would you expect
- r \/ s
to produce more, fewer or the same number of articles?
- You decide you want to find additional articles about the greenhouse effect, you enter the following searches below. Are the number of hits the same? If not, can you give an example of situation where an article would appear in one search but not the other? If the number of hits is the same, try the query in a different database.
- g \/ e
- r
- Determine the number of hits from the following query and rewrite it using the Distributive Law and determine the number of articles for each.
- (g \/ e) / (g \/ a)
Assignment Type 2: Precedence Of Operators
Goals and Objectives
- Exhibit the use of paraenthesis.
- Show that databases have a precedence of and and or.
- Introduce the idea of identifying keywords and assigning of variables.
- Introduce the concept of literal strings.
- The Information Literacy session should stress the difference in the queries
- Connect logical operators to Venn diagrams and set operators.
- (a \/ e) \/ g
- a \/ (e \/ g)
- a \/ e \/ g
Global Warming Example
Assignment 2
Databases that can be used:
- database whatever
- second database
- etc

Connecting Sets and Logic
- Using the Venn diagram, let A = { articles containing "global warming"} B = { articles containing "polar bears" } C = { articles containing extinction } Give
the set (use the numbers) that represent the following queries:
- "global warming" and "polar bears" and extinction
- ("global warming" and extinction) and not "polar bears"
- ("global warming" or "polar bears") and extinction
- ("global warming" and extinction) or ("global warming" and "extinction")
- Using the Venn diagram, let A = { articles containing "global warming"} B = { articles containing "polar bears" } C = { articles containing extinction } rewrite the queries in the previous part using union , intersection and complement ‘ and the set letters.
- "global warming" and "polar bears" and extinction
- ("global warming" and extinction) and not "polar bears"
- ("global warming" or "polar bears") and extinction
- ("global warming" and extinction) or ("global warming" and "extinction")
- Using the Venn diagram, let A = { articles containing "global warming"} B = { articles containing "polar bears" } C = { articles containing extinction } In what region (numbers) would you find the following articles:
- Articles on "global warming" and "polar bears".
- Articles on extinction or "global warming"
- Articles on extinction and "polar bears" but do not discuss "global warming"