Preview

Unit 2 Assignment 1: Homework

Satisfactory Essays
Open Document
Open Document
848 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Unit 2 Assignment 1: Homework
Unit 2 Assignment 1: Homework
Short Answer
1. What does a professional programmer usually do first to gain an understanding of a problem? (The wording of this question has me a little stumped so I’ll give you all the answers that are running through my head and see if that is what you are looking for here) a. Should “problem” = program assignment of some sort, than the first step would be to design the basis of the program in pseudocode to gain a clear picture of what kind of commands will work where, then move into flowcharting to start putting together the logic. b. Should “problem” = an issue in the code that is preventing it from executing, than the first thing I would imagine being done is to look over the program for syntax errors and logic errors. (While I know that syntax is usually the culprit for error, I may as well look for the both of them if I’m going to be going over code line by line.)
2. What is pseudocode?
Pseudocode is “fake” code (as per the pseudo meaning fake and code meaning code). This is where a programmer writes out the code without worry of syntax or logic errors to get a visual feel of how the program should unfold. 3. Computer programs typically perform what three steps?
The three steps that computer programs typically perform are:
a. Input- where the program collects data from a source
b. Process- Where the input data is used for an out come
c. Output- where the processed data is presented
4. What does the term “user-friendly” mean?
User-friendly is a term used in the software development to describe programs that are easy to use. Algorithm Workbench Review
1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height. 1 Display “You have found the I’m Going to Turn Your Height into Information I Can Use program (feel free to clap and cheer!)” 2 Display “Enter your height, please”
3 Input yourHeight
4 Display “Thank you! (Now please

You May Also Find These Documents Helpful

  • Satisfactory Essays

    2. The program will display a series of screens prompting the user to enter the item name or number, price and quantity.…

    • 498 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    chapter 2

    • 282 Words
    • 2 Pages

    1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height.…

    • 282 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height.…

    • 391 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Defining the problem is the first step. It is a good idea to actually write the problem down to ensure the problem is stated correctly. When defining the problem it’s helpful to ask the following questions: What is the problems, is it worth solving, does it need an immediate solution, or can it wait? Etc. (http://www.studygs.net/problem/problemsolvingV1.htm)…

    • 861 Words
    • 4 Pages
    Good Essays
  • Good Essays

    C Sharp

    • 6277 Words
    • 26 Pages

    If you have been around the programming world for a while, you may have some experience…

    • 6277 Words
    • 26 Pages
    Good Essays
  • Satisfactory Essays

    Computer Programming

    • 530 Words
    • 4 Pages

    Computer programming is defined as telling a computer what to do through a special set of instructions which are then interpreted by the computer to perform some task(s). A computer goes through a set of steps whose purpose is to achieve something. These steps are instructed to the computer by computer programs. Essentially, computer programming is the process by which these programs are designed and implemented. [1.]…

    • 530 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1. Design an algorithm that prompts the user to enter his or her height and stores the users input in a variable named height.…

    • 414 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Case Study Otb

    • 718 Words
    • 3 Pages

    Q. Decision making is described in video as a series of steps. Do u agree with the six steps as outlined in the video? What additional procedures might be added to the process.…

    • 718 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Syntax and Semantics

    • 1074 Words
    • 5 Pages

    A program is readable if the underlying structure of the algorithm and data represented by the program is apparent from an inspection of the program text. A readable program is often said to be self documenting, it is understandable without any separate documentation. Readability is enhanced by such language features is natural statement formats, structural statements, liberal use of keywords and noise words, provision for embedded comments, unrestricted length…

    • 1074 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Computer programming is the process of designing, writing, testing, debugging, and maintaining the source code of computer programs. This source code is written in one or more programming languages. The purpose of programming is to create a set of instructions that computers use to perform specific operations or to exhibit desired behaviors. The process of writing source code often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.…

    • 3420 Words
    • 14 Pages
    Powerful Essays
  • Powerful Essays

    Computer Science

    • 865 Words
    • 4 Pages

    Introduction to the discipline of computing. Computer history and Evolution. Internal Information representation and operations. Professional ethics for computer programmers and users. Problem solving concepts, algorithms, pseudo-code, and Flow Charts. Control structures, functions, procedures, parameters, one-dimensional arrays. Programming laboratory provides hands-on using C++ language in problem solving .…

    • 865 Words
    • 4 Pages
    Powerful Essays
  • Better Essays

    1. Identifying the Problem: While it may seem like an obvious step, identifying the problem is not always as simple as it sounds. In some cases, people might mistakenly identify the wrong source of a problem, which will make attempts to solve it inefficient or even useless.…

    • 1658 Words
    • 7 Pages
    Better Essays
  • Powerful Essays

    Coursework Guidelines NEW 2014

    • 23309 Words
    • 125 Pages

    The selection of the problem for which a computerised system is to be designed and implemented is extremely important. It should be chosen by the learner in consultation with the teacher, and should always involve a client (this may be a teacher), who requires the solution to the problem, and a user(s), the person who is going to use the…

    • 23309 Words
    • 125 Pages
    Powerful Essays
  • Powerful Essays

    Computer programmers also update, repair, modify, and expand existing programs. Some, especially those working on large projects that involve many programmers, use computer-assisted software engineering (CASE) tools to automate much of the coding process. These tools enable a programmer to concentrate on writing the unique parts of a program. Programmers working on smaller projects often use “programmer environments,” applications that increase productivity by combining compiling, code walk-through, code generation, test data generation, and debugging functions. Programmers also use libraries of basic code that can be modified or customized for a specific application. This approach yields more reliable and consistent programs and increases programmers ' productivity by eliminating some routine steps. Computer programmers normally work in clean, comfortable offices or in laboratories in which computer equipment is located.…

    • 2605 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    Mis Sop

    • 860 Words
    • 4 Pages

    My first brush with practical execution occurred as early as in the 3rd semester, while making an autonomous robot with sensors programmed through the computer parallel port. However, it did not work as intended. After gaining considerable knowledge and experience, I built another robot, this time with an on-board processor. Programming it was, beyond doubt, a daunting task. I made numerous futile attempts before making a basic line follower. Developing my logical and analytical skills through courses in the next semesters, I was…

    • 860 Words
    • 4 Pages
    Satisfactory Essays