Write a C program to calculate the maximum amount of experience points (XP) that a Pokémon Go player can earn by using a Lucky Egg bonus timer and evolving Pidgey pokemons Essay Dissertation Help

Coursework 1 description

 

Write a C program to calculate the maximum amount of experience points (XP) that a Pokémon Go player can earn by using a Lucky Egg bonus timer and evolving Pidgey pokemons. The program must:

  1. 1)  Read 2 input numbers. The first input is the number of Pidgey pokemons and the second input is the amount of pidgey candy that the player currently has in their inventory.
  2. 2)  Display the maximum amount of XP that the player can earn by using a Lucky Egg bonus

timer and evolving Pidgey pokemons.

  1. 3)  Display informative error messages for unexpected or missing input values.

Optionally, students may enhance the program with extra capabilities, such as handling similar calculations for other types of pokemons such as Rattata or Zubat.

The coursework must contain pseudo code of the solution at the top of the program (enclosed with source code comments delimiters). Source code comments are required to explain the implementation.

Programs must be written, compiled and submitted using the online compiler provided via the unit Moodle site. Coursework may be submitted up until midnight of the due date.

Coursework 1 marking criteria

Marks Program output and features
8-10
  • ·  Program contains useful extra features
  • ·  Pseudo code clearly explains the key source code features
  • ·  Program handles all input errors and displays informative error messages
  • ·  Program correctly handles the required input and provides the required

output

5-7
  • ·  Pseudo code explains some source code features
  • ·  Program handles some input errors and displays error messages
  • ·  Program correctly handles the required input and provides the required

output

3-4 · Program correctly handles the required input and provides the required output
1-2
  • ·  Program partially handles the required input, or
  • ·  Program provides some of the required output, or
  • ·  Program fails to compile

2016-17 Page 1 of 2

Marks Source code organisation and efficiency
5
  • ·  Consistent use of efficient techniques to improve the source code maintenance or performance
  • ·  An efficient structure is used to organise the source code
  • ·  The logical flow of the program is clearly visible within the source code and the

source code comments

3-4
  • ·  Some efficient techniques have been applied to the source code
  • ·  A useful structure is used to organise the source code
  • ·  The logical flow of the program can be observed from the source code and the

source code comments

2
  • ·  Some basic structure is used to organise the source code
  • ·  Some logical flow of the program can be observed from the source code
1
  • ·  Lack of structure for the source code, or
  • ·  Difficult to follow the logical flow of the program
Marks Incremental development and explanation of the source code
8-10
  • ·  Student is able to provide in depth and thorough answers about the program during a discussion with the unit lecturer in a practical computing session
  • ·  History of saved versions clearly shows incremental development progress
5-7
  • ·  Student is able to provide some in depth answers about the program during a discussion with the unit lecturer in a practical computing session
  • ·  History of saved versions shows efforts to develop the program incrementally
3-4
  • ·  Student is able to provide satisfactory answers about the program during a discussion with the unit lecturer in a practical computing session
  • ·  History of saved versions shows efforts to develop the program incrementally
1-2
  • ·  Student had difficulty answering questions about the program during a discussion with the unit lecturer in a practical computing session, or
  • ·  Lack of saved versions for the program, or
  • ·  Student did not attend required practical computing session to discuss the

program with the unit lecturer

2016-17 Page 2 of 2

This question first appeared on Write My Essay

Is this question part of your assignment?

Place order