Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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?

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91389300
  • Price:- $18

Guranteed 24 Hours Delivery, In Price:- $18

Have any Question?


Related Questions in Computer Engineering

Push technologythis week covered the emerging trends and

Push Technology This week covered the emerging trends and technologies that may affect businesses as well as consumers. The increase in physiological interaction is another trend that may change how businesses and consum ...

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Consider the following production function that is already

Consider the following production function that is already written in per worker terms: y = Akαh 1-α where h represents human capital per worker. Suppose we are given the following information: capital per worker in an e ...

It has been a bad day for the stock market and you have

It has been a bad day for the stock market and you have heard that only 30% of all stocks gained value. Suppose you have a portfolio of 10 securities and assume a binomial distribution for the number of your stocks that ...

Why software is important in our lifesearch the internet

Why Software is important in our life? Search the internet for "Why Software is important in our life" Read about this topic and write an essay of around 500 words and submit it.

Program in cit is often times advantageous to be able to

*Program in C* It is often times advantageous to be able to transfer data between two arrays. Need a help with program (transfer.c) that add a range (by start index and end index) of numbers from array #1 to array #2 at ...

Question suppose we have a system with frequency of

Question : Suppose we have a system with frequency of floating point operations = 35%. What should be the speedup of floating point operation in our design of the next CPU to achieve a desired overall system speedup in t ...

Question 1 the facilities coordinator is a critical role

Question: 1. The facilities coordinator is a critical role. Put yourself in the position of the facilities coordinator. 2. Determine and list the qualities you have that would make you an excellent candidate for this pos ...

The second programming project involves writing a program

The second programming project involves writing a program that accepts an arithmetic expression of unsigned integers in postfix notation and builds the arithmetic expression tree that represents that expression. From tha ...

In defining demand and supply why do economists focus on

In defining demand and supply, why do economists focus on price while holding constant other factors that might have an impact on the behavior of buyers and sellers?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As