Question

In: Computer Science

Simple, short explanations, please. A)Why might it be important to add a separator bar to a...

Simple, short explanations, please.

A)Why might it be important to add a separator bar to a submenu item in the menu form? When a program has a lot of items for the user to select from, why should you avoid displaying all of the items on one menu?

B) Discuss the importance of GUI guidelines for menus. give an example of messy menus vs. well-organized menus, and how that affects the user experience.

C) Describe the three steps that must be taken when a data file is used by a program, why should a program close a file when it's finished using it?

D) Today, most information kept by companies is stored in databases. When might it be appropriate to use text files? (small amount of data, data needs randomly accessed?)

Solutions

Expert Solution

A)

  • With separator bars, you can group and organize menu items at the same level.

A separator bar is displayed as a horizontal line between items on a menu

Although separator bars are created as menu controls, they do not respond to the Click event, and users cannot choose them.

  • Users often have trouble sorting through the items in a menu when given too many choices

B)

  • Avoid common mistakes by following these guidelines .Menus are so important that you find them in virtually every website or piece of software you encounter, but not all menus are created equally.
  • A messy menu suggests a messy concept and a struggling business,messy menu produce or cause dirt and untidiness.
  • well organised menu work in an effective and successful way because of good organization.
  • If its a messy menu than for a user it is difficult to understand whrereas well organised one can be easily understood as it is user-friendly.

C)

First the file must be opened with the open() function.This creates a file object thet you generally assign to some variable.

Then the file object can be processed.This may include reading info from it or writing data to it.

Finally the file is closed with the close() method of the file object.This causes any data in the buffer to be written to the file and the connection between the file and the program to be broken.

If your program does not close the file, some of the data that you thought was written to the file on disk was not actually writtenA programmer must close the file when it is finished using it because in some systems failure to close an output file can cause loss of data. When it closes it fully disconnects from the file.

D)

It might be appropriate to use text files for storing  unstructured data and for storing arbitrary, probably unrelated data .


Related Solutions

For short-answer questions, provide your answers and explanations. For numerical questions, it is important to show...
For short-answer questions, provide your answers and explanations. For numerical questions, it is important to show your work. In March 2020, Snow Fun, Inc., made a rights issue at a subscription price of $10 a share. One new share can be purchased for every 3 shares held. Before the issue, there were 12 million shares outstanding, and the share price was $15. (1) What is the total amount of new money raised? (2) What is the expected stock price after...
For short-answer questions, provide your answers and explanations. For numerical questions, it is important to show...
For short-answer questions, provide your answers and explanations. For numerical questions, it is important to show your work. Canada Telecom, a telephone company, is contemplating investing in a project in multimedia applications. The company is currently 30% debt financed. The company’s analysts have estimated the project’s cash flows but need to determine the project cost of capital. Canada Telecom analysts assess that their new multimedia division has a target debt-equity ratio of 0.6, and a cost of debt of 6.5%....
Provide three reasons with brief explanations as to why the inflation rate is such an important...
Provide three reasons with brief explanations as to why the inflation rate is such an important statistic in our economy.
Please add explanations 6. What is the degree of operating leverage? Sales = 100,000 units; price...
Please add explanations 6. What is the degree of operating leverage? Sales = 100,000 units; price = $50; variable cost = $30; fixed costs = $950,000; depreciation = $250,000; tax rate = 34%. A) 1.06 B) 1.22 C) 1.37 D) 1.63 E) 2.22
please write simple python 3 program with explanations and correct output Bilbo and problems on the...
please write simple python 3 program with explanations and correct output Bilbo and problems on the board Problem Statement Bilbo once reached his maths claws earlier than anyone else.He saw some N unique numbers greater than 0 written on the board.He thought of challenging his classmates when they come.So for each number i,he wrote the number before and after it on a paper slip.If it is the last number then the number after it is assumed to be 0.If it...
What are short-term liabilities and why are they so important to manage? Please use one example...
What are short-term liabilities and why are they so important to manage? Please use one example to illustrate your point.
why is the big short film is important for buisness students?
why is the big short film is important for buisness students?
LAB Discussion: Why is it important to add a solevent to a solid during recrystalization and...
LAB Discussion: Why is it important to add a solevent to a solid during recrystalization and not the other way around? Why is the melting point of a mixture of two different compounds lower and broader than the melting point of a pure compound? Why would a percent recovery be lower when measuring the weight of the recrystalized over the impure ratio? I got 73 perecent recovery
Why might it be important to put a lot of attention into how a sample is...
Why might it be important to put a lot of attention into how a sample is collected? How might a weak sample influence the inferences that can be made from data?
Discuss why might it be important to separate the evaluation of the performance of a foreign...
Discuss why might it be important to separate the evaluation of the performance of a foreign subsidiary from that of its manager, including items such as controllable and uncontrollable items of the parent company, host government or others.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT