CS 171 Unit 3 Control Structures

CS 171 Unit 3 Control Structures - CS 171 Unit 3 Control...

Info icon This preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 171 Unit 3 Control Structures Furman Haddix Assistant Professor Spring 2011 Minnesota State University, Mankato
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Reading Assignment Chapter 3
Image of page 2
Control structures objectives Become familiar with Algorithm Development Conditional Expressions Selection Statements Repetition Statements Structuring Loops
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Algorithm Development An algorithm is a sequence of steps for solving a problem. Engineering problem solutions to real world problems require complex algorithms. Development of a good algorithm increases the quality and maintainability of a solution, and reduces the overall time required to implement a correct solution.
Image of page 4
Application Life Cycle Specification What must be done Design Why it must be done Implementation How it must be done Operation How it is used Maintenance How it can be modified
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Application Life Cycle Specification Problem analysis what is the problem Requirements analysis what must the program accomplish Design Determining the components of the solution while allocating requirements satisfaction among them Implementation Coding Translating the design into a form that is ultimately executable by a machine or set of machines Testing and verification Demonstrating the correctness of the program Operation Using the program for its intended purpose Maintenance Modifying the program to correct or enhance its functionality
Image of page 6
Developing a C++ Program Stage Definition Generic Tools IDE Support Systems Analysis Determining the nature of a solution, including hardware and software components Document Editor, CAD Text Editor Comments Software Analysis & Design Selection and/or development of an algorithm, deciding how to implement the solution Document Editor, CAD Text Editor Comments Developing HLL Code Creating the code, including directives and inline comments Text Editor Text Editor Code Preprocessor Directives Determining which libraries will be used, what macros will be used Compiler Build/Compile Compiling HLL Converting HLL to Assembly (IMR) Compiler Build/Compile Assembling Conversion to Machine Language Assembler Build/Compile Linking Linking libraries and components Linker Build Loading Loading Program into Computer CPU Operating System Start Executing Running Program OS Start
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
System Life Cycle (Software Perspective) Domain Analysis Systems Engineering System requirements analysis Functional analysis/allocation System design conceptualization Project adoption and project scoping Software Analysis and Design Specification of software requirements Allocated requirements for software components Software architecture Detailed software design Implementation Unit development & testing Software integration & testing System integration & testing Deployment Installation at site Site testing and acceptance Training and user documentation delivery System utilization Maintenance
Image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern