Review_Package_Solutions_W11

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 3: 4, 32, 70 Pg9; 4: 13, 31, 45, 68 Pg13; 4: 3, 10, 26, 51 Pg17; 3: 24, 28, 44 Pg19; 5: 9, 10, 32, 44, 76 Pg20; 2: 32, 45 Pg22; 3: 23, 30, 38 Pg27; 4: 4, 19, 32, 73 Pg29; 5: 10, 17, 24, 28, 44 Pg32; 3: 32, 44, 56 Provided the above information, find the resulting postings list when searching for all occurrences of the phrase “Computer Science Rocks” Computer Science Rocks 2 Pg 8 Pg 22 Given the following pages: Pg1 How much wood could a woodchuck chuck Pg2 If a woodchuck could chuck wood Pg3 He could chuck all the wood that Pg4 a woodchuck could chuck if a woodchuck Pg5 could chuck wood Make a postings list for the words wood, chuck, could, and woodchuck. Wood4 Chuck5 Could5 Woodchuck3 Pg1;1:3 Pg1:1:7 Pg1:1:4 Pg1:1:6 Pg2;1:6 Pg2;1:5 Pg2;1:4 Pg2;1:3 Pg3;1:6 Pg3;1:3 Pg3;1:2 Pg4;2:2,7 Pg5;1:3 Pg4;1:4 Pg4;1:3 Pg5;1:2 Pg5;1:1 Boolean Logic and Querying For the following Venn diagrams, give the query that would return the pages represented by the shaded areas: ((Bunny and Hamster) or Hedgehog) and not (Bunny and Hamster and Hedgehog) (Ninja or Assassin) and not ((Ninja and Assassin) and not Spy) ((Banana and Berries) and not PB) or ((Berries and PB) and not Banana) Using the Venn diagram below, name the corresponding segments that would be filled in by the following queries: a. (Daisy or Pansy or Lily) and not ((Daisy and Pansy) and not Lily) 1,3,4,5,6,7 b. (Daisy and Pansy and Lily) or (Lily and not (Daisy or Pansy)) 5,7 c. (Daisy and not (Pansy or Lily)) or ((Pansy and Lily) and not Daisy) 1,6 Crawling Answer the following questions: What do we call the pages on which web crawlers usually start on? Seeds What is a directed graph? A set of objects called nodes and a set of directed edges connecting two or more nodes Describe an Algorithm for Breadth First Traversal Put all seeds into Queue Prepare to keep a list of visited Nodes (initially empty) As long as the Queue is not empty: Remove the first node from the Queue Append that node to the list of visited nodes For each...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern