Quiz 1 – Grocery Items Listing
Scenario:
You went to a local grocery store and bought five items. Use an array to store
and list them.
Instructions:
Project Name: GroceryListApp
Namespace: GroceryApp
Class Name: Program
Array Name: groceryItems
Array Values: "Rice", "Milk", "Eggs", "Bread", "Butter"
Expected result:
Items you bought from the grocery store:
Then list each item using a for loop.
Quiz 2 – Subjects in a School Term
Scenario:
You're taking 6 subjects this semester. Use an array to store and print them.
💡 Instructions:
Project Name: SchoolSubjectsApp
Namespace: SchoolApp
Class Name: Program
Array Name: subjects
Array Values: "Math", "English", "Science", "History", "ICT", "French"
Expected result:
Subjects for this semester:
Then use a for loop to list them line by line.
Quiz 3 – Countries to Visit
Scenario:
You plan to visit 4 countries for vacation. Create an array to display them.
Instructions:
Project Name: TravelPlannerApp
Namespace: TravelApp
Class Name: Program
Array Name: countriesToVisit
Array Values: "Ghana", "Japan", "Canada", "Italy"
Expected result:
Countries on your travel wish list:
Then show each one using a for loop.
Quiz 4 – Favorite Movies
Scenario:
List your 5 favorite movies using an array.
Instructions:
Project Name: MovieListApp
Namespace: EntertainmentApp
Class Name: Program
Array Name: favoriteMovies
Array Values: "Inception", "Black Panther", "Interstellar", "The
Matrix", "Hidden Figures"
Expected results:
Your top 5 favorite movies are:
Then show a list of the movie titles using a for loop.