Free Essay

It/210

In: Computers and Technology

Submitted By phlebgirl2003
Words 253
Pages 2
CheckPoint: Algorithm Verification
Kelley Stevens
IT/210
February 10, 2012
Dennis Wood

CheckPoint: Algorithm Verification
1. What will be printed if the input is 0? You fail
2. What will be printed if the input is 100? Your grade is 100, You did great
3. What will be printed if the input is 51? Your grade is 51, You did OK
4. What will be printed if the user enters “Wingding”? It would cause an error
5. Is this design robust? No If so, explain why. If not, explain what you can do to make it robust. You would need to add lines to deal with things such as if an invalid integer was input, then have the program display “error” “please enter a new score”
6. How many levels of nesting are there in this design? 4
7. Provide a set of values that will test the normal operation of this program segment. 1 and 99 Defend your choices. 1 is the test for the lowest function and 99 will test the highest function. These numbers will run throughout the program and will test all stages to verify the program is running properly
8. Provide a set of test values that will cause each of the branches to be executed. 10 will test stage 1, 60 will test stage 2, 75 will test stage 3, and 90 will test stage 4
9. Provide a set of test values that test the abnormal operation of this program segment. J, #, -2, and 1000

Similar Documents

Premium Essay

Fda Should Regulate Herbs

...Herbal Supplements The FDA should regulate herbal supplements as it ensures safety for the consumer. If taken properly, herbal supplements have great benefits. The problem is that there simply is not enough regulation of the herbal supplements. Many herbal supplements can be dangerous if taken incorrectly. What’s worse, people simply do not have enough information about the benefits and risks of herbal supplements. A great example of the lack of regulation is overuse of Ephedra. A while back, people started taking mass amounts of Ephedra in order to lose weight. It ended in a great amount of deaths, causing the FDA to take measures against makers of medicines containing Ephedra. Because it was considered an herbal supplement, it did not have the same scrutiny as synthetic drugs. Herbal supplements can be just as powerful as synthetic drugs, so the same vigilance in regulation should apply. Also, harmful ingredients sometimes end up in herbal supplements, which present an entirely new risk. If herbal supplements were more closely monitored, there would be a better chance of preventing this from happening. Because of the lack of regulation, consumers do not have any assurance that what they are buying is safe. Consumers need that assurance, especially when it comes to health products. There also is not very much awareness about herbal supplements. People do not realize how powerful some herbal supplements are. Many people hold the mistaken belief that herbal supplements...

Words: 996 - Pages: 4

Premium Essay

Mana 210

...Escuela de Estudios Profesionales Programa Ahora Universidad Metropolitana, Universidad del Turabo, Universidad del Este MANA 210 Teoría Administrativa MANA 210 TEORIA ADMINISTRATIVA Universidad del Este, Universidad Metropolitana, Universidad del Turabo © Sistema Universitario Ana G. Méndez, 2010 Derechos Reservados Escuela de Estudios Profesionales Programa Ahora Universidad Metropolitana Preparado con la colaboración de: Prof. Luis M. Ramírez, MA 2004 Revisado Rosa María Berlingeri Bruno,M.A. 2010 MANA 210 Teoría Administrativa 2 Escuela de Estudios Profesionales Programa Ahora Universidad Metropolitana TABLA DE CONTENIDO INFORMACIÓN DEL CURSO -------------------------------------------------------------------------------------- 4 TALLER UNO --------------------------------------------------------------------------------------------------------- 12 TALLER DOS ---------------------------------------------------------------------------------------------------------- 18 TALLER TRES -------------------------------------------------------------------------------------------------------- 23 TALLER CUATRO --------------------------------------------------------------------------------------------------- 27 TALLER CINCO ------------------------------------------------------------------------------------------------------ 31 ANEJOS...

Words: 9580 - Pages: 39

Premium Essay

It 210 Final

...IT/210 Final Project Currency Consolidation Requirements. Problem: Converting Currency A currency conversion application in a menu based system allowing users to select one of five set currencies to convert to and from the US dollar. The program will display the amount and will loop back to the beginning to allow another conversion or termination of the program. Currency Selections Canadian dollars (1US = 1.468 Canadian) Mexican pesos (1US = 9.5085 Pesos) English Pounds (1US = .66 Pounds) Japanese yen (1US = 104.92 yen) French francs (1US = 6.2561 Francs) Application-Level Requirements List 1. There should be a series of screens, in the application, that will help the user to input specified information. 2. Include general information and the title on the first screen 3. There should be explanatory material or external documentation. 4. Comments should be included in the program because this will allow other programmers to follow and track what has been done. 5. Should include the ability to clear the inputs and start the calculations over (just in case there are errors) Input process and output chart. INPUT | PROCESS | OUTPUT | Menu Options | Display Menu | Menu Options | Menu ChoiceCurrency | Get User Input | Menu choiceCurrency | CurrencyConversion formula | Convert Currency | Equivalent US dollar | Hierarchy Chart Main Module Main Module Display_Resluts Display_Resluts Get_Int_Value Get_Int_Value Display_Menu...

Words: 1021 - Pages: 5

Premium Essay

Phi 210

...Critical Thinking – PHI 210 The Accuracy of Our Senses The ability for a person to learn how something smells, tastes, looks, sounds and feels is directly related to senses (Kirby & Goodpaster, 2007). A human’s sense organs are their nose, tongue, eyes, ears and skin (Sensitivity, 2005). These organs have the ability to interpret sensations causing the body to have reflex reactions that do not require thought (Sensitivity, 2005). This is proof of sensory information and data collection, given how a person reacts to certain events. Take for instance a thunderstorm; all five senses can help someone know that a storm is coming. A person can see storm clouds forming, hear the sound of thunder, smell the rain ahead, feel the temperature change, and even taste the rain falling. The ability to retain this information is what helps enable the senses (Sensory System, 2011). Retention and repetition help the body sense that something will happen by learning to relate these interactions to a thunderstorm. The old wife’s tale of feeling a storm in one’s bones is better expressed as the change in barometric pressure causing discomfort in the joints, but it is the body sensing this discomfort and the brain relating the discomfort to its known cause, a storm. Another aspect is our adaptation or compensation of senses. If you take away a person’s sight, the body typically adapts more acute hearing (Maloof, 2011). If you take away a person’s ability to hear, deaf people develop...

Words: 809 - Pages: 4

Premium Essay

Hcr 210

...Patient Self-Determination Act on health care delivery University of Phoenix Online HCR/210 June 30, 2012 Abstract In 250 to 300 words, the effect of the Patient Self-Determination Act on health care delivery. Considering how I think records management procedures have had to respond to this piece of legislation. In accordance with Federal Law, the Patient Self- Determination Act provides every competent adult and emancipated minor are to be informed that they have the right to decide their own decision on what medical care or treatment they accept, reject, or discontinue. The effect of the Patient Self-Determination Act has given each patient the right to choose what is best for them upon their beliefs. And the advance directives protect their rights when making these decisions. The act also protects the health care institutions when the agency has to decide what is best for the patient as well. Durable Power of Attorney for Health Care, a draft for a durable power of attorney will be written in case the patient becomes mentally incapacitated; this is a document appointing an agent to act for a patient in the event of incompetence and will take effect immediately. The agency can not make the decision for the patient unless they are unable to make the decision themselves. Do Not Resuscitate (DNR) Order, is request not to be given CPR (cardiopulmonary resuscitation) if the patient heart stops or stops breathing given by the patient. ...

Words: 299 - Pages: 2

Premium Essay

Cis 210

...“Inventory Management Systems” Strayer University Joshua Watson Prof. Irene Hoskins CIS 210 (Systems Analysis and Development) April 15, 2015 After discussing your frustration with managing your clothing stores’ inventory using a manual software, I researched and developed a low-cost plan that will implement an automated inventory system to track better inventory. Though our discussion was brief, your business issues seem straight forward. There are a few variable that will require further clarification in order to ensure you have the best tools at your disposal. Information such as # of employees, estimation of inventory, transaction history, and most important, budget are all details required to tailor your automated systems. I am assuming you are currently using an “Excel” type tracking tool to manage your inventory. If you continue to use this type of manual software, there are certain pitfall associated with these types of tools. Excel can’t provide you with real-time inventory tracking. Part of the reason you are frustrated with your tracking system is due to the constant manual changes. Another issue is the lack of error monitoring. Since you manually enter your inventory information, you are the last line of defense when it comes to error monitoring. As your business expands, you will look to add employees. When this occurs, if your business still operates using Excel, you will have limited user access control, and this...

Words: 754 - Pages: 4

Premium Essay

Bus 210

...Kimberly Merritt 7726 Krefeld Glen Drive Apt 913 Charlotte, NC  28227 ¦ (980)200-5622¦ kimberlymerritt44@yahoo.com CAREER GOAL Professional with good communication, organizational and customers service skills; skilled in security and an experienced supervisor who supported employees and security operations. Technical skills include Microsoft Office and record keeping. EDUCATION Bachelor Degree in Business Administration/Criminal justice 2013 Working on this and still in college Schaumburg, IL EDUCATION Associates of Arts in Business Administration                                  2012 American InterContinental University                                                 Schaumburg, IL EMPLOYMENT HISTORY Security Guard 2011-Present Budd Group Security Charlotte, NC * Patrol and monitor location to watch for signs of crime and take action when needed to maintain the highest level of security * Deter and detect inappropriate actions to protect property of clients * Check and monitor access cards to ensure all visitors have appropriate admittance * Maintain daily reports to keep records of activities and incidents Transportation/Drive 2011-2012 Queens University/Sodexo Co. Charlotte, NC * Transported athletes, students and faculty members to...

Words: 361 - Pages: 2

Premium Essay

Bus/210

...Associate Level Material Appendix D Contingency Theory of Leadership |Description of work environment | | | |Contingency Theory of Leadership Description of work environment The work | | |environment I reviewed for this assignment is a full service coin-op.  | In the table below, categorize different leadership approaches that could be used in the work environment you have described. Provide different suggestions for each of the four approaches to leadership. |Directive approach |Supportive approach | | The directive approach on the part of the manager would be the |Developing clear work rules and procedures and ensuring that | |one used mostly to have a good work environment. Treating workers|employees understand rules and follow them. Being friendly and | |as equals Acting in a non-threatening way. This should improve |approachable Showing concern for well-being and needs of | |the quality of customer care and work environment. |employees, no matter the outcome just be supportive to their | | |needs and do not ignore them.  | |Participative...

Words: 327 - Pages: 2

Premium Essay

Bus 210

...Associate Level Material Appendix A Stages of Critical Thinking Complete the matrix by identifying the six stages of critical thinking, describing how to move from each stage to the next, and listing obstacles you may face as you move to the next stage of critical thinking. |Stages of Critical Thinking |How to Move to the Next Stage |Obstacles to Moving to the Next Stage | |EXAMPLE: |Examine my thinking to identify problems |Deceiving myself about the effectiveness of| | |that affect my thinking. |my thinking | |The Unreflective Thinker | | | |Challenged Thinker |I have to become of aware of the |Develop ways in creating strategy in | | |determining role in my life and of the |overcoming these problems. Such as making | | |basic problems that come from poor |goals to help better your thinking. | | |thinking. | | |Beginning Thinker |Recognize that I do have basic problems in |Start developing daily routines such as | ...

Words: 604 - Pages: 3

Premium Essay

Eth/210

...Religious And Racial Groups Michele Allen ETH/125 Mrs. Deena Religious And Racial Groups Religious And Racial Groups Have you thought about researching the signifigance of religion and ethnic groups other than your own? I am a African American who practice Christianity as a religion. I have choose to research Islam and Whites, which is the European descent. The information that you are about to read in this content is unique and will become familiar within your own religion and race. There are somethings that maybe slightly different as comparison to other religions. There are three major groups in this world that has been created. Islam happens to be one of the major groups. The other major groups are Christians and Judaism. Islam belief, is that there is one God. God is the higher power who created the world. Islam believe that we as people should surrender to the higher power, which is God. Islam is God. In the Islamic religion, if you follow God, you would be considered a Muslim. In Arabic, Muslim is defined as, one who surrenders to God. Allah is the Arabic name for God. Muslims are considered equal before God. Islam provide a sense of loyalty to God that connects their race, nationality, and differences with other religion. Islam is originated from Arabia. Islam begin to Syria, North America, Spain , India, and Egypt. In the 10th century they began to spread east, north, and the south. Islam is the fastest growing religion in the world. Islam is open to new members...

Words: 1222 - Pages: 5

Free Essay

Phi 210

...Strayer University Assignment 5 The Government has a Right to Control What We Eat ISMAIL DEMIRKIRAN PHI 210 Prof, Mccormak Anthony June, 13, 13 We are living in a world of extreme rules and regulations. There was a time when people joked about asking officials before eating their food, and well, the time has arrived. Governments are controlling the food that goes in our mouths. This paper presents a critical analysis on a very crucial topic of today’s time i.e. the government has a right to control what we eat. This paper presents a detailed over view of how the government has been already controlling our food and what the main reason behind this control of government, along with its conflict with human rights in general. There are several aspects to look at this topic. The approach governments are taking on order to end the maniac of obesity, and unhealthy diet habits amongst the people is understandable, however people who hold the right to freedom shall also have the right to eat what is under their budget. Not every man can afford a nice and healthy meal three times a day. The idea of fast food chain was introduced because of the lack of time that busy workers faced in their daily routines and these fast food restaurants provided quick services to their consumers without the mayhem of standing in quos or waiting for their orders (Insel, Ross, Bernstein, & McMahon, 2012). The government, however, already does control our diet in a major way. Spread...

Words: 1401 - Pages: 6

Free Essay

Htt/210

...Running head: THE FUTURE OF ECOTOURISM The Future of Ecotourism Monique Davis University of Phoenix Travel and Tourism: Work, Pleasure, and Forever Enriching HTT/210 Richard Griffin September 28, 2014 The Future of Ecotourism The Cayman Islands is an excellent holiday spot for many tourists, nevertheless, due to an increase in tourism the island has required development to keep up with the vacationist's demands. These developments have both a definite and adverse effect on the islands. Tourism is vital for the island inhabitants because it produces continual revenue to the island and provides positions for the locals. There is a downside to tourism that consists of management of resources and not restoring them. It is crucial to the island in restoring resources and conditioning everyone to pull together to maintain a green environment so that tourism does not turn the islands into a wasteland, so tourists stop vacationing there. The Grand Cayman Island is on one of the three islands of the Cayman Islands and is the largest of the three, hence the title, Grand Cayman Island. The island has approximately 50,000 residents and extends over 76 square miles (Grand Cayman Island Department of Tourism, 2014). There are many activities and attractions on the island that spread throughout the island from the four corners to the heart of the island (Grand Cayman Island Department of Tourism, 2014). There are shopping facilities from the upscale to the locals that sell everything...

Words: 2158 - Pages: 9

Free Essay

Hcr 210

...The Patient Self-Determination Act of 1990 required consumers to be provided with informed consent, information about their right to make advance health care decisions. This act is also called advance directives. The act requires that patients be given information about state laws that impact legal choices in making health care decisions. Health care facilities in every state are required by this act to notify patients 18 or older of their right to have an advance directive in their medical records. Advanced directives include living wills; do not resuscitate (DNR) orders, medical power of attorney, health care proxy, or organ or tissue donation. Every patient must be informed in written form by health care facilities of the laws in their state that are related to advance directives. Every patient has to sign the advance directive notification form stating that they have been informed of their right to have advance directives. This provides proof for the facility that they have informed the patient. This form has made laws concerning patients right’s stricter. Records management procedures have had to make some changes to the way they do things in order to respond to this legislation. They have had to make sure when a patient comes to the hospital that they find out if they have advanced directives. Before this act this was not a question they asked when you came to the hospital. Doctor’s and the health care team have to pay closer attention to what the patient wants and do as...

Words: 320 - Pages: 2

Premium Essay

Cis 210

...********************* In today’s “tech” and competitive world, businesses are in transformation from manual inventory system to automated inventory system, including small businesses. Automated Inventory systems can reduce costs, retain the existing customers and gain profits. It can replace the time consuming manual process by providing more accurate data. Every business should have a proper inventory system in order to track whether the store is running out of the stock of an important item or there are some items that are obsolete. Nowadays, automated system is used almost by all the retailers, grocery stores and manufacturing companies. A good inventory control system will alert the retailer when it is time to reorder (www.barcodesinc.com). Automated inventory system will keep the competitive advantage of your company and increase the value of your business. This plan will describe all the necessary equipment required for a low-cost automated inventory system for a small clothing store. It will also explain the costs involved in creation of the system and describe the ongoing maintenance that will be required for the smooth running of the system and provide a workflow diagram of how the system will work.  The equipments required to install a low-cost automated inventory system in small clothing store consists of a computer- desktop or laptop whichever is more cheaper, system requirements that can handle and store the inventory system, backup/recovery/portable hard disk...

Words: 312 - Pages: 2

Free Essay

Mgt.210

...Day One – Orientation Day one of training a new employee is a very important piece of orienting and training. In the firs day the employee is exposed to the new people and materials. Orientation is not just something that happens on the first day, but it is something that is included throughout the training process. In the beginning of the hiring process we can begin the orientation by explaining the job description to the potential employee as well as any company history, and any pay information. This is also known as an offer meeting. At this point it is a great time to ask the new employee if they have any questions or concerns. It is important to let them ask all questions they need to. This will make them feel more comfortable and open towards new concepts and ideas. Once they are hired we can begin on explaining all of the rules, polices, and procedures. It is very important to be clear and concise on the rules. Being clear about all the information can help to keep the new employees attitude be positive in the future of the company. All policies are also explained. The orientation can also get deeper into detail on any benefits such as setting up a 401 k, and how to request time off, or sick days. A way to make the new employee accountable is to have all rules and policies typed out, and after explain them in detail to the trainee have them sign off that they understand and will uphold all rules. The next step in the orienting process would be to give the new...

Words: 1577 - Pages: 7