Monday, March 4, 2019

Union and Intersection

Primary Task Response Write at least 3 paragraphs that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to reinforce your ideas. incite I Describe how the notion of union and intersection apply to retrieving records in databases. Give an example of 2 executes that might appear in a database to help in your description. A prominent couple is found polish off in their mansion located in an affluent neighborhood. The housekeeper found the bodies and called the jurisprudence.The housekeeper tells the detectives that sooner a few valuables ar missing from the house artwork, electronics, jewelry, cash etcetera In the initial stages of the investigation the detectives cannot decide whether this was a robbery departed wrong or a remove the perpetrator tried to veil into a robbery. Not wanting to miss any potential leads the police compiles a joint diagnose of suspects every suspect on this contestation is eithe r a cognize robber or a sleep withn killer (or both). For the first act R=x x has a robbery rap sheet they retrieve the Theft/Robbery portion database.For the second set M=y y has a murder in his criminal record they access the Homicide Division database. It is not funny that contrary divisions within the like police department maintain different databases. Although state and national databases do exist they are usually subdued moving and most often than not they generate unmanageably coherent lists of suspects. The adforefronttage of a local database consists in a much easier access and output which is oftentimes much more relevant to the investigation in 99% of the cases the crime is perpetrated by a local suspect.Thus the initial set of suspects S is the union of R and M S=R? M. cogitate however that S has too many suspects. Given the personnel shortage it is not feasible to investigate every name which appears in S. the police needs to find a way to narrow down thi s list. by and by re-interviewing the neighbors, it turns out that one of them witnessed a suspicious greens Chevy van idling on a street corner close to the dispatch couples house. The van was in a rough put to work which made it unlikely to be owned by one of the local residents.The detectives have now a clue that helps them narrow down their list of suspects. They access the DMV database to extract the list of devolve onrs who own an older model green Chevy van. In other words they retrieve the set C= z z owns a green Chevy van. The investigators so compare their list of suspects S , to the names listed in C, looking for usual entries. In other words they are interested in the set of prime suspects P, where P is the intersection mingled with S and C P=S? C. Part II Discuss the notion of the ratiocinative or and the logical and in calculating machine programming (coding) or flowcharts.Why is it important to know how to apply these correctly? The traditional scope of co mputer science was the mechanisation of numerical operations. But since reasoning can be seen as a kind of computation, in principle it can be automated as well. Computers represent information using bits. A bit is a symbolic representation with two possible values, zero and one. The word bit comes from binary digit, because zeros and ones are the digits used in binary representations of numbers Computer bit operations correspond to the logical connectives.Information is represented using bit strings, which are lists of zeros and ones. trading operations on the bit strings can be used to forge this information. At a very basic level, the binary string go about accompanied by the operations that can be performed with these strings via the logical connectives constitute our way of translating the problem in a form the computer can understand. Eventually, the computer is the perfect executant so it will lay off up doing exactly what we told him to do which is not always the same w ith what we mean to have him do.The difference between 0 and 1 may not seem bang-uphearted however, in absolute terms is as large as the difference between true and false, or the difference between black and white. The use of 0s and 1s is a matter of convenience if anything else alternatively we can work with dinks and dunks with exactly the same (logical) result. A quick example is most likely going to drive this point home. One of the places where logical connectives are used most frequently are the internet search railway locomotives. Suppose however that by a silly programming mistake a certain search engine XYZ. om reads or instead of and and vice-versa. Suppose your instructor recommended an article written by Jones and smith on the topic of logical connectives. The instructor could not think about the authors first names nor the exact title of the makeup but he suggested that a quick search on XYZ. com should help you locate the paper in no time. Needless to say if you r search query Jones AND Smith AND ratiocinative AND connectives is interpreted as Jones OR Smith OR Logical OR connectives the chances of locating the paper are just as great as the chances of finding thr needle in the haystack.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.