What would a bar graph best be used for? State why and give 2-3 examples of things you could demonstrate with a bar graph

Answers

Answer 1

Answer:

A bar graph is used to compare facts.

For example:

A group of people's favorite movie.

A group of people's favorite fruit.


Related Questions

As you will solve more complex problems, you will find that searching for values in arrays becomes a crucial operation. In this part of the lab, you will input an array from the user, along with a value to search for. Your job is to write a C++ program that will look for the value, using the linear (sequential) search algorithm. In addition, you should show how many steps it took to find (or not find) the value, and indicate whether this was a best or worst case scenario (... remember the lecture). You may refer to the pseudo-code in the lecture, but remember that the details of the output and error conditions are not specified there. Also, note that in pseudo-code arrays are sometimes defined with indices 1 to N, whereas in C++ the indexes span from 0 to N-1.
The program will work as follows. First, you should ask the user to enter the size of the array, by outputting:
"Enter the size of the array: "
to the console. If the user enters an incorrect size, you should output the error message:
"ERROR: you entered an incorrect value for the array size!"
and exit the program. If the input is a valid size for the array, ask the user to enter the data, by outputting
"Enter the numbers in the array, separated by a space, and press enter: "
Let the user enter the numbers of the array and store them into a C++ array. Up to now, this should be exactly the same code as Lab#2. Next, ask the user a value v to search for in the array (called the "key"), by outputting:
"Enter a number to search for in the array: " to the screen, and read the key v.
Search for v by using the linear search algorithm. If your program finds the key, you should output:
"Found value v at index i, which took x checks. "
where i is the index of the array where v is found, and x is the number of search operations taken place.
If you doesn't find the key, then output: "
The value v was not found in the array!"
Then indicate whether you happened to run into a best or worst case scenario. In case you did, output: "
We ran into the best case scenario!" or "We ran into the worst case scenario!"
otherwise, don't output anything.

Answers

Answer:

#include<iostream>

using namespace std;

int main() {

cout<<"Enter The Size Of Array: ";

int size;

bool isBestCase=false;

cin>>size;

if(size<=0){

cout<<"Error: You entered an incorrect value of the array size!"<<endl;

return(0);

}

int array[size], key;

cout<<"Enter the numbers in the array, separated by a space, and press enter:";

// Taking Input In Array

for(int j=0;j<size;j++){

cin>>array[j];

}

//Your Entered Array Is

for(int a=0;a<size;a++){

cout<<"array[ "<<a<<" ] = ";

cout<<array[a]<<endl;

}

cout<<"Enter a number to search for in the array:";

cin>>key;

for(i=0;i<size;i++){

 if(key==array[i]){

   if(i==0){

     isBestCase=true; // best case scenario when key found in 1st iteration

     break;

   }

 }

}

if(i != size){

 cout<<"Found value "<<key<<" at index "<<i<<", which took " <<++i<<" checks."<<endl;

}  else{

 cout<<"The value "<<key<<" was not found in array!"<<endl;

 cout<<"We ran into the worst-case scenario!"; // worst-case scenario when key not found

}

if(isBestCase){

cout<<"We ran into the best case scenario!";

}

return 0;

}

Explanation:

The C++ source dynamically generates an array by prompting the user for the size of the array and fills the array with inputs from the user. A search term is used to determine the best and worst-case scenario of the created array and the index and search time is displayed.



Select the correct answer.


Jane's team is using the V-shaped model for their project. During the high-level design phase of the project, testers perform integration testing

What is the purpose of an integration test plan in the V-model of development?


OA. checks if the team has gathered all the requirements


OB. checks how the product interacts with external systems


ОC. checks the flow of data in internal modules


OD. checks how the product works from the client side

Answers

I think is the second one or the first one

Answer:

a

Explanation:

five advantages of Internet​

Answers

Answer:

Information, knowledge, and learning.

Selling and making money.

Banking, bills, and shopping.

Donations and funding

Entertainment.

Explanation:

I hope this helps! ^^

☁️☁️☁️☁️☁️☁️☁️

Answer:

1. Easier Communication with others

2. Access to information quickly and efficiently

3. More job opportunities are able to be made for people.

4. Can be used for entertainment during idle time

5. For efficient access to answers to questions that you might have

#include
main()
{
int i, n=10, rem, inc=0;
scanf("%d",&n);
for(i=1; i =3)
inc++;
else;
inc--;
}
printf("Final Value=\n",inc);
}
SOLVE THIS PROGRAM...

Answers

Answer:inpossible !889

Explanation: I npossible !889

Question 4 (5 points)
The more RAM you have, the less things your computer can do at the same time.
True
False
ent:​

Answers

The correct answer is False

The _____________computer function accepts data from input devices and sends it to the computer processor.

Question 9 options:

Input


Memory


Storage


RAM

Answers

Answer: input

Explanation:

The computer function that accepts data from the input devices and sends it to the computer processor is refered to as the input function.

The input device is referred to as a hardware device which is used in sending data to a computer. Some examples of input devices that we have keyboard, mouse etc.

What does Ares want Percy to do for him?

Answers

Answer:

Get his sheild

Explanation:

Answer:

Ares wants Percy to retrieve his shield

Explanation:

Complete the sentence.
If you wanted the best performance for a game that requires a powerful graphics processor and lots of memory, you
would run it on a
tablet
desktop
smartphone

Answers

You would run it on a desktop, as they usually can process things much better.


What is the total March Expenditure now? (cell Q2)

Answers

I did a lot to do it lol was

5. Select the correct answer.
Henry uploaded the photos of his birthday to a cloud storage system. He feels that it’s a safe option for data storage. His friend suggested that there may be a disadvantage to cloud storage. Which disadvantage is Henry’s friend referring to?
A.
The owner may not be able to delete the data after the upload.
B.
The file format of the images may be corrupted.
C.
The service can sell the data without notifying the owner.
D.
People can alter the data without notifying the owner.
E.
The data is not under the owner’s direct control.

Answers

Answer: E.  The data is not under the owner’s direct control.

Explanation:

A massive disadvantage to cloud storage is that the data stored is ot under the direct control of the person uploading. They first have to access the service and that service is owned by the company offering the cloud storage.

If for any reason the company decides not to give access (depending on local laws), or if the company suffers a problem that affects its ability to offer the service, the person who uploaded could lose access to their data.

You want to make access to files easier for your users. Currently, files are stored on several NTFS volumes such as the C:, D:, and E: drives. You want users to be able to access all files by specifying only the C: drive so they don't have to remember which drive letter to use. For example, if the accounting files are stored on the D: drive, users should be able to access them using C:\accounting. What can you do?

Answers

Answer:

volume mount points

Explanation:

The best thing to do would be to use volume mount points. This is a feature that allows you to mount/target (from a single partition) another folder or storage disk that is connected to the system. This will easily allow the user in this scenario to access the different files located in the D: and E: drive from the C:\ drive itself. Without having to go and find each file in their own separate physical drive on the computer.

help me in computer

no spam i will report wrong answer​

Answers

In the computar process it has to be done in a blind fold

(Python)
Summary: Given integer values for red, green, and blue, subtract the gray from each value.

Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color's value can range from 0 to 255. Thus (255, 0, 0) is bright red, (130, 0, 130) is a medium purple, (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (In other words, equal amounts of red, green, blue yield gray).

Given values for red, green, and blue, remove the gray part.

Ex: If the input is:

130
50
130
the output is:

80 0 80
Find the smallest value, and then subtract it from all three values, thus removing the gray.

Answers

r=int(input("Enter the red value: "))

g=int(input("Enter the green value: "))

b=int(input("Enter the blue value: "))

m=min([r,g,b])

print(str(r-m)+" "+str(g-m)+" "+str(b-m))

I wrote my code in python 3.8. I hope this helps

The third assignment involves writing a Python program to compute the cost of carpeting a room. Your program should prompt the user for the width and length in feet of the room and the quality of carpet to be used. A choice between three grades of carpeting should be given. You should decide on the price per square foot of the three grades on carpet. Your program must include a function that accepts the length, width, and carpet quality as parameters and returns the cost of carpeting that room. After calling that function, your program should then output the carpeting cost.
Your program should include the pseudocode used for your design in the comments. Document the values you chose for the prices per square foot of the three grades of carpet in your comments as well.
You are to submit your Python program as a text file (.txt) file. In addition, you are also to submit a test plan in a Word document or a .pdf file. 15% of your grade will be based on whether the comments in your program include the pseudocode and define the values of your constants, 70% on whether your program executes correctly on all test cases and 15% on the completeness of your test report.

Answers

Answer:

# price of the carpet per square foot for each quality.

carpet_prices=[1,2,4]

def cal_cost(width,height,choice):

 return width*height*carpet_prices[choice-1]  

width=int(input("Enter Width : "))

height=int(input("Enter Height : "))

print("---Select Carpet Quality---")

print("1. Standard Quality")

print("2. Primium Quality")

print("3. Premium Plus Quality")

choice=int(input("Enter your choice : "))

print(f"Carpeting cost = {cal_cost(width,height,choice)}")

Explanation:

The cal_cost function is used to return the cost of carpeting. The function accepts three arguments, width, height, and the choice of carpet quality.

The program gets the values of the width, height and choice, calls the cal_cost function, and prints out the string format of the total carpeting cost.

Consider the following method, inCommon, which takes two Integer ArrayList parameters. The method returns true if the same integer value appears in both lists at least one time, and false otherwise.

public static boolean inCommon(ArrayList a, ArrayList b)
{
for (int i = 0; i < a.size(); i++)
{
for (int j = 0; j < b.size(); j++) // Line 5
{
if (a.get(i).equals(b.get(j)))
{
return true;
}
}
}
return false;
}

Which of the following best explains the impact to the inCommon method when line 5 is replaced by for (int j = b.size() - 1; j > 0; j--) ?

a. The change has no impact on the behavior of the method.
b. After the change, the method will never check the first element in list b.
c. After the change, the method will never check the last element in list b.
d. After the change, the method will never check the first and the last elements in list b.
e. The change will cause the method to throw an IndexOutOfBounds exception.

Answers

Answer:

b. After the change, the method will never check the first element in list b.

Explanation:

After changing the code on line 5 with the one in the question the method will never check the first element in list b. This is because by changing the code you are telling the method to run for every element in list b starting from the last element and moving backward. Since the second argument is j > 0, once j is equal to 0 it will not run the method since it would give a False on the argument and therefore, will never run the method for the element in position 0 (first element in the list)

what is hyperlink and its used in website

Answers

Explanation:

Hyperlink is the primary method used to navigate between webpages.

Hyperlink can redirect us to another webpages, such as websites that has graphics, files, sounds on the same webpage.

(Apply) Students will write a function and loop to iterate until a condition is met LO: (Analyze) Students will identify edge cases from a problem statement. In this game of volleyball, two teams compete to be the first team to score 21 points. However, to win the game, a team must also lead by two points. For example, if team A is tied with team B (20-20) and then scores, they will only be ahead by one point (21-20). Then, if team B scores a point, the game will be tied again (21-21). Then, if either team can score two consecutive points, they will win. Write a program that reads data about volleyball matches from standard input and then determines the outcome of the game. If the input word is "A" it means that team A scored a point. If the input word is "B" it means that team B scored a point. If the input word is "end" it means that the game ended. Write a function that can be used in a loop as part of the condition. It should evaluate if either team is a winner. Call the function weHaveAWinner. In main, calculate the scores and announce the team that won or that the game was a draw. Display the game result in this format:
Team A won! (21-14)
Game ended as a draw. (21-21)
#include
using namespace std;
/*
* Determines the outcome of a volleyball game.
*/
int main() {
return 0;
}

Answers

Answer:

The program is as follows:

#include<iostream>

using namespace std;

void weHaveAWinner(int A, int B){

   if(A-2>=B){

       cout<<"Team A won! ("<<A<<"-"<<B<<")";    }

   else if(B-2>=A){

       cout<<"Team B won! ("<<A<<"-"<<B<<")";}

   else if(B == A){

       cout<<"Game ended as a draw. ("<<A<<"-"<<B<<")";}

   else{

       cout<<"Team A: "<<A<<" - Team B: "<<B;}

}

int main() {

   int teamA = 0;    int teamB = 0;

   string score;

   cout<<"Score: "; cin>>score;

   while(score != "end"){

       if(score == "A"){

           teamA++;}

       else if(score == "B"){

           teamB++;}

       cout<<"Score: "; cin>>score;

   }

   weHaveAWinner(teamA,teamB);

   

return 0;

}

Explanation:

This defines the weHaveAWinner function, which receives the scores of both teams as its parameters  

void weHaveAWinner(int A, int B){

This checks if team A score at least 2 more than team B. If yes, it declares team A the winner

   if(A-2>=B){

       cout<<"Team A won! ("<<A<<"-"<<B<<")";    }

This checks if team B score at least 2 more than team A. If yes, it declares team B the winner

   else if(B-2>=A){

       cout<<"Team B won! ("<<A<<"-"<<B<<")";}

This checks for a draw

   else if(B == A){

       cout<<"Game ended as a draw. ("<<A<<"-"<<B<<")";}

This checks if both team are within 1 point of one another  

 else{

       cout<<"Team A: "<<A<<" - Team B: "<<B;}

}

The main begins here

int main() {

This declares and initializes the score of both teams to 0

   int teamA = 0;    int teamB = 0;

This declares score as string

   string score;

This prompts the user for score

   cout<<"Score: "; cin>>score;

This loop is repeated until the user inputs "end" for score

   while(score != "end"){

If score is A, then teamA' score is incremented by 1

       if(score == "A"){

           teamA++;}

If score is B, then teamB' score is incremented by 1

       else if(score == "B"){

           teamB++;}

This prompts the user for score

       cout<<"Score: "; cin>>score;

   }

This calls the weHaveAWinner function at the end of the loop

   weHaveAWinner(teamA,teamB);

For which of the following tasks would a for-each loop be appropriate?
A. Reversing the order of the elements in an array.
B. Printing all the elements at even indices of an array.
C. Printing every element in an array.
D. Determining how many elements in an array of doubles are positive.
E. Determining whether an array of Strings is arranged in alphabetical order.
F. Printing every even number in an array of ints.

Answers

Answer:

The answer is "Option B, C,  and F".

Explanation:

In the For-each loop, it is used for traversing items in a sequence is the control flow expression. It typically required a loop becomes referred to it as an enhanced loop for iterating its array as well as the collection elements. This loop is a version shortcut that skips the need for the hasNext() method to get iterator and the loop and over an iterator, and the incorrect choice can be determined as follows:

In choice A, it is wrong because it can't reverse the array element.In choice D, it is wrong because it can't determine the array of positive.In choice E, it is wrong because it can't determine an array of the sting in alphabetical order.

Austin has a report due at school tomorrow, but has not started working on it yet. Now he is worried about getting a bad grade. So he searches the Internet for his topic and finds lots of information. He chooses a small, obscure site, copies text and images, and pastes them into his report. He's done before bedtime. But he receives an F on his report.
1. What could Sam have done differently on his report to avoid failing?
2. Is this incident an example of an unethical action or an illegal action?

Answers

Answer:

Explanation:

Question One

He could have read other sites with other points of view and summarized that. Most importantly he could have used footnotes that gave credit to every idea that he used.

He could have put the material down and begin to write. The words would have come out in his awkward style. He would still need to footnote the ideas. That is most important.

Question Two

It is both. Plagiarism is a serious crime if it involves many people being affected by what he wrote.

But it is totally unethical at any level. Trying to pass off something that isn't yours is totally unethical. It should never be done. It shames the subject which is shown to be unimportant and it shames the instructor (he knew enough to catch the plagiarism), and it shames the person getting caught.

Is a NAS just a collection of hard drives or a computer

Answers

Answer:

NAS systems are networked appliances that contain one or more storage drives, often arranged into logical, redundant storage containers or RAID.

Four reasons why computers are powerful

Answers

Answer:

Computers are powerful tools because they can process information with incredible speed, accuracy and dependability. They can efficiently perform input, process, output and storage operations, and they can store massive amounts of data. ... Midrange servers are bigger and more powerful than workstation computers.

What are other ways you could use the shake or compass code blocks in physical computing projects?

Answers

Answer:there are different ways of quick navigation between files and functions. ... You should use the menu 'Remove file from project' instead of deleting files. ... A Makefile generation tool for Code::Blocks IDE by Mirai Computing

Which Backstage view feature helps you to specifically remove customized information from a document? Protect Document Feedback Properties Manage Document

Answers

Explanation:

Properties. 100% correct. goodluck.

Answer:

properties on edg.

Explanation:

From which of the following locations can you run a single line of the program?
Manual Movement dialog box
RoboCell toolbar
Program toolbar
Run menu
I’m in manufacturing and I don’t like this class it has nothing to do with what I wanna do so can someone help please

Answers

RoboCell toolbar and Run menu

Write a program in your favorite language (e.g., C, Java, C , etc.) to convert max. 32 bit numbers from binary to decimal. The user should type in an unsigned binary number. The program should print the decimal equivalent. You should write a program from scratch that performs the conversion, please do not use built in functions. Please provide a screenshot of your program running on these values: 111011012 110000110011110101110101011101012 Please also include your source code together with your answers to assignment questions.

Answers

Answer:

In Python:

bin = int(input("Binary Number: "))

num = str(bin)

dec = 0

for i in range(len(num)):

   dec = dec + int(num[i]) * 2**int(len(num)-i-1)

   

print("Decimal Equivalent: "+str(dec))

Explanation:

Note that the program assumes that the user input will be valid. So, error check was done in the program

This line gets the binary number from the user

bin = int(input("Binary Number: "))

This converts the inputted number to string

num = str(bin)

This initializes decimal number to 0

dec = 0

This iterates through the string number

for i in range(len(num)):

This converts the number to decimal

   dec = dec + int(num[i]) * 2**int(len(num)-i-1)

This prints the result of the conversion    

print("Decimal Equivalent: "+str(dec))

See attachment for screenshots

Define the meaning of software quality and detail the factors which affects the quality not productivity of a software product?

Answers

Answer:

Quality of software may be defined as the need of function and Efficiency. ... A number of factors are given below which gives the effects on quality and production capacity.

Software quality is known to be the method that tells the desirable characteristics of software products.

What are the Software Quality Factors that affects it?

The factors that influence software are;

CorrectnessReliabilityEfficiencyUsability, etc.

Therefore, Software quality is known to be the method that tells the desirable characteristics of software products.

Learn more about software quality from

https://brainly.com/question/13262395

#SPJ2

true or false. in a list with 5 items the index of the final item is 4

Answers

Answer: True

Explanation:

We start at 0 for lists

[item, item, item, item, item]

  0         1       2     3        4

true on edge2020/2021

Draw a flowchart diagram for a program that display a person's name x times​

Answers

Answer:

See attachment for flowchart

Explanation:

The flowchart is as follows:

Step 1: Start

This signals the beginning of the flowchart

Step 2: Input name, x

This gets input for name and x from the user

Step 3: count = 0

This initializes count to 0

Step 4: Print name

This prints the person's name

Step 5: count = count + 1

This increments the number of times the name has been printed

Step 6: count = x?

This checks if the number of times the name has been printed is x times

If yes, step 7 is executed.

If no, step 4 is executed

Step 7: Stop

This signals the end of the flowchart


When you check your hard drive to see how much space is available, you are checking your
O primary memory
O secondary storage
O tertiary storage
O primary storage

Answers

Answer:

secondary storage

Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in a dynamic instruction count of 1.0E9 and has an execution time of 1.1 s, while compiler B results in a dynamic instruction count of 1.2E9 and an execution time of 1.5 s. a. Find the average CPI for each program given that the processor has a clock cycle time of 1 ns.

Answers

Answer:

The answer is "1.25"

Explanation:

[tex]{CPU \ time}= {instructions \times CPI \times cycle\ time}[/tex]

[tex]\therefore\\\CPI= \frac{CPU \ time}{instructions \times cycle \ time} \\\\cycle \ time = 1 \\\\ns = 10^{-9} s \\[/tex]

Also for this context, it executes the time =  CPU time. So, the compiler A, we has

[tex]CPI_{A}= \frac{CPU \ time_{A}} {instructions_{A} \times cycle \ time}= \frac{1.1 s}{10^{9} \times 10^{-9} s}= 1.1[/tex]

For compiler B, we have

[tex]CPI_{B}= \frac{CPU \ times_{B}} {instructions_{B} \times cycle \ time}[/tex]

         [tex]= \frac{1.5\ s}{ 1.2 \times 10^{9} \times 10^{-9} \ s}\\\\= \frac{1.5}{ 1.2 }\\\\= 1.25[/tex]

The average CPI for each program given that the processor has a clock cycle time of 1 ns is : 1.1, 1.25.

Average CPI for each program

CPI (Complier A)=CPU time/Instruction×Cycle time

Where:

Cycle time=1ns=10^-9s

Hence:

CPI (Complier A)=1.1s/10^9×10^-9s

CPI (Complier A)=1.1

CPI (Complier B)=CPU time/Instruction×Cycle time

CPI (Complier B)=1.5s/1.2×10^9×10^-9s

CPI (Complier B)=1.25

Inconclusion the average CPI for each program given that the processor has a clock cycle time of 1 ns is : 1.1, 1.25.

Learn more about average CPI here:https://brainly.com/question/24723238

Other Questions
Martin charges $10 for every 5 bags of leaves he rakes. Last weekend, he raked 24 bags of leaves. How much money did he earn? Diego took a survey to find out how many students plan to go to a school band concert. There are more than 1,000 students in his school. He selected a sample by asking the first 50 students he met at band practice. Which statement about programming languages is true?1) Lisp was designed for artificial intelligence research.2) BASIC was the first high-level programming language.3) FORTRAN was an early programming language designed for business use.4) Pascal was the first programming language for personal computers. (102-38) x 14+7+162= Which angle is an xintercept for the function y=cos(1/2x)? A. 0 B. pie/2 C. pie D. 2pie Devising an order for when to study for a quiz, work on a research paper, takea nap, and watch your favorite show is called:A. instant goal setting.B. prioritizingC. short-term goal setting.hort termD. procrastinating. An example of an important service the government provides to all U.S citizens is A. Military trainingB. Transportation C. EducationD. Housing H) Jorge had 3 pounds of strawberries. He let his friend Matt eat 1/2 of the strawberries. How many pounds of strawberries did Matt eat? solve for x(20 points) Type the missing number that makes these fractions equal:64.8Submit How does peer pressure influence spreadHV/AIDS in Ghana A train covers a distance of 51 km in 45 minutes. How long will it take to cover 221 km? 20 points . I need help with this. In triangle ABC, the size of angle B is 4 times the size of angle A, and the size ofangle C is 1 less than 5 times the size of angle A.Find the size of the angles. Plz help me plzzzzzzzzz Presented below are the ending balances of accounts for the Kansas Instruments Corporation at December 31, 2021. Account Title Debits CreditsCash $29, 000 Accounts receivable 148, 000 Raw materials 33, 000 Notes receivable 109, 000 Interest receivable 12, 000 Interest payable $14,000 Investment in debt securities 41, 000 Land 59, 000 Buildings 1,480, 000 Accumulated depreciationbuildings 629,000Work in process 51,000 Finished goods 98, 000 Equipment 318,000 Accumulated depreciationequipment 139000Patent (net) 129,000 Prepaid rent (for the next two years 69 , 000 Deferred revenue 45,000Accounts payable 189,000Notes payable 490,000Restricted cash (for payment of notes payable) 89,000 Allowance for uncollectible accounts 22,000Sales revenue 980,000Cost of goods sold 459,000 Rent expense 37,000 Additional Information: The notes receivable, along with any accrued interest, are due on November 22, 2022. The notes payable are due in 2025. Interest is payable annually. The investment in debt securities consist of treasury bills, all of which mature next year. Deferred revenue will be recognized as revenue equally over the next two years. Required: Determine the company's working capital (current assets minus current liabilities) at December 31, 2021. PLEASEEEEEEEEEEEEEEEEEE HELP MEEEEE Okay pls help and as always don't answer if you don't know and if you want points then tell me in the COMMENTS and I'll be happy to make a thing just for u!!! Thanks luv u!!It would be nice if you did all of them thanks:( Which one of the following m-RNA codons codes for a stop sequence?a .AGU b.UGC c.UUU d. UGe e. none of these PLEZ HELP!!!!!!!!!!!