Create a java application that stores employee details

Assignment Help JAVA Programming
Reference no: EM131154606

Module Using Operators, Arrays, and Constructs Lab

In this lab, you will complete three tasks related to multidimensional arrays and loops. The tasks performed in this lab will help you understand how to program common array operations and simplify programming by using loops.

Task 1-

Write a Java program with the following functionalities:

  • It should use a one-dimensional array.
  • It should enable the user to search for an element in the array.
  • If the element is found, it should display the number of occurrences.
  • If the element is not found, an error message should be displayed.

Task 2-

Create a Java application that stores and maintains the employee details, including employee ID, employee name, department, designation, marital status, and date of marriage, in a multidimensional array. The application should have the following functionalities:

  • When the user selects the enter data option, the inputs should be accepted.
  • Date of marriage should be accepted only if the employee' marital status is entered as "married."
  • When the user selects the view data option, all the employee details should be displayed.
  • When the user selects the exit option, the application should terminate.

Task 3-

Write Java programs to display the following patterns by using loops:

1252_Figure.png

Evaluation Criteria:

Your submission will be evaluated against the following criteria:

For Task 1

  • Does the code use a one-dimensional array?
  • Does the code enable the user to search for an element in the array?
  • Does the code display the number of occurrences if the element is found?
  • Does the code display an error message if the element is not found?
  • Is the code readable and documented?

For Task 2

  • Did you create a Java application that stores and maintains the employee details?
  • Does the code meet all the functional requirements?
  • Is the code readable and documented?

For Task 3

  • Did you write Java codes to display all three patterns?
  • Did you write the code using loops?
  • Are the codes readable and documented?

Reference no: EM131154606

Questions Cloud

Brochure-talk about international communication in japan : I need to talk about international communication in Japan, Put the information together in one brochure, The information includes two sources, outline cultural difference of the country japan that might impact international business dealing
What is the original premise of sas culture : What is the original premise of SAS culture? What is the importance of the SAS culture on work/home balance
What expectations do your audience members have : What expectations do your audience members have in relation to your speech? What are possible beliefs audience members have about you according to your demographic qualities? What environmental factors might shape the way your audience members respon..
Essay - value of dissent in our society : Write an essay on one of the given topics, it must not exceed from words. Online Learning: A Boon(2500 Words with reference) and Value of dissent in our society (2500 Words with reference)
Create a java application that stores employee details : SD2720: Module Using Operators, Arrays, and Constructs Lab. Create a Java application that stores and maintains the employee details, including employee ID, employee name, department, designation, marital status, and date of marriage, in a multidim..
Create a new class called idealweight : CSC 1760 Introduction to Programming. In the new package, create a new class called IdealWeight. Make sure your new class is fully defined and has a main method. This class will calculate the ideal weight (and the acceptable ranges) of both males..
Write a computer program to automatically analyze data : For this assignment, you have been asked to write a computer program to automatically analyze some of the data collected by some experiments. Data analysis in scientific research is a complicated endeavor, so we will simplify our task by just calc..
Write a java program with the given functionalities : Write a Java program with the following functionalities: It should use a one-dimensional array. It should enable the user to search for an element in the array
Design and implement the class day : Design and implement the class Day that implements the day of the week in a program. The class Day should store the day, such as Sun for Sunday. The program should be able to perform the following operations on an object of type Day: Set the day

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a program that illustrates packet routing at a router

Write a program that illustrates packet routing at a router. The program should accept as A text file containing a list of packets (with just destination addresses)

  Explain security and permissions for the android platform

Briefly explain security and permissions for the Android Platform. Briefly describe some of the Android Platform Services. Describe the Android Platform Differences (complete, open, and free).

  Xml assignment help please follow instructions in the

please follow instructions in the attached assignment instructions. ltbrgtplease follow instructions in the attached

  Translates a number into the closest letter grade

Write a program that translates a number into the closest letter grade. For case, the number 2.8 which might have been the average of several grades would be converted to B-

  How does an applet get loaded into the browser

How does an applet get loaded into the browser? What is needed in the APPLET tag to cause an applet to be loaded from a JAR file?

  Develop game using the concepts of cohesion

Develop any game of your choice using the concepts of Cohesion, Coupling and RDD, i.e., responsibility-driven design.

  Concept of operator overloading

This lab is to introduce students to the concept of operator overloading as member functions of a class. This will be done in the context of creating a class that will perform four basic mathematical operations on complex numbers

  Design and implement a small and simple email server using

design and implement a small and simple email server using the concept of web based information system. your system

  Make a class named main.java

Make a class named Main.java after through the following steps. From step: 10 is related to your Main.java. Copy/paste your Main.java under the word:

  Create a search function that can search for an integer

Create a "masterSort" function that will call the appropriate sort function depending on the length of the array - create a "search" function that can search for an integer in the array.?

  Create your own green color for the leaves

Create your own green color for the leaves and display a solid green ellipse filled with your green color whose center is at the beginning of the drag and put a brown rectangle below it as the trunk of the tree.

  Collect information on the attacker

A high profile company has been receiving a high volume of attacks on their web site. The network administrator wants to be able to collect information on the attacker(s) so legal action can be taken. What should be implemented?

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