Write a method named display that will display back the list

Assignment Help Computer Engineering
Reference no: EM131853076

Assignment

1.Create a program named student

i. java that will use arrays to store student names and grades assume each student has a student id that directly indexes a storage slot in a set of parallel arrays. One of the arrays should be named "stu_name[]" The other "stu_grade[]" Make room for 100 students.

ii. Your program should prompt the user to input a student id, name and grade. Let the user continue to enter grades using a sentinel value of -1 for the id to indicate that the input is complete.

iii. Once input is complete the program should call the following display() andclassavg() methods.

iv. Then prompt the user for a student id and use thefindid() method below to find and display the students name and grade associated with the id.

1. Write a method named display() that will display back the list of students.

2. Write a method namedclassavg() that will calculate the class average and display the result.

3. Write a method namedfindid() that will find a student based on the id and display the students name and grade. Add a comment to the end of your code file with the following: What is the O() of the display() andclassavg() methods. What is the O() of thefindid() method.

Reference no: EM131853076

Questions Cloud

Examining the arrival rate of trucks : The first alternative is to add side boards to the trucks (so that more material could be loaded) and to add a helper at the loading station.
What are the terms price taker and price maker : What are the terms price taker and price maker and how it relates to the consumer?
Maximize grade in the upcoming exam : John can produce a higher grade in his upcoming exam if he devotes time to reading his class notes and solving practice problems. His grade
Can charismatic leadership be express in online environment : Can charismatic leadership be expressed in an online environment? Or is physical presence necessary to exhibit the behaviors listed in House's model?
Write a method named display that will display back the list : Write a method named display() that will display back the list of students. What is the O() of thefindid() method.
Differences between ntfs disk quotas and fsrm quotas : what are the differences between NTFS disk quotas and FSRM quotas? How do each actually determine usage? Why might an organization choose to use one over the ot
What should you tell avout curb unbridled optimism : Charles Walker wants to build a distribution center in Colorado. When you meet him, he shows you the marketing research that guarantees his new enterprise.
Choose a busy time to observe wireless users : In this project, you observe how people handle their wireless devices, take notes on your observations for this project.
Write a program that ask the user to enter two numbers : Write a program that ask the user to enter two numbers, obtains the two numbers from the user and prints the sum, product, difference

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a class called book

Write a class called Book, that contains instance data for the title, author, publisher, and copyright date. Define the Book constructor to accept

  Design a sub procedure that takes a single parameter

design code for the button's click event to call your Sub, passing the value in txtMonth.

  Write a short java function that takes an array

Write a short Java function that takes an array of int values and determines if there is a pair of numbers in the array whose product is odd.

  Question1 obviously conceptual data modelling is a

question1. obviously conceptual data modelling is a time-consuming and costly process. examine potential drawbacks to

  Design and implement a set of classes

Design and implement a set of classes that define the employees of a hospital: doctor, nurse, administrator, surgeon, receptionist, janitor, and so on.

  Find the 2''s complement of a binary number

Make a circuit which gives the absolute value of a 4-bit binary number. Use four full adders, four multiplexers, and four inverters.

  Why grades averaged and sorted from highest to lowest

The names need to be sorted alphabetically why grades averaged and sorted from highest to lowest.

  Write pseudocode using modularization

The Census Bureau has collected data about all of its employees. You will be given a data file which contains the GS number ( rating) for each employee, one per input record. A number of 1000 signifies the end of the data file.

  Question 1 alice and bob are sending a message m to each

question 1. alice and bob are sending a message m to each othera give one method to achieve confidentiality for m.b

  Discuss with your classmates your experience entering data

Discuss with your classmates your experience entering the data and advantages you can think of if the store would upgrade to an automated system using a sales database.

  Questionthis question tests your facts and understanding of

questionthis question tests your facts and understanding of normal forms.given following relation and functional

  Write down the program in vb.net

Write down the program in VB.Net with a graphical user interface. Make the program Web based.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd