Class | Date | Topic Discussed | Lab Exercises |
---|---|---|---|
Class 1 | Wednesday, January 17, 2018 | Introduction about the course, Introduction about programming and sample programs and their evolution. Simple Arithmetic Program evolution: old, better, better, new | Meet the lab guys andn get the software installed on your computer. Lab Room MEB237, 1/17 & 1/18 - 5:00 PM |
Class 2 | Friday, January 19, 2018 | Discussion about Computing Devices - Hardware, Software, & Networks Why languages and what is a compiler and an Interpreter Opened the visual studio project in the classroom computer and showed the first program. | Please meet with LAB guys at the earliest and install the software in your personal computers |
Class 3 | Monday, January 22, 2018 | Refreshed the last week's lecture points. Introducing library.h, documentation for library.h. Started with very first program. Drawing a Colorful Square | Lab Exercise 1: 22-Jan (Monday) - 26 (Friday), Lab 01 Question |
Class 4 | Wednesday, January 24, 2018 | Function: collection of statements; when executed, accomplishes something.
Function parameters and return values. Writing a simple function. Class Exercise Keywords, and how to give comment lines (single line comments and multi line comments) Overview of detailed documentation for library. | Continue working on Lab Exercise 1 |
Class 5 | Friday, January 26, 2018 | Discussed about recursion. Divide and Conquer strategy for solving problems.
Recursion: solving a problem by reducing it to smaller versions of itself - Divide and Conquer. Provides a powerful way to solve certain problems which would be complicated otherwise Recursive definition: defining a problem in terms of a smaller version of itself Base case: the case for which the solution is obtained directly Every recursive definition must have one (or more) base case(s). The base case stops the recursion. Program discussed in class - Example | If you have not started Lab 1 - please start now. If you have trouble installing Visual Studio on PC/Mac - you can use the lab computers in MEB237 |
Class 6 | Monday, January 29, 2018 | Revisiting Functions and Recursion with more examples | Problems with Library (unable to find) 1. Open VS Project 2. Remove existing library.h and library.obj by Right click on them and Remove / Delete. 3. Right Click on the Project > Open Folder in Windows Explorer 4. Copy the library.h and library.obj to this folder (on Windows Explorer) 5. Go to Visual Studio > Menu| Project | Add Existing Item > Add library.h and library.obj Lab Exercise 2: 29-Jan (Monday) - 2 Feb (Friday) Lab 2 Exercise |
Class 7 | Wednesday, January 31, 2018 | Data Types: Simple Data types - int long char etc., | Attendance to Lab sessions are monitored. Attend the Lab sessions. |
Class 8 | Friday, February 2, 2018 | Expressions and functions In class program | Lab Exercise: 3 Week - 5th Feb - 9th Feb. When you are working for the lab, make sure you save/create a backup copy of the program that works, before adding new sections to the program. |
Class 9 | Monday, February 5, 2018 | Another example for calculations In Class Exercise - Loan Calculator | |
Class 10 | Wednesday, February 7, 2018 | Enhancing the program on Feb 05, with adding user inputs and writing it all together. In Class Exercise - Loan Calculator To do : Trim the output just to display 2 digits after the decimal point. | |
Class 11 | Friday, February 9, 2018 | Recursion Practice problems In-Class Program | Lab Exercise 04 Week - 12th Feb to 16th Feb |
Class 12 | Monday, February 12, 2018 | Introduction to string In-Class Program | |
Class 13 | Wednesday, February 14, 2018 | Another Program to say numbers in plain English. | |
Class 14 | Friday, February 16, 2018 | Continuation of previous class lecture In Class Program | |
Class 15 | Monday, February 19, 2018 | Practice for Recursion - In Class program | Lab Exercise 05 Week - 19th Feb to 25th Feb |
Class 16 | Wednesday, February 21, 2018 | Introduction to Unix
| Unix Accounts |
Class 17 | Friday, February 23, 2018 | More practice for recursion and creating a function logic. In class program | |
Class 18 | Monday, February 26, 2018 | Exam Review Class - Sample Test 1 and another sample The actual exam might have similar questions as in the sample exam but not necessarily the exact same format Introduction to while loop. InClass Program | Lab Exercise 06 (Unix) Week - 26th Feb to 4th March |
Class 19 | Wednesday, February 28, 2018 | Mid Term Exam 1 | |
Class 20 | Friday, March 2, 2018 | Examples for while loop. In Class Program | |
Class 21 | Monday, March 5, 2018 | Review of Lab 06 Review of Mid Exam 1 - Post Exam break from a while loop, do-while loops | Lab 7 - Week 5th March - 25th March Submissions due on the week after spring break |
Class 22 | Wednesday, March 7, 2018 | Introduction to C++ For Loops. In Class Programs | |
Class 23 | Friday, March 9, 2018 | Solving a problem using recursion, while loop and for loop. In-class Example | |
Class 24 | Monday, March 19, 2018 | Class after spring break. Introduction to file input and output. | Lab 7 Submissions Extended by 1 week. Lab 8 Week 19th - 25th |
Class 25 | Wednesday, March 21, 2018 | Another exercise with files - Class Exercise | Data File grades.txt |
Class 26 | Friday, March 23, 2018 | A Telephone directory search program. Building it step by step. Step 1: Reading a file , Step 2: comparing the search string. Step 3: User inputs and formatting. In-class exercise. | Data File Persons.txt |
Class 27 | Monday, March 26, 2018 | Exam Review Class - Sample Questions In Class Programs - FileOutput , ForLoop , Multiplication Table Formatted Output , WhileLoop |
Lab 9 Week 26th - Apr 01st Data Files Download Link |
Class 28 | Wednesday, March 28, 2018 | Mid Term Exam 2 | |
Class 29 | Friday, March 30, 2018 | Opportunity to score bonus points Workshop and practice questions | |
Class 30 | Monday, April 2, 2018 | Sorting , Selection Sort, Reading elements from a file input Class Program | Lab 10 Week Apr 02nd - Apr 08th More practice problems for your own practice only. Please do not include the solutions in your lab submissions. Link |
Class 31 | Wednesday, April 4, 2018 | Introduction to Structures. In Class Program | Plagiarism Concerns for the Lab Assignments |
Class 32 | Friday, April 6, 2018 | In Class Program Bonus Program - Data File | |
Class 33 | Monday, April 9, 2018 | Netflix Data File Program to do a case insensitive search in a file. Link | Lab 11 Week Apr 09th - Apr 15th |
Class 34 | Wednesday, April 11, 2018 | In class problem. Refer to blackboard - Netflix Substring search | |
Class 35 | Friday, April 13, 2018 | Data File Link for in-class exercise Submissions on Blackboard Hints | |
Class 36 | Monday, April 16, 2018 | Friday's In class exercise - Formatting a dollar amount Program Introduction to 2D arrays InClass Program | Lab 12 Week Apr 16th - Apr 22nd If you want additional points for the lab, you can attempt to complete few more activities of this bonus exercise. This is a continuation of Lab 12 - Bonus Lab |
Class 37 | Wednesday, April 18, 2018 | Datafile In Class exercise for bonus points Submissions to blackboard | |
Class 38 | Friday, April 20, 2018 | In class Exercise Program to read the file into 2D int array | scores.txt File answers.txt File fullstats File Weekend Practice (concepts covered: Struct, files and arrays) As a weekend practice, take the file full_scores.txt, and perform the same operations -ie. Calculate Min, Max, Average, Range and Median Now this is a bit more complicated because, the first row is header and the first column is CNumbers of students - use struct to store the cnumber of student along with the above stats and their respective scores. So you can print for each student above stats and also you can print for each course. const int course_count = 15; const int stud_count = 100; struct student { string cnum; int scores[course_count]; int max_score; int min_score; double avg_score; int range; double median_score; }; You can do the same now for each course subject - create a struct and get all the stats. struct course { string course_code; int students[stud_count]; int max_score; int min_score; double avg_score; int range; double median_score; }; |
Class 39 | Monday, April 23, 2018 | Mid Term Review Class - Sample Questions The above file has only the sample questions for exam preparation only. The actual exam might not be in the same format. | |
Class 40 | Wednesday, April 25, 2018 | Mid Term Exam 3 | Answer to Question 9 Version 1 Answer to Question 9 Version 2- Version 2 Answer to Question 9 Version 3- Version 3 Answer to Question 10- Structs |
Class 41 | Friday, April 27, 2018 | Final Exam Review - Mid Exam Questions (1,2,3,5,6,7,8,9,10) - File The questions are for reference only. For best results in Final Exam, I recommend you to work on Sample questions uploaded prior to each Mid Terms. Logic to count scores for Final Grade | 9 Questions - Make up exam. Check your scores on blackboard for MidExam1 -Q1, Q2, Q3, MidExam2 - Q5, Q6, Q7, MidExam3- Q8, Q9, Q10. |
FINAL EXAM | Monday, May 7, 2018 | 8:00 AM - 10:30 AM - Mahoney Pearson Room 116 |