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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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