Questions
Write a MIPS assembly program that calculates the sum of all the elements in the following...

Write a MIPS assembly program that calculates the sum of all the elements in the following array: int array[10]={12,21,3,40,15,6,17,8,29,10}

In: Computer Science

Answer the following parts by describing how the different retailers could use the area listed to...

Answer the following parts by describing how the different retailers could use the area listed to enhance the store’s image and atmosphere. a. Drugstore’s entrance b. Music Store’s windows c. Restaurant’s cash wrap

In: Operations Management

create a program in java that will evaluate a logical expression (compound proposition) based on the...

create a program in java that will evaluate a logical expression (compound proposition) based on the given truth values of individual propositional variables. The logical expression may include the logical AND or the logical OR operators. The NOT operator will be included in the variable names itself. So, a proposition such as ¬a would appear as na in the logical expression.

Here is an example of a logical expression using proper notation:

a ∧ b ∨ ¬c ∨ d

This expression will be represented as the following in this program to accommodate simple keyboard input:

a and b or nc or d

The logical operators will be evaluated left to right. Parentheses will not be included.

input the following information:

• number of variables in an expression, between 2 and 5

• the truth values of each of these variables

• a logical expression involving these variables, their negated counterparts and the logical operators and/or

In: Computer Science

List and discuss two key differences between class diagrams in analysis and those in design. What...

List and discuss two key differences between class diagrams in analysis and those in design. What are some factors that need to be considered in determining an appropriate design pattern to utilize? Please identify at least 3-4 factors and elaborate on why these factors are important.

In: Computer Science

A marketing survey looked at the preferences of hot drink size among 1275 random customers of...

A marketing survey looked at the preferences of hot drink size among 1275 random
customers of a coffee shop chain. The survey was also interested in whether the customer’s gender
affects their preference. The results of the survey were used to estimate the probabilities in this joint
probability distribution:
Tall (T) Grande (G) Venti (V)
Female (F) 0.12 0.24 0.06
Male (M)    0.08 0.38    0.12


a) What is p (M, T), the joint probability that a customer in the survey was both male and prefers tall
drinks?
b) What is p (F), the marginal probability that a customer in the survey was female?
c) What is p(G), the marginal probability that a customer in the survey prefers Grande drinks?
d) What is p (V | M), the conditional probability, given a customer in the survey was male, that he prefers
venti drinks?
e) What is p (F | V), the conditional probability, given a customer in the survey prefers venti drinks, that the customer was female?
f) There are two random variables in this situation, drink size and gender. Are they independent or dependent? Explain how you arrived at the answer and show your calculations.

In: Computer Science

Develop a program Grades.java that collects the user's (students) name, course name, and the score for...

Develop a program Grades.java that collects the user's (students) name, course name, and the score for three quizzes. You are supposed to read this data from the keyboard using the Scanner class. Calculate the total score and the average score.

Further, using the grading scale below, based on the average score computed above, your program should calculate and output a letter grade. and the range boundaries should be configured properly (i.e.: exactly 90 and above is an A, and anything less than 90 to exactly 80 is a B). The grading scale to use is as follows:

Letter Category

Average Score Range

A 90 - 100
B 80 - 90
C 70 - 80
D 60 - 70
E 0 - 60

Note: The E Category is not a typo.

Declare the variables in the order studName, courseName, scoreQuiz_1, scoreQuiz_2, and scoreQuiz_3, totalScore, averageScore, and letterCategory. Make sure you declare the variables studName, courseName, and letterEvaluation as String class variables. Select proper data type for the variables totalScore and averageScore. The data type should support decimals. Use a constant variable NUM_OF_Quizzes to compute the average score.

Things to watch for: As you are determining your logic for your if statements in this project, consider that a percentage of 90.0 results in an A, 89.8 results in a B category, 79.12 results in a C category, and 69.994949 results in a D category. That last example is a bit extreme, but the idea is to not try to predict how many 9s after the decimal you need to account for. Just think of where the last boundary ends and where the next one begins, and how you might use your mathematical operators to account for that (is it less-than-or-equal-to, or just less than?).

Formatting: Import the package DecimalFormat to format the average score data. You do this by typing: import java.text.DecimalFormat; either below or above the line: import java.util.Scanner;

Then create a DecimalFormat object by typing: DecimalFormat df = new DecimalFormat("##.00"); either above or below the line Scanner scnr = new Scanner(System.in);

A format with 2 digits would be displayed by using the df as follows:

System.out.println("The average score is: "+df.format(averageScore));

Pseudocode: Prior to writing the Java code for the project, develop a document in pseudocode that outlines how the program will flow. Remember that there are no specific rules regarding pseudocode, but rather you should write pseudocode in a way that is human-readable and understandable (English for this assignment).

The following example is what your program might look like:

____________________________________________________________________________________

Your Score Card for Three Quizzes

Please enter your name : Julie Kimbal

Please enter your course you are taking : CS1400 Fundamentals of Programming

Please enter the score for quiz 1 : 77

Please enter the score for quiz 2 : 85

Please enter the score for quiz 3 : 79

The total score is 241.0

The average score is : 80.33

Thanks Julie Kimbal. Your grade for the 3 quizzes in CS1400 Fundamentals of Programming is a (n) B.

________________________________________________________________________________________________________________________

Experiment cases: Make sure that your program computes correct average scores for the following experiment cases:

Quiz 1 Quiz 2 Quiz 3 Average Category
Experiment case 1 67 58 54 59.67 E
Experiment case 2 78 71 83 77.33 C
Experiment case 3 89 90 93 90.67 A

You need to upload three files:

  1. attach a screenshot of one output
  2. pseudocode document
  3. java file (not the class file) Grades.java

In: Computer Science

It's the leader's ability to unite and connect people that truly creates great teams and organizations....

It's the leader's ability to unite and connect people that truly creates great teams and organizations. Explain, what is it a leader must do to in fact create great teams and organizations?

Leadership comes down to taking care of the people in your organization and making them the best they can be, not giving up on them and never failing to be there for them. Explain how you will, when in a manager or leadership role, accomplish this?

In: Operations Management

Discuss the process of determining static earthquake and wind forces in high rise buildings using any...

Discuss the process of determining static earthquake and wind forces in high rise buildings using any code/guidelines.BS or Eurocode for example.

Outline the considerations/effects of structural systems, structural shapes, grounds conditions, building height, etc.

In: Civil Engineering

Austin Company reports the following components of stockholders’ equity on December 31, 2016: Common stock—$10 par...

Austin Company reports the following components of stockholders’ equity on December 31, 2016:

Common stock—$10 par value, 110,000 shares authorized,
40,000 shares issued and outstanding
$ 400,000
Paid-in capital in excess of par value, common stock 60,000
Retained earnings 330,000
Total stockholders' equity $ 790,000


In year 2017, the following transactions affected its stockholders’ equity accounts.

Jan. 1 Purchased 4,000 shares of its own stock at $23 cash per share.
Jan. 5 Directors declared a $2 per share cash dividend payable on February 28 to the February 5 stockholders of record.
Feb. 28 Paid the dividend declared on January 5.
July 6 Sold 1,500 of its treasury shares at $27 cash per share.
Aug. 22 Sold 2,500 of its treasury shares at $20 cash per share.
Sept. 5 Directors declared a $2 per share cash dividend payable on October 28 to the September 25 stockholders of record.
Oct. 28 Paid the dividend declared on September 5.
Dec. 31 Closed the $497,000 credit balance (from net income) in the Income Summary account to Retained Earnings.
  • Requirement
  • General Journal
  • General Ledger
  • Trial Balance
  • Statement of RE
  • Stockholders Equity
  • Impact on Equity

General Journal tab - Prepare the necessary journal entries.

Statement of Retained Earnings tab - Prepare the Statement of Retained Earnings for the Austin Corporation for the year ended December 31, 2017.

Stockholders' Equity tab - Prepare the Stockholders' equity section of Austin Corporation's December 31, 2017 balance sheet.

Impact on Equity tab - For each transaction, indicate the total change in Stockholders' Equity, if any. Verify that total equity, as calculated, agrees with the amount reported on the Stockholders' Equity tab.

In: Accounting

How does efficient frontier analysis (EFA) differ from other forms of complex risk assessment techniques? What...

How does efficient frontier analysis (EFA) differ from other forms of complex risk assessment techniques? What limitations might an analyst encounter through the use of EFA? How can efficient frontier analysis results be communicated and utilized with non-mathematical decision makers? Required: Provide an original initial posting of at least 300 words

In: Operations Management

The most important characteristic of a leader is optimism. Explain, What does this mean and how...

The most important characteristic of a leader is optimism. Explain, What does this mean and how does it apply to managing?

Being positive won't guarantee you'll succeed but being negative will guarantee you won't.​​ Explain what this means, how is it possible that being negative will guarantee you won’t be successful?

In: Operations Management

Rally, Inc. produces the Mayhem Raider, an all-terrain utility vehicle. It currently purchases the Mayhem Raider's...

Rally, Inc. produces the Mayhem Raider, an all-terrain utility vehicle. It currently purchases the Mayhem Raider's engine from a supplier but is considering making the engine in-house. The firm produces 100 engines per month.

Cost to buy: $5,000 per engine.

Cost to make: $300,000 in machinery and labor cost per month. $210,000 in other costs per month.

The Mayhem Raider is at the early stages of its product life cycle. Making the engines in-house should allow the firm's to have better long-term control over this product over and can lead to significant cost efficiencies in the future.

Which of the following is TRUE?

a.

Both relevant cost analysis and strategic cost analysis suggest the firm should make.

b.

Relevant cost analysis suggests the firm should make, but strategic cost analysis suggests the firm should buy.

c.

Relevant cost analysis suggests the firm should buy, but strategic cost analysis suggests the firm should make.

d.

Both relevant cost analysis and strategic cost analysis suggest the firm should buy.

In: Accounting

Being positive doesn't just make you better; it makes everyone around you better. Explain, How is...

  1. Being positive doesn't just make you better; it makes everyone around you better. Explain, How is this possible?
  1. We are not positive because life is easy. We are positive because life can be hard.​ Explain, What impact does being positive have on our work life?

In: Operations Management

what are at least two possible long term effect of a mass extinction on plant and...

what are at least two possible long term effect of a mass extinction on plant and animal diversity?

In: Biology

what is your advice for Nokia in order to develop its capability to sense the change...

what is your advice for Nokia in order to develop its capability to sense the change and rapidly respond to it? in context with Ringtone: Exploring the rise and fall of Nokia mobile phones

In: Operations Management