Arizona State University at the Polytechnic Campus
Intro to Programming with C++
CSE 100

Fall 2016
Chapter 4
Continuous Random Variables
and Probability Distributions
Learning Objectives
Determine probabilities from probability density
functions
Determine probabilities from cumulative
distribution functions
Calculate means and variances
Standardize
Arizona State University at the Polytechnic Campus
Intro to Programming with C++
CSE 100

Fall 2016
The Binomial Theorem
Introduction
You
should be familiar with the following
formula:
The binomial theorem explains how to get a
corresponding expansion when the exponent is
an arbitrary natural number.
Deriving the Binomial Theorem
Let us ponder the expr
Arizona State University at the Polytechnic Campus
Intro to Programming with C++
CSE 100

Fall 2016
Counting and the Pigeonhole
Principle
Combinatorics and Counting
Combinatorics is the mathematical discipline that
studies arrangements of objects. Determining
numbers of arrangements is called counting.
The two foundational principles of counting are the
Arizona State University at the Polytechnic Campus
Intro to Programming with C++
CSE 100

Fall 2016
Activity Exceptions
1) Review the material about exceptions
2) Download the Activtity2Exceptions project from https:/github.com/CGCCCS/205activity2.git
 You can either download the .zip or clone the repo.
 Do not post your solution publicly on GitHub.
Arizona State University at the Polytechnic Campus
Intro to Programming with C++
CSE 100

Fall 2016
CSC205AA Object Oriented Programming and Data Structures
Course Information & Syllabus
Course # 29225
Fall 2016
CGCC Pecos Campus
Instructor: Wade Huber
W 7:00PM9:40PM
CHO Hall 104
Email: wadehuber+205@gmail.com
Course Description: Covers ObjectOriented
Arizona State University at the Polytechnic Campus
Intro to Programming with C++
CSE 100

Fall 2016
Programming Project  Comparable Interface
1) Review the material about the Comparable interface
2) Complete the following programming assignment:
a) Create a date class that implements the Comparable interface and contains data
members for the month, day
Arizona State University at the Polytechnic Campus
Intro to Programming with C++
CSE 100

Fall 2016
Inheritance & Exception Questions
CSC 205
What is the difference between the three visibility modifiers?
Public data and methods are accessible to any other class. The methods can be called and the
data member changed without any control by the object its
Arizona State University at the Polytechnic Campus
Intro to Programming with C++
CSE 100

Fall 2016
Activity Java & Eclipse
1)
2)
3)
4)
5)
Log in to Canvas
Install Java and Eclipse if you are using your own machine.
Review Chapters 14 & 7 in the book and read Chapter 5 on writing classes
Create an Eclipse project called Activity1
Complete the following
Arizona State University at the Polytechnic Campus
Intro to Programming with C++
CSE 100

Fall 2016
Prime Numbers, GCD, Euclidean
Algorithm and LCM
Definition and Examples
A prime number is a positive integer that has exactly two
positive divisors. Equivalently, it is an integer greater than 1
that has only 1 and itself as positive divisors. (The number