Please enable JavaScript.
Coggle requires JavaScript to display documents.
MAT181 PROGRAMMING FOR SCIENTIFIC APPLICATIONS - Coggle Diagram
MAT181 PROGRAMMING FOR SCIENTIFIC APPLICATIONS
Chapter 1: Introduction to C++ Program
COMPUTER
Software
Hardware
PROGRAMMING LANGUAGES
Assembly
language
High level
language
Machine
language (0 // 1)
TYPES OF ERROR
Syntax
errors
Sematic / Logic error
Run-time error
Chapter 2: Simple Choices and Repetition
Precedence of Operators
Arithmetic operators
. Relational operators
Statement Blocks
While Loop
Syntax
Definition
used to repeatedly execute a particular statement or a compound statement
Chapter 3: Problem solving and program design
SDLC
Design
Developing algorithm
Designing output appearance
Implementation/Coding
Analysis
Testing and Verification
User-requirement specification
Documentation and Maintenance
Chapter 4: More control structures and operators
Switch
used to execute one of many choices or actions depending on the expression value.
:
do-while
The do-while loop is a post-test repetitive procedure provided by C++.
break statement
The break statement is used to exit the current control statement such
as in while, for, do-while or switch, and execute the next statement after the loop.
continue statement
Use the continue statement within loops to pass control to the end of the
innermost enclosing brace; and Execute the next expression in the loop.
for
Another facility provided by C++ to perform repetitive procedure.
for (initial_Value; loop_control_condition;increment/decrement_expression)
Go-to statement
Chapter 5: Output formatting
include<iomaniap>
Setw
Setiosflags
Setfill
Setprecision