Programming Fundamentals Assignment Questions

Programming Fundamentals Assignment Questions

Programming Fundamentals Assignment Questions

1. Counting vowels game

When the act button is clicked, it should ask user to enter how many words to be attempted in the game. Present the user with one word at a time and ask user to enter the number of vowels in the word using an input dialog box.

  1. Program is designed using top down modular design principles (9 marks)
  2. Use parallel arrays to store data appropriately (2 marks)
  3. A method to calculate the number of vowels in a word that is passed as a parameter (4 marks)
  4. Allow the user to choose the number of words to try in the program (4 marks)
  5. Display questions appropriately and get the user input (3 marks)
  6. Calculate the correct percentage and display a message according to the specification (7 marks)
  7. Display list of words and correct vowel count for each incorrect attempt (3 marks)
  8. No compiling/runtime errors (10 marks)
  9. Coding style (5 marks)
Get more information Linear Programming Assignment Help

2. Number Sequence Tester Game

When the act button is clicked, it should generate five number sequence pattern questions. For each number sequence pattern, the user should be presented with three numbers with a blank spot in a random position. The first number in each chosen sequence pattern should be a random value between 1 and 50. The interval or increment in the pattern always should be a positive random value less than 10.

  • Program is designed using top down modular design principles (9 marks)
  • Use parallel arrays to store data appropriately (5 marks)
  • Create five random number patterns with a random blank spot for the user (5 marks)
  • Present each question to the user and get the user input (4 marks)
  • Repeat the question for each incorrect guess and keep a count of number of attempts and allow to skip a question (7 marks)
  • Display results according to the specification (8 marks)
  • No compiling/runtime errors (10 marks)
  • Coding style (5 marks)