GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Name a standard dimension for a closet rod height and explai…

Name a standard dimension for a closet rod height and explain its importance in closet design.

Read Details

What is the typical height of a dining table?

What is the typical height of a dining table?

Read Details

What are the standard dimensions for a twin bed?

What are the standard dimensions for a twin bed?

Read Details

Please identify the letter of the choice that best matches t…

Please identify the letter of the choice that best matches the situation described below.

Read Details

Essays must have a logical and cohesive structure.

Essays must have a logical and cohesive structure.

Read Details

Topic sentences do not include the main idea of the essay.

Topic sentences do not include the main idea of the essay.

Read Details

_________________________ is the most important sentence in…

_________________________ is the most important sentence in an essay that comes at the end of the introduction. It expresses the main idea or purpose of the whole essay.

Read Details

________________________ is the first paragraph in an essay….

________________________ is the first paragraph in an essay. It introduces the topic and indicates the focus of the essay.

Read Details

Description of the program to write: Upload a .c source file…

Description of the program to write: Upload a .c source file containing a main function that will implement the following program. Your program will implement a text-based 2-players game. The goal of the game is to be the player to “pickup” the last coin from a stack. The stack of coins is initialized to 21 at the beginning of the game and each player is allowed, in turn, to take 1 to 3 coins from the stack. They do so by entering a value when prompted to do so by the program. As soon as a player has entered how many coins they want to take for this turn, the stack of coins is decremented accordingly. If they happen to have brought the stack of coins to 0 (or even a negative value), they win the game. If not, the game continues, and the other player now takes their turn. Example of Program Execution (user input is in bold) The stack has 21 coins. Player 1 takes: 3The stack has 18 coins. Player 2 takes: 1The stack has 17 coins. Player 1 takes: 5You can only take between 1 and 3 coins during each turn. Player 1 takes: 3The stack has 14 coins.… we skip some output for brevity…The stack has 5 coins. Player 1 takes: 3The stack has 2 coins. Player 2 takes: 3There are only 2 coins remaining for you to take. Player 2 takes: 2The stack has 0 coins. Player 2 wins!   Grading Rubric: Rubric # Pts Additional Grading Notes The program compiles without compilation errors or warnings  3 Deduct 1 point per minor compilation error (e.g., typo, forgotten semi-colon, forgotten or extra curly braces or parentheses). If the program does not compile due to too many errors or due to an error that is non- trivial to fix (see above), then the whole assignment receives zero points. The program executes without crashing at runtime 3 Deduct one point for each use case that leads the program to crash (maximum 3) The program displays the number of coins in the stack accurately, following exactly the prompt presented in the instructions. 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented The program keeps track of which player’s turn it is. It displays a prompt indicating the number of the player and inviting them to enter the number of coins they want to take for that turn (see example execution). 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented The program stops and declares as winner the player who takes the last coins. 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented The program does not allow a player to take more coins than are remaining. 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented The program only allows a player to take between 1 and 3 coins (inclusive) during each turn 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented    

Read Details

Match the phonological process to its meaning

Match the phonological process to its meaning

Read Details

Posts pagination

Newer posts 1 … 37,217 37,218 37,219 37,220 37,221 … 73,174 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top