Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to solve these questions for material programming Transferable skills and competencies developed Vocational scenario: The ASAC department wants to develop a helperTech system

I need to solve these questions for material programming
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Transferable skills and competencies developed Vocational scenario: The ASAC department wants to develop a helperTech system to help teachers to calculate student marks out of 100%. The Head of the department decided to make a competition among ASAC students to build the helperTech system, the winner will receive a special gift. The first aim of this competition is to engage students in real projects and increase awareness of the software development life cycles like the projects that are developed and released in the IT companies As part of the competition, you are given an assignment for helperTech system requirements, this assignment is broken down into 2 parts that you need to complete building all the requirements in order to let your project pass to Jury members Assignment activity and guidance Assignment activity and guidance Part One Task 1 Use IDE to develop the following program: a) Define Four Array List must decleare as static array list in the class names arrayList, markOut60 arrayList, markOut 40 arrayList and totalMark arrayList . b) Implement method startCalculation calculate of the final marks, which works as follows: 1. The program will use the nrovided files [names.txt, b) Implement method startCalculation calculate of the final marks, which works as follows: 1. The program will use the provided files [names.txt, marks_60.txt, final_exam_40.txt] which contain students' information, 2. You need to read all these files and save the values returned by them into 3 Array lists Then you will ask the teacher to select a category from one of the following: 1. Show the final students' marks 2. Show the students' marks in descending order 3. Search for a specific mark 4. Quit As shown in Figure 2. select a category: 1. Show the final students" marks 2. Show the students" marks in descending order 3. Search for a specific mark 4. Quit Figure 2 1. If the teacher enters 1 , the program should run a method called showFinalMarks 2. If the teacher enters 1 , the program should run a method called showSortedMarks 3. If the teacher enters 1 , the program should run a method called checkMark 4. If the teacher enters any other number, the program should display an error message "Invalid choice." showSortedMarks 3. If the teacher enters 1 , the program should run a method called checkMark 4. If the teacher enters any other number, the program should display an error message "Invalid choice." As long as the teacher does not enter 4 , the program should carry out the appropriate action and display the menu again. The program will only exit if the teacher enters 4. c) Implemnt method showFinalMarks, which works as follows: 1. Create a new file called "total_marks_100.txt " and store the total marks out of 100 2. Print in console the student names and their total marks. d) Implement method showSortedMarks, which works as follows: 1. Use the total_marks_100.txt file to sort the marks in descending order using the insertion sort algorithm and print the sorted data e) Implemnt method checkMark, which works as follows: 1. Get the mark that the teacher needs to find in the total_marks_100.txt file 2. search it using linear Search if you find the mark print "your desired mark is found in the total mark", if not print "your desired mark is not found in the total mark" f) In main method Ask the teacher for their name, then display a welcome message and prompt the teacher to choose one of 2 options if she/he wants to start the program: 1. Yes 2. No The output of this task is shown in Figure 1. 1. If the teacher enters 1 , the program should run a function called startCalculation that just prints "The calculation of the final marks is starting" 2. If the teacher enters 2 the program should exit. 3. If the teacher enters any other number, the program should display an error message 4. "Invalid choice." Part Two After you finished part one, You need to prepare a report that could contain the following: 1. In part 1, you used the insertion sort algorithm to sort the data, define what an algorithm is, why we use it and how did you use it ? 2. You have used IDE to build the helperTech system, Show how the IDE helped you in writing the code. 3. Assess the use of the IDE against not using the IDE in develop the above algorithm 4. In Part you built the helperTech system, describe the process of developing an system and list the steps needed from writing code to execution. 5. In part 1, can you reimplemt checkMark using the binary search algorithm to fine mark or not, show the steps of binary search algorithm, and discuss the difference between the linear and binary search. Recommended Resources Please note that the resources listed are examples for you to use as a starting point in your research - the list is not definitive. Textbooks Learning Outcomes and Assessment Criteria

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

Recommended Textbook for

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions