Top-Rated Free Essay
Preview

assignment

Satisfactory Essays
333 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
assignment
P USAT P ENGAJIAN S AINS
K OMPUTER

SCHOOL OF COMPUTER SCIENCES
Semester I, Academic Session 2013/2014
CPT111 - Principles of Programming
Assignment 4
For the question below, you are to include the following details:
(i)
(ii)
(iii)

Problem analysis
Design (flow chart or pseudocode)
C++ program code

Solve the problem below:
1.

Create an educational arithmetic guessing game that will allow the player to choose the difficulty level of the game: easy, intermediate or advance level. Easy level will involve numbers between 0 and 10, the intermediate level between 10 and 99 and the advance level between 100 and 999. The arithmetic operators provide by the game is addition, subtraction, multiplication and division. The division will involve quotient and remainder. The user will get 5 points for correct answer and deduct 2 points for wrong answer. The player can decide when to quit the game and the system will provide the following information upon quitting.
Name : Player’s Name
Level of Difficulties : Easy/ Intermediate/Advance
Number of Attempts:
Number of correct scores :
Number of incorrect scores:
Total scores:

INSTRUCTIONS:
Please submit your typewritten/handwritten report by Friday 29 November 2013 by uploading it to ELearning before 12:00 midnight. Please make a cover page with the following information. You can choose to do the assignment with a partner within the same group.
Course:
Name:
Matric No:
Group Number:
The name of the file that you upload must follow this standard: CPT111YOUR NAME/MATRIC NUMBER/Group
Number
Course Policy:

All assignments MUST be submitted before/on the given date. Late submissions without prior approval from the lecturer will not be accepted. One grade will be deducted for each day, for students with approval.

If a student is found to misuse the amenities given, the permission will be taken away from the student.

Plagiarism/pirating and copying are serious academic offence. Students that are found to plagiarize/or copying will get an 'F' for the assignment/report or for the whole coursework grade and will be barred from taking the final examination. Please read your undergraduate Programme
Handbook.

You May Also Find These Documents Helpful

  • Powerful Essays

    Indicates minimum proficiency and achievement – credit given. Unacceptable work – no credit given. I 2 grade points 1 grade point NO grade point NO grade points Incomplete.…

    • 10347 Words
    • 52 Pages
    Powerful Essays
  • Good Essays

    Class attendance is a vital part of the teaching and learning process. If our record showed that you had missed some lectures for no legitimate reasons, your whole grade will be deducted accordingly. Again, computers (including your own) can only be used for the tasks the instructor asks you to perform. No other work, e.g. homework assignments of this or other classes, is allowed during the lecture time.…

    • 1213 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Assignment

    • 287 Words
    • 2 Pages

    The paper must be at least two pages in length and formatted according to APA style. Cite your resources in text and on the reference page. For information regarding APA samples and tutorials, visit the Ashford Writing Center, within the Learning Resources tab on the left navigation…

    • 287 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    assignment

    • 1220 Words
    • 5 Pages

    Your company president tells you not to hire any gay or lesbian employees to work as part of his office staff because it would make him uncomfortable.…

    • 1220 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    assignment

    • 669 Words
    • 2 Pages

    I confirm that I am currently meeting the pre requisites for E105 as set out in the pre registration information for students and have a valid agreement with the confirmers form. For this TMA I have only used materials drawn from the setting identified on my employers permission agreement form. In this TMA I have adhered to the E105 ethical guidance by receiving permission from my manager to discuss the setting, staff and pupils in a confidential manner. Not naming or changing the names of any individuals in such a way that maintains confidentiality.…

    • 669 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Developmental Analysis

    • 436 Words
    • 2 Pages

    References: . Five points will be deducted for every page the assignment is short. If the assignment is 7 pages, 5 points will be deducted, 6 pages 10 points deducted, 5 pages 15 points deducted, and so on.…

    • 436 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Ikea vs Home Depot

    • 861 Words
    • 4 Pages

    • Late submission past 10 days results in an automatic 0% for coursework and the student will be barred from the final examination.…

    • 861 Words
    • 4 Pages
    Powerful Essays
  • Good Essays

    my best

    • 783 Words
    • 4 Pages

    4) Once you know HOW your program should solve the problem, and you know WHAT variables loops statements etc are needed for that program to work, it should be easy to write down your finished answer.…

    • 783 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Eid Celebration and Poors

    • 1434 Words
    • 6 Pages

    We are highly grateful to almighty Allah who gave us the power to complete this report…

    • 1434 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    |failing the course unless there are exceptional circumstances which must be explained to your tutor and agreed by the Curriculum Manager. |…

    • 1030 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Physical Chemistry

    • 1182 Words
    • 5 Pages

    * All the problems are connected. In other words, to solve the problem, you may need the information and/or answers given in other problems. All necessary information is basically given. Also please consult the supplementary material handed out to you.…

    • 1182 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    data abstruction

    • 916 Words
    • 7 Pages

    WEEK-3 Data Abstraction Destructors • Destructors are functions without any type • The name of a destructor is the character '~' followed by class name – For example: ~clockType(); • A class can have only one destructor – The destructor has no parameters • Destructor automatically executes when the class object goes out of scope C++ Programming: Program Design Including Data Structures, Sixth Edition 2 Data Abstract, Classes, and Abstract Data Types • Abstraction – i.e., we want to know how to start the car and drive it • No concern about how the engine works C++ Programming: Program Design Including Data Structures, Sixth Edition 3 Data Abstract, Classes, and Abstract Data Types • Abstraction – Separating design details from usage  Abstraction –…

    • 916 Words
    • 7 Pages
    Satisfactory Essays
  • Powerful Essays

    Programming SBA

    • 2908 Words
    • 19 Pages

    6. Compilation of the Pascal Program (With Successful) Screen shot of the Whole Pascal Program…

    • 2908 Words
    • 19 Pages
    Powerful Essays
  • Satisfactory Essays

    C++ Learning

    • 803 Words
    • 4 Pages

    Any redistribution or reproduction of part or all of the content in any form is prohibited other than to print a…

    • 803 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Nstp1

    • 459 Words
    • 2 Pages

    * Students who have more than 20% of absences or equivalent to more than two absent will automatically get a grade of five (5.00)…

    • 459 Words
    • 2 Pages
    Good Essays