Definition of control structure is a series of properly

Assignment Help Basic Computer Science
Reference no: EM13819390

1:Sequential, repetition and selection are used in our everyday problem solving. So much that we probably don't realize how much it applies to our day lives. Take ordering food for example sequential comes into play with this scenario. First you look through all the items on the menu, next you would select the item of your liking and third you would order your item. Repetition would be washing laundry, no matter how much laundry you wash there will always be another load ready to go (at least in my house!) so you wash a load/dry a load and repeat this process. Selection could be as simple as picking what to wear every day or what time you chooses to go to bed or when to do your homework. I think in a digital world something that could make problem solving skills easier would be a learning system. Something that can see your repeated behaviors (I would love this for laundry) that's something that you do all the time so this system would learn that once a wash cycle is done it needs to be put in the dryer and a new load needs to be washed. That would defiantly make my life a little easier!

2:the definition of control structure is a series of properly organized groups of statements. There is three control structures that we can incorporate into any pseudocode algorithm: sequential, loop, and decision. I would say the hardest part of creating any algorithm is knowing if you've asked the proper questions to give you the correct outcome. Using an example of making a peanut butter sandwich, the following questions could be asked:

What Tools will you need to gather?

What edible items will you need?

How many of each item?

The sequential control structure comes into play when you have multiple choices to pick from (like picking your ingredients). Multiple choices like what kind of peanut butters, what flavors of jelly, white or wheat bread, etc.

The loop control structure happens at the end of the pseudocode algorithm .This is when the program will ask the user if they would like to repeat the process. If you say yes it will return to beginning of the program and start all over

3:Do you think that some of the control structures are interchangeable in your example? Could you use a loop to spread your peanut butter and jelly until the bread is covered? How would you handle users that may try to enter options that are not available? What control structures would you use to handle invalid input?

Reference no: EM13819390

Questions Cloud

Online acceptance-daily business journal : Online Acceptance. Anne is a reporter for the Daily Business Journal, a print publication consulted by investors and other businesspersons. She often uses the Internet to per-form research for the articles that she writes for the publication. While v..
Conduct a comparative analysis of the firms : • Identify two firms with similar problems but from different countries • Conduct a comparative analysis of the firms • Analyze political, social, ethical, and legal differences facing both organizations and determine the impact these differences hav..
Teaching a summer seminar in business torts : Professor Littrell is teaching a summer seminar in business torts at State University. Several times during the course, he makes copies of relevant sections from business law texts and distributes them to his students. Littrell does not realize that ..
Common law or the uniform commercial code : Determine if the contracts with the businesses will be governed by common law or the Uniform Commercial Code (UCC), and explain why.
Definition of control structure is a series of properly : definition of control structure is a series of properly
What is the driving force : The Healthcare Industry is changing fast! Look at the competition in the recent headlines and offer your opinion (with a supporting references) what is the driving force
Defined contribution plans or non-qualified plans : Find a substantive article relating to defined contribution plans or non-qualified plans from the last 2 years. The article should discuss issues or changes that will significantly affect employers and employees. Discuss the effects and your thoughts..
Healthcare market strategy : Your largest competitor is thinking of entering the market with a similar offering. Outline (a Little Detail) three possible barriers you might be able to create to make it a challenge for new competition to enter
Describe the type and basic uses of the system : Describe the type and basic uses of the system

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identify the elements of the business model

Identify the elements of the Business Model that cloud computing as a new opportunity could transform and describe the Business Concept, that outlines the vision of this future business model,

  Finding decimal equivalent of eight bit numbers

Let the two 8-bit numbers A=01000001 and B=10000100. Provide the decimal equivalent of each number.

  What in the history of programming languages

What, in the history of programming languages, motivated the development of Java? Answer it more than 250 words.

  Create an application that lets the user enter a series

Create an application that lets the user enter a series of numbers. The program should store the numbers in an array and then

  Create user documentation for the nontechnical personnel

Create user documentation for the nontechnical personnel. Include an overview of features of the application as well as instructional materials. Screen shots should be included for clarity as well.

  Use a computer in his daily school and work activities

Simon is a new foreign exchange student who has never used a personal computer. He will need help understanding how to use a computer in his daily school and work activities.

  Find out product stream temperature and volume

Find out the product stream temperature and volume required to carry out reaction in a CSTR at 50 % conversion in adiabatic mode of operation.

  How is file management utilized and managed

How is file management utilized and managed? What tools can you use? For those of you who work, how is file management managed in your place of business?"

  Fork function

Create a C program that takes an integer argument from the command line and outputs sum of all digits of the integer. For example, the result of the invocation sum of digits 12345 should be fifteen.

  What decimal number does the bit pattern

What decimal number does the bit pattern 0x0C000000 represent if it is a floating point number? Use the IEEE 754 standard.

  Find the optimal location for oliveira two distribution

Find the optimal location for Oliveira's two distribution centers in this expanded version of the problem.

  What takes place during the coding activity of the

what occurs during the coding activity of the development phase? what best practices should a development manager use

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd