CS29206 Systems Programming Laboratory Spring 2023, L-T-P: 0-0-3

Schedule

Instructor     Abhijit Das and Bivas Mitra
Timing     Slot N: Thursday 02:00pm – 05:00pm
Venue     BTech students: CSE Software Lab (Annex Building)
Dual-degree students: CSE PC Lab (Old Building)
Teaching Assistants     Ashutosh Varshney, Debasree Das, Harsh Borse, Kothapalli Dileep, Narayan Gupta, Rangoju Narasimha Venkata Sai Kumar, Sriyash Poddar.

Coverage

DateTopicLocal MaterialReferences
05-Jan-2023Introduction to the course

Common Unix commands

gcc: stages of compilation
Slides

Slides

Slides
Your past, present, and future

Sumitabha Das, Chapters 1–4, or Mark G. Sobell, Chapters 3 and 4

Brian Gough, Sections 11 and 12
12-Jan-2023More on gcc (libraries, options, preprocessor macros) Slides Brian Gough, Sections 1–4, 10.1
19-Jan-2023Programming Assignment 1 Statement Solution
02-Feb-2023Introduction to make

Introduction to gprof
Slides

Slides
Rehman and Paul, Sections 4.1–4.5

Fenlason and Stallman, Sections 1–5
05-Feb-2023Programming Assignment 2 Statement

Word list
Submit by 26-Feb-2023, 11:55pm (Hard Deadline)
09-Feb-2023Introduction to gdb

Introduction to valgrind
Slides

Slides
Rehman and Paul, Sections 5.1–5.7, Persson, Chapter 12

Valgrind home, Sections 4.1–4.3 of manual, Persson, Chapter 12
02-Mar-2023Programming Assignment 3 Statement

oops.zip
Solution to be posted later
02-Mar-2023Regular expressions and grep Slides Mark G. Sobell, Appendix~A, Sumitabha Das, Sections 10.1–10.4
09-Mar-2023Introduction to awk Slides Mark G. Sobell, Chapter 12, Sumitabha Das, Chapter 12
15-Mar-2023Lab Test 1 (Written) Questions with solutions
16-Mar-2023Introduction to bash Slides Mark G. Sobell, Chapter 8, Sumitabha Das, Chapter 13
23-Mar-2023Programming Assignment 4 Statement

mtree.txt
Solution: bintree.awk
30-Mar-2023Programming bash Slides Mark G. Sobell, Chapter 8, Sumitabha Das, Chapter 13
06-Apr-2023Programming Assignment 5 Statement Solution: fibrep.sh, loginfo.sh
13-Apr-2023Lab Test 2 (Written) Questions with solutions

Books and References

 CS29206 Systems Programming Laboratory Spring 2023, L-T-P: 0-0-3