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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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