Preview

Computer Science Assignment

Satisfactory Essays
Open Document
Open Document
398 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Computer Science Assignment
Computer Science 1 – FALL 2013 - Assignment 3

Please write answers on a separate sheet of paper. YOU MUST STAPLE ALL PAPERS TOGETHER AND HAVE YOUR NAME AND CLASS SECTION INFORMATION ON EACH SHEET OF PAPER. For questions 1 through 3 You must show your work to get full credit.

1. (12 points) Simplify the following expression: not((not(Q) and R) imp not(P))

2. (14 points) Simplify the following expression: not(not(P) and Q) imp (not(R) and (P or not(Q)))

3. (15 points) Simplify the following expression:
((R or not(Q)) and not(P)) or (not(not(R) imp not(Q))) 4. (9 points) Consider the following truth table:

P
Q
R
????
T
T
T
F
T
T
F
T
T
F
T
F
T
F
F
F
F
T
T
F
F
T
F
F
F
F
T
T
F
F
F
F

Please write a proposition which would have the table above as its truth table.
Answer MUST BE IN SIMPLIFIED FORM

QUESTION 5 on next page

5. (20 points = (5 x 4 points) For each of the following arguments, indicate what rule (Denying the consequent (DC) , Affirming the antecedent (AA) , or Disjunctive syllogism (DS)) can be used to justify the conclusion. You must show your work as discussed in lecture to get full credit.
i.e. P1: P2: C:

a. Payton doesn't bake chocolate chip cookies for dessert if his friend Micky comes over to play before dinner. Hence Payton doesn't bake chocolate chip cookies for desert since his friend Micky came over to play before dinner.

b. Either Sally or her brother babysit their younger sister Friday night. Sally's brother has to go to a meeting at school Friday night. Therefore, Sally babysits their younger sister Friday night.

c. Lori goes to the park to play baseball Saturday only if she doesn't have to clean the living room Saturday. So Lori doesn't go to the park to play baseball Saturday because she has to clean the living room Saturday.

d. Henny walks around the lake Sunday afternoon if

You May Also Find These Documents Helpful

  • Better Essays

    1) You can call the module several times instead of writing it out each time.…

    • 1580 Words
    • 11 Pages
    Better Essays
  • Good Essays

    a. She doesn’t destroy the hard drive because it is the only record of her parents’ death.…

    • 8741 Words
    • 28 Pages
    Good Essays
  • Satisfactory Essays

    Text that is written in a human-readable programming language that a computer can also interpret…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    WK4 QUIZ

    • 698 Words
    • 4 Pages

    b. Never pay for chores of any type, since children of all ages should be expected to help out as members of the family.…

    • 698 Words
    • 4 Pages
    Better Essays
  • Good Essays

    • You have approximately 25 hours in which to complete this scenario. • Before starting work on the problem, read the whole of this Candidate Booklet thoroughly. You can…

    • 1453 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Avp Project

    • 315 Words
    • 2 Pages

    C. She’s caring because even though Roger stole from her, she took him home, gave him something to eat and money to buy himself the shoes she wanted.…

    • 315 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    B.) “Scout yonder’s been readin ever since she was born, and she ain’t even started to school yet”…

    • 3375 Words
    • 14 Pages
    Good Essays
  • Good Essays

    Week 4 Quiz

    • 2371 Words
    • 15 Pages

    B.At noon, Barnie makes a mental list of the five homework assignments he needs to complete that night. At 3:00 he checks himself and realizes that he still remembers all five. However, by 7:00 p.m. he cannot recall two of the five assignments.…

    • 2371 Words
    • 15 Pages
    Good Essays
  • Satisfactory Essays

    Study Guide

    • 1022 Words
    • 3 Pages

    Answer at least 2 of these questions comprehensively and complete a reply response to at least two students.…

    • 1022 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Elizabeth Cady Stanton

    • 627 Words
    • 2 Pages

    b. She was one of eleven children and only six survived past their youth. This caused her mother to go into deep depression.…

    • 627 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Health Assessment

    • 7726 Words
    • 31 Pages

    4. During an interview, a parent of a hospitalized child is sitting in an open position. As the interviewer begins to discuss his son's treatment, however, he suddenly crosses his arms against his chest and crosses his legs. This would suggest that the parent is:…

    • 7726 Words
    • 31 Pages
    Good Essays
  • Satisfactory Essays

    Writing Skills Part 1

    • 354 Words
    • 2 Pages

    6. Which of the following best illustrates a pair of sentences that are joined by an understood relationship?…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    What is the difference between the process that is ready and the process that is waiting?…

    • 2462 Words
    • 10 Pages
    Better Essays
  • Good Essays

    Java Programming

    • 2257 Words
    • 10 Pages

    Moreover, Swing is the primary Java GUI widget toolkit. It is part of Sun Microsystems' Java Foundation Classes (JFC) — an…

    • 2257 Words
    • 10 Pages
    Good Essays
  • Powerful Essays

    Computer Application

    • 1696 Words
    • 7 Pages

    Computer is an electronic device that complex and has many advantages. It is suitable to be used as tools to assist teachers in teaching and learning as it is capable of receiving and processing data. Computers also help instructors achieve effective teaching and learning if used systematically.The lessons included with the latest teaching aids will increase the students' interest to learn something for education. In addition, if the computer can be used to systematically and effectively by teachers, it is able to solve any problems in the teaching and learning. This is consistent with the view Heinich (1996) which states that the computer can enrich teaching techniques. According to Merrill (1986), the computer is a machine that processes information should be given instructions by the user.This command can be delivered through input devices such as keyboards, scanners, card, joystick, mouse, graphics pad and central processing unit (CPU). Heinich (1996) state capable computer monitor and manage a lot of teaching materials. Computer capability allows users to interact with instructors apply their lessons more simple and attractive.Bitter (1989) stipulates that the computer can work faster and operate 24 hours without stopping and releasing the information accurately. Computer use is entirely related to information and communication technology that is now applied in the education system.This is because the computer is used as a database to provide the information sought or demanded by the public. The implementation of the Smart School concept, one of the prime examples of applications in the Multimedia Super Corridor is a continuous government efforts to develop a new generation of competitiveness in the era of information and communication technologies.A very significant development in the world today is happening boom. With the…

    • 1696 Words
    • 7 Pages
    Powerful Essays