Premium Essay

Dual Code Structure

In: Computers and Technology

Submitted By romantikwun
Words 403
Pages 2
Individual Paper Week Three
Deana Webster
University of Phoenix

Individual Paper Week Three
Originally, I started off by selecting Dual-Code Structure. It appeared that I would not be able to complete my programming with Single-Code Structure and yet I did. I believed that Dual-Code would start out by sending in one response if the patient was a Diabetic when the answer was yes the system would prompt it to a cascading set of questions. The group of questions which would be answered and the end of assessment message opens. “Thank You For Taking your Diabetic Assessment.” Sending the patient straight to the “Thank you,” message should they would answered “no” to the Diabetic question.
After review I have used the Single-Code Structure (this structure being the basic structure that it is) actually exemplified my process much simpler and smoother. I feel that I achieved encapsulation process. It will not affect the collected data from one version to another if it were reused, so I think it would be perfect for this type of programming because it obtaining proprietary information. Therefore, there is some security with the data as it is being hidden.

The Code starts off with: IF condition (diabetes) is true THEN statement(s) in true case ELSE statement(s) in false case ENDIF
. The “:Then statement,” would lead you to answer the following cascading questions and that's the behind-the-scenes on the front the process continues until the end statement opens in a “Console” so say “Thank You For Taking Your Diabetic Assessment.” The “no” is considered a “NULL” because its only necessary to write for the pertinent yeses.

I did find that the single case structure of the basic format that I selected work well with my pseudocode formatting. In addition, it allowed…...

Similar Documents

Premium Essay

Pseudo-Code Structure

...Pseudo-code is an informal high-level description of the operating principle of a computer program or other algorithm. It uses the structural conventions of a programming language, but is intended for human reading rather than machine reading. Pseudo-code typically omits details that are not essential for human understanding of the algorithm. The programming language is augmented with natural language description details, were convenient, or with compact mathematical notation. The purpose of using pseudo-code is that it is easier for people to understand than conventional programming language code, and that it is an efficient and environment-independent description of the key principles of an algorithm. Pseudo-code resembles, but should not be confused with skeleton programs, including dummy code, which can be complied without errors. Flowcharts and Unified modeling Language charts can be thought of as a graphical alternative to pseudo-code, but are more spacious on paper. A sequence structure is represented in pseudo-code as a line of instruction. A pseudo-code statement representing sequence would typically contain text very similar to what is found within the rectangle of the flowchart. The sequence control structure simply lists the lines of pseudo-code. The concern is not with the sequence category but with selection and two of the iteration control structures. A good example is; if age greater than 17, display a massage indicating you can vote else display a message......

Words: 765 - Pages: 4

Premium Essay

Dual Realationships

...Dual Relationships and Boundaries Paper Survey of Professional Psychology 545 July 8, 2013 Dr. Terry Portis Dual Relationships and Boundaries Dual relationships are that of a relationship of some kind with a patient either the patient is a family member, friend, or known through business. Dual relationships are not that of a sexual manner as that does not constitute a dual relationship but more of crossing boundaries the same as accepting gifts or meeting outside the office (Zur, 1997- 2013). There are many forms of dual relationships but as long and the boundary in a sexual or more than doctor client relationship are not crossed (accepting gifts, hugging). In the scenario that was chosen the therapist/teacher is dealing with a dual relationship of his or her student confiding marital issues and at a later date asking for the professor to be him and his wife’s couple’s counselor. This is a situation in which the professional need to determine if this is a dual relationship, crossing boundaries, and meets ethical decision-making process. Definition of Dual Relationships Dual relationships are defined as professional and personal relationships that transpire involving a client and the therapist or psychologist (Pope & Keith-Spiegel, 2008).  Dual relationships in the field of psychology are any relationship where different roles are between a therapist and client. For instance dual relationship is the...

Words: 499 - Pages: 2

Premium Essay

Letter About Dual Agency

...houses to be sold through a dual agent or dual agency, where as it is illegal in certain states. Dual agency is a situation where a real estate agent or agency represents both the buyer and the seller of a home. Dual agents or agencies create a great conflict of interest and should be made illegal in the state of Virginia to ensure that people who depend on real estate agencies to buy or sell homes get a fair price and that their agency does its due diligence to do get that fair price. When you go to sell your home would you want to have some worries in the back of your mind about if you got low balled by your real estate agent? Or when you buy a home is the agent trying to make you pay a higher price then you really have to? This is a worry most Americans have when selling or buying a home, but this problem is only intensified by the dual agency situation. The definition of a dual agent, according to homebuying.about.com, is “A real estate agent who has signed a buyer agency agreement with a buyer who wishes to purchase a listing held by the agent or the agent’s firm. A dual agent must be loyal to both the buyer and the seller.” The part where the agent must be loyal to both customers is where the problem arises. There is a huge conflict of interest as the agent has a responsibility to the seller to get the highest price and the lowest price for the buyer. From an article from www.realtown.com titled “Dual Agency”, Article 7 of the REALTORS® Code of Ethics states......

Words: 901 - Pages: 4

Free Essay

Constructing a New Structure- Building Codes

...Constructing a new Structure- Building Codes The information in this document should be useful in making design-related decisions that will not only satisfy the move to our new building Information Technology (IT) requirements but also meet the needs of the building and its future occupants with respect to voice, video and data communications. The intention of this document is to provide a comprehensive understanding and reference guide that can be referred to when moving to our new building. Moving into our new building we need to follow certain cable codes and specification. A properly designed network is based around components or wiring units. The components should also follow certain performance specifications so that when installing we will know exactly what types of applications will be supported. The cable specifications and building codes requirements that we use will be based on * ANSI/EIA/TIA standards 568-C-- Commercial Building Telecommunications Cabling Standard * ANSI/EIA/TIA 569-- Commercial Building Standards for Telecommunications Pathways and Spaces; ANSI/EIA/TIA 606- Administration Standard for the Telecommunications Infrastructure of Commercial Buildings * ANSI/EIA/TIA 607-Commercial Building Grounding and Bonding Requirements for Telecommunications; BICSI Telecommunications Distribution Methods Manual (TDMM) and NFPA 70--National Electric Code (NEC). Cabling has changed over time. Cabling installations have evolved from proprietary......

Words: 2982 - Pages: 12

Premium Essay

Unit 3: Lab 1: Building a New Structure - Nfpa Codes

...Unit 3: Lab 1: Building a New Structure – NFPA Codes The transmission of words, sounds, images, or data in the form of electronic or electromagnetic signals or impulses: Telecommunications what a concept. In order for us as a person and an IT Administrator is to stay safe. History has shown the safety departments about having to write policies which are used to provide recommended practices for the design and installation of safety standards with the Telecommunications infrastructure that will support a wide variety of existing and future services, using industry accepted design and installation methods. To define standards that will enable the design and implementation of structured cabling systems for commercial buildings and between buildings. The telecommunications industry standards, codes and practices are defined in various state and agencies on web sites defined in a catalog that can purchase and downloaded and read for immediate enforcement of these guidelines used for each industry. These policies are intended to answer faxes of infrastructure practices and not to be a substitute for knowledge of industry accepted practices, standards and codes. Policies are not intended to be used in lieu of a construction specification document, are used to abide to the specifications. Communications technologies can be complex and designed and installed by experienced professionals. Telecommunications are considered a fourth utility, to be designed, funded and installed......

Words: 1394 - Pages: 6

Free Essay

Dual Listing Company

...Lynch The Dual Listings July 2002 EVENT DRIVEN & EQUITY ARBITRAGE SALES FOR INTERNAL USE ONLY Trades Examined: UK - Netherlands Reed Elsevier NV (REN NA) vs Reed Elsevier Plc (REL LN) Royal Dutch Petroleum (RDA NA) vs Shell Transport & Trading Co Plc (SHEL LN) Unilever NV (UNA NA) vs Unilever Plc (ULVR LN) UK - Australia BHP Billiton Ltd (BHP AU) vs BHP Billiton Plc (BLT LN) Brambles Industries Ltd (BIL AU) vs Brambles Industries Plc (BI/ LN) Rio Tinto Ltd (RIO AU) vs Rio Tinto Plc (RIO LN) Introduction: The purpose of this report is to provide a basic overview of the dual-listing environment, highlighting the nature of company structures involved, why the structures were adopted and how they work. Contents: Page 1. Frequently Asked Questions 2 2. Why do Dual Listed Companies Exist? 4 3. Dual Listing Structures 5 4. Currency Risk 6 5. Terminology 7 6. Factors Affecting Performance 8 Appendix 1: Stock Specific Data A.1 Reed Elsevier NV vs Reed Elsevier Plc 10 A.2 Royal Dutch NV vs Shell T&T Plc 12 A.3 Unilever NV vs Unilever Plc 14 A.4 BHP Billiton Ltd vs BHP Billiton Plc 16 A.5 Brambles Ind. Ltd vs Brambles Ind. Plc 18 A.6 Rio Tinto Ltd vs Rio Tinto Plc 20 Glossary of Terms 22 1. Frequently Asked Questions Q. What is a dual listed structure? Where a company is listed on two exchanges it is referred to as a Dual......

Words: 4065 - Pages: 17

Free Essay

Dual Relationship

...Dual Relationship Mieisha Marshall, Alicia, Sara Cofield, and Candy Ladd Psych/545 November 17, 2014 Sharlie Hazen Introduction Making ethical decisions in the field of psychology can be very difficult especially when you are in the business of counseling. You have to worry about your client’s crossing that boundary while trying to escape a dual relationship. For instance, the scenario that was chosen by our group consist of a close friend of yours is having difficulty with her teenage daughter. She knows you are a psychologist who specialize in adolescents. She ask if you would be willing to help her daughter for a few sessions to straighten her out. You ask yourself, what should be done during this current situation. For one, the therapist and the client’s mother are friends. The client’s mother may be become too dependable on the therapist to fix the problem. In this paper, we will find the best approach for a dual relationship. Ethical issues involving dual relationships will be examined to clarify and analyze the relationship that the therapist and the client’s mom have. Therapist face many challenges in everyday life and in this paper, we will discuss challenges one may face in professional psychology. Concept of Dual Relationship When a therapist engages in more than one relationship with a client it is then classified as a dual or multiple relationship. If a therapist assumes a secondary role with a client like that of an employer, teacher, family......

Words: 1525 - Pages: 7

Free Essay

Dual Use

...Research altering the structure of infective viruses poses a threat to man and should be banned. This threat is defined, as “Dual use”. Although, altering the structure of viruses does have beneficial purposes it is ultimately not worth the risk and outweighed by its dangers. Dual Use is beneficial in advancing science or improving public health but is often misused for malevolent ends such as bioterrorism. Bioterrorism is not a new threat, Pathogens and micro organisms have been used as weapons for hundreds of years, dating back to the fourteenth century when Tartars threw the corpses of plague victims over the city walls of Kaffa before its siege and in the eighteenth century when British soldiers distributed blankets used by smallpox victims to Native Americans with the objective of contaminating them (SERB). This history of vile behavior in regards to bioweapons has not seemed to stop as technology advanced, some would say it has even gotten worse. When discussing the issue of bioterrorism one must keep in mind that it doesn’t mean all dual use scientists are bioterrorist, legitimate scientists typically conduct a research that is in the dual use field for positive purposes. “Just because a research project may have dual use concerns, that doesn’t mean that it will be misused as a bioweapon or that the researchers conducting the research are bioweaponeers” (SERB). However as research continues and advances on dual use the greater we risk-assisting bioterrorist......

Words: 521 - Pages: 3

Premium Essay

Dual Nationality

...Dual Nationality When I am asked the question of where I come from, I have trouble defining my country and explaining who I am. I feel like I am stuck between two countries across the globe, and two different cultures because I was raised outside of my birthplace. Therefore I seem to have trouble determining what is my true home. Yet the country that I was raised in cannot be my true home either because there I am considered an expatriate. So, am I supposed to be Indian American? But aren’t they the Native Americans? This is why I have learned to simply answer this question with “Dual Nationality.” Experiences are events that in my opinion are what shapes a person and make the person that one is. I am a compilation of my experiences and with each new experience that I have gained; I became a different and a new mature person at every stage. The experiences that I have gone through are like the stairs of my life. The end of the stairs is when I will be successful with my goals and ambitions. All of the places that I have been to and all of the places that I have lived in are a part of my life, a memory that helps me to become who I am today. Born in India, I came to the United States of America at the young age of two. The only English word that I knew was “chocolate.” Even though my parents were well educated but they never though of talking to me in English because they wanted to preserve my first language of Punjabi. My experiences started at the age of 4 when I had to...

Words: 740 - Pages: 3

Free Essay

Unified Accounts Code Structure

...Republic of the Philippines DEPARTMENT OF BUDGET AND MANAGEMENT COMMISSION ON AUDIT DEPARTMENT OF FINANCE UACS Unified Accounts Code Structure FAQs UACS Unified Accounts Code Structure FAQs TABLE OF CONTENTS 1. What is the Unified Accounts Code Structure? 3 2. Why a UACS? 3 3. Where will UACS be used? 3 4. Who will use the UACS? 4 5. How will UACS improve financial reporting? 4 6. What are the reporting requirements that will be best served by the UACS? 4 7. What document provides guidance on the use of the codes? 4 8. What policies and systems will be affected or need to be modified to implement UCAS? 4 9. What are the key elements of the UACS and how many codes are there for each element? 5 10. Do we really need the 54-digit code to implement UACS? 5 11. What are UACS users required to identify in facilitation data integrity of the Funding Source Code? -----------------------------------------------------------------------------------------------------------------------------------------5 12. What is the business rule to facilitate data integrity of the organization? 5 13. Under the UACS Location Code, are the codes the same codes that are being used now? 6 14. In preparing the budget for execution, can we use the current chart of accounts of COA on object coding? 6 15. What are the key business rules for code management to preserve transaction history and to ensure financial and performance data for one year is comparable with data from......

Words: 1523 - Pages: 7

Free Essay

Code

...This  is  CS50.   Harvard  College  Fall  2010   Problem  Set  3:  The  Game  of  Fifteen     due  by  7:00pm  on  Fri  10/1     Per  the  directions  at  this  document’s  end,  submitting  this  problem  set  involves  submitting  source  code   on  cloud.cs50.net  as  well  as  filling  out  a  Web-­‐based  form  (the  latter  of  which  will  be  available  after   lecture  on  Wed  9/29),  which  may  take  a  few  minutes,  so  best  not  to  wait  until  the  very  last  minute,     lest  you  spend  a  late  day  unnecessarily.     Be  sure  that  your  code  is  thoroughly  commented   to  such  an  extent  that  lines’  functionality  is  apparent  from  comments  alone.       Goals.     •   Introduce  you  to  larger  programs  and  programs  with  multiple  source  files.   •   Empower  you  with  Makefiles.   •   Implement  a  party  favor.       Recommended  Reading.     •   Section  17  of  http://www.howstuffworks.com/c.htm.   •   Chapters  20  and  23  of  Absolute  Beginner’s ......

Words: 4248 - Pages: 17

Free Essay

Analyse How Effective the Composer of the Road Has Been in the Use of Narrative Codes and Structures in Shaping the Underlying Concerns of the Text.

...Cormac McCarthy’s dystopian novel, The Road, effectively utilises narratological techniques and structures to convey complex ideas of the importance of hope, morality versus survival, and the integral role of relationships between humans in surviving extreme circumstances. An essential component of survival under conditions of great adversity is a drive to survive and a hope for the future. McCarthy’s protagonist knows that his quest to head “to the South” is fruitless; he knows he is going to die “Sometime. Not Now.” However he recognises that without some kind of goal or destination, humanity has no purpose. McCarthy utilises aspects of the symbolic code to illustrate how keeping the boy alive has become the man’s sole purpose for carrying on; he represents his father’s drive and his hope for the future. This is displayed in a synchronic analeptic episode through the contrast between the father’s devotion and the reaction of the mother; “The one thing I can tell you is that you won’t survive for yourself. I know because I would have never come this far.” She cannot place her hope and her motivation to continue in the boy like the father can, and as such succumbs to the world she is a part of. The semantic code is also utilised through the continued reference to fire to further develop how the pair’s hope allows them to survive. The audience associates fire with resilience and spirit, such that when the pair continually discuss how they are “carrying the fire” the reader......

Words: 894 - Pages: 4

Free Essay

Code

...States by corporations, institutions, and other organizations. For more information, please contact the Special Markets Department at the Perseus Books Group, 11 Cambridge Center, Cambridge MA 02142, or call (617) 252-5298, (800) 255-1514 or e-mail special.markets@perseusbooks.com. CIP catalog record for this book is available from the Library of Congress. ISBN-10: 0–465–03914–6 ISBN-13: 978–0–465–03914–2 06 07 08 09 / 10 9 8 7 6 5 4 3 2 1 Code version 1.0 FOR CHARLIE NESSON, WHOSE EVERY IDEA SEEMS CRAZY FOR ABOUT A YEAR. Code version 2.0 TO WIKIPEDIA, THE ONE SURPRISE THAT TEACHES MORE THAN EVERYTHING HERE. C O N T E N T S Preface to the Second Edition Preface to the First Edition Chapter 1. Code Is Law Chapter 2. Four Puzzles from Cyberspace PART I: “REGULABILITY” ix xiii 1 9 Chapter 3. Is-Ism: Is the Way It Is the Way It Must Be? Chapter 4. Architectures of Control Chapter 5. Regulating Code PART II: REGULATION BY CODE 31 38 61 Chapter 6. Cyberspaces Chapter 7. What Things Regulate Chapter 8. The Limits in Open Code PART III: LATENT AMBIGUITIES 83 120 138 Chapter 9. Translation Chapter 10. Intellectual Property Chapter 11. Privacy Chapter 12. Free Speech Chapter 13. Interlude PART IV: COMPETING SOVEREIGNS 157 169 200 233 276 Chapter 14. Sovereignty Chapter 15. Competition Among Sovereigns 281 294 PART V: RESPONSES Chapter 16. The Problems We Face Chapter 17. Responses Chapter 18. What Declan Doesn’t Get Appendix Notes......

Words: 190498 - Pages: 762

Premium Essay

Dual Diagnosis

...Dual Diagnosis Jana Hall Liberty University Abstract There is so much yet to be learned by researchers in regards to understanding the intertwining connections between mental illness and substance use disorders. This essay is barely scratching the surface in describing the complexity of the two. In order to know how to treat an individual who exhibits symptoms of both a substance use disorder and a mental illness, it must first be determined which came first, the mental illness that lead to the substance use disorder or the SUD which exacerbated the underlying mental illness. I’m sure you have heard the saying, ‘Which came first, the chicken or the egg?’ Well, this seems to be the dilemma for the experts in their respective fields of study in determining the most effective form of treatment for those who have been given a dual diagnosis. Unfortunately, individuals who have this diagnosis have become the norm in today’s day, rather than the exception. Dual Diagnosis It was widely believed at one time that substance use disorders and mental illness were seldom found in an individual. Since that time, it has been discovered, through epidemiological studies done on individuals who struggle with both mental illness and substance use disorder, that this is not true. A majority of those diagnosed with a mental illness also concurrently have a substance use disorder (Doweiko, 2015). ). Some of the mental illnesses that are challenging mental health professionals......

Words: 1340 - Pages: 6

Free Essay

Dual Diagnosis

...Dual Diagnosis Kimberly Holston CRIS 305-B05 Liberty University 02/22/2016 Dual Diagnosis There is an extremely difficult life path for a person the experiences substance and or alcohol abuse. That addiction journey can be riddled with anger, pain, loss, shame, anguish along with a host of many other agonizing and heart wrenching emotions. When the addicted person also carries a mental health disorder along this journey, it can become an even more treacherous and dangers path. These are indeed two very complex struggles for one human being. The combination of a person suffering an alcohol or substance abuse disorder and a mental illness disorder are identified has having a dual diagnosis. Dual diagnosis has different causes, difficulty in trying to diagnose and difficult to treat and it affects many in our world today. Most importantly, a dual diagnosis is most difficult on the individual who suffers with the disease. Dual Diagnosis Definition and Types What does dual-diagnosis actually mean? A dual diagnosis disorder occurs when an individual is affected by both chemical dependency and an emotional or psychiatric illness. Both chemical dependency and psychiatric illness may affect an individual physically, psychologically, socially and spiritually (The Dual Diagnosis Recovery Book, 1993). The most common mental health issues that coincide with addictions are ADHD, anxiety, depressions, bi-polar, schizophrenia, personality disorders, eating disorders and......

Words: 1349 - Pages: 6