Preview

Excersise 1

Satisfactory Essays
Open Document
Open Document
492 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Excersise 1
Week 1 Activity—Pseudocode and Visual Basic
-------------------------------------------------
TCO 1—Given a simple business problem, design and desk-check a solution that is expressed in terms of pseudocode, flowchart, and/or input-process-output (IPO) diagrams.
-------------------------------------------------

Assignment This activity will assist you in the understanding of how output should appear after statements are executed (results) and how to write proper pseudocode, as well as the relationship between pseudocode, flowcharts, and programming language code. 1. Show the result of each pseudocode program. 2. Also rewrite the pseudocode statements or flowchart using Assignment statements.
Rubric
When completed, compile the following documents together neatly in order. 1) This instruction sheet first 2) Your answer sheet second
Point distribution for this activity: Activity | Document | Points possible | Points received | Problem #1 | 6 | | Problem #2 | 6 | | Problem #3 | 8 | | Total Points | 20 | |

Example

The variable A starts with value 5.
Add 1 to A
Display the value of A on the screen.

Example Output
-------------------------------------------------

------------------------------------------------- 6
-------------------------------------------------

Example Pseudocode
-------------------------------------------------

------------------------------------------------- Let A = 1
-------------------------------------------------
Let A = A + 1
-------------------------------------------------
Output A
-------------------------------------------------

Example flowchart (use MS Visio and paste flowchart here or submit in separate file)

Problem #1

The variable X starts with the value 0. The variable Y starts with the value 5. Add 1 to X. Add 1 to Y. Add X and Y, and store the result in Y. Display the value in Y on the screen.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Excercise 5 Activity 1

    • 553 Words
    • 2 Pages

    Exercise 5: Cardiovascular Dynamics: Activity 1: Studying the Effect of Blood Vessel Radius on Blood Flow Rate Lab Report…

    • 553 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Exercise3statistics

    • 657 Words
    • 2 Pages

    4. Which level of measurement, interval or ratio has a zero that does not indicate an absence of the concept. Give examples of two variables that could have a zero, but the concept would not be absent (this can be any variable you select, not necessarily a variable that was used in the study).…

    • 657 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    IT/210 Appendix D

    • 453 Words
    • 4 Pages

    For this week’s CheckPoint, you will refine the IPO table into a complete design, as demonstrated on pp. 80 & 83 in Ch. 2 of Prelude to Programming. Additionally, refer also to the Input and Output Process Example in Appendix B to see how more detailed analysis and design relates to the previously constructed IPO chart.…

    • 453 Words
    • 4 Pages
    Powerful Essays
  • Powerful Essays

    Exercise 2 Activity 1

    • 925 Words
    • 4 Pages

    Exercise 2: Skeletal Muscle Physiology: Activity 1: The Muscle Twitch and the Latent Period Lab Report Pre-lab Quiz Results You scored 20% by answering 1 out of 5 questions correctly. 1. Skeletal muscles are connected to bones by Your answer : c. ligaments. Correct answer: b. tendons. 2. Skeletal muscles are composed of hundreds to thousands of individual cells called Your answer : b. myofibrils. Correct answer: c. fibers. 3. The term motor unit refers to Your answer : b. all of the activated muscle fibers within one skeletal muscle. Correct answer: c. one motor neuron and all of the skeletal muscle fibers it innervates. 4. The motor neuron and muscle fiber intersect at what is called You correctly answered: d. the neuromuscular junction. 5. A twitch is Your answer : c. multiple contractile responses to a series of action potentials. Correct answer: a. one contractile response to a single action potential.…

    • 925 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    TCO #1– Given a simple business problem, design and desk-check a solution algorithm that is expressed in terms of pseudocode or program notes and input-process-output (IPO) analysis leading to a flow chart.…

    • 393 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Is a flowchart more valuable in documenting the logic of a program than just the coded instructions in the programming language? Explain your answer.…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Excersise 20b

    • 531 Words
    • 2 Pages

    5. Is the preoperative Retrieval T score for Patient 5 above or below the mean for the norm of the group? Provide a rationale for your answer.…

    • 531 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 Unit 3 Essay

    • 502 Words
    • 3 Pages

    On Thursday, I download and print all the reading assignment materials, what allow me to read the information all along the week. I read the materials assigned for this week. Through my reading I learned the two methods in order to organize the ideas before programming; flowcharting and pseudocode. Also I stalled the program “Dia” and I could work on it, I do not think that it is a good program; I think it could be more intuitive, my plan is to develop something that can help me to work with flowcharts.…

    • 502 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    It/210 Course Design

    • 2571 Words
    • 11 Pages

    Due Points Objectives 2.1 Identify the purposes and definitions of software development concepts. 2.2 Use pseudocode to design a program to solve a computational…

    • 2571 Words
    • 11 Pages
    Satisfactory Essays
  • Powerful Essays

    Cardio

    • 971 Words
    • 3 Pages

    There were a couple of jump cut shots, when Sam was playing the piano and singing while it jumped over to was conversating with friends and while Rick is talking with his friend outside of the cafe’ while a plane is taking off. The camera used some eye-line match cut where the attention was focused on what Rick and his friend are talking about. The angle and camera movement was mainly focused on Rick and his surroundings.…

    • 971 Words
    • 3 Pages
    Powerful Essays
  • Good Essays

    Excercise 21

    • 419 Words
    • 2 Pages

    According to the U,S. Department of Health and Human Services (USDHHS) and the Centers for Disease Control and Prevention (CDC), there has been a dramatic increase in obesity in the United States over the past 20 years. Obesity epidemic has affected every part of the world. When speaking about United States, more than 72 million adults are obese and there is not a single state that has an obesity rate less than 15 % (CDC Vitalsigns 2010). Among all Americans Obesity has been directly linked to hypertension, diabetes, cancer, depression and many other health problems. Each year, approximately 400.000 deaths result from obesity and its complications and costs the national economy nearly $122.9 billion annually (Menifield 2008). In addition, as of 2004, the proportion of obese adults in the U,S. reached 32% of the total population. Among adolescents, obesity has increased to 17.1% of the population between the 1999-2004 periods (Menifield 2008). This increase in prevalence has made obesity a threat to public health in United States. There are various reasons of obesity such as behavior, environment and genetic factors. One of the causes of obesity is energy imbalance. This means eating too many calories compared to physical activity. As we know that, nowadays people spend more time watching T.V and playing video games. Moreover food portion size has also increased not only at home but also in many restaurants. In addition, environment and behavior play a large role causing people to be overweight. People make decision base on their culture, values and beliefs. For example, in some culture it is not important for women to exercise or women are not allowed to go for a walk. Many community lack sidewalks, parks and public activity area and that may influence their activity level. Science indicates that genetics shows a role in obesity. Genes can directly cause obesity in disorders such as Bardet-Biedl syndrome and Prader-Willi…

    • 419 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    global warming

    • 2464 Words
    • 10 Pages

    INSY 2303 Exam 3 Review Chapter 9 Dot Coms Offshoring Outsourcing Database Administrator Computer Engineer Technical Writer Network Specialist/Administrator VAR Chapter 10 Exception Report Summary Report Ad Hoc Report Transaction Processing Decision Support System Batch Processing vs. OLTP Expert System Neural Network PERT WBS Gantt Chart SDLC/Phases of the SDLC order of phases main purpose/activities in each phase main deliverable from each phase Centralized vs Distributed Processing Unit Testing Integration Testing System Testing Chapter 11 Database Database Models Hierarchical Network Multi-dimensional Relational O-O Object-Relational DBMS Data Warehouse Data Mining Cardinality XML Normalization Primary Key Foreign Key SQL create database/table add, modify, delete data retrieve, join data Chapter 12 High-Level vs. Low-Level Languages 1st, 2nd, 3rd, 4th, and 5th Generation Languages Problem Statement Algorithm Variable vs. Constant GoTo vs. GoSub Syntax, Run-Time, and Logic Errors Pseudocode/Structured English Flowchart Programming Control Structures…

    • 2464 Words
    • 10 Pages
    Satisfactory Essays
  • Satisfactory Essays

    What Is Pseudocode?

    • 413 Words
    • 2 Pages

    Pseudocode consists of short, English phrases used to explain specific tasks within a program's algorithm. Pseudocode should not include keywords in any specific computer languages. It should be written as a list of consecutive phrases.…

    • 413 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Booth multiplication

    • 430 Words
    • 2 Pages

    i.e., 0010 -- From 0 to 0 no change, 0 to 1 one change, 1 to 0 another change ,so…

    • 430 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Band Theory of Solids

    • 5192 Words
    • 21 Pages

    “A computer is a high-speed electronic device which follows instructions and is capable of performing arithmetic and logic operations.”…

    • 5192 Words
    • 21 Pages
    Good Essays