Exercise: Logical operators

Slides:



Advertisements
Similar presentations
Practice Problems: The Composition of Functions Work problems on your own first. Then check with answers in the following slides. If the answers don’t.
Advertisements

Shade the Venn diagram to represent the set A' U (A ∩ B)
© Tefko Saracevic, Rutgers University adapted for sectoin 21 PRINCIPLES OF SEARCHING 17:610:530 (02) Paul Kantor SCILS, Rm. 307 (732) /Ext
© Tefko Saracevic, Rutgers University1 1.Discussion 2.Information retrieval (IR) model (the traditional models). 3. The review of the readings. Announcement.
© Tefko Saracevic, Rutgers University1 Interaction in information retrieval There is MUCH more to searching than knowing computers, networks & commands,
Exercise Exercise3.1 8 Exercise3.1 9 Exercise
Exercise Exercise Exercise Exercise
Exercise Exercise Exercise Exercise
Exercise Exercise6.1 7 Exercise6.1 8 Exercise6.1 9.
© Tefko Saracevic, Rutgers University1 PRINCIPLES OF SEARCHING 17:610:530 (01) Tefko Saracevic SCILS, Rm. 306 (732) /Ext. 8222
© Tefko Saracevic, Rutgers University 1 Vox populi: the public searching of the Web: A longitudinal study of large samples of Excite queries Dietmar Wofram.
Tefko Saracevic, Rutgers University 1 Practice for logical operators Boolean search statements and Venn diagrams.
1 Guide to exercise 2 Brief examples Tefko Saracevic.
© Tefko Saracevic, Rutgers University1 digital libraries and human information behavior Tefko Saracevic, Ph.D. School of Communication, Information and.
Tefko Saracevic, Rutgers University 1 How to print slides from a PowerPoint presentation 1. You can print a presentation while you are online OR you can.
Tefko Saracevic, Rutgers University 1 How to print slides from a PowerPoint presentation 1. You can print a presentation while you are online OR you can.
© Tefko Saracevic 1 Information retrieval (IR): traditional model 1.Why? Rationale for the module. Definition of IR 2.System & user components 3.Exact.
Using the Diagram It Template Copy this presentation to your hard drive. There are two sets of templates: Slides #3 & 4 for a flow chart Slides #5 & 6.
Unit 10 – Logic and Venn Diagrams
A CB SHADING VENN DIAGRAMS Try these Venn Diagram shading questions involving 2 sets Question 1Question 2 Question 3Question 4.
Chapter 3: Set Theory and Logic
A Slide Show by Mr. Mark Martin. Integer Operations Integers are all the positive and negative numbers and zero. –In set notation: {... -2, -1, 0, 1,
2.3 – Set Operations and Cartesian Products Intersection of Sets: The intersection of sets A and B is the set of elements common to both A and B. A  B.
SECTION 2-3 Set Operations and Cartesian Products Slide
© Tefko Saracevic 1 Exercise: Logical operators Boolean search statements and Venn diagrams.
The ABC’s Of Search Engines Lesson 3: The Power Of The + and - Sign.
Warning: All the Venn Diagram construction and pictures will be done during class and are not included in this presentation. If you missed class you.
What are Boolean Operators? Mrs. Sereno & Mrs. Gadbury 2012.
Quadratics 5 Discriminant, Problem Solving, Intersecting Graphs.
Intro to Inequalities Unit 4 Section 4.1. Definition A statement that a mathematical expression is greater than or less than another expression.
EXERCISE 1.4 MICROMETER SCREW GAUGE. D mm C mm B mm A mm    Q1. The diagram shows a micrometer screw gauge. Which reading is.
親愛的吉姆舅舅: 今天吃完晚餐後,奶奶說,在家 裡情況變好以前,您要我搬到城裡跟 您住。奶奶有沒有跟您說,爸爸已經 好久沒有工作,也好久沒有人請媽媽 做衣服了? 我們聽完都哭了,連爸爸也哭了, 但是媽媽說了一個故事讓我們又笑了。 她說:您們小的時候,她曾經被您追 得爬到樹上去,真的嗎? 雖然我個子小,但是我很強壯,
Boolean Operations and Expressions Addition = = = = 1 Multiplication 0 * 0 = 0 0 * 1 = 0 1 * 0 = 0 1 * 1 = 1.
Computer Programming Boolean Logic.
Guide to exercise 9 Bibliometric searching
Example of a search on DialogWeb
Part 1: Boolean algebra & Venn diagrams Part 2: Starting Scopus
4.7 Dividing Polynomials.
continued on next slide
What do these fractions mean? Do they hold the same value?
Rule Exercises Status of the Ball Definitions and Rule 15
Rule Exercises Status of the Ball Definitions and Rule 15
                                                                                                                                                                                                                                                
continued on next slide
continued on next slide
Geometry Review PPT Finnegan 2013
סדר דין פלילי – חקיקה ומהות ההליך הפלילי
SHADING VENN DIAGRAMS

Logic Gates Revision Package.
Chapter 6 Categorical Syllogisms
Determine the graph of the given function. {image}
Combinational Logic Practice Problems gmail.com Jan 2015.
CATEGORY ONE Enter category name on this slide..
You must show all steps of your working out.
7C Complements of Sets 7D-7G Venn Diagrams
Question 1.
Computer Programming Boolean Logic Trade & Industrial Education
All slides © Christine Crisp
Negative and Rational Indices all slides © Christine Crisp
HCF and LCM - Product of Prime Factors using Venn Diagram – Exercise 1
12cm Area 64cm2 Area 100cm2 ? ? Area ?cm2 12cm Area 36cm2
continued on next slide
12cm Area 64cm2 Area 100cm2 ? ? Area ?cm2 12cm Area 36cm2
Digital Systems Section 3 Boolean Algebra. Digital Systems Section 3 Boolean Algebra.

DIAGRAM IT!.
continued on next slide
4 Categorical Propositions
Presentation transcript:

Exercise: Logical operators Boolean search statements and Venn diagrams Tefko Saracevic, Rutgers University

Tefko Saracevic, Rutgers University Directions Slide 4 provides a Venn diagram with numbered sets and a number of search statements for each statement shade the appropriate set or sets e.g. for (A OR B) AND C the sets are 4, 5, 6 Slide 5 is for practice Slide 6 has the answers BUT NOTE: one of the answers is WRONG! Which one? Tefko Saracevic, Rutgers University

Tefko Saracevic, Rutgers University Order of operations Rules for the order in which operations are done effect the answer - so follow them Dialog order of operation is: 1. First are done all operations that are in parentheses, then: 2. (W), (N), (S), (L), or (F) 3. NOT 4. AND 5. OR e.g. for A OR B AND C, first is done B AND C, and then A OR the results of B AND C, thus this is the same as A OR (B AND C) Tefko Saracevic, Rutgers University

Tefko Saracevic, Rutgers University Venn diagrams 1 2 3 4 5 6 7 A B C 1. A AND B 2. A OR B 3. A OR B AND C 4. (A OR B) AND C 5. A AND B NOT C 6. A AND (B NOT C) 7. (A AND B) NOT C 8. (A NOT B) AND C 9. A NOT (B AND C) 10. A NOT B AND C 11. A AND (B OR C) 12. A AND B OR C 13. A OR (B AND C) 14. A OR B OR C 15 A AND B AND C Tefko Saracevic, Rutgers University

Tefko Saracevic, Rutgers University 1 2 3 4 5 6 7 A B C Tefko Saracevic, Rutgers University

Venn diagrams: solutions p.s. one of them is wrong! 1 2 3 4 5 6 7 A B C 1. A AND B 2,5 2. A OR B 1,2,3,4,5,6 3. A OR B AND C 1,2,4,5,6 4. (A OR B) AND C 4,5,6 5. A AND B NOT C 2 6. A AND (B NOT C) 2 7. (A AND B) NOT C 2 8. (A NOT B) AND C 4 9. A NOT (B AND C) 6 10. A NOT B AND C 4 11. A AND (B OR C) 2,4,5 12. A AND B OR C 2,4,5,6,7 13. A OR (B AND C) 1,2,4,5,6 14. A OR B OR C 1,2,3,4,5,6,7 15 A AND B AND C 5 Tefko Saracevic, Rutgers University