CSC1321 Programming Language in C++



Date Topics Assignments Notes
8-21 Introduction and class administratives. Familiar with the course resources, rules, grading, etc. - Syllabus posted on Canvas
- 2022 Microsoft Visual Studio Community Version Download
- How to use MS Visual Studio 2022 by Microsoft
- How to use MS Visual Studio 2019
- How to use Xcode to run C++ programs on Mac computers (Youtube video)
- How to use Xcode to run C++ programs on Mac computers by instructor.
- Course Share Drive
8-23 Familiarize Microsoft Visual Studio In-Class Exercise 1 Due on 8/30 (Wednesday) 11:59pm on Canvas.
8-30 Chapter 2 1. Read Chapter 2 (2.1 and 2.2)
2. Programming Assignment: P1 (Printing). Due: 9-6 (Wednesday) 11:59pm on Canvas
9-6 Chapter 3 Programming Assignment: P2 (Output). Due: 9-13 (Wednesday). Test review questions
String Example 1
String Example 2
9-13 Chapter 4 (Input and Output) Programming Assignment: P3 (GPA Calculator). Due: 9-20 (Wednesday). Test review questions
Example
9-25 (Monday) Test 1 (Chapters 2, 3, and 4)
9-27 Chapter 5 Programming Assignment: P4 (Conditional Statements). Due: 10/4 (Wednesday). Chapter 5 Review Questions
Boolean Algebra Properties
10-9 Chapter 6 Looping Programming Assignment: P5 (Loop) Due: 10-18 (Wednesday). Chapter 6 Review Questions
10-9 Chapter 7 Additional Control Structures:
for, do-while loop, and switch
In-Class Exercise 2: Counting Symbols Due: 10-23 (Submit to Canvas)
Chapter 7 Review Questions
10-18 Looping Applications Programming Assignment: P6: Data Processing Due: 10-25 . Sample: Inventory Data Processing
10-25 Looping Applications Bonus Programming Assignment: Color Gradients and Golden Ratio Due: 11/1 (Wednesday). Color gradient by hand
Sample program for generating color gradient
11-8 (Wednesday) Test 2 (Ch5, 6, and 7) Paper test in classroom
11-1 Chapter 8 Functions Programming Assignment P7: Functions Due: 11/15 (Wednesday). Types of Variables in C++
Chapter 8 Review Questions
Sample code
11-6 Chapter 9 Scope, Life Time, and More Functions Review Questons for Chapter 9
Sample code for static variables
Sample code for variable scopes
4-10 Chapter 11 Arrays P8: Array Processing Due: 4-17 (Monday) Array example code
Review Questons for Chapter 11
12-4 (Monday) Test 3 (Chapters 8 and 9) Last day of class. Paper test in classroom.
12-8 (Friay) Final Exam Format: Programming on computer. In classroom on Dec 8 (Friday) at 10:30am
11-2 Simulation of Random Process Bonus Programming Assignment Random Process. Due: 11/14 (Monday)
11-16 Chapter 11 Arrays P9: Cipher and Connect Four Due: 12-2 (Wednesday)
12-8 (Tue) Final Exam Format: Programming on computer. In virutal classroom at 1:00pm
5-1 (Friday) Test 3 (Ch8, 9, and 11)
5-12(Tuesday) Final Exam - Programming on Computer Work-at-Home Exam Practice problems
11-6 Random Number Generation Function Assignment: Write Javascript programs to find out the average number of rolls (1) to get two identical numbers from two dice; (2) to get the sum of two dice being 8. You need to conduct at least 500 experiments for each case and then average the results. Due: 11/11. Sample Program .
11-8 Bonus Programming Assignment Assignment: Write Javascript programs to create a table of 20 rows by 30 columns with random integers between 0 and 100. Due: 13/11. Sample Program .
11-22(Friday) Paper Exam It covers all topics before the last exam and functions, scopes of variables, static variables and arrays (both 1D and 2D).
4-10 Microsoft Windows Programming P8: GPA Calculator Due: 4-14 Win Programming Tutorial
4-15 Microsoft Windows Programming P9: DFW Airport Parking Fee Calculator Due: 4-22
4-22 Scope, Life Time, and More Functions Review Questons for Chapter 9
4-24 Arrays P10: Array Processing Due: 5-1 Array example code
Review Questons for Chapter 11
5-14 (Tuesday at 1pm, the last day of class) Final Exam Final Exam Information
11-16 Test 3 (Ch8, 9, and 11) Close book/notes
11-26 More Arrays P11: More Array Due: 11-30
4-18 EXTRA POINT Windows Programming Extra point Windows Programming Assignment: Simulation of PI Due: 5-2
4-22 Final Review Final Exam Review
6-16 Test 1 (Ch2, 3, and 4)
6-17 Chapter 6 Looping Programming Assignment: P5 (Loop) Due: 6-23. Chapter 6 Review Questions
6-17 Chapter 7 Additional Control Structures In Class Lab Assignment: Counting Symbols
Chapter 7 Test Review Questions
6-24 Test 2 (Ch5, 6, and 7)
6-22 Chapter 8 Functions P6: Programming Assignment for Ch8 Due: 6-28. Chapter 8 Review Questions
6-23 Looping Applications Programming Assignment: P7: Data Processing Due: 6/30.
7-1 Final Review Final Exam Review
7-2 Final Exam
March 17 Chapter 6 Looping Programming Assignment: P5 (Loop) Due: 3-26. Chapter 6 Review Questions
4-9 Looping Programming Assignment: P6: Data Processing Due: 4/20.
4-9 Chapter 7 Additional Control Structures Lab Assignment: Counting Symbols
Chapter 7 Test Review Questions
4-23 Chapter 8 Functions Programming Assignment for Ch8 Due: 5-1 (Friday). Chapter 8 Review Questions
5-1 Final Review Final Exam Review
6-18 Looping Programming Assignment: Data Processing Due: June 24.
6-18 Chapter 7 Additional Control Structures Lab Assignment (p155): Prelab, Lesson 7-1, Lesson 7-2: Ex 3 Due: June 24
Chapter 7 Test Review Questions
6-23 Chapter 8 Functions Programming Assignment for Ch8 Due: 6-27 (Friday midnight). Chapter 8 Review Questions
6-25 Looping and Random Number Generation Programming Assignment: Approximation of PI Due: 6-30.
Sample plot of darts
Sample random generator C++ program
6-25 Simulation of Random Process In class exercises. Due: 6-30
6-26 Microsoft Windows Programming Programming Assignment I: GPA Calculator Due: 7-1 Win Programming Tutorial
6-26 Microsoft Windows Programming Programming Assignment II: DFW Airport Parking Fee Calculator (Bonus) Due: 7-1
6-26 Final Review Final Exam Review
May 13 (Tuesday) Final Exam: 10:30am on May 13 (Tuesday) in STC-111
4-28 Microsoft Windows Programming Programming Assignment II: DFW Airport Parking Fee Calculator Due: 4-15 Win Programming Tutorial
11-26 Final Review Final Exam Review
10-12 Quiz for Chapters 4 and 5 Work on the review questions posted
10-10 Chapter 6 Looping Lab Assignment (p133): Prelab, Lesson 6-1, Lesson 6-2: Ex 1 through 4, Lesson 6-3, Lesson 6-4: Ex 1. Due: 10-22.
In-Class Exercise
Lab 6 Tips
Chapter 6 Quiz Review Questions
3-18 Looping Programming Assignment: Data Processing Due: March-25.
6-25 Chapter 7 Additional Control Structures Lab Assignment (p155): Prelab, Lesson 7-1, Lesson 7-2, Lesson 7-3: Ex 1 through 5. Due: 7-1
Test for Ch6 and Ch7 on 4-8.>

Chapter 7 Test Review Questions
4-5 Microsoft Windows Programming Programming Assignment I: GPA Calculator Due: 4-12 Win Programming Tutorial
4-12 Microsoft Windows Programming Programming Assignment II: DFW Airport Parking Fee Calculator Due: 4-15 Win Programming Tutorial
7-1 Chapter 8 Functions Lab Assignment (p183): Prelab, Lesson 8-1, Lesson 8-2, Lesson 8-3: Ex 1 and 3, Lesson 8-4: Ex 1. Due: 7-3. Lab 8 Tips
Chapter 8 Review Questions
4-22 Looping and Random Number Generation Extra Credit Programming Assignment: Approximation of PI Due: 4-29.
Sample plot of darts
Sample random generator C++ program
7-1 Final Review Final Exam Review
11-14 Chapter 8 Functions Lab Assignment (p183): Prelab, Lesson 8-1, Lesson 8-2, Lesson 8-3: Ex 1 and 3, Lesson 8-4: Ex 1. Due: 11-28. Homework. Due: 12-3 Lab 8 Tips
May 7 (Tuesday) Final Exam: 10:30pm on May 7 (Tuesday) in STC-111 Final Exam Review