Premium Essay

Assignment #2- Logic Application

In:

Submitted By moms11
Words 456
Pages 2
I am playing a card game called Guess Your Card with three other players, Andy, Carol and Belle. The concept of this game is draw three cards out of a pile of cards where each card has a number between 1 and 9. You, along with the other players, must place these cards on your head without looking at them. Everyone but you should be able to see your cards. There is also another set of question cards that each player must draw from. Players can begin to predict which cards they possess by listening to other players answer questions from this deck. The player who draws a question card must answer the question on each card they draw. They answer these questions based on the other players cards, not their own. The object of the game is to guess what cards you have before anyone else does.
I can figure out what cards I have by listening to each question and answer and directly relating them to my own cards. Through the process of elimination, and simple math I can determine which cards I hold.
My cards are 4, 5, & 9. I determined the answer to this question by analyzing the following questions and answers. The first question drawn by the player, Andy, was, “Do you see two or more players whose cards sum to the same value?” The player answered “yes”. Looking at the other two players cards I determined:
Sum of Belle’s cards = 3 + 4 + 7 = 14
Sum of Carol’s cards= 4 + 6 + 8 = 18
Since these have different sums, but Andy sees at least two players whose cards have the same sum, then my cards must add up to either 14 or 18.
The next player, Belle, draws a question card, “Of the five odd numbers, how many different odd number do you see?” Belle answers, “All of them”. The only odd cards that Belle sees from Andy and Carol are 1, 3, & 7. So, this means I have a 5 and a 9.
I already know that the sum of my cards needed to be either 14 or 18. The sum of the cards I already

Similar Documents

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

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

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

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

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

Premium Essay

Assigment 1

...Students, please view the "Submit a Clickable Rubric Assignment" in the Student Center. Instructors, training on how to grade is within the Instructor Center. Assignment 1: Corporate Responsibility and Marketing Strategies Due Week 3 and worth 240 points Use the Internet to research the Apple Corporation, its current position and reputation regarding ethical and social responsibility, and the strategies that it currently employs to market its products. Write a six to eight (6-8) page paper in which you: 1. Examine Apple’s current position on the company’s ethical and social responsibilities, and determine whether or not the company has met these responsibilities. Provide two (2) examples that support your position. 2. Determine the impact that the publication of ethics and social responsibilities violations made by Apple’s suppliers has had on Apple’s reputation. Support your response with examples of the impact in question. 3. Suggest two (2) methods that Apple can utilize to ensure that its suppliers adhere to wage and benefits standards going forward. Justify your response. 4. Determine whether or not you believe that Apple’s customers would be willing to pay more for its products if Apple had to increase selling prices in order to provide better wages and benefits for suppliers’ workers. Provide a rationale for your position. 5. Analyze Apple’s current overall marketing strategy. Recommend two (2) actions that Apple can take in order to improve its...

Words: 1399 - Pages: 6

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

...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 R. Hurford and Brendan Heasley...

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

Free Essay

Dollar Tree Draft

... 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 1 Data Analysis

...Area 2 Name : The Application Purpose : There are 2 accounts types : The professor account contains a personal data storage of 10GB. The professor will be able to see his schedule and his courses. For each course, the professor will be able to download the students' assignments and review them. All courses will be recorded, the professor will be able to show a file of his storage on the classroom's projector when connected to the LAN through the classroom's computer. If the course is online, the professor will be able to upload video. The student account contains a personal storage of 1GB. The student will be able to access to the university computers by login to his session. The computers will not save anything, they just contain computer...

Words: 1527 - Pages: 7

Free Essay

Strategic Management

...|BATCHELORS DEGREE ASSIGNMENT SPECIFICATION | |School of Business, Finance and Management | |Student name: |      |Student P number: | | |Programme: |Business Portfolio | |Module: |Strategic Management and Sustainability      |Module Level (4, 5, 6): |6 | |Module code: |M3X9111 |Contribution to Overall |50% | | | |Module Assessment (%): | | |Lecturer: |Vic Saunders |Internal Verifier: |Ian Jackson | |Assignment Title: |Ben and Jerry’s – A commitment to quality |Assignment No (x of x): |1 of 1 | |Hand Out Date: |Monday September 28th 2015...

Words: 2904 - Pages: 12