Description
please see the attachment in order to know what are the requirements. you should work on the C program, all what you have to do is to type the requirements in the C program , they are really easy
Unformatted Attachment Preview
ECE 102
Assignment #18
Using a while loop to solve an inequality
Write a program to calculate the maximum n that satisfies the following inequality
total 1 2 3 n
Your program should prompt the user to enter total. The while loop repeatedly calculates
the sum on the right-hand side while increasing n (starting from 1) and checks if the
running sum satisfies the inequality. The loop should stop if the inequality is false.
Depending on how the loop is written, the last value of n when the loop stops will be the
final answer or be 1 off of the answer.
Pre-lab assignment
1. Write down an example output first. This is a hand example as required in
step 3.
2. Find an example in the notes to use as a reference.
3. Write down the first two steps of problem solving.
4. Trace the while loop.
ECE 102
Assignment #19
Write a program that simulates the play of one turn in the game of pig. At the end of the
turn, the score for the turn should be displayed.
Prelab:
1. Write down the first two steps of problem solving for one turn.
2. Write a detailed pseudocode. Hint: a running sum is needed to in order to get
the score for the turn. Review the notes on how to calculate a running sum.
3. Trace the pseudocode with random values that you pick. Do this twice. One
trace should be terminated by user input of ‘n’, the other trace by letting the
dice = 1.
4. Try your best to fix the pseudocode to make sure that it works correctly before
writing the program.
Purchase answer to see full attachment
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Explanation & Answer
Uploaded wrong versions. Use these instead.
/*
Ali Almusallam
This program calculates the maximum integer n such that the su...
Completion Status:
100%
Review
Review
Anonymous
Really helped me to better understand my coursework. Super recommended.
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Most Popular Content
Campbellsville University Engineering Questions
What are the common challenges with which sentiment analysis deals? What are the most popular application areas for sentim ...
Campbellsville University Engineering Questions
What are the common challenges with which sentiment analysis deals? What are the most popular application areas for sentiment analysis? Why?
Southern New Hampshire University Benefits of Web Services Technology Plan
CompetencyIn this project, you will demonstrate your mastery of the following competency:Describe the purpose of a web ser ...
Southern New Hampshire University Benefits of Web Services Technology Plan
CompetencyIn this project, you will demonstrate your mastery of the following competency:Describe the purpose of a web serviceScenarioA company you work for is planning a two-day business conference. Conference speakers and attendees will be traveling from different cities. Over 15 speakers and 200 attendees are estimated to attend.You are the lead technologist on the planning committee for this conference. To ensure that the event runs smoothly, you suggest that the company use the following web services for the conference:Smartphone application to be used by conference attendees (e.g., Whova, 10Times, Grupio)Web service functions and goals:Lists the conference scheduleTracks the number of attendees in each sessionProvides a communication platform for attendees to virtually network throughout the conferenceAllows attendees to add the sessions they want to attend into their calendarsRegistration sign-in to be used by conference greetersWeb service functions and goals:Allows user to enter a person’s name to see if they have already registeredSends data to a server as to the time that each attendee arrived at the conferenceConfirms whether registered attendee already purchased a ticketAllows non-registered attendees to pay the ticket price and registerVirtual personal assistant to be used by event coordinatorsWeb service functions and goals:Tracks the flight numbers and departure times for each speakerTracks when each conference speaker needs to be picked up from the airportProvides GPS directions from airport to hotelProvides the hotel information for each speaker(room number and check-in times)As the lead technologist, you have to explain why and how these web services are necessary to the other members of the planning committee. In order to do this effectively, you need to create a technology plan. Not only do you have to consider the user perspective within your plan, but you also need to consider the developer perspective.DirectionsDevelop a Technology Plan to present to the Conference Planning Committee. You may use a diagram or other visuals within your plan.In your plan, be sure to:Explain the benefits of using web services from both a user perspective and a software developer perspective.Consider the following question:Why would your company create its own program that would be accessible over the web instead of using the three web services mentioned in the scenario?Describe the purpose of each web service described in the scenario from a user perspective (smartphone application, registration sign-in, virtual personal assistant).Consider the following questions:Why would conference attendees use the smartphone application before, during, or after the conference?Why would conference greeters use the registration sign-in before, during, or after the conference?Why would event coordinators use the virtual personal assistant before, during, or after the conference?Identify additional user requirements that developers would need to know prior to the conference.Topics to consider may include how conference attendees may want to:Use the conference scheduleReceive notificationsInteract with other attendeesProvide at least two new user requirements for each web service (smartphone application, registration sign-in, and virtual personal assistant) presented in the scenario.After identifying the user requirements, explain how each web service functionality meets the user requirements you discussed. Be sure that you are referring to the user requirements you identified to explain how each web service functionality meets those requirements.Determine the protocols that each web service should use to package and send data over a network, and explain why that protocol would be used to best support the service.For the first web service, review the header file, shown in this header file resource, to make this determination.What to SubmitTo complete this project, you must submit the following:Technology PlanYour technology plan should be 3–5 pages in length and may include diagrams and visuals. Within the plan, you must address all of the topics presented in the directions. You can use this optional template to help you plan and organize your information.
Campbellsville University Engineering Discussion
Activity 10 - Problems from the Text: CLO 5, CLO 6Provide complete solutions to the problems posted under Appendix # 4 in ...
Campbellsville University Engineering Discussion
Activity 10 - Problems from the Text: CLO 5, CLO 6Provide complete solutions to the problems posted under Appendix # 4 in this syllabus. Note you must show details of each step of your work towards final answers.Appendix # 4 Problems from the Text: Required for Activity 10 in Week 12 1.Perform a Chi-Square test on the following data:a.Regulation is the best way to ensure safe products.b.Ownership of residence2. A sales force received some management-by-objectives training. Conduct a test of hypothesis to determine if the mean salespeople’s job performance score has significantly improved after the training at the 0.05 level. The results from a sample of employees are as follows:
write a program with VHDL
The following figure shows the block diagram of an 8 bit rotator. The 3 bit amt(2:0) specify the number of bits input a is ...
write a program with VHDL
The following figure shows the block diagram of an 8 bit rotator. The 3 bit amt(2:0) specify the number of bits input a is rotated. For instance amt(2:0) = 101 rotates a bit for 5 bits. If this rotation amount is applied to a = 1011 0101, the result would be 1010 1101. The first multiplexer rotates input a for one bit, the second multiplexer rotates the output of the first multiplexer for 2 bits, and the third multiplexer rotates the output of the second multiplexer for 4 bits. A rotation amount of any number from 0 to 7 bits can be created by combining the smaller rotations of 1, 2, and 4.
Similar Content
case study 4.1
Please summarize the case study and answer the following questions when you prepare the slides:What are the customer requi...
UOTC Cryptographic Hash Function Data Objects & Identity Verification Discussion
After reading chapter 11, describe a cryptographic hash function and how it is used as a security application.Minimum of O...
mechanics of fluids project-HYDRAULIC LIFTS
based on the "project proposal attached: DETERMINATION OF THE RELATIONSHIP BETWEEN VELOCITY AND CROSS SECTION AREA IN HYDR...
Extra credit problem from dynamics.
Please show work...
Arizona Automotive Compression Strength and Modulus of Elasticity Lab Report
FSEL
PROCEDURE FOR
COMPRESSION TESTING OF
CONCRETE CYLINDERS AND CORES
1. PROCEDURE OVERVIEW
This procedure is to be us...
ENGG 0008 Middle East College Laws of Electromagnetism Problems
Electrical Engineering (ENGG0008) – Spring – 20 – CW (Assignment) –QP
`
IN SEMESTER (INDIVIDUAL) ASSIGNMENT
Modu...
Eng
Fibrous proteins are interlinked using disulfide links of cysteine; vegetable and animal proteins can be linked by the rea...
Lab Report 7 Red Lime Muds
The experiment was conducted to prepare and evaluate red lime drilling fluid and filtration In drilling fluid, filtration ...
Engineering Strategy: New Product Introduction
1. Overview Infosys is the third largest private sector company in India. Around 1.14 lakh employees are working in this ...
Related Tags
Book Guides
The 5 Love Languages
by Gary Chapman
The Great Gatsby
by Francis Scott Key Fitzgerald
The Second Sex
by Simone de Beauvoir
The Tipping Point
by Malcolm Gladwell
Into the Wild
by Jon Krakauer
Divergent
by Veronica Roth
No Exit
by Taylor Adams
The Sixth Extinction An Unnatural History
by Elizabeth Kolbert
Get 24/7
Homework help
Our tutors provide high quality explanations & answers.
Post question
Most Popular Content
Campbellsville University Engineering Questions
What are the common challenges with which sentiment analysis deals? What are the most popular application areas for sentim ...
Campbellsville University Engineering Questions
What are the common challenges with which sentiment analysis deals? What are the most popular application areas for sentiment analysis? Why?
Southern New Hampshire University Benefits of Web Services Technology Plan
CompetencyIn this project, you will demonstrate your mastery of the following competency:Describe the purpose of a web ser ...
Southern New Hampshire University Benefits of Web Services Technology Plan
CompetencyIn this project, you will demonstrate your mastery of the following competency:Describe the purpose of a web serviceScenarioA company you work for is planning a two-day business conference. Conference speakers and attendees will be traveling from different cities. Over 15 speakers and 200 attendees are estimated to attend.You are the lead technologist on the planning committee for this conference. To ensure that the event runs smoothly, you suggest that the company use the following web services for the conference:Smartphone application to be used by conference attendees (e.g., Whova, 10Times, Grupio)Web service functions and goals:Lists the conference scheduleTracks the number of attendees in each sessionProvides a communication platform for attendees to virtually network throughout the conferenceAllows attendees to add the sessions they want to attend into their calendarsRegistration sign-in to be used by conference greetersWeb service functions and goals:Allows user to enter a person’s name to see if they have already registeredSends data to a server as to the time that each attendee arrived at the conferenceConfirms whether registered attendee already purchased a ticketAllows non-registered attendees to pay the ticket price and registerVirtual personal assistant to be used by event coordinatorsWeb service functions and goals:Tracks the flight numbers and departure times for each speakerTracks when each conference speaker needs to be picked up from the airportProvides GPS directions from airport to hotelProvides the hotel information for each speaker(room number and check-in times)As the lead technologist, you have to explain why and how these web services are necessary to the other members of the planning committee. In order to do this effectively, you need to create a technology plan. Not only do you have to consider the user perspective within your plan, but you also need to consider the developer perspective.DirectionsDevelop a Technology Plan to present to the Conference Planning Committee. You may use a diagram or other visuals within your plan.In your plan, be sure to:Explain the benefits of using web services from both a user perspective and a software developer perspective.Consider the following question:Why would your company create its own program that would be accessible over the web instead of using the three web services mentioned in the scenario?Describe the purpose of each web service described in the scenario from a user perspective (smartphone application, registration sign-in, virtual personal assistant).Consider the following questions:Why would conference attendees use the smartphone application before, during, or after the conference?Why would conference greeters use the registration sign-in before, during, or after the conference?Why would event coordinators use the virtual personal assistant before, during, or after the conference?Identify additional user requirements that developers would need to know prior to the conference.Topics to consider may include how conference attendees may want to:Use the conference scheduleReceive notificationsInteract with other attendeesProvide at least two new user requirements for each web service (smartphone application, registration sign-in, and virtual personal assistant) presented in the scenario.After identifying the user requirements, explain how each web service functionality meets the user requirements you discussed. Be sure that you are referring to the user requirements you identified to explain how each web service functionality meets those requirements.Determine the protocols that each web service should use to package and send data over a network, and explain why that protocol would be used to best support the service.For the first web service, review the header file, shown in this header file resource, to make this determination.What to SubmitTo complete this project, you must submit the following:Technology PlanYour technology plan should be 3–5 pages in length and may include diagrams and visuals. Within the plan, you must address all of the topics presented in the directions. You can use this optional template to help you plan and organize your information.
Campbellsville University Engineering Discussion
Activity 10 - Problems from the Text: CLO 5, CLO 6Provide complete solutions to the problems posted under Appendix # 4 in ...
Campbellsville University Engineering Discussion
Activity 10 - Problems from the Text: CLO 5, CLO 6Provide complete solutions to the problems posted under Appendix # 4 in this syllabus. Note you must show details of each step of your work towards final answers.Appendix # 4 Problems from the Text: Required for Activity 10 in Week 12 1.Perform a Chi-Square test on the following data:a.Regulation is the best way to ensure safe products.b.Ownership of residence2. A sales force received some management-by-objectives training. Conduct a test of hypothesis to determine if the mean salespeople’s job performance score has significantly improved after the training at the 0.05 level. The results from a sample of employees are as follows:
write a program with VHDL
The following figure shows the block diagram of an 8 bit rotator. The 3 bit amt(2:0) specify the number of bits input a is ...
write a program with VHDL
The following figure shows the block diagram of an 8 bit rotator. The 3 bit amt(2:0) specify the number of bits input a is rotated. For instance amt(2:0) = 101 rotates a bit for 5 bits. If this rotation amount is applied to a = 1011 0101, the result would be 1010 1101. The first multiplexer rotates input a for one bit, the second multiplexer rotates the output of the first multiplexer for 2 bits, and the third multiplexer rotates the output of the second multiplexer for 4 bits. A rotation amount of any number from 0 to 7 bits can be created by combining the smaller rotations of 1, 2, and 4.
Earn money selling
your Study Documents