# It 210 Checkpoint

Satisfactory Essays
374 Words
Grammar
Plagiarism
Writing
Score
It 210 Checkpoint
Associate Program Material
Appendix H

Repetition and Decision Control Structures

In one of the week 3 discussion questions we discussed the algorithm that would be required to make a peanut butter sandwich. In this CheckPoint you will need to take that one step further and create a program design to make a peanut butter sandwiches. Below you will find a partial program design; you need to complete it by adding the pseudocode in the required areas. You need to add one repetition (loop) control structure and one decision control to complete the program design. The user will decide how many sandwiches are made; this is where the loop will be used. The user will decide if the sandwich includes jelly, and, if it does, what flavor of jelly; to keep it simple we are only allowing grape or strawberry jelly.

Analysis

Process: 1. Ask user how many sandwiches to make 2. Ask user if they want jelly on their sandwich 3. If jelly is requested, ask user what flavor (grape or strawberry) of jelly they would like 4. Make peanut butter and, if required, jelly sandwiches

Input: NumberOfSandwiches (integer) IncludeJelly (string; values Yes/No) TypeOfJelly (string; values Grape/Strawberry)

Output: Sandwich

Design

Main Module

Declare NumberOfSandwiches as integer Declare IncludeJelly as string Declare TypeOfJelly as string Declare Continue as Boolean Set Continue to true

Do While Continue = true Call InputModule EndDo

End Main Module

InputModule

Display "How many sandwiches would you like to make? Enter 0 to end program." Input NumberOfSandwiches

If NumberOfSandwiches = 0 Set Continue = false Else Display "Do you want jelly on your sandwiches?" Input IncludeJelly

If IncludeJelly = “Yes” Display “What type of jelly; Grape or Strawberry?” Input TypeOfJelly EndIf set

## You May Also Find These Documents Helpful

• Satisfactory Essays

|Graphical Interface/Central Computer |Communicates with the door, microwave |Incoming messages are from the user,|Outgoing messages tell the generator to |…

• 358 Words
• 2 Pages
Satisfactory Essays
• Good Essays

Throughout this paper I will be describing external, embedded, and inline types of cascading style sheets. Also, I will be providing a pro and a con for each type of cascading style sheet.…

• 414 Words
• 2 Pages
Good Essays
• Good Essays

A census is the process of acquiring and recording information from the general public to determine population or housing numbers. For the 2010 census, the United States Census Bureau decided to implement a program called Field Data Collection Automation (FDCA). The program was intended to improve the data collection process by using handheld electronic devices. The mobile handhelds were to canvass addresses during the initial stage of the census.The FDCA program was important to the U.S. Census Bureau because it would replace the millions of paper forms and maps that were previously required to complete the census (Laudon&Laudon, 2011, p413). It was also important because it was meant to reduce costs, improve data quality, improve data collection efficiency, and encourage people to participate. Unfortunately, the FDCA program had problems.…

• 339 Words
• 2 Pages
Good Essays
• Satisfactory Essays

An example of this would be, if the speaker gives a long presentation, which includes key elements of the message. In this case key elements would be lost, so it is imperative to emphasize the points of the message with a method of repetitious messaging; another method that can be utilized for the purpose of communicating main…

• 277 Words
• 2 Pages
Satisfactory Essays
• Satisfactory Essays

7. The program will calculate and display a final total for the items that are purchased.…

• 498 Words
• 2 Pages
Satisfactory Essays
• Satisfactory Essays

A local business that I frequent is Walmart. I go there on almost a weekly basis to get groceries and other necessities. The three main components of a business model are its business commerce, business occupation, and business organization.…

• 255 Words
• 2 Pages
Satisfactory Essays
• Good Essays

Which of the following symbols instructs the shell to redirect the output of a command to the specified file instead of the screen and overwrite the file?…

• 272 Words
• 2 Pages
Good Essays
• Satisfactory Essays

Windows 7 operating system was produced for personal computers, business desktops, laptops, netbooks, tablet PCs, and media center PCs. This version was released on October 22, 2009, which was less than three years that Windows Vista was released. Windows 7 upgraded design worked with Windows Vista applications and its hardware. A few of Windows 7 new features are the advances in touch and handwriting recognition. It supports RAW image format with the addition of Windows Imaging Component. This enables previewing and metadata display in Internet explorer. Also full size viewing for slideshows in Windows Photo Viewer.…

• 1028 Words
• 5 Pages
Satisfactory Essays
• Satisfactory Essays

Peer-to-peer network doesn’t give much security, it’s accessed by small businesses and home networks that are used daily. With a client-server network it can very big that gives a high volume of security measures depending on the users. Peer-to-peer networks are basically used to share files and have access to the printer. A client-server network uses client and server devices which can be used on the internet and LAN’s.…

• 316 Words
• 2 Pages
Satisfactory Essays
• Satisfactory Essays

As American as Apple Pie; one sandwich has touched the hearts and mouths of many Americans. The famed Peanut Butter and Jelly sandwich, or PB&J, has the ability to put a smile on a toothless face, it is a universal food. This simple but delicious sandwich can be done in seconds all you need is hunger and some household ingredients to get started. Learn and Join the thousands of americans who eat and enjoy Peanut Butter and Jelly everyday.…

• 410 Words
• 2 Pages
Satisfactory Essays
• Satisfactory Essays

Early Intervention can help to enhance the child 's development, provide support and assistance to the family, and to maximize the child 's and family 's benefit to society. Children who are found to be profoundly gifted will be given academic based test and a creativity based test. This will identify what level of intervention is needed if any.…

• 331 Words
• 2 Pages
Satisfactory Essays
• Satisfactory Essays

A one dimensional array is a variable that holds more than one index value such as car [ 13 ]. A Two dimensional array will hold two different index values such as…

• 290 Words
• 2 Pages
Satisfactory Essays
• Good Essays

As stated in our text, there are various categories of e-commerce and these types are, Business -to-consumer, which is the electronic commerce involving retailing products and services to individual shoppers. BarnesandNoble.com, which sells books, software, and music to individual consumers, is an example of B2C e-commerce. Another category would be Business-to-business, which is the electronic commerce involving the sales of goods and services among businesses. ChemConnect’s Web site for buying and selling chemicals and plastics is an example of B2B e-commerce. The next category on the list is Consumer-to-consumer, which is the electronic commerce involving consumers selling directly to consumers. For example, eBay, the giant Web auction site, enables people to sell their goods to other consumers by auctioning their merchandise off to the highest bidder, or for a fixed price. Craigslist is the most widely used platform used by consumers to buy and sell directly from others. There are two more examples that are emerging as we speak and they are mobile smartphones and dedicated e-readers like the Kindle using cellular networks, and mobile smartphones and small tablet computers using Wi-Fi wireless networks. The use of handheld wireless devices for purchasing goods and services from any location has been defined as mobile commerce.…

• 593 Words
• 3 Pages
Good Essays
• Satisfactory Essays

In a joint-stock company an entrepreneur raises capital by issuing stock certificates of its ownership. This involves selling shares of the stock to investors that guarantee them the right to a certain percentage of the company’s profits. For example, suppose John holds shares of Mike’s Auto Repair Shop, which is a joint stock company. These shares give John a percentage of the vote on Mike’s management decisions, board elections, etc. The shares also give John unlimited responsibility for Mike’s outstanding unpaid liabilities. In other words, unless John sells his shares of Mike’s Auto Repair Shop, he is liable in whole and in part for principal and interest obligations on bonds or other outstanding loans. Since John holds shares of a joint stock company, he is putting his own assets at risk of being liquidated if Mike were to file for bankruptcy.…

• 473 Words
• 2 Pages
Satisfactory Essays
• Satisfactory Essays

The differences between analog and digital can be described as the differences between interlaced and progressive scan on an LCD or plasma TV. I remembered purchasing my very first flat-screen, a generic-branded 42” plasma TV from an online outlet about 2 years ago that had 1080i (interlaced) scan and an HDMI input. I did not do an overwhelming amount of research on the technology at the time prior to purchasing the TV, because at \$650 plus shipping, it seemed too good of a deal to pass up, especially for a plasma TV that also had 1080. After about 6-7 months later, the term “you get what you paid for” comes to mind. The screen had become gooey green for some reason and the majority of the time made the TV completely unwatchable. Although this story about my purchase has nothing to do with comparing the differences between interlaced or progressive scan, I did my homework afterwards to ensure that my next purchase would be 100% compatible with my video games that supported up to 1080p.…

• 328 Words
• 2 Pages
Satisfactory Essays