CSE100 Principles of Programming with C+
Course Notes
Lecture 26 Fri 20 Mar
Lab Project 7 is due 1 days from now at 4:00am Sat 21 Mar.
MPL Chapters 6 (Part II) and 7 exercises are due 7 days from now at 4:00am Fri 27 Mar.
Lab Project 8 is due 8 days from
CSE100 Principles of Programming with C+
Lab 9 : 5 pts
1 Instructions
You may work in pairs (that is, as a group of two) with a partner on this lab project if you wish or you may work alone. If you work
with a partner, only submit one lab project with bot
CSE100 Principles of Programming with C+
Lab 11 : 5 pts
1 Instructions
You may work in pairs (that is, as a group of two) with a partner on this lab project if you wish or you may work alone. If you work
with a partner, only submit one lab project with bo
/*
/ FILE: Lab05.cpp
/
/ DESCRIPTION: Reads season statistics for basketball players from an input file, computes per-game
/ statistics, and writes the per-game statistics to an output file.
/
/ AUTHORS: your-name (your-email-address)
/ your-partner's-nam
CSE100 Principles of Programming with C+
Course Notes
Lecture 15 Mon 16 Feb
Pearson MPL Chapter 6 Part I exercises are due 4 days from now at 4:00am Fri 20 Feb.
Lab Project 4 is due 5 days from now at 4:00am Sat 21 Feb.
Overview [Chs 4]
1.
2.
3.
Relationa
CSE100 Principles of Programming with C+
Lab 1 : 5 pts
1 Instructions
You may work in pairs (that is, as a group of two) with a partner on this lab project if you wish or you may work alone. If you work
with a partner, only submit one lab project with bot
CSE100 Principles of Programming with C+
Course Notes
Lecture 35 Fri 10 Apr
Lab Project 10 is due 1 days from now at 4:00am Sat 11 Apr.
Pearson MPL Chapter 5 exercises are due 5 days from now at 4:00am Wed 15 Apr.
The third midterm exam is 5 days from now
CSE100 Principles of Programming with C+
Course Notes
Lecture 23 Fri 6 Mar
Lab Project 6 is due 1 day from now at 4:00am Sat 7 Mar.
MPL Chapters 6 (Part II) and 7 exercises are due 21 days from now at 4:00am Fri 27 Mar.
Overview
Midterm exam 2.
(c) Kevin
CSE100 Principles of Programming with C+
Lab 3 : 5 pts
1 Instructions
You may work in pairs (that is, as a group of two) with a partner on this lab project if you wish or you may work alone. If you work
with a partner, only submit one lab project with bot
CSE100 Principles of Programming with C+
Course Notes
Lecture 6 Mon 26 Jan
MPL Lab 2 Prelab exercises are due at 11:59am Tue 27 Jan.
Lab Project 1 is due in 5 days at 4:00am Sat 31 Jan.
Lab Project 2 is due in 12 days at 4:00am Sat 7 Feb.
MPL Chapter 1 ex
/*
/ FILE: Search.cpp
/
/ DESCRIPTION:
/ Illustrates how the Linear and Binary Search algorithms can be used to search an array for a particular value,
/ referred to as the key.
/
/ AUTHOR: Kevin Burger (burgerk@asu.edu)
/*
#include <iostream>
using names
CSE100 Principles of Programming with C+
Course Notes
Lecture 33 Mon 6 Apr
Lab Project 10 is due 5 days from now at 4:00am Sat 11 Apr.
Pearson MPL Chapter 5 exercises are due 7 days from now at 4:00am Mon 13 Apr.
The third midterm exam is 9 days from now
CSE100 Principles of Programming with C+
Lab 12 : 5 pts
1 Instructions
You may work in pairs (that is, as a group of two) with a partner on this lab project if you wish or you may work alone. If you work
with a partner, only submit one lab project with bo
CSE100 Principles of Programming with C+
Lab 8 : 5 pts
1 Instructions
You may work in pairs (that is, as a group of two) with a partner on this lab project if you wish or you may work alone. If you work
with a partner, only submit one lab project with bot
CSE100 Principles of Programming with C+
Course Notes
Lecture 2 Wed 14 Jan
Lab Project 1 is due in 17 days at 4:00am Sat 31 Jan.
MPL Chapter 1 exercises are due in 14 days at 4:00am Wed 28 Jan.
Overview [Ch 1]
1. Four major components of a computer system
CSE100 Principles of Programming with C+
Course Notes
Lecture 29 Fri 27 Mar
Lab Project 8 is due tomorrow at 4:00am Sat 28 Mar.
Lab Project 9 is due 8 days from now at 4:00am Sat 4 Apr.
The withdrawal deadline is Sun 5 Apr.
The third midterm exam is Wed 8
CSE100 Principles of Programming with C+
Course Notes
Lecture 43 Wed 29 Apr
Lab Project 13 is due 3 days from now at 4:00am Sat 2 May.
Pearson MPL Chapter 8 exercises are due 5 days from now at 4:00am Mon 4 May.
The final exam is Mon 4 May 9:50-11:40 in M
/*
/ FILE: PrintMult.cpp
/
/ DESCRIPTION
/ Prints an n x n multiplication table to the output window.
/
/ This program illustrates nested loops and formatting with setw().
/
/ AUTHOR
/ Kevin R. Burger (burgerk@asu.edu)
/ School of Computing, Informatics,
CSE100 Principles of Programming with C+
Course Notes
Lecture 39 Mon 20 Apr
Lab Project 12 is due 5 days from now at 4:00am Sat 25 Apr.
Lab Project 13 is due 12 days from now at 4:00am Sat 2 May.
Overview [Ch 8]
1. Rationale for arrays: read a list of int
/*
/ FILE: Lab02.cpp
/
/ DESCRIPTION: Reads three exam scores for three students, calculates and displays the average
/ exam score and the standard deviation of the exam scores.
/
/ AUTHORS: your-name (your-email-addr)
/ your-partners-name (your-partners-
CSE100 Principles of Programming with C+
Course Notes
Lecture 42 Mon 27 Apr
Lab Project 13 is due 5 days from now at 4:00am Sat 2 May.
Pearson MPL Chapter 8 exercises are due 7 days from now at 4:00am Mon 4 May.
The final exam is Mon 4 May 9:50-11:40 in M
CSE100 Principles of Programming with C+
Lab 13 : 5 pts
1 Instructions
You may work in pairs (that is, as a group of two) with a partner on this lab project if you wish or you may work alone. If you work
with a partner, only submit one lab project with bo
CSE100 Principles of Programming with C+
Course Notes
Lecture 38 Fri 17 Apr
Lab Project 11 is due 1 days from now at 4:00am Sat 18 Apr.
Lab Project 12 is due 8 days from now at 4:00am Sat 25 Apr.
Overview [Ch 5]
1. Nested loops [Ch 5.10].
1.1 An entire lo
/*
/ FILE: Stars.cpp
/
/ DESCRIPTION
/ Prints patterns of stars.
/
/ This program illustrates nested loops.
/
/ AUTHOR
/ Kevin R. Burger (burgerk@asu.edu)
/ School of Computing, Informatics, and Decision Systems Engineering
/ Arizona State University
/ Te
/*
/ FILE: Reverse.cpp
/
/ DESCRIPTION
/ Reads a list of no more than 1000 integers from "numbers.txt" and writes the list to "reverse.txt" in
/ reverse order.
/
/ This program illustrates arrays and using for loops to process array elements.
/
/ AUTHOR
/
CSE100 Principles of Programming with C+
Course Notes
Lecture 28 Wed 25 Mar
MPL Chapters 6 (Part II) and 7 exercises are due 2 days from now at 4:00am Fri 27 Mar.
Lab Project 8 is due 3 days from now at 4:00am Sat 28 Mar.
Lab Project 9 is due 10 days from
CSE100 Principles of Programming with C+
Course Notes
Lecture 11 Fri 6 Feb
Lab Project 2 is due 1 days from now at 4:00am Sat 7 Feb.
Midterm Exam 1 is Mon 9 Feb.
MPL Chapter 2 & 3 exercises are due in 3 days at 4:00am Mon 9 Feb.
Overview [Ch 6]
1.
Example
CSE100 Principles of Programming with C+
Course Notes
Lecture 19 Wed 25 Feb
Pearson MPL Chapter 4 exercises are due 2 days from now at 4:00am Fri 27 Feb.
Lab Project 5 is due 3 days from now at 4:00am Sat 28 Feb.
Overview [Ch 7]
1.
Classes
1.1 Object defi
CSE100 Principles of Programming with C+
Lab 5 : 5 pts
1 Instructions
You may work in pairs (that is, as a group of two) with a partner on this lab project if you wish or you may work alone. If you work
with a partner, only submit one lab project with bot