midterm-1-recitation - CSE 114 Midterm Exam 1 Wednesday...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 114 – Midterm Exam 1 Wednesday, February 28, 2007 NAME (please print legibly): Your University ID Number: Your Recitation Number: Please leave at least one seat between yourself and the person next to you. Please use a pen for all answers. No books or notes can be used during the exam, except for your “cheat sheet”. Any CHEATING will result in an F as well as being written-up on academic dishonesty. NO BS bonus: If you do not know the answer to a problem and leave it blank you will receive 1 point for each part (e.g., a,b,c, etc.) that you leave blank. If you write anything in the space and it is wrong, you will receive a 0. The score for a completely blank exam is XX. You will not lose any points for small coding details or occasional misspellings. QUESTION VALUE SCORE 1 20 2 10 3 6 4 15 5 10 6 18 7 6 8 10 9 5 10 10 TOTAL 110 1
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
1. (20 points) Define a PlayingCard class that represents a single playing card. Every PlayingCard has a suit (represented by a String , either “Clubs”, “Diamonds”, “Hearts”, or “Spades”) and
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern