Question: (Answer all questions. All questions carry equal marks, 410=40 ) 1. Consider a CSV file contains information about COVID-19 status of Bangladesh. The header of

(Answer all questions. All questions carry equal marks, 410=40 ) 1. Consider a CSV file contains information about COVID-19 status of Bangladesh. The header of this file is "Date", "District", "Effected Today", and "Recover Today". Write a java program to find the average of the "Effected Today" column from the file. Example: File contains: Output: \begin{tabular}{l} 18/6/2021, DHK, 345, 195 \\ 18/6/2021,BOG,75,28 \\ 18/6/2021,CHT,231,68 \\ 18/6/2021,KHL,27,17 \\ \hline \end{tabular} 2. Write a java program to count the number of Prime numbers in each line of a Comma separated file. Example: 3. Write a java controller that will save required data into the database. Controller will check "Primary Key" availability first. If "entry_no" is vacant then the information will be saved otherwise an alert will be issued. Consider the given information in constructing the controller. 4. Write a java program that will copy all the words starting with vowel from a file and stores those words to another file separated by spaces
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
