1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Law Incorporation [45]
3 years ago
14

QUESTION

Computers and Technology
1 answer:
Lady_Fox [76]3 years ago
8 0

Answer:

Explanation:

#include <iostream>

using namespace std;

int main ()

{

   int responses[30],count[6];

   int score = 0;

   string resp = " ";

   for (int i = 0; i < 30; i++)

   {

    responses[i] = 0;

   }

   for (int i = 0; i < 6; i++)

   {

    count[i,1]=0;

    count[i,2]=0;

    count[i,0]=0;

   }

   while ((resp != "Y") && (resp != "y"))

   {

    for (int i = 0; i < 30; i++)

    {

        while ((score > 5) || (score < 1))

           {

            cout << "Student " << (i+1)<< " please enter a value (1-5):";

            cin >> score;

        }

           responses[i] = score;

           if((score > 5)||(score<1))

           {

               if(score==1) count[1]++;        

               if(score==2) count[2]++;        

               if(score==3) count[3]++;        

               if(score==4) count[4]++;        

               if(score==5) count[5]++;        

           }

           score = 0;

    }

    cout<< "Response               Frequency              Percentage"<<endl;;

    cout<< "    1                      "<<count[1]<<"               "<<(count[1]/30)<<"%"<<endl;

    cout<< "    2                      "<<count[2]<<"               "<<(count[2]/30)<<"%"<<endl;

    cout<< "    3                      "<<count[3]<<"               "<<(count[3]/30)<<"%"<<endl;

    cout<< "    4                      "<<count[4]<<"               "<<(count[4]/30)<<"%"<<endl;

    cout<< "    5                      "<<count[5]<<"               "<<(count[5]/30)<<"%"<<endl;

    cout<< "Do you want to exit? Press Y to exit any other key to continue: ";

    cin>> resp;

   }

   return 0;

}

You might be interested in
legacy application that has hard-coded static IP addresses and is running on an EC2 instance, what is the best failover solution
AlladinOne [14]

Answer:

Elastic IP address

Explanation:

Elastic IP addresses are static, persistent public IP addresses which can be associated and disassociated with the instance, as required.

This will provide the best failover solution that will keep same IP address on a new instance.

6 0
3 years ago
A store employee has a spreadsheet of the power tools he sells in Column A and their corresponding prices in Column B. In cell C
avanturin [10]

Answer:

Excel MIN Function

Explanation:

Excel MIN Function is used to get the smallest value which means, it returns the smallest value in the array(a set of data).

syntax is =MIN (number1, [number2], ...)

3 0
3 years ago
The first operating systems, in the 1950s, were designed for _____.
Leya [2.2K]

They were designed for batch processing.

Explanation

In the beginning, around the 1940s, electronic computers were built without Operating systems. These computers could not do basic calculations, read and write data, or run programs. Setbacks such as these led to the development of operating systems.

The first one was introduced in the early to mid-1950, and it relied on the batch processing systems to facilitate submission of data into groups. Rather than processing tasks individually, this system processed tasks in batches. Upon the completion of a job, the batch would head over to the OS’s software. The software would then dump the state of the active task and open the next one. This helped reduce operator intervention and time wastage.

Learn more:

  • How does operating systems work when passing parameters to kernel. brainly.com/question/6062548

#LearnwithBrainly

7 0
3 years ago
19 POINTS! (Excel) Use the drop-down menus to complete the steps for opening and using the Format Cells dialog box to change fon
Maksim231197 [3]

Explanation: right click and font

5 0
3 years ago
Read 2 more answers
Do all the OSs provide support for multiprocessing?
Zigmanuir [339]

Answer: No, not all the OSs provides facilitation working with multiprocessor.

Explanation: Multiprocessing is the executing different tasks at the same point of time within a system through two or more processors. Multiprocessing is not supported by the single processor operating system(OS) .

Single processor system cannot operate several tasks at the same time and cannot run the processes simultaneously.But, most of the modern operating system are designed in a way that it can support multiprocessing.

4 0
3 years ago
Other questions:
  • Landon starts his computer and receives the error message, "Hard drive is not found." In a panic, he calls you because he did no
    14·2 answers
  • Once I install my secondary hard drive what two tasks need to be done?
    13·1 answer
  • Implement the simulation of a biased 6-sided die which takes the values 1,2,3,4,5,6 with probabilities 1/8,1/12,1/8,1/12,1/12,1/
    9·1 answer
  • Consider the following methods:
    10·1 answer
  • Identify an advantage of working in teams.
    8·1 answer
  • Benching system are prohibited in
    5·1 answer
  • Implement a program that manages shapes. Implement a class named Shape with a method area() which returns the double value 0.0.
    15·1 answer
  • 4.5 code practice computer science
    5·1 answer
  • What are two potential benefits of using calendar-synchronization tools like calendly
    8·1 answer
  • The ____ line for any e-mail messages you write should clearly state the intention of the e-mail..
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!