Premium Essay

Dual Code Structure

In:

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

American Criminal Court System

...will be describing what a court is and its purpose, as well as defining what the dual court system is. I will also describe the role that early codes, common law, and precedent played in the development of courts. Lastly, I will identify the role of the courts in criminal justice today. Court and its Purpose Merriam-Webster defines a court in three different ways, but they all seem to intertwine. The first definition is; “a formal legal meeting in which evidence about crimes, disagreements, etc., is presented to a judge and often a jury so that decisions can be made according to the law.” The second being, “a place where legal cases are heard.” The third definition states, “An official group of people (such as a judge and jury) who listen to evidence and make decisions about legal cases.” There are many different types of courts at the local, state, and federal level. Courts can hear both civil and criminal cases. The purpose of the court is to settle legal disputes whether civil or criminal, through a legal process, while protecting the rights and liberties of everyone involved, and to administer justice fairly. The court hears testimony from each side before rendering a verdict. Dual Court System The United States has what is called a dual court system. This system is what separates a state court from a federal court. “A dual court system is a legal organizational structure that supports two contemporaneous court systems: usually one at a local level, and...

Words: 1147 - Pages: 5

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 Listed Company...

Words: 4065 - Pages: 17

Premium Essay

Sql Fundamentals Oracle

...Exam Name: Exam Type: Exam Code: Oracle Database: SQL Fundamentals Oracle 1Z0-051 Total Questions 114 Question: 1 Which statement is true regarding the INTERSECT operator? A. It ignores NULL values. B. Reversing the order of the intersected tables alters the result. C. The names of columns in all SELECT statements must be identical. D. The number of columns and data types must be identical for all SELECT statements in the query. Answer: D Question: 2 Which three statements are true regarding the data types in Oracle Database 0g/11g? (Choose three.) A. Only one LONG column can be used per table. B. A TIMESTAMP data type column stores only time values with fractional seconds. C. The BLOB data type column is used to store binary data in an operating system file. D. The minimum column width that can be specified for a VARCHAR2 data type column is one. E. The value for a CHAR data type column is blank-padded to the maximum defined column width. Answer: A, D, E Question: 3 Examine the structure of the PROGRAMS table: Name Null? Type ---------- ------------- --------------PROG_ID NOT NULL NUMBER(3) PROG_COST NUMBER(8,2) START_DATE NOT NULL DATE END_DATE DATE Which two SQL statements would execute successfully? (Choose two.) A. SELECT NVL(ADD_MONTHS(END_DATE,1),SYSDATE) FROM programs; B. SELECT TO_DATE(NVL(SYSDATE-END_DATE,SYSDATE)) FROM programs; C. SELECT NVL(MONTHS_BETWEEN(start_date,end_date),'Ongoing') FROM programs; D. SELECT NVL(TO_CHAR(MONTHS_BETWEEN(start_date,end_date))...

Words: 11884 - Pages: 48

Premium Essay

Homework Qingbao

...液化天然气;危险性;运输安全;LNG船;引言 Summary-摘要: 此文分析了液化天然气特殊的危险性;探讨了LNG在海上运输时出现的各种事故及相应的安全措施和方法。并对如何建立严格有效的LNG船船员培训、评估体系提出几点思考。 PubTime-发表时间: 2004-09-25 Year-年: 2004 Period-期: 05 PageCount-页码: 23-24 (2)万方 【篇名】深圳港液化天然气船航行安全风险评估 【作者】劳春浩,沈华,陈志勇等 【作者单位】深圳海事局,广州,深圳,518000;大连海事大学,航海学院,辽宁,大连,116026;青岛海事局,山东,青岛,266500 【出处】大连海事大学学报,JOURNAL OF DALIAN MARITIME UNIVERSITY2007,33(z2) 【ISSN】1006-7736 【页码】59-62 【摘要】对中国第一座海运LNG接收站LNG船航行安全进行了安全评估.采用美国海岸警卫队的中的预先风险评估方法(PrRA),使用了事件树方法和风险指数方法.根据ALARP原理,评估出三种情景属于需改进的范围,针对评估结果提出了五条减少风险水平的建议. (3)EI |Accession |20090511878655 | |number: | | |  |Title: |Fluid-structure interaction modeling, relating to membrane LNG ship cargo containment | | | |system | |  |Authors: |Kim, W.S.1; Noh, B.J.1; Lee, H.2; Mravak, Z.3; De Lauzon, J.3; Maguire, J.R.4; | | |...

Words: 958 - Pages: 4

Premium Essay

Corporate Governance

...Wilfrid Laurier University Scholars Commons @ Laurier Theses and Dissertations (Comprehensive) 2010 Three Essays in Corporate Governance Vishaal Rabindranauth Anand Baulkaran Wilfrid Laurier University Follow this and additional works at: http://scholars.wlu.ca/etd Part of the Management Sciences and Quantitative Methods Commons Recommended Citation Baulkaran, Vishaal Rabindranauth Anand, "Three Essays in Corporate Governance" (2010). Theses and Dissertations (Comprehensive). Paper 1121. This Dissertation is brought to you for free and open access by Scholars Commons @ Laurier. It has been accepted for inclusion in Theses and Dissertations (Comprehensive) by an authorized administrator of Scholars Commons @ Laurier. For more information, please contact scholarscommons@wlu.ca. 1*1 Library and Archives Canada Bibliotheque et Archives Canada Published Heritage Branch Direction du Patrimoine de I'edition 395 Wellington Street Ottawa ON K1A 0N4 Canada 395, rue Wellington Ottawa ON K1A 0N4 Canada Your file Votre reference ISBN: 978-0-494-75409-2 Our file Notre reference ISBN: 978-0-494-75409-2 NOTICE: AVIS: The author has granted a nonexclusive license allowing Library and Archives Canada to reproduce, publish, archive, preserve, conserve, communicate to the public by telecommunication or on the Internet, loan, distribute and sell theses worldwide, for commercial or noncommercial purposes, in microform, paper...

Words: 16083 - Pages: 65

Free Essay

Selection Paper

...Selection Structure Paper Given the following task: Selection Structure Paper, Use the Part 1: Programming Solution Proposal you developed in Week Two and select one section of the proposal that requires a selection structure. Write a 2- to 3-page paper describing the purpose of that structure and write the pseudocode for that structure. Examine any iteration control structure. If the program you described in Week Two does not lend itself well to the inclusion of a selection structure, create a new example of a selection structure. Create a Visual Logic flowchart that parallels this pseudocode. Test the flowchart to make sure that it executes properly and produces correct results. Submit the paper and the Visual Logic file. Format your paper consistent with APA guidelines. The process of selection is a way for the computer to interact with the user and to be able to understand how to make choices based on the user’s point of view or interest. Selection can be understood by computers by transforming such selections into algebraic equations, and from there into binary code which is the language that the computer understands, once the program is written, it will use a compilator, which acts as the translator between computer language and human language. The process of selection allows the user to choose what to do and then it gives options where to choose from, and it gives results which vary depending on the option selected by the user, when using the process of selection...

Words: 554 - Pages: 3

Free Essay

Ethics in Action

...Comparing and Contrasting the Code of Ethics Aquila' Mahdi Counseling 501 Liberty University February 26, 2012 Dr. S. Sadik Abstract This paper will attempt to examine the code of ethics from the American Counseling Association (ACA) and the American Association of Christian Counselors (AACC). It will take a look at the differences and similarities shared between the two organizations, respectfully. It will examine confidentiality, dual roles and sexual intimacies. Comparing and Contrasting the Code of Ethics This paper will attempt to examine the code of ethics from the American Counseling Association (ACA) and the American Association of Christian Counselors (AACC). It will take a look at the differences and similarities shared between the two organizations, respectfully. It will examine confidentiality, dual roles and sexual intimacies. Establishing trust between the client and therapist is crucial in developing a relationship within the therapeutic structure. In the role of counselor, it is imperative that confidential information shared by the client isn’t divulged outside of the confines of therapy unless the client has given the therapist permission to do so. The only exception in which a therapist can break the client-therapist confidentiality is within the context of the law. It is important for a therapist to discuss confidentiality and its limitations within the initial consult of therapy. When counseling a family or more than one person during a...

Words: 1272 - Pages: 6

Premium Essay

Court Room and History

...highlighting the complexity. The literature reviews, illustrates and examines the following: 1. Describe a court and its purpose. 2. Define the dual court system. 3. Describe the role that legal codes, the common law, and precedent played in the development of courts. 4. Identify the role of courts in criminal justice today. A court is a forum designed to test, enforce and uphold the law in a fair and impartial manner. The courts purpose is to guard and uphold individual freedoms that all citizens have. Purposes and Responsibilities of Courts should never be confused with efficiency or even the constitutional means of the separation of powers, judicial independence, and the inherent powers of the courts.  Courts exist to do justice, to guarantee liberty, to enhance social order, to resolve disputes, to maintain rule of law, to provide for equal protection, and to ensure due process of law. They exist so that the equality of individuals and the government is reality rather than empty rhetoric. (National Association for Court Management, 2013, Paragraph 5)   Continuing the review of the court history and its purpose the dual court system is the separate but interrelated two court system of the United States, one for federal cases and the other for state cases. Within the branches of the dual court system the top level is the Supreme Court of the United States, followed by two levels. The first branch of the two lower levels of the...

Words: 550 - Pages: 3

Premium Essay

Court

...usually consist of one party suing one another for some type of monetary damages. The criminal courts alleged offenders that are suspected for crimes that they committed and which at times they end in freedom for the offender or and prison cell. The court system is judicial brunch of government which the defendants go before a judge and their peers and to defend their innocence of a crime that they committed. The major role of the court is to settle people’s disputes in a civilized manner. Our court system is divided into four major components which are to uphold the law, protect individuals, resolve disputes, and reinforce social norms. The Untied States court system is run by a dual court system. There are two types of systems that make up the dual court systems and they are the Federal and State. The dual court system refers to the fact that the US has a federal court system and forty separate state court systems. The state courts are bound by their own statutes and constitution, US statutes and Constitution, rulings and precedent from higher courts within the state and the ruling of the federal courts in their jurisdiction and by the US Supreme Court. The federal courts are bound by US statutes and constitution precedent and rulings from the appeals...

Words: 748 - Pages: 3

Premium Essay

Personal Values and Ethical Standards

...Personal Values and Ethical Standards Paper Each person has different personal values and developed ethical standards. My personal values and ethics have shaped my life to be what it is today. Values refer to his or her own personal standards of what he or she believes to be right, or wrong. Ethics refers to a structure set of fundementals that provide a structure for what is considered to be the appropriate conduct in any groups. A "code of ethics" is the written document that represents the agreed upon principals for a particular group. I started gaining values from childhood as I watched those most closely related to me such as my father and step mother. As I grew older I gained values through outside resources such as school, church, or even from my surrounding neighbors I came in to contact within my day-to-day life. I was raised by parents who were old enough to be my grandparents and in the South there were social values and behaviors still considered to be “old fashioned.” I learn to treat a people with manners, automatic respect, and an attitude of strong work ethics. Some of my earliest memories were of how my father went to work five days a week and never missed a day that I can remember. I also recollect how my step mother taught me so many skills and values that she thought were important for a young lady to learn such as how to cook a home made meal, clean a house, and speak to others with manners. My stepmother always encouraged me to be willing to help those...

Words: 2134 - Pages: 9

Premium Essay

Ethical Dilemma

...it highlights the issue of boundary lines as a crucial aspect of effective and safe client-counsellor relationships. I run as a regular pastime with my local running club which is held on a mid week evening. My partner and I arrived at the club and bumbped into one of my clients, whom I had been counselling for two months. He had come to counselling as he had difficulty in forming personal relationships and was feeling lonely and depressed. The following day my client sent an email inviting my partner and I for dinner, suggesting we became friends. I considered the overlapping therapy and non-therapy contact to be problematic as it would involve entering a dual relationship with my client. Gabriel (2001) offers a definition which distinguishes between non-therapy and therapy contact by suggesting that a dual relationship occurs when: “a one-to-one contracted therapy relationship between an individual in the role of ‘client’ and one in the role of ‘therapist’ overlaps into a non-therapy context or role.” (p. ?). I identified a situation which became ethically challenging as I felt my client had crossed a boundary. “The boundary in counselling can be perceived as a limit line, with inherent fluidity and permeability, as well as safety and security. It is a limit line that requires the thoughtful actions of the boundary rider, the counsellor, to monitor and repair where...

Words: 2217 - Pages: 9

Premium Essay

Selection Structures

...D3.1 Present: * One way if Statements – a single alternative (IF-THEN structure) * Two way if Statements – a dual alternative (IF-THEN-ELSE structure) * Multiple way Statements – a multi alternative structure (CASE structure) and make a comparison between them D3.2 a. Write a program to read three integers and determine the smallest value. b. Write a similar program for ten integers.(for this version it is necessary just the algorithm and pseudocode) INDICATION Even the problem is very simple, please try to put in evidence the steps necessary for program development cycle (page 26 from book Prelude to Programming: Concepts and Design) 1. Analyze the problem 2. Design the program to solve the problem 3. Code the program 4. Test the program 1. Analyze the problem Provide your analysis for the following problem statement: Read three integers and determine the smallest value 1.1. Your analysis should be clearly written and demonstrate your thought process and steps used to analyze the problem. 1.2. Be sure to include what is the required output? 1.3. What is the necessary input and how you will obtain the required output from the given input? 1.4. Also, include your variable names and definitions. 1.5. Be sure to describe the necessary formulas and sample calculations that might be needed. 2. Design the program to solve the problem Provide your program design for the program you...

Words: 467 - Pages: 2

Premium Essay

Programming Ch3

...1. Structured programs use spaghetti code logic.   | a.  | True |   | b.  | False | | | | 2. In a selection structure, you perform an action or task, and then you perform the next action in order.   | a.  | True |   | b.  | False | | | | 3. Repetition and sequence are alternate names for a loop structure.   | a.  | True |   | b.  | False | | | | 4. In a structured program, any structure can be nested within another structure.   | a.  | True |   | b.  | False | | | | 5. A structured program must contain a sequence, selection, and loop structure.   | a.  | True |   | b.  | False | | | | 6. Because you may stack and nest structures while retaining the overall structure, it might be difficult to determine whether a flowchart as a whole is structured.   | a.  | True |   | b.  | False | | | | 7. As a general rule, an eof question should always come immediately after an input statement because the end-of-file condition will be detected at input.   | a.  | True |   | b.  | False | | | | 8. Structured programming is sometimes called goto-less programming.   | a.  | True |   | b.  | False | | | | 9. No matter how complicated it is, any set of steps can always be reduced to combinations of the two basic structures of sequence and loop.   | a.  | True |   | b.  | False | | | | 10. The case structure is a variation of the sequence structure and the do loop is a variation of the while...

Words: 1062 - Pages: 5

Premium Essay

Intro to Programming Chapter Three Homework

...1. Structured programs use spaghetti code logic.   | a.  | True |   | b.  | False | | | | 2. In a selection structure, you perform an action or task, and then you perform the next action in order.   | a.  | True |   | b.  | False | | | | 3. Repetition and sequence are alternate names for a loop structure.   | a.  | True |   | b.  | False | | | | 4. In a structured program, any structure can be nested within another structure.   | a.  | True |   | b.  | False | | | | 5. A structured program must contain a sequence, selection, and loop structure.   | a.  | True |   | b.  | False | | | | 6. Because you may stack and nest structures while retaining the overall structure, it might be difficult to determine whether a flowchart as a whole is structured.   | a.  | True |   | b.  | False | | | | 7. As a general rule, an eof question should always come immediately after an input statement because the end-of-file condition will be detected at input.   | a.  | True |   | b.  | False | | | | 8. Structured programming is sometimes called goto-less programming.   | a.  | True |   | b.  | False | | | | 9. No matter how complicated it is, any set of steps can always be reduced to combinations of the two basic structures of sequence and loop.   | a.  | True |   | b.  | False | | | | 10. The case structure is a variation of the sequence structure and the do loop is a variation of the while...

Words: 1129 - Pages: 5

Premium Essay

United States Courts

...and its purpose has been a strong order of justice in the nation since the first time it was established. The system was designed to allow the citizens of the United States to receive a fair criminal trial regardless of social status, gender, race, and ethnic background. The system is composed by several different elements and processes that are at times very complicated. The best way to understand how the system works is to examine the structure and function of the different courts in America. This paper will describe a court and its purpose, define the dual court system and describe the role that early legal codes, the common law, and precedent played in the development of courts. In addition it will also identify the role of courts in criminal justice today. Over time, the court systems have established a sense of regularity or systematic procedures. The court system in the United States has a federal system of government in which power is divided between a central authority and smaller local units of government. The system has a dual system of federal and state courts that are independent of one another. Each state has its own system; the authority of a court to decide a case is called its jurisdiction. The Courts have jurisdiction only within geographical boundaries. This limits a particular city court to try cases that arise outside the city limits, on the same token, courts in one state rarely have jurisdiction over events happening or people living in other states...

Words: 763 - Pages: 4