You have the templates of 2 classes, Person and Program. The Person class has 4 attributes, name, age, major and gpa. There is a constructor for the class that is used to make Person objects. There are setter/mutator methods and getter/accessor methods for those attributes. There is also a printInfo() method that prints out information about the person. The Program class has a main method that has 5 Person objects person1 to person5 declared and initialized. The main method within the class also has a Scanner object that is used to take input for a person number and a newGPA. Your task is as follows:
a. Based on the input of personSelect select the appropriate person and change their GPA to the newGPA input and then print out their information. For instance if the user types in 1 then select person 1 and print out their information using the printInfo method. Do it for all possible inputs from 1 to 5.
b. If however the input is not 1 to 5 then inform the user they have to have to type in an appropriate person number

Person.java

public class Person {
String name;
int age;
double gpa;
String major;
public Person(String aName, int aAge, String aMajor, double aGpa)
{
name = aName;
age = aAge;
gpa = aGpa;
major = aMajor;
}
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name the name to set
*/
public void setName(String pname) {
name = pname;
}
/**
* @return the age
*/
public int getAge() {
return age;
}
/**
* @param age the age to set
*/
public void setAge(int page) {
age = page;
}
/**
* @return the gpa
*/
public double getGpa() {
return gpa;
}
/**
* @param gpa the gpa to set
*/
public void setGpa(double pgpa) {
gpa = pgpa;
}
/**
* @return the major
*/
public String getMajor() {
return major;
}
/**
* @param major the major to set
*/
public void setMajor(String pmajor) {
major = pmajor;
}
public void printInfo()
{
System.out.println("#########################");
System.out.println("Business College ");
System.out.println("Name: " + name);
System.out.println("Major: " + major);
System.out.println("GPA: " + gpa);
System.out.println("#########################");
}
}
Program.java--------------------------------------------------------------------------------

import java.util.Scanner;
public class Program {
public static void main(String[] args) {
//Declare person objects here
Person person1 = new Person("Dewars",40 , "MIS", 3.9);
Person person2 = new Person("Budweiser",23 , "MIS", 3.2);
Person person3 = new Person("Appletons",25 , "MIS", 3.0);
Person person4 = new Person("Beam",20 , "Finance", 3.7);
Person person5 = new Person("Daniels",19 , "Accounting", 2.9);
Scanner scan = new Scanner(System.in);
System.out.println("Type in a person number whose gpa you would like to change > ");
int personSelect = scan.nextInt();
System.out.println("Type in the gpa you would like the person's to be > ");
double newGPA = scan.nextDouble();
/*
* CODE HERE
*/
}
}

Answers

Answer 1

Answer:

Hi, I'm going to put the code answer here and you put in the corresponding line to not copy all the code in the answer.

replace the following line or adjust to the following code

/*

* CODE HERE

while(personSelect <= 0 || personSelect  > 5) {

System.out.println("Wrong number, try to input the number in range 1 to 5" );

personSelect = scan.nextInt();

}

if(personSelect == 1){

person1.setGpa(newGPA);

printInfo()

}

else if(personSelect == 2){

person2.setGpa(newGPA);

printInfo()

}

else if(personSelect == 3){

person3.setGpa(newGPA);

printInfo()

}

else if(personSelect == 4){

person4.setGpa(newGPA);

printInfo()

}

else {

person5.setGpa(newGPA);

printInfo()

}

*/

Explanation:

According to the description of code, we have to add some lines to resolve the questions.

a):

In base on the input, we have to modify the attribute GPA with the method setGpa depending on the person chosing. We call the person chosen before and also call the method setGpa( ) and pass  as parameter the GPA value obtained in tha last input

b)

In this case we have to create a loop for iterate the times that is necesary to get a value of person that is permit in range 1 to 5, and hence that we create and individual if condition to assign the GPA to the person chosen.

I hope it's help you.


Related Questions

what is a networking.give types also?

Answers

Answer: Networking is the method of exchanging of the information or data through a shared medium with different nodes in a networking system. Different types of networking are :-

LANWANMANPAN

Explanation: Networking forms the basic connection for sharing of the data between different nodes on the same medium . There are different types of network that are present according to the certain requirements are as follows:-

LAN(Local area network)-consists of a network established at a single site, particularly for an single building or infrastructure.WAN(Wide area network)-it is for a very wide area and also a combination of many MAN's and LAN's together . MAN(Metropolitan area network)-it is larger than a LAN and particularly limited to a single building or site such as a college building or office building.PAN(Personal area network)-computer network for an individual person within a building.

.the test team devives from the requirements a suiteof:
A.acceptance tests B.regression suite C.buglist D.priority list

Answers

Answer:

A. acceptance tests

Explanation:

In acceptance testing, the system is tested for acceptability to the end user. In order to do this it needs to be validated against the specified requirements. The testing team derives the acceptance tests from the requirement specification.

It generally corresponds to the last phase of testing operations for the system when the system is considered stable enough to be offered to the end user. If the system fails to satisfy the acceptance testing criteria, it needs to go through further rounds of iterative development.

Which statement must be included in a program in order touse a deque container?

a. #include vector

b. #include

c. #include container

d. #include deque

Answers

Answer:

d.#include deque

Explanation:

We have to include deque library in order to use a deque container and the syntax to include is #include<deque>.Deque is a double ended queue which is a sequence container and allows operations of contraction and expansion on both ends of the queue.Double ended queues are a special case of simple queue since in simple queue the insertion is from rear end and deletion is from front end but in deque insertion and deletion is possible at both ends rear and front.

Language levels have a direct influence on _______________

Write ability

Readability

Readability

None of the given

Answers

Answer:

Write Ability.

Explanation:

Great question, it is always good to ask away and get rid of any doubts that you may be having.

The level of skill you have with a certain language directly affects how fast and accurately you can code. An experienced Java programmer can finish a project a lot faster than someone who knows how to code but does not have much experience with that language.

Your language level also directly affects a codes functionality, since a person with more experience coding in a specific language will have a significantly less amount of errors.

Based on the information given above we can say that, "Language levels have a direct influence on Write Ability."

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

The order of the nodes in a linked list is determined by the data value stored in each node.

True

False

Answers

Answer:

False

Explanation:

Linkedlist is a data structure which is used to store the elements in the node.

The node has two store two data.

first element and second pointer which store the address of the next node.

if their is no next node then it store the NULL.

We can store data in randomly. Therefore, the order of node cannot be determine by data values.

we can use pointers for traversing using the loop because only pointer know the address of the next node, and next noe know the address of next to next node and so on...

Therefore, the answer is False.

What are the details of frame transmission andreception that LAN interface handles?

Answers

Answer and Explanation:

LAN transmission and reception handles the given bellow details  

LAN adds hardware address and use for error detection codes Use DMA to copy frame data directly from main memoryit follows access rule then transmission is in progressit also check the address where data is sent on incoming frames

if the destination address completely match with location address a copy of the frame is passed to the computer

in LAN system a single pocket is sent to the one or more nodes  

The primary characteristic of auctions is that prices are determined dynamically by competitive bidding ( true or false)

Answers

Answer: True

Explanation:

The following statement is false.

Which statement correctly tests int variable var to be less than 0 or more than 50?

Answers

Answer:

if-else statement.

Explanation:

if-else is the conditional statement that can be used for checking the condition.

Syntax of if-else statement:

if(condition){

statement;

}else{

statement;

}

if the condition put in the if part is TRUE, then the statement inside the if will execute. if the condition put in the if part is FALSE, then the else part will execute.

In the question for testing the variable var is less than or more than 50, if-else statement is best statement.

We can used like that:

if(var<0 || var>50){

printf("Test pass");

}else{

printf("Test failed");

}

The continue statement _________.
A)Disables the loop
B)Skips the loop
C)Transfer control to another code segment in the loop
D)Terminates the loop

Answers

Answer: C) Transfer control to another code

Explanation: Continue statement is a type of statement for the controlling of the loop. It has the main function of execution of the next  or another iteration. If the continue statement is executed inside a loop then the current execution of the statement will stop and jump on the next statement immediately and will transfer the loop there.

You may nest while and do-while loops, but you may not nest for loops



True False

Answers

Answer:

You may nest while and do-while loops, but you may not nest for loops - False

What are the advantages in implementing a language with apure interpreter?

Answers

Answer:

The advantage of implementing a language with pure interpreter is source level debugging implementation operations are easy in a language with pure interpreter because all run time error messages refers to source level unit.For example-array index out of bound.

Write a program that takes the radius of a sphere (a floating-point number) as input and then outputs the sphere’s: Diameter (2 × radius) Circumference (diameter × π) Surface area (4 × π × radius × radius) Volume (4/3 × π × radius × radius × radius)

Answers

Final answer:

To calculate the properties of a sphere, such as diameter, circumference, surface area, and volume, we can use a Python program that takes the radius as input and applies mathematical formulae for a sphere.

Explanation:

To create a program that calculates the properties of a sphere, we will use the following formulae for a sphere: diameter is 2 × radius, circumference is diameter × π (pi), surface area is 4 × π × radius², and volume is (4/3) × π × radius³.


Example Code in Python

Here is a simple Python program for calculating the properties of a sphere:

import math
# Input: radius of a sphere
def sphere_properties(radius):
   diameter = 2 * radius
   circumference = diameter * math.pi
   surface_area = 4 * math.pi * radius ** 2
   volume = (4/3) * math.pi * radius ** 3
   return diameter, circumference, surface_area, volume

# Example usage:
radius = float(input("Enter the radius of the sphere: "))
properties = sphere_properties(radius)
print(f"Diameter: {properties[0]}")
print(f"Circumference: {properties[1]}")
print(f"Surface Area: {properties[2]}")
print(f"Volume: {properties[3]}")

This program prompts the user to input the radius as a floating-point number, and then outputs the calculated diameter, circumference, surface area, and volume of the sphere.

What are the applications of assembly language where any heigher language become insufficient.???

Answers

Answer and Explanation:

we know that high level language gives the best optimized output but its not good as the codes are written in assembly language by human expert if the application is badly constrained in memory and we need fast running then we have to use assembly language directlyif any project is specific to a particular platform and never needs to transfer to any other platform then its better to use assembly language this much better output  

Final answer:

Assembly language is used in domains requiring direct hardware control or optimized performance, such as embedded systems, bootloaders, firmware, and performance-critical applications like game engines or signal processing software.

Explanation:

The applications of assembly language are particularly relevant in scenarios where control over hardware specifics is crucial, or where execution speed and efficiency are of paramount importance. Unlike higher-level languages, assembly language allows programmers to write code that is directly correlated with the machine instructions of the hardware, providing a high level of control and optimization. Some of the applications include writing code for embedded systems, such as microcontrollers in automotive sensors, or when creating bootloader and firmware software that operate at a very low level in the computer hardware. Additionally, critical performance applications which require highly optimized code, such as video game engines or signal processing software, often use assembly language to squeeze out extra performance where higher-level languages might introduce too much overhead.

The true or false questions.

The start directory of find is optional

Answers

Answer:

true

Explanation:

Find command syntax is as follows:

find [starting directory] [options]

For example:

$ find /tmp -name test

$ find . -name demo -print

$ find

As we can see in the last example, starting-directory and options can both be omitted and it will still be a valid command. When the start directory is omitted, it defaults to the current directory.

what characteristics need to be exhibited by an organisation to improve its software process?

Answers

Answer:  Defined , Controllable ,  Measured , Effective ,  Institutionalized are some of the characteristics needed to be exhibited by an organisation to improve its software process

Explanation:

Software process improvement(SPI)  helps in achieving goals of software products for an organization. Some of its characteristics are Defined , Controllable ,  Measured , Effective ,  Institutionalized.

It goals must be defined, and must also be controlled and it performance must be measured at regular intervals and any reforms carried out to achieve goals must be effective. Lastly it should implement all goals in an institutional framework to be followed by every one in the organization.

In an e-credit card transaction the clearinghouse plays the following role:

A. validates and verifies the sellers payment information

B. initiates the transfer of money

C. transfers funds between the sellers bank and the buyers bank

D. all of the above

Answers

Answer:

validates and verifies the seller's payment information- A.

Answer:

Hi Samantha, i have a work with you.

The ArrayList class ____ method removes an item from an ArrayList at a specified location.

a.
erase

b.
remove

c.
delete

d.
get

Answers

Answer:

remove

Explanation:

The function used to remove the element in the ArrayList at specific index is remove.

Syntax:

remove(int index)

it used index to remove the element.

ArrayList index start from the index zero. So, if the we enter the index 0 it means remove the element at first position.

for example:

array.remove(1);  it remove the element at index 1 from the ArrayList name array.

Write a test program that prompts the user to enter two strings and, if they are anagrams, displays is an anagram; otherwise, it displays is not an anagram

Answers

Answer:-Following is the program for the checking if 2 strings are anagram in c++:-

#include<bits/stdc++.h>

using namespace std;

int main()

{

   string ana1,ana2;//declaring two strings.

   int an1[256]={},an2[256]={};//declare two count arrays of size 256 an1 and an2.

   bool test=true;//taking a bool variable test = true for displaying the result..

   cout<<"Enter both the strings"<<endl;

   cin>>ana1>>ana2;//prompting the strings..

   for(int i=0;ana1[i]&ana2[i];i++) // iterating over both the strings.

   {

       an1[ana1[i]]++;//increasing the count of the characters as per their ascii values in count array an1.

       an2[ana2[i]]++;//increasing the count of the characters as per their ascii values in count array an2.

   }

   for(int i=0;i<256;i++)//iterating over the count arrays..

   {

       if(an1[i]!=an2[i])//condition for not anagram.

       {

           cout<<"not an anagram"<<endl;

           test=false;//making test false..

           break;//coming out of the loop.

       }

   }

   if(test)//if test is true only then printing..

   cout<<"is an anagram"<<endl;

   return 0;

}

Explanation:-

A string is said to be an anagram string of other string if it has same characters but in different order.

for example:-

string 1="raman"

string 2="manar"

string 2 is an anagram of string 1.

___ consists of a central conductor surrounded by a shield (usually a wire braid).

a) twisted pair cable b) coaxial cable c) antenna d) optical fiber

Answers

Answer: Coaxial cable

Explanation:

Coaxial cable consist of an central conductor surrounded by a shielded material in form of an insulating plastic. These cables have a high bandwidth and has a higher speed as compared to twisted cable.

Therefore the answer is coaxial cable.

23. Which of the following is most likely to violate a FIFO queue? A) supermarket with no express lanes B) car repair garage C) emergency room D) fast-food restaurant E) All of the above are equally likely to violate a FIFO queue.

Answers

E) All of the above equally violate a FIFO queue

Answer:

emergency room- C)

The ____ is responsible for assigning maintenance tasks to individuals or to a maintenance team.
Answer
user
programmer
systems review committee
system administrator

Answers

Answer:

System Administrator

Explanation:

The System Administrator is responsible for assigning maintenance tasks to individuals or to a maintenance team.

The System Administrator’s role is to manage computer software systems, servers, storage devices  and network connections to ensure high availability and security of the supported business applications.

This  individual also participates in the planning and implementation of policies and procedures to ensure system  provisioning and maintenance that is consistent with company goals, industry best practices, and regulatory requirements.

System administrators may be members of an information technology department.

The duties of a system administrator may vary widely from one organization to another. They may sometimes do scripting and light-programming.

Following are some of the duties done by them:

User administration (setup and maintaining account) Maintaining system Verify that peripherals are working properly Quickly arrange repair for hardware in occasion of hardware failure Monitor system performance Create file systems Install software Create a backup and recover policy Monitor network communication Update system as soon as new version of OS and application software comes out Setup security policies for users. Documentation in form of internal wiki Password and identity management

Give a Rationale for a layered approach to a network architecture. ? How does TCP/IP differ from ISO/OSI?

Answers

Answer: Layered network architecture enables us a clear loosely coupled system with a definite distinction between the various layers visible.

Explanation:

Layered architecture enable independent deployment of each of the different layer, so that emphasis can be laid to the layers in respect of their protocol deployment.

TCP/IP is a standard model which is being followed everywhere, however the OSI is a conceptual model. The TCP/IP is actually derived from the OSI model.

Both the models differ in the number of layers present in them.

TCP/IP has 4 layers whereas OSI has 7 layers.

Codio python challenge (max.py)

We will pass in a list of numbers. Your job is to find the largest number in that list and output its index, not the actual value.

Tip: you will need to use a utility variable to store the maximum value and a decision to see if each number is bigger than the current maximum value encounted in previous iterations

import sys

numbers = sys. argv[1]. split(',')

numbers = [int(1) for i in numbers]

#enter code here

Answers

Final answer:

To find the index of the largest number in a list passed as a command line argument in Python, the list must first be correctly parsed and converted to integers. Then, by iterating over this list and comparing each number to a tracked maximum value, the highest value's index can be identified and printed.

Explanation:

The question asks for a solution to find the index of the largest number in a list passed to a Python script. The solution involves iterating over each number in the list, comparing each one to a currently tracked maximum value, and updating this maximum along with its index as the iteration proceeds. It is important to correctly parse the input list from the command line and convert each element to an integer for accurate comparisons. The crucial steps include initializing variables for tracking the maximum value and its index, iterating over the list with enumeration for obtaining both the index and value, and updating the tracking variables as larger numbers are encountered.

Here is a corrected snippet of Python code that achieves the described functionality:

import sys
numbers = sys.argv[1].split(',')
numbers = [int(i) for i in numbers]
max_val = numbers[0]
max_index = 0
for index, num in enumerate(numbers):
   if num > max_val:
       max_val = num
       max_index = index
print(max_index)

This script corrects the line numbers = [int(1) for i in numbers] to numbers = [int(i) for i in numbers], ensuring that the input string is correctly converted to a list of integers. Then, it proceeds to find the index of the largest number by iterating over this list.

When used as parameters, _________ variables allow a function to access the parameter’s

original argument.

Answers

Answer:  reference

Explanation:

In an function if the variables are passed as reference variables this means that the variables are pointing to the original arguments.So the changes made in the function on the reference variables will be reflected back on the original arguments.

For example:-

#include<iostream>

using namespace std;

void swap(&int f,&int s)

{

    int t=f;

    f=s;

   s =temp;

}

int main()

{

int n,m;

n=45;

m=85;

swap(n,m);

cout<<n<<" "<<m;

return 0;

}

the values of m and n will get swapped.

#include<iostream>

using namespace std;

void swapv(int f,int s)

{

    int t=f;

    f=s;

    s=temp;

}

int main()

{

int n,m;

n=45;

m=85;

swapv(n,m);

cout<<n<<" "<<m;

return 0;

}

In this program the values of m and n will not get swapped because they are passed by value.So duplicate copies of m and n will be created and manipulation will be done on them.

____________ is the most general and least usefulperformance metrics for RISC machines
o MIPS

o Instruction Count

o Number of registers

o Clock Speed

Answers

Answer: Instruction count

Explanation: Instruction count is the most general and least useful performance matrix for RISC machine because RISC is known for the reduced set of instruction so indirectly the instructions are less so there is not much requirement of keeping the count of instruction.other features mentioned in the question describes the performance factor of RISC machine and are the major factor behind the working of the RISC machine.

Answer:

Instruction Count

Explanation:

[tex]\text{Performance}=(\frac{\text{Instruction}}{\text{Program}} )\times(\frac{\text{clocks}}{\text{instruction}})\times(\frac{\text{seconds}}{\text{clock}})[/tex]

This is the formula for the Performance of Risc machines,as execution time is a product of three factors that are relatively independent of each other.As we can see that performance is directly related to the Instruction count,Clock speed and Number of registers.  

Instruction count (IC) is the most general and least useful performance metrics : the complete number of executions involving instruction in a program. Repetitive activities like loops and recursions dominate it.

An initialization expression may be omitted from the for loop if no initialization is required.



True False

Answers

Answer:

True

Explanation:

for loop is used to repeat the process again and again until the condition not failed.

syntax:

for(initialize; condition; increment/decrement)

{

    Statement

}

But we can omit the initialize or condition or increment/decrement as well

the syntax after omit the initialization,

for( ; condition; increment/decrement)

{

    Statement

}

The above for loop is valid, it has no error.

Note: don't remove the semicolon.

You can omit the condition and  increment/decrement.

and place the semicolon as it is. If you remove the semicolon, then the compiler show syntax error.

Write a C++ programthat returns the type of a triangle (scalene, equilateral,or

isosceles). The input tothe program should consist of the lengths of thetriangle's

3 sides.

Answers

Answer:

#include<iostream>

using namespace std;

int main(){

   //initialize

   int a, b,c;

   //print the message

   cout<<"Enter the three sides of the triangle: "<<endl;

   //store in the variables

   cin>>a>>b>>c;

   //if-else statement for checking the conditions  

   if(a == b && b == c && a == c){

       cout<<"\nThe triangle is equilateral";

   }else if(a != b && b != c && a != c ){

       cout<<"\nThe triangle is scalene";

   }else{

       cout<<"\nThe triangle is isosceles";

   }

   return 0;

}

Explanation:

Create the main function and declare the three variables for the length of the sides of the triangle.

print the message on the screen for the user. Then the user enters the values and its store in the variables a, b, and c.

use the if-else statement for checking the conditions.

Equilateral triangle: all sides of the triangle are equal.

if condition true, print the equilateral triangle.

Scalene triangle: all sides of the triangle are not equal.

if condition true, print the Scalene triangle.

if both conditions is not true, then, the program moves to else part and print isosceles.

put is a function to __________.

Ex:cout.put(aChar);

A)get one next character from the input stream
B)input one next character to the input stream
C)put one next character to the output stream
D)output one next character from the input stream

Answers

Answer: put one next character to the output stream

Explanation:

put is a member of the output stream class. So using the code cout which means displaying and the put method which places a character to the output stream. It is in use in C++.

What is the value of the following expression? (false || (4-3 && 6))

true

false

0

illegal syntax

Answers

Answer:

true

Explanation:

The operator '||' is called the OR operator. it is used in between the two Boolean values.

OR operator has four possible values:

First Boolean is TRUE and second Boolean is TRUE, result will be TRUE.

First Boolean is TRUE and second Boolean is FALSE, result will be TRUE.

First Boolean is FALSE and second Boolean is TRUE, result will be TRUE.

First Boolean is FALSE and second Boolean is FALSE, result will be FALSE.

consider the expression:

(false || (4-3 && 6))

the second expression (4-3 && 6) gives Boolean TRUE, because their is no point for condition false.

so, (false || True) gives TRUE result.

Final answer:

False. The expression (false || (4-3 && 6)) will result in false because the '&&' operator takes precedence over '||', and 4-3 evaluates to 1 which is considered 'true' in Boolean logic.

Explanation:

The value of the expression (false || (4-3 && 6)) is true. In this expression, ((4-3 && 6)) is evaluated first. Since 4-3 is 1, which is true, and 6 is also a non-zero number, which is considered true, the result of that part of the expression is true because both operands are true for the && (AND) operator. Then we have 'false || true', and since '||' is the OR operator, the expression is true if either side is true. Hence, the entire expression evaluates to true.

. The limitingcondition for a list might be the number of elements in thelist.
a. True
b.False

Answers

Answer:

True

Explanation:

Yes, the limiting condition of a linked list is the number of the elements that are present in the list. Consider a linked list contains  'n' number of elements, create an iterator which iterates over all the n elements of the linked list. So , in the limiting condition ( for loops , while loops, do while loops in all the looping conditions in fact in any conditions ) the iterator has to iterate over all the elements present in the linked list. So , the limiting condition is the number of elements in the list.  

Other Questions
Which example represents a main source of revenue for the federal government?O Social Security taxes from an employee's paycheckO property taxes paid on an individual's homeO sales tax consumers pay at a clothing storeO bond taxes an investor pays for purchasing Treasury Bonds In an array list the time complexity of the remove function is identical to the time complexity of the ____ function.A.insertB.isEmptyC.isFull When was the Progressive Period? PLEASE HELP ME WITH THIS MATH QUESTION Turns out that I'm going to need help with this question. I wasn't able to figure it out on my own. Thanks for the help! The tub of a washer goes into its spin cycle, starting from rest and gaining angular speed steadily for 6.00 s, at which time it is turning at 5.00 rev/s. At this point, the person doing the laundry opens the lid, and a safety switch turns off the washer. The tub smoothly slows to rest in 13.0 s. Through how many revolutions does the tub turn while it is in motion? - An experiment consists of rolling two fairnumber cubes. What is the probabilitythat the sum of the two numbers will be47 Express your answer as a fraction insimplest form. Which of the following structures are gonads? A) seminal vesicles. B) vas deferens. C) prostate gland . D) testes. E) A, B and C are correct What journal entry is made in a job-order costing system when $8,000 of materials are requisitioned for general factory use instead of for use in a particular job? (a) Work in Process $8,000 Manufacturing Overhead $8,000 (b) Work in Process $8,000 Raw Materials $8,000 (c) Manufacturing Overhead $8,000 Work in Process $8,000 (d) Manufacturing Overhead $8,000 Raw Materials $8,000 Use the formula P=21+2w to find the width of a rectangle when the length is 18cm and perimeter is 48 .. The volume of a cantaloupe is approximated by Upper V equals four thirds pi font size decreased by 5 r cubedV= 4 3 r3. The radius is growing at the rate of 0.5 cm divided by week0.5 cm/week, at a time when the radius is 5.85.8 cm. How fast is the volume changing at that moment? A poll asked the question, "What do you think is the most important problem facing this country today?" Twenty percent of the respondents answered "crime and violence." The margin of sampling error was plus or minus 4 percentage points. Following the convention that the margin of error is based on a 95% confidence interval, find a 95% confidence interval for the percentage of the population that would respond "crime and violence" to the question asked by the pollsters. A spring with a mass of 0.7 kg is hanging on it and has an angular frequency of 2.4 when in oscillation. What is the spring constant? Calculate to one decimal place. What are the differences between a Required RFC and an Elective RFC? What is the product? Sing to me of the man, Muse, the man of twists and turns driven time and again off course, once he had plundered the hallowed heights of Troy. Many cities of men he saw and learned their minds, many pains he suffered, heartsick on the open sea, fighting to save his life and bring his comrades home. But he could not save them from disaster, hard as he strove the recklessness of their own ways destroyed them all, the blind fools, they devoured the cattle of the Sun and the Sun god blotted out the day of their return. Launch out on his story, Muse, daughter of Zeus, start from where you willsing for our time too. (from The Odyssey by Homer)What does the poet tell us about the hero and his situation?A. He was lost and needed his comrades' help to return.B. He tried to save his life and return his comrades home.C. He was roving the seas for places to plunder and destroy.D. He was struggling to fight Troy and the Sun god. Who was the 42nd president of the United States? Boxer Company owned 16,000 shares of King Company that were purchased in 2016 for $440,000. On May 1, 2018, Boxer declared a property dividend of 1 share of King for every 10 shares of Boxer stock. On that date, there were 50,000 shares of Boxer stock outstanding. The market value of the King stock was $22 per share on the date of declaration and $38 per share on the date of distribution. By how much is retained earnings reduced by the property dividend? A solution contains two isomers, n-propyl alcohol and isopropyl alcohol, at 25C. The total vapor pressure is 38.6 torr. What are the mole fractions of each alcohol in the liquid and in the vapor phase? The vapor pressures are 21.0 torr for n-propyl alcohol and 45.2 torr for isopropyl alcohol. A baseball leaves a bat with a horizontal velocity of 20.0 m/s. When it has left the bat for a time of 0.250 s (Assume air resistance is negligible). How far will it have moved horizontally?