CS1713 Lecture Notes

clark

cs1713

lecture notes

programming assignments

exercises

set up

 Last Updated:  05/16/2018 (subject to change within 24 hours of lecture)

1

Introduction

CS1713 First Day (ppt)

 

CS 1713 Syllabus

Why Linux

Why C

Comparison of Java and C

Complete Program Example       cs1713p0_h.txt

LC Notes

2

Overview of C

 Overview of C part 1 (language, flow, data types) (updated 5/16/18)

 Overview of C part 2 (printf, scanf, fgets) (updated 5/16/18)

 Overview of C part 3 (functions) (updated 5/16/18)

 

Chapters 1-4

Chapter 11.1-11.4

LC,Chapter 5

3

I/O

Input and Output (printf, fopen, fprintf, fgets, fscanf, fclose) (updated 9/1/2016)

Command Line Argument Processing with Files (.txt)    CommandArg_h.txt

Additional example:

bbRecord_c.txt (code which reads the input file and shows the players, their shots, and free throw average)

bshooting_h.txt (inlcude file)

bshooting.txt (input file)

bshootingOut.txt (output)

 

LC, Chapter 11

4

Data Structures (arrays, string, structures, pointers

Data Structures Part 1 (arrays) (updated 5/16/18)

Data Structures Part 2 (strings) (updated 5/16/18)

Data Structures Part 3 (structures) (updated 5/16/18)

Data Structures Part 4 (pointers) (updated 9/25)

LinearSearchForStudent.docx (updated 9/25)

 

Chapter 6.1

Chapter 6.10, 6.11

Chapter 9.1-9.3

Chapter 6

5

Integrated Development Environments

Please refer to setup information on my web site

first_c.txt

first_h.txt

firstInput.txt

 

LC, Recitation

6

Exam #1

 

7

Sorting and Searching

Sorting and Searching

 

LC,Chapter 6.7

8

Pointers and Linked Lists

Linked Lists As Arrays

Linked Lists Using Pointers (updated 5/29/18)

Polynomials

 

LC

LC,Chapter 10.1-10.4

LC

9

Make Utility

UnixMakeUtility.pdf

 

10

Recursion

Recursion and Linked Lists

Binary Trees and Recursion

 

LC, Chapter 5.14,5.15

LC, Chapter 10.8

11

Exam #2

 

12

Storage Classification

storageClassification.docx

LC

13

Pointer Review

pointerReviewWO.docx

LC

14

Other topics may include (time permitting):

Binary I/O

Shell Scripts

Preprocessor

LC