Which one of the following expressions evaluates to True?
Select one:
5 > 1 and 1 == 5
5 > 9 or 2 < 0 or not 42 > 1
not 8 < 5 and not 10 == 3
not (15 == 15 or 15 < 0)
36 == 35 or 35 > 2 and 35 < 0
In: Computer Science
. Write a program to print * in the following order using 2d array in java
* * * * *
* * * *
* * *
* *
*
In: Computer Science
For this C++ program, Write and modify the code to compute and display the class average as well as the standard deviation. Your code changes are as follows:
1. The variable “double grade” should be replaced by a two-dimensional array variable “double grade[NUMSTUDENTS][NUMGRADES].” Also replace the variable “double average” by “double average[NUMSTUDENTS].” This is necessary since you need to save the entered grades specially to compute the standard deviations.
2. After completing the display of the average grade of all students, your program should compute the class average (i.e., the average of four students’ average grades) and display.
3. Determine and display the class standard deviation by subtracting the class average from each student’s average grade (that results in a set of new numbers, each called a deviation); squaring each deviation; adding the squared deviations; dividing the sum by the number of students, NUMSTUDENTS; and taking its square root.
#include <iostream>
using namespace std;
int main()
{
const int NUMGRADES = 3;
const int NUMSTUDENTS = 4;
int i,j;
double grade, total, average;
for (i = 0; i < NUMSTUDENTS; i++) // start of outer loop
{
total = 0; // clear the total for this student
for (j = 0; j < NUMGRADES; j++) // start of inner loop
{
cout << "Enter an examination grade for this student: ";
cin >> grade;
total += grade; // add the grade into the total
} // end of the inner for loop
average = total / NUMGRADES; // calculate the average
cout << "\nThe average for student " << i
<< " is " << average << "\n\n";
} // end of the outer for loop
return 0;
}
In: Computer Science
I’m in the market for a used car. Should I choose a conventional gasoline-powered car, a hybrid vehicle, or the 100% electric Tesla? There are three main criteria: cost, reliability, and sustainability. On a 10-point scale, the weight of reliability is 2 for me and sustainability two times more than reliability.I know the Tesla will cost the most upfront, at $50,000. Next will be the hybrid, at $20,000. The conventional gasoline car costs least, at $10,000. (Scores: 2, 5, and 10, respectively). The gasoline car is proven technology and hybrids are close behind, and then the Tesla. (Score it 10, 8, and 6, respectively).The Tesla is believed to have the least environmental impact, and scores the highest on the sustainability criterium. Next is the hybrid, followed by the conventional gasoline vehicle. (Score them 3, 2, and 1, respectively).Applying a multiple attribute evaluation, which car should I choose?
In: Economics
Explain how the psychodynamic perspective differs from other perspectives in explaining the causes of psychological problems.
In: Psychology
• Define and describe SaaS.
• List the advantages and disadvantages of SaaS solutions.
• Define and describe OpenSaaS.
• Define and describe mashups.
• Discuss the wide range of SaaS solutions and their providers.
In: Computer Science
In the RSA public-key encryption scheme, each user has a public key, e, and a private key, d. Suppose Alice leaks her private key. Rather than generating a new modulus, she decides to generate a new public key and a new private key. Is this safe? why or why not?
In: Computer Science
Which Enlightenment thinker most appealed to the interests of merchants?
|
Voltaire |
||
|
Goethe |
||
|
Tom Paine |
||
|
Adam Smith |
In: Psychology
A Health Care Company wants you to design a website for them. Your first job is to convert the requirements from the company to a formal software requirement specification. Which of the below approach you will choose and why? Justify the steps in detail [20 Marks]
In: Computer Science
Scoring: Your score will be based on the number of correct matches. There is no penalty for incorrect or missing matches.
Match each of the following formulas and phrases with the term it describes.
| Clear All | ||||||||||||
|
|
|||||||||||
In: Accounting
In your day to day travels, select two individuals with whom you have a casual acquaintance. This might be a clerk at your bank or someone who works on your campus. Do not use students for this journal assignment. Offer genuine praise to these two individuals. Notice their reactions; their posture; their eye contact, etc. How do you think these reactions would differ if you had offered insincere or false praise to these two individuals? What might you say in offering insincere praise? Describe your experience in detail. Do you think students can tell when teachers offer insincere or false praise? What are some examples of insincere praise that you have heard spoken to students?
In: Psychology
In: Electrical Engineering
Glo-Bus
Are there any driving forces in the two market segments/product categories where your company competes? What impact will these driving forces have? What external market opportunities for growth and increased profitability in wearable video cameras exist for your company? What external market opportunities for growth and increased profitability in UAV drones exist for your company? What external threats to your company's future well-being and profitability do you and your co-managers see? (Market overview and relevant factor/PESTEL analysis).
please write about wearable camera industry and UAV drone industry
In: Operations Management
Quiz #2 You are only allowed one submission. If you missed the deadline, you will not receive credits. You are not allowed to communicate the question and answer to others.
Background Information:
Ava is starting a new business/company. Within this new business, 90% of the business operations are NOT mission-critical: whereas the other 10% of the business operations are mission-critical. Her new business needs an intranet that consists of two or more local area networks in order to support the business operations. Her understanding of local area network (LAN) is that there are 3 types of LANs available:
• Ethernet
• Token Ring
• FDDI
She does not have sufficient technical knowledge to select the correct local area networks needed to support her business operations. You are asked to propose local area networks needed to support her business operations. Your proposal must include:
1. The number of local area networks that you propose.
2. For every proposed local area network, you must indicate the type.
3. For every proposed local area network, you must specify the reason why this local area network in needed.
Hints:
• You are NOT asked to provide definitions.
• You are NOT asked to describe the differences among these local area networks.
• You are NOT asked to describe how these local area networks work.
In: Computer Science
what is immunity? please compare and contrast nonspecific and specific body defenses
In: Nursing