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:
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?
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
|