Questions
CODE IN JAVA Create a class Student includes name, age, mark and necessary methods. Using FileWriter,...

CODE IN JAVA

Create a class Student includes name, age, mark and necessary methods. Using FileWriter, FileReader and BufferedReader to write a program that has functional menu:

Menu

-------------------------------------------------

  1. Add a list of Students and save to File
  2. Loading list of Students from a File
  3. Display the list of Students descending by Name
  4. Display the list of Students descending by Mark
  5. Exit

Your choice: _

+ Save to File: input information of several students and write that information into a text file, each student in a line (use tabs to separate the fields)

+ Read File: read and display information of students

In: Computer Science

Choose any country except the United States, and your native country (if different from the United...

Choose any country except the United States, and your native country (if different from the United States). Describe the culture of this country in detail. What are some key cultural aspects of which a U.S. expatriate on assignment in this country should be aware? What aspects of this country’s culture could cause culture shock for a U.S. expatriate? What advice would you give to someone who was preparing for a long-term assignment in this culture? Finally, would you want to spend an extended amount of time as an expatriate in this country? Why or why not? Support your assessment.

In: Operations Management

What are the pro’s and cons of the bowenian (multi-generational theory)

What are the pro’s and cons of the bowenian (multi-generational theory)

In: Psychology

JAVA code Create a new class called BetterDiGraph that implements the EditableDiGraph interface See the interface...

JAVA code

Create a new class called BetterDiGraph that implements the EditableDiGraph interface See the interface below for details.

EditableDigraph below:

import java.util.NoSuchElementException;

/**
* Implements an editable graph with sparse vertex support.
*
*
*/
public interface EditableDiGraph {
  
/**
* Adds an edge between two vertices, v and w. If vertices do not exist,
* adds them first.
*
* @param v source vertex
* @param w destination vertex
*/
void addEdge(int v, int w);

/**
* Adds a vertex to the graph. Does not allow duplicate vertices.
*
* @param v vertex number
*/
void addVertex(int v);

/**
* Returns the direct successors of a vertex v.
*
* @param v vertex
* @return successors of v
*/
Iterable getAdj(int v);
  
/**
* Number of edges.
*
* @return edge count
*/
int getEdgeCount();
  
/**
* Returns the in-degree of a vertex.
* @param v vertex
* @return in-degree.
* @throws NoSuchElementException exception thrown if vertex does not exist.
*/
int getIndegree(int v) throws NoSuchElementException;
  
/**
* Returns number of vertices.
* @return vertex count
*/
int getVertexCount();
  
/**
* Removes edge from graph. If vertices do not exist, does not remove edge.
*
* @param v source vertex
* @param w destination vertex
*/
void removeEdge(int v, int w);

/**
* Removes vertex from graph. If vertex does not exist, does not try to
* remove it.
*
* @param v vertex
*/
void removeVertex(int v);

/**
* Returns iterable object containing all vertices in graph.
*
* @return iterable object of vertices
*/
Iterable vertices();

/**
* Returns true if the graph contains at least one vertex.
*
* @return boolean
*/
boolean isEmpty();
  
/**
* Returns true if the graph contains a specific vertex.
*
* @param v vertex
* @return boolean
*/
boolean containsVertex(int v);
}

In: Computer Science

Murray, the longtime lab director in the R&D (research and development) department, has announced his retirement....

Murray, the longtime lab director in the R&D (research and development) department, has announced his retirement. Marianne, the head of R&D for three years, has received great advice from Murray on every topic she has asked him about. Murray is a modest man, but she suspects that he knows more about their department than the rest of the group put together. They meet in his office to talk about ways Murray can document his knowledge so that it doesn’t “walk out the door” with him when he retires. Murray shows Marianne dozens of binders and several file cabinet field with one of a kind documents that predate the use of personal computer and electronic file. He suggests that he spend the rest of his time labeling everything and putting together a list of what he has. Marianne has a different idea. She appreciates Murray’s interest in preserving the past, but she believes it is essential to capture his perspective on the new technologies,

new products, and new processes that have been implemented over the years. She wants to put together an ad hoc committee to work with Murray. she asks him to meet with her in two days to talk about the committee and what can be accomplished before Murray retires.

  1. Why does Marianne want to preserve Murray’s perspective on the changes he has been part of?
  1. How can Murray and the committee accomplish Marianne’s goals?

In: Operations Management

An ALP to print only lowercase alphabets[A-Z] using emu8086 and the code will be written like...

An ALP to print only lowercase alphabets[A-Z] using emu8086 and the code will be written like this form EX:

MOV AX, @DATA ; initialize

DS MOV DS, AX

and please write explanation when writing the code so we can understand it

In: Computer Science

PEER EDUCATION Read each of the statements below. Write down or discuss with others why these...

PEER EDUCATION

Read each of the statements below. Write down or discuss with others why these statements might be offensive. Do they reinforce a stereotype, treat people in non-parallel ways (indicating that one type of person has more power/privilege or prestige than another), or assume that certain groups must behave in certain ways? In some cases, the words equate a person or group of people to a trait. Rewrite each statement so that it treats people in parallel ways, does not reinforce stereotypes, and does not equate groups of people to a trait.

The men’s competition starts at 7:00 pm, and the ladies’ begins at 9:00 pm.

Lisa’s campaign is gaining steam. Smith (last name) is considering withdrawing from the race.

Despite being in a wheelchair, Rafael is quite successful.

Over 100 people attended with their girlfriend.

The jocks use the room on Tuesdays.

We need more manpower.

I see she forgot to turn in her paper. She is acting a little blonde today.

The socks are flesh colored.

In: Psychology

This company uses a perpetual inventory system. It had the following beginning inventory and current year...

This company uses a perpetual inventory system. It had the following beginning inventory and current year purchases of its product.

Jan 1. Beginning Inventory ..... 50 units @ $100 = $5,000

Jan 14. Purchase .......................150 units @ $120 = 18,000

Apr 30. Purchase........................ 200 units @ $150= 30,000

Sept 26th. Purchase................... 300 units @ $200= 60,000

The company transacted sales on the following dates at $350 per unit sales price.

Jan 10. 30 units (specific cost: 30 @ $100)

Feb 15. 100 units (specific cost: 100 @ $120)

Oct 5. 350 units (specific cost: 100 @ $150 and 250 @ $200)

USING (THE WEIGHTED AVERAGE COSTING METHOD) ANSWER THE FOLLOWING QUESTIONS:

A. Identify and compute the costs to assign to the units sold. (Round per unit costs to three decimals.)

B. Identify and compute the costs to assign to the units in ending inventory. (Round inventory balances toe the dollar)

C. How likely is it that the Weighted Average method will reflect the actual physical flow of goods? How relevant is that factor in determining wether this is an acceptable method to use?

D. What is the impact of this method versus others in determining net income and income taxes?

E. How closely does the ending inventory amount reflect replacement cost?

In: Accounting

Cohen Chemicals, Inc. produces two types of photo-developing fluids. The first, a black-and-white picture chemical, costs...

Cohen Chemicals, Inc. produces two types of photo-developing fluids. The first, a black-and-white picture chemical, costs Cohen $2,500 per ton to produce. The second, a color photo chemical, costs $3,000 per ton. Based on an analysis of current inventory levels and outstanding orders, Cohen's production manager has specified that at least 30 tons of the black-and-white chemical and at least 20 tons of the color chemical must be produced during the next month. In addition, the manger notes that an existing inventory of a highly perishable raw material needed in both chemicals must be used within 30 days. To avoid wasting the expensive raw material, Cohen must produce a total of at least 60 tons of the photo chemicals in the next month. What is the lowest cost to Cohen Chemicals? post the answers on Excel please. include a photo of the excel spreadsheet

In: Operations Management

As you are an Oral health educator, please discuss the importance of a Preventive Dental Unit in Oral health education to children.

As you are an Oral health educator, please discuss the importance of a Preventive Dental Unit in Oral health education to children.

NOTE: "Talk about Preventive Dental Unit specifically and how it should be setting up and what should include or not, for children and why it is important to setting it"


In: Nursing

Write an essay about how high skilled workforce readiness could support Malaysia’s transition to a knowledge,...

Write an essay about how high skilled workforce readiness could support Malaysia’s transition to a knowledge, technology and innovation intensive economy.

In: Economics

Calculate the molarity of a solution prepared by dissolving 12.3g of Na2CrO4 in enough water to...

Calculate the molarity of a solution prepared by dissolving 12.3g of Na2CrO4 in enough water to produce a solution with a volume of 900.mL . Express the molarity to three significant digits.

In: Chemistry

****JAVA Program**** Make a LandTract class with the following fields: • length - an int containing...

****JAVA Program****

Make a LandTract class with the following fields:

• length - an int containing the tract's length
• width - an int containing the tract's width

The class should also have the following methods :

• area - returns an int representing the tract's area
• equals - takes another LandTract object as a parameter and returns a boolean saying
whether or not the two tracts have the same dimensions (This applies regardless of whether the dimensions match up. i.e., if the length of the first is the same as the width of the other and vice versa, that counts as having equal dimensions.)
• toString - returns a String with details about the LandTract object in the format:
LandTract object with length 30 and width 40
(If, for example, the LandTract object had a length of 30 and a width of 40.)

Write a separate program that asks the user to enter the dimensions for the two tracts of
land (in the order length of the first, width of the first, length of the second, width of the second). The program should print the output of two tracts' toString methods followed by a sentence stating whether or not the tracts have equal dimensions. (If the tracts have the same dimensions, print, "The two tracts have the same size." Otherwise, print, "The two tracts do not have the same size.") Print all three statements on separate lines.

****Results have to look like this****

Enter·length·of·first·land·tract:10↵
Enter·width·of·first·land·tract:55↵
Enter·length·of·second·land·tract:36↵
Enter·width·of·second·land·tract:75↵
LandTract·with·length·10,·width·55,·and·area·550↵
LandTract·with·length·36,·width·75,·and·area·2700↵
The·two·tracts·do·not·have·the·same·size.↵

In: Computer Science

1. What is a continuous spectrum? What is a discrete spectrum? 2. What kind of light...

1. What is a continuous spectrum? What is a discrete spectrum?

2. What kind of light sources produce each type of spectrum?

3. The grading used his laboratory ) a. produce only images in the horizontal b. must be rotated in its holder until it produces the desired horizontal pattern c. produces images in the vertical direction d. produce images only left to the slit.

4. The diffraction grading is 14.3° is used at a distance L equals 50.0 cm from the slip. what is the distance D from the slip to the first order image for the blue green wave length of mercury ?show your work.

5. What is the voltage and current of the spectrum tube power supply?

In: Physics

if water had been in the pipet when you pipetted the vinegar, would the calculated molarity...

if water had been in the pipet when you pipetted the vinegar, would the calculated molarity of acetic acid be:
lower M, higher M, or the same M
if water had been in the erlenmeyer into which you added the vinegar, would the calculated molarity of acetic acid be:
lower M, higher M, or same M
if water had been in the burr into which you poured NaOH solution, would the calculated molarity of acetic acid be:
lower M, higher M, same M
you pumped vinegar into a beaker to bring to your bench. if there had been water in that beaker, would the calculated molarity of acetic acid be:
lower M, higher M, same M
you took NaOH solution from a carboy into a beaker to bring to your bench. if there had been water in the beaker, would the calculated molarity of acetic acid be:
lower M, higher M, same M

In: Chemistry