Free Essay

Assignment 1: Logic Application

In:

Submitted By 2ndhandsilence
Words 608
Pages 3
Assignment 1: Logic Application
Andy, Belle, Carol, and I are playing the game Guess Your Card. In the game, each person draws three cards without looking from a stack of cards containing contain multiple cards ranging in denomination from one to nine. Each person then places the cards on his or her forehead so that all of the other players can see the others’ cards, but cannot see their own. There is also a stack of questions that each person draws from in turn. These questions help the players deduct the identities of their own cards.
We have shuffled the deck and each player has drawn three cards and placed them on their own forehead. Andy has drawn 1, 5, and 7; Belle has drawn 5, 4, and 7; and Carol has drawn 2, 4, and 6. Obviously I cannot see my own cards. Andy draws the first question, which asks, “Do you see two or more players whose cards sum to the same value?” To which he answers, “Yes.” Belle’s turn is next. Her card asks, “Of the five odd numbers, how many different ones do you see?” She responds, “All of them.”
With these two questions, I am able to deduce which cards I have. After Andy drew the first question, “Do you see two or more players whose cards sum to the same value?” I added up Belle’s and Carol’s cards to see if theirs sum to the same total. Belle’s cards (5,4,7) add up to 16. Carol’s cards (2,4,6) add up to 12. Since Belle’s and Carol’s cards do not add up to the same amount, I can conclude that my cards add up to either 16 or 12. The next question regarding how many odd numbered cards Belle sees, indicates that I have the two remaining odd numbers, as the only odd numbered cards visible to me are 1,5, and 7. At this point, I know that I have 3 and 9. Since Belle’s cards add up to 16 and Carol’s to 12, and my 3 and 9 cards add up to 12, I know that the unknown card must be 4, which added to 3 and 9, makes 16.
Andy is able to deduce his cards based only on Belle’s question, “Of the five odd numbers, how many different ones do you see?” Andy can see that I have 3, 9, and 4, Carol has 2, 4, and 6, and Belle has 5, 4, and 7, which she cannot see. This indicates that the only odd numbered cards both she and Andy can see are my 3 and 9, leaving 1, 5, and 7. Andy deducts that he must have the 1, 5, and 7.
With the two given questions, it would not yet be possible for Belle or Carol to deduce the identities of their cards. Belle knows that her cards must not sum to 16, as both Carol’s and my cards sum to 16. Carol knows that her cards must sum to either 16 or 12, because Belle’s cards sum to 12 and my cards sum to 16. However, neither Belle nor Carol has sufficient information to deduce what their own cards are.
This game uses logic, deductive reasoning, set theory, elimination, and basic knowledge of math. In order for each player to guess their own cards, they must pay attention to the answers the other players give to each question and use the information to eliminate possibilities. The right question can give away the answer, as in Andy’s case, or a series of questions can lead to a conclusion, as in my case.

Similar Documents

Premium Essay

Assignment 1 Logic Applications

...Assignment 1: Logic Application I am playing “Guess Your Cards” with Andy, Belle, and Carol. Andy has drawn a 1, 5 and 7, Belle a 4, 5 and 7, and Carol a 2, 4 and 6. No one can see their own cards. Question cards are drawn and asked to help each player deduce what their own cards are. I believe deductive reasoning would be the logic used to solve this problem; you have the facts in front of you. The deck has only cards with the numbers 1 through 9 on them, you can see the cards already drawn and deduct, by the answers to the questions, exactly what cards you have. Let’s start with the first question. “Do you see two or more players whose cards sum to the same value?” Andy answers “yes”. Of the cards I can see, no two people have the same sum. I deduce that I must have the second set. Adding the cards of each person, I can see that Andy’s cards equal 13, Belle’s equal 16, and Carol’s equal 12. My set of cards must equal one of these. Second, “Of the five odd numbers, how many different odd numbers do you see?” Belle answers that she sees all of them. I can only see 1, 5, and 7. Therefore, I must have a 3 and a 9. These are the only two odd numbers that I cannot see. The statement that Andy knows what cards he has is totally irrelevant to the problem. It has absolutely no bearing on my logic or what cards I have. Knowing I have a 3 and a 9, I only have to figure out what my last card is. My 3 and 9 add up to 12, therefore, my sum cannot to be equal to Andy or Carol because...

Words: 387 - Pages: 2

Free Essay

Assignment 1: Logic Application

...cards. Each card has a numbers 1 to 9 on the cards. The players then place their cards on their heads so that everyone but themselves can see the cards. The object of the game is to guess what cards you have on your head. The first person that guesses this correctly wins the game. During the play, each player, inturn, draws a question from a stack of question randomly but in turn. The player then will answer that question based on the cards that they see ( not their own cards , which they can’t see). In this problem Andy has three cards: 1, 5, and 7 Belle has three cards as well 5, 4, and 7. Also Carol has three cards too she has 2, 4, and6, Belle draws the question card that says “ Of the five odd numbers how many do you see?” and she said “I see all of them.” From that I can determine that I have a 3, and a9 on my head because I do not see them on anyone else‘s head. Andy says “I know what three cards that I have on my head they are 1,5,and 7” Andy drew the question “Do you see two or more players whose cards sum to the same value?” to which he answered “Yes” . Andy’s cards sum to 13, Belle cards sum to 16 and Carol’s cards sum is 12. Therefore my cards must equal the sum of one of those numbers. My cards cannot sum to 12 like Carol’s because I need to have a third card on my head, so therefore my cards must equal 13 or 16. My cards cannot equal the sum of 13 because Andy said that he has a 1, 5, and a 7 on his head because he does not see a 1 on anyone else’s head. Therefore...

Words: 429 - Pages: 2

Premium Essay

Bull

...Department of Information Technology ENDT200: Introduction to Programming Credit Hours: 3 Length of Course: 8 Weeks Prerequisite(s): None | Table of Contents | Instructor Information | Evaluation Procedures | Course Description | Grading Scale | Course Scope | Course Outline | Course Objectives | Policies | Course Delivery Method | Academic Services | Course Resources | Selected Bibliography | Instructor Information | Instructor: Jason T. Black, PhD (also called “Dr. B”) Email: Use the Messages feature in the classroom to email me. Table of Contents Course Description (Catalog) | This course introduces students to writing computer programs. The class presents the principles of structured programming using the BASIC language, perhaps the most common language for personal computers. Because of its ease of use it is ideal as a first programming language and runs on both the PC and Macintosh platforms. The course is designed for people without previous programming experience who do not necessarily plan on becoming professional programmers. However, the knowledge gained in the class can be applied later to other languages such as C and Java. Participants learn to solve problems logically by breaking them into smaller pieces, which can then be solved. Topics include: introduction to computing - how does a computer work?; input and output - getting information to and from the user; variables and expressions - performing arithmetic; data...

Words: 2708 - Pages: 11

Premium Essay

Ethics

...[pic] |Leadership and Organizational Behavior – BUS 520 | |Student Course Guide | |Prerequisite: None | |Quarter |Fall 2010 | |Meeting Days/Time |Wednesday 6pm-10pm | |Instructor |Karmetria Burton | |Instructor Phone |678 362 0842 | |Instructor E-mail |Karmetria.burton@strayer.edu | |Instructor Office Hours/Location |5-6 pm Wednesdays or by appointment | |Academic Office Phone Number | | |INSTRUCTIONAL MATERIAL - Required ...

Words: 7940 - Pages: 32

Premium Essay

Application of Financial Statement

...Assignment 1: Application of Financial Statement Students will prepare a ten (10) page response to the following: * Select either the balance sheet , income statement,or statement of cash flow and explain how the use of it may be applied to your everyday life. * Using the same concept selected above, discuss how a business manager may benefit from an understanding of this statement. * Discuss how your understanding of the balance sheet and income statement may be applied to your current or future position. The format of the report is to be as follows: * Typed, double-spaced, Times New Roman font (size 12), one-inch margins on all sides, APA format. * Type the question followed by your answer to the question. * In addition to the ten (10) pages required, a title page is to be included. The title page is to contain the title of the assignment, your name, the instructor’s name, the course title, and the date.Note: You will be graded on the quality of your answers, the logic/organization of the report, your language skills, and your writing skills. | The assignment will be graded using the following rubric: Outcomes Assessed | * Prepare and analyze financial statements including the balance sheet, income statement, and statement of cash flow. * Use technology and information resources to research issues in financial accounting management. | Grading Rubric for Written Assignment: Application of Financial Statement | Criteria | 0Unacceptable | 20Developing...

Words: 804 - Pages: 4

Premium Essay

Cmoputer

...Programming Development Select and complete one of the following assignments: Option 1: Programming Solution Option 2: Personal Learning Management Option 1: Programming Solution Part 1: Programming Solution Proposal Select a problem in your workplace that requires a programming solution. Instead of a workplace, you may use another organization to which you belong, such as a house of worship, a local library, or a sports league. You may also use one of the Virtual Organizations as your model. Write a 2- to 3-page proposal in which you do the following: • Describe how you determined the problem that must be solved. • Describe the role of the personnel involved in the project. • Explain the process of solving the problem and developing the program in terms of the programming development cycle. • Explain how you would take a modular approach to the program solution and why it is important. • Provide appropriate references to support the points in your paper. Format your paper consistent with APA guidelines. Part 2: Selection Structure Paper Use the Part 1: Programming Solution Proposal you developed in Week Two and select one section of the proposal that requires a selection structure. Write a 2- to 3-page paper describing the purpose of that structure and write the pseudocode for that structure. Examine any iteration control structure. If the program you described in Week Two does not lend itself well to the inclusion of a selection...

Words: 972 - Pages: 4

Free Essay

A Paper

...|[pic] |Course Syllabus | | |Information Systems & Technology | | |PRG/211 Version 4 | | |Algorithms and Logic for Computer Programming | Copyright © 2012, 2011, 2010 by University of Phoenix. All rights reserved. Course Description This course provides students with a basic understanding of programming development practices. Concepts covered include the application of algorithms and logic to the design and development of procedural and object oriented computer programs to address the problem solving requirements associated with business information systems. This course will cover procedural programming concepts including data types, controls structures, functional decomposition, arrays, and files, classes and objects. Policies Faculty and students/learners will be held responsible for understanding and adhering to all policies contained within the following two documents: • University policies: You must be logged into the student website to view this document...

Words: 1735 - Pages: 7

Premium Essay

Marketing Strategy of Pringles

...Sunderland Faulty of Business & Law Undergraduate Programmes MKT306 Marketing Strategy Assignment February 2009/10 Please read all instructions and information carefully. You are required to submit your work within the bounds of the University Infringement of Assessment Regulations. Your assignments must be handed in to the University of Sunderland Learning Resource Centre with an accurately and clearly completed Assignment Cover Sheet. Learning Outcomes Assessed: Upon successful completion of this module, students will be able to: • Knowledge 1. Explain the nature of marketing strategy and its significance for the organisation 2. Assess the drivers and factors affecting the choice of marketing strategies 3. Evaluate appropriate models and techniques that aid the strategic marketing process 4. Analyse contemporary marketing issues and problems in a strategic context • Skills 1. Apply research skills 2. Demonstrate interpreting advanced information and marketing data handling skills 3. Assess communications skills to develop effective relationship marketing Title: Individual report Weighting: 100% Module Assessor: Stephen Storey Issue Date: February 2010 Hand-in Deadline: 2.00pm Monday 17th May 2010 Word Count: 2500 - 3000 + Appendices Task This assignment is a single report in two parts. (As a guide only; each part should form approximately half of the final report) ...

Words: 873 - Pages: 4

Premium Essay

Layering & Internet Model

...There are three parts to this assignment relating to each lecture in Module 1. Part 1: Layering and the Internet Model Imagine that a technology organization has been in business for decades, and that the organization developed its own method of computer-to-computer communication. Because this method of communication only occurs within this organization, it is not layered, but rather is designed to operate as quickly and efficiently as possible on the custom hardware by using the least amount of overhead possible. The organization continues to create its own communication hardware and software that works with modern computers, but the CTO of the organization is considering replacing this custom communication solution with the adoption of the Internet Model in use today, along with its technologies. With this scenario in mind, address each of the topics below. Topic 1: The Advantages of a Layered Model Identify and describe the advantages that a layered solution would offer the technology organization when compared to its non-layered solution. Advantages : The advantage of implementing layered model in technology organization will be : 1. They can communicate with the other organizations and can provide the information/presence about their business on internet too. 2. By implementing layered module… changes at one layer will not affect hardware /software at the other layers. Vendors can develop hardware and software to provide the functions of...

Words: 3129 - Pages: 13

Free Essay

Logic Application, Financial Project

...Assignment 1 The Logic Application Dr. Keva Yarbrough Detra Lawrence Math 104 February 27, 2013 Assignment 1 The Logic Application One of the greatest strengths in math is it concerns with the Logic proof of its given proposition. Any Logical system must start with some undefined terms, definition, and axioms. There are many ways you can analyzed certain numbers or statistics. In this essay, we learned the outcome solving problems using concepts from the set theory and logic of the situation. This is a game call Guess Your Cards which is played by four players. Each player has to draw three cards 1 through 9 dealt face down and then places it on their heads so that everyone but the player can see the cards. We find that Player 1 Andy has won the game by answer to the card from the question deck. By the given information Andy has a sum of 13. Belle has a sum of 16. Carol has the sum of 12. Since Andy question was “Do you see two or more players with same value,” he replied yes. Belle question was asked “out of the five odd numbers do you see all different odd number,” she replied saying I see all odd numbers. Andy is the only player who Belle sees who has odd number of cards which is 1, 5, and a 7 which leads player 4 with the missing odd numbers of a 3 and 9. Since 3 and 9 sums to 12, and player 4 is missing its third card this lets us know player 4 number will value to Belle sum which is 16 and player four will have a 4 as its third card. With all numbers...

Words: 606 - Pages: 3

Premium Essay

Assignment

...Assignment 02 Chapter 2 pg 70: 1, 2, 7, 10, 11, 12, 13, 16, 19, 20, 26 1. What are the different types of application architectures? There are three different fundamental application architectures. In host-based networks, the server performs virtually all of the work. In client-based networks, the client computer does most of the work; the server is used only for data storage. In client-server networks, the work is shared between the servers and clients. The client performs all presentation logic, the server handles all data storage and data access logic, and one performs the application logic. Client server networks can be cheaper to install and often better balance the network loads but are far more complex and costly to develop manage. 2. Describe the four basic functions of an application software package. Basic functions of an application Layer Data storage Storing of data generated by programs (e.g., files, records) Data access logic Processing required accessing stored data (e.g., SQL) Application logic Business login such as word processors, spreadsheets Presentation logic Presentation of info to user and acceptance of user commands 7. Compare and contrast two-tier, three-tier, and n-tier client-server architectures. What are the technical differences, and what advantages and disadvantages does each offer? Two-tier client server architecture uses only two sets of...

Words: 1140 - Pages: 5

Free Essay

Dollar Tree Draft

...card, from the deck that ask a random question. Each cards has a number between 1 and 9. A logic must be used to find the answer. Each player has three shown card. The player answers the question based on the cards that they see, not their own cards or the ones not shown. Example is Andy has the cards 6, 6, & 7 Belle has the cards 3, 6, & 7 Carol has the cards 1, 1, & 9 Dan has the cards 3, 4, & 8 The situation is Andy has cards 1, 3, 7 Belle has cards 3, 4, 7 Carol has cards 4, 6, 8 Andy draws the first card, the cards ask does they have the same value? Andy cards is 1 + 3 + 7 = 11 Belle cards sum is 3 + 4 + 7 = 14, and Carol cards are 4 + 6 + 8 = 18. Therefore they don't have the same value. Andy's sum is 11, Belle's is 14, and Carol's is 18. So the cards must add up to 14 or 18. Belle draws the second card, asking how many odd numbers is there? The only cards Belle see of Andy and Carlo's is 1, 3, 7. So you must have 5 and 9. 5 + 9 = 14. Thinking the sum must be 14 or 18, there is still a 1 left, so it must be more than 14. Since the sum of Carol's card is 18. A third card is 18 - 9 - 5 = 4. So Andy's card is 4, 5, 9. Conclusion: Andy realized the only odd cards Belle could use in Carols hand was the 5 and 9. So the only cards left was 1, 3, and 7, which had to come from Andy, so that is how he figured it out. Grading for this assignment will be based on answer quality, logic/organization of the paper, and language and writing skills, using the following rubric...

Words: 529 - Pages: 3

Premium Essay

Nt1310 Unit 3 Assignment Analysis

...For the unit 3 assignment, there will be three tasks: First you must create a logic circuit using only basic gates such as AND, OR, NOR, NAND, NOT, etc. to implement an ADDER capable of adding two 4 bit binary numbers. Second you must create a logic circuit using only basic gates such as AND, OR, NOR, NAND, NOT, etc. to implement a Subtractor that is capable of subtracting the second number from the first, by converting the second number into its 2's complement form and then adding the resulting number to the first number. You do not need to worry about accomodating the addition or subtraction of negative numbers as part of your assignment. Finally, for the third part of the assignment you must create a limited ALU (Arithmetic logic unit) circuit using Logism that implements a Full...

Words: 945 - Pages: 4

Free Essay

Semantics

...REPUBLIC OF VIETNAM Independence – Freedom – Happiness CURRICULUM MAJOR: ENGLISH COURSE DESCRIPTION 1. General Info: - Course: English Semantics - Code: LI005 - Credits: 2 - Option: Compulsory - Prerequisite: Listening, Speaking, Reading, Writing from 1 to 3 - Requirements: Students are required to attend the class fully, to participate in class activities such as exercises, mini-tests, discussion, etc. based on their self-study in accordance with their lecturers’ guidance and assignment. - Credit hours: + Lecture: 30 periods + Self-study: 45 hours - Department: Department of Foreign Languages – Linguistics Division 2. Objectives - Knowledge: to introduce students to all the main elements of Semantics in a simple step-by-step fashion. - Skills: to provide students with an opportunity to discover the value and fascination of studying Semantics, and move on to such topics as sense and reference, basic sense relations, simple logic, word meaning, and interpersonal meaning. - Attitude: to provide students with an opportunity to develop and promote their apt selfstudy and scholarship 3. Course summary This course has been carefully planned to introduce students to most of the main elements of Semantics. Students begin by discovering the value and fascination of studying Semantics, and move on to such topics as sense and reference, basic sense relations, simple logic, word meaning, and interpersonal meaning. Each unit of the course book used “Semantics A Course book” by James...

Words: 576 - Pages: 3

Premium Essay

Marketing Management

...Sunderland Business School Undergraduate Programmes UGB229 Marketing Management 2013 Assignment This assignment is in two parts. You need to achieve an overall mark of 40% to successfully complete this module. Please read all instructions and information carefully. You are required to submit your work within the bounds of the University Infringement of Assessment Regulations. Your assignments must be handed in to the Library Desk with an accurately and clearly completed Assignment Cover Sheet. Learning Outcomes Assessed: Knowledge Based Outcomes: 1. Demonstrate an understanding of the differing roles of marketing in different organisations 2. Analyse the key issues in managing marketing operations within an organisation 3. Explain, use and evaluate tools and techniques employed by marketing managers in developing and managing their strategies, plans and operations 4. Understand, describe and evaluate the importance of, and mechanisms for, control and evaluation within marketing management 5. Recognise the need for integration between marketing management and other organisational management areas such as operations, finance and HR 6. Discuss the key trends in marketing management Skills: Upon successful completion of this module, students should be able to demonstrate the following skills: 7. Analysis of information and/or a situation 8. Problem solving and decision making 9. Reading, synthesising and reporting...

Words: 1184 - Pages: 5