Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 [30 marks] Write a Java Console application in which you initialize an array list with 10 String values. For example, 10 colour names,

image text in transcribed
image text in transcribed
Question 1 [30 marks] Write a Java Console application in which you initialize an array list with 10 String values. For example, 10 colour names, or fruit names, or veg names, or car names, etc. Display all the values in the list in a neat tabular format. Randomly select a value from the array. Now allow the user 3 chances to guess the value. After the first incorrect guess provide the user with a clue: the first letter of the randomly selected word. After the second incorrect guess provide the user with another clue: the number of letters in the word. Once the user correctly guesses the word, remove that word from the list. Display the number of items in the list. The user must have the option to play again. Queation 1 (22 marks) 2025, duno Lmated desermined that there has seen a senncmi change in the expected sonsumption pathen o' twe concary's plare asse: growp's the econonic bencfer greif inchly, thin prop of aseats uns depercined asing the strign-ife melred ovar 10 years. Macace-ent decided is assy the recccing sularce metrad af 10% Jlan linend had the talloatrg Erimons an net at Mareh 2019 - There weet no movernenes in the sost of the cemosy s plant. Aswame a residual value of R120 u0d. ignare allaxinglisetions Fequirect 1.7) D waus whereec the segreciation mathod a ange sheuld be nccounted tor in [3 marken) rativod for incluaion in the francial stwenwerts of aline 1 im thed as at: - It Macti 2960 - 31 Merch 200r [5 maks] 135 Assme far the Zrob depreciaton was aleasy accounted for ty usng the striegd fin inatiod ovvi 10 years. Pivpare the juenal soilias ruquired lo calcuetains. is marks) as A sheud be presertec in the fishoul stanewevts of duns Levied tor the yow vined 91 Varah 2322. (77 morks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions