C++ Numeric Types, Expressions, and Output

Overview of Chapter 3, Programming and Problem Solving with C++, 5th edition (2010)

C++ Data Types
C++ Data Types

* Types CHAR, SHORT, INT, and LONG are unsigned. An unsigned integer value is assumed to be only positive or zero.

Examples of Named Constant Declarations for Numberic Types:
const float PI = 3.14159;
const float E = 2.71828;
const float int = MAX_SCORE = 100;
const ...

Read more →
0

Software Development Life Cycle – Unified Process

The development of software includes a series of steps kwown as the Software Development Life Cycle. A modern method of of SDLC is known as the Unified Process. This post has been created to list the steps involved within the Unified Process.

  1. Business Modeling
  2. Requirements Discipline
  3. Design Discipline
  4. Implementation
  5. Testing Discipline
  6. Deployment Discipline

Unified Model

Reference:
Burd, S. (2006). Systems Architecture, 5th edition, Thomson Learning, Boston, Massachusetts.

Read more →
0

Understanding Unified Modeling Language (UML)

Understanding Unified Modeling Language (UML)

Overview

UML is the de-facto standard for modeling Object Oriented software.

UML allows software engineers to document models in a way that supports scalability. UML modeling raises the level of abstraction throughout the analysis and design process. UML modeling facilitates the creation of modular designs resulting in components and component libraries that expedite development.

The UML architecture is based on the Meta-Object Facility (MOF). The MOF defines the foundation for creating modeling languages used for object modeling (UML), and ...

Read more →
0

OOA Analysis & Design

Analyzing a Problem and Designing a Solution

Topics covered:
Analyze a problem using object-oriented analysis (OOA).
Design classes for creating objects for an application.

Case Study: Requirements of Fabrikam, Inc

The requirements of the new order entry system at Fabrikam, Inc, are as
follows:

  • Online order entry for customers.
  • Online availability of items with prices according to current catalog.
  • Verification of the availability of items for online orders.
  • Verification of the payment.
  • Submission of the order to the warehouse.
  • Confirmation of the order to the customers by ...
Read more →
0

Big O Notation

What is “Big O” Notation?

Big O notation: Indicates the worse-case run time for an algorithm–that is, how hard an algorithm may have to work to solve a problem.

Big O example:

Suppose an algorithm is designed to test whether the first element of an array is equal to the second. If the array has 10 elements, this algorithm requries one comparison. If the array has 15,000 elements, it still requires one comparison. In fact, the algorithm is completely independent of ...

Read more →
0

Java Salary Calculator

Mountain State University Java Assignment

3.20 (Salary Calculator)

Develop a Java application that determines the gross pay for each of three employees. The company pays straight time for the first 40 hours worked by each employee and time and a half for all hours worked in excess of 40. You are given a list of the employees, their number of hours worked last week and their hourly rates. Your program should input this information for each employee, then determine and display the ...

Read more →
0

Java – Pythagorean Triples

Java – Pythagorean Triples

Mountain State University Java Assisgnment

Java How to Program: Exercise 4.21 page 165

4.21 (Pythagorean Triples)
4.21 (Pythagorean Triples – Source Code)

/*
Pythagorean Triple
A right triangle can have sides whose lengths are all integers.
The set of three integer values for the lengths of the sides of a right triangle
is called a Pythagorean Triple. The lengths of three sides must satisfy the relationship that the sum of the
squares of two of the sides is equal to ...

Read more →
0
Page 2 of 4 1234