Questions
Use JAVA to Design a simple registration system that allows Student to register in a course....

Use JAVA to Design a simple registration system that allows Student to register in a course.

Requirements

  • using 2 classes: class Student & class Course.
  • Implement the scenarios in class Test’s main method.
  • Each student has a name and an id variable.
  • Each object of class Student is initialized using values of name and id passed to constructor.
  • Class Student has get methods for its instance variables.(getters and setters)
  • Each Course has a name, and a variable numberOfStudent representing the number of registered students.
  • A course can have a maximum number of 10 students registered in it.
  • Class Course store the registered students in students which is an array of type Student. When a student register in a course, he is added to the array. Each object of class Course is initialized using the title(name).
  • Class Course has the following methods:
    • method getStudents(): return the array of registered students;
    • method boolean isFull(): return true if the course is full,
    • get method for the name and numberOfStudent field;
    • method registerStudent (Student student): if the course is not full, register a student in course.

In: Computer Science

In your own words, give your personal experience (in details) about the following: Topic: Payroll Management...

In your own words, give your personal experience (in details) about the following:

Topic: Payroll Management

Explanation of Learning Venue: personal experience (in details)

Description of the Learning Principle: personal experience (in details)

Application of Principle Outside Venue of Experience: personal experience (in details)

In: Accounting

A company has two products: standard and deluxe. The company expects to produce 38,763 Standard units...

A company has two products: standard and deluxe. The company expects to produce 38,763 Standard units and 36,637 Deluxe units. It uses activity-based costing and has prepared the following analysis showing budgeted cost and cost driver activity for each of its three activity cost pools.

Budgeted Activity of Cost Driver

Budgeted

OH Cost

Standard Deluxe
Activity 1: Purchasing $ 93,000 2,500 Purchases 5,250 Purchases
Activity 2: Designing $ 92,000 4,500 Designs 5,500

Designs

Activity 3: Shipping $ 87,000 3,000 Orders 2,800

Orders

Required:

Make a Job Cost Sheet for the Standard Units. Use the following Direct Materials and Direct Labor information.

- Direct Materials $5,987

- Direct Labor $7,821

For Overhead, computer overhead rates for each of the three activities. Hint, you will divide each activity's budgeted cost by the TOTAL amount of that activity's cost driver. So you will need to add Purchases for Standard and Deluxe to get the total denominator for that activity. (Round activity rate and cost per unit answers to 2 decimal places.)

Your Job Cost Sheet will include:

Direct Materials

+ Direct Labor

+ Overhead for Purchasing

+ Overhead for Designing

+ Overhead for Shipping

= Total Job Cost

/ Units Produced

= Per Unit Cost

The answer you type in will be the Per Unit Cost of the Standard Units. Round your answer to the nearest 2 decimal places

In: Accounting

Write a program that takes an integer as input and returns whether it is a prime...

  1. Write a program that takes an integer as input and returns whether it is a prime number or not in C++. (Using if, loops, or/and bool only)

In: Computer Science

  Question no 3: USE PYTHON a. Generate a discrete uniform distribution of population size 100 between...

  Question no 3: USE PYTHON

a. Generate a discrete uniform distribution of population size 100 between interval (1,10).)

b Consider the sample size of N=10, Simulate the sampling distribution of the sample mean. (repeat 100 times)

c Consider the sample size of N=30, what is the sample mean and sample standard deviation? (repeat 100 times)

In: Computer Science

Please Use the ECLIPSE AND FOLLOW THESE RULES Apply the naming conventions for variables, methods, classes,...

Please Use the ECLIPSE AND FOLLOW THESE RULES

Apply the naming conventions for variables, methods, classes, and packages:

- variable names start with a lowercase character

- classes start with an uppercase character

- packages use only lowercase characters

methods start with a lowercase character

question1:

Design a Lotto class with one array instance variable to hold three random integer values (from 1 to 9). Include a constructor that randomly populates the array for a lotto object. Also, include a method in the class to return the array.

Use this class to simulate a simple lotto game in which the user chooses a number between 3 and 27. The user runs the lotto up to 5 times and each time the sum of lotto numbers is calculated. If the number chosen by the user matches the sum, the user wins and the game ends. If the number does not match the sum within five rolls, the computer wins.

question2:

Write a Java class that implements a set of three overloaded static methods. The methods should have different set of parameters and perform similar functionalities. Call the methods within main method and display the results.

eclipse...

In: Computer Science

Provide pseudo-code to compute the difference of two sets, S - T, using: a. sets represented...

Provide pseudo-code to compute the difference of two sets, S - T, using:

a. sets represented by linked-lists of characters.

b. sets represented by bit strings. (hint - what is "exclusive or?")

In: Computer Science

Is there a way to limit the # of times an Excel file can be opened?...

Is there a way to limit the # of times an Excel file can be opened? The solution would also require that the Excel file could not be copied to another location to bypass the counter.

In: Computer Science

Subject = Managerial Accounting ABC = Activity Based Costing 1.) Which of the following statements is...

Subject = Managerial Accounting

ABC = Activity Based Costing

1.) Which of the following statements is true?

A.) ABC allocates overhead based on a product's usage of resources.

B.) ABC is always a better way to find product costs than other methods.

C.) There should be 3 activity pools for ABC.

2.) Please select all of the answers that are considered disadvantages of ABC:

A.) Cost to implement ABC

B.) Cost Distortion can still exist, even with ABC

C.) ABC can provide more accurate overhead cost allocation

In: Accounting

Can someone read my college essay prompt and give me suggestions? 1. Describe an example of...

Can someone read my college essay prompt and give me suggestions?

1. Describe an example of your leadership experience in which you have positively influenced others, helped resolve disputes or contributed to group efforts over time.

I had never dialed 9-1-1. But, when I saw the empty Tylenol bottle in a picture one of my cadets texted to me, I knew I had to act. I understood that this was a plea for help. I didn’t have time to wonder if this was legitimate. I saved her life by calling 911.

I used this traumatic experience and realization of the importance of mental health as I worked up to be a top leader in JROTC. Since without a healthy mind you cannot do anything because there is no motivation. So I made it my main goal to ease my cadets into feeling like they could communicate me in order to avoid situations where they get this hopeless. Thus I acted a mother figure to them by asking them about their grades to talking to them about their family. I heard about their mother being a prostitute to her alcoholic fathers which let me understand their behaviors and not judge them when they lashed out. They could also understand me too when I was in a bad mood because of my autistic brother who screams at night leading me to sleep less.

   I furthered this support system by teaching them cooperation towards each other. One example of how I did this was teaching them games like doing musical chairs, however, there was with a twist. Instead of the traditional one person fighting for one person per chair, we all had to fit in that one remaining chair. This taught us to work together instead of against each other. It might seem silly but I felt like it helped because they got closer through having fun together. I also planned weekly outings to places like the beach or the mall in order for them to be in a setting that they enjoyed together. This gives them a positive association with each other which showed in there work and let them talk to each other on a personal level.

In: Psychology

Is it wrong for marketers to create wants where none exist in the marketplace in order...

Is it wrong for marketers to create wants where none exist in the marketplace in order to make profits? State your position and defend your answer. Be specific. There are no wrong answers. Back up your findings with concepts, reasoning, and logic

In: Operations Management

A 65.0 mL solution of 0.113 M potassium alaninate (H2NC2H5CO2K) is titrated with 0.113 M HCl....

A 65.0 mL solution of 0.113 M potassium alaninate (H2NC2H5CO2K) is titrated with 0.113 M HCl. The pKa values for the amino acid alanine are 2.344 (pKa1) and 9.868 (pKa2), which correspond to the carboxylic acid and amino groups, respectively. a) Calculate the pH at the first equivalence point b) Calculate the pH at the second equivalence point

In: Chemistry

Explain how a read I/O operation happens in 2 scenarios: with DMA and without DMA. Clearly...

Explain how a read I/O operation happens in 2 scenarios: with DMA and without DMA. Clearly explain how the I/O device and the CPU works concurrently in both cases. Explain through an example showing the steps of the protocols and the algorithms underneath.

In: Computer Science

PLEASE Use the ECLIPSE... AND FOLLOW THIS RULES.. Apply the naming conventions for variables, methods, classes,...

PLEASE Use the ECLIPSE...

AND FOLLOW THIS RULES..

Apply the naming conventions for variables, methods, classes, and packages:

- variable names start with a lowercase character

- classes start with an uppercase character

- packages use only lowercase characters

methods start with a lowercase character

Write a Java application that simulates a test. The test contains at least five questions about first three lectures of this course. Each question should be a multiple-choice question with 4 options.

Design a Test class. Use programmer-defined methods to implement your solution. For example:

  • create a method to simulate the questions – simulateQuestion
  • create a method to check the answer – checkAnswer
  • create a method to display a random message for the user – generateMessage
  • create a method to interact with the user - inputAnswer

For each question:

  • If the user finds the right answer, display a random congratulatory message (“Excellent!”,”Good!”,”Keep up the good work!”, or “Nice work!”).
  • If the user responds incorrectly, display an appropriate message and the correct answer (“No. Please try again”, “Wrong. Try once more”, “Don't give up!”, “No. Keep trying..”).
  • Use random-number generation to choose a number from 1 to 4 that will be used to select an appropriate response to each answer.
  • Use a switch statement to issue the responses, as in the following code:

switch ( randomObject.nextInt( 4 ) )

{

case 0:

return( "Very good!" );

……

}

At the end of the test display the number of correct and incorrect answers, and the percentage of the correct answers.

Your main class will simply create a Test object and start the test by calling input answer method.

Thank you.

In: Computer Science

Discuss the methods, results, and implications of the Holway and Boring (1941) 'hallway' experiment.

Discuss the methods, results, and implications of the Holway and Boring (1941) 'hallway' experiment.

In: Psychology