MAT 375, Fall 2004

Assignments as of 11/30

 

Readings and Problems

 

OS Concepts – Chapter 1, Read sections 1.1 to 1.7

Exercises: pp. 24 –25 1, 3, 5, 6, 9, 10, and 11

 

OS Concepts– Chapter 2, Read sections 2.1 to 2.7

Exercises pp. 52 – 54 1, 2, 4, 5, 7, 8, 9 and 11

 

Linux The Text – Chapter 3, Read entire chapter, pay particular attention to commands and topics discussed in class.

Problems pp. 38 – 39 1, 2, 3, 4, 5, 6, 7, 11, 13, 14, 15, and 16

 

Linux The Text – Chapter 7, Read 7.4 and 7.5.1 – 7.5.4

 

OS Concepts – Chapter 3, Read Sections 3.1 to 3.6

Exercises pp. 90 –91 1, 2, 3, 4, 5, 6, 7, 8, 12

 

The following chapters are included in Exam II.

 

OS Concepts – Chapter 4, Read 4.1 to 4.5.4

Exercises p. 127 1, 2, and 4

 

Linux The Text – Chapter 13 (focus on material discussed in class)

Problems pp. 398-399, 1, 2, 4, 6, 8, 9, 10, 11, 14

 

            OS Concepts – Chapter 5, Read 5.1-5.4, 5.7

            Exercises pp. 147 –148, 1, 2, 3, 4, 5, 6

 

            OS Concepts – Chapter 7, Read 7.1 – 7.5

            Exercises pp. 236-237, 1, 2, 6, 7, 8, 10 (monitors and semaphores only)

 

            OS Concepts – Chapter 6, Read 6.1 – 6.6

            Exercises pp. 185-186, 1, 2, 3, 4, 6, 9

 

The Final Exam (Dec. 23) will contain material from following chapters and web sites.

 

OS Concepts – Chapter 9, Read 9.1 – 9.6

            Exercises pp. 313-315, 2, 3, 5, 7, 8, 10, 12, 16,17

 

OS Concepts – Chapter 10, Read 10.1 – 10.6, 10.8

            Exercises pp. 364-369, 1, 3, 4, 5, 7, 8, 11, 17, 20

           


 

            OS Concepts – Chapter 11, Read 11.1 – 11.6  (Review slides for Chapter 11)

            Linux The Text – Review sections 7.1 – 7.4, 7.5.6, 7.6 – 7.8

            Problems pp. 195-196, 1,2,3,4,7,8,9,10

 

            OS Concepts Chapter 12, 12.1 – 12. 5

            Linux The Text – Read section 11.6

            Problems p. 324, 10, 11, 12

           

            OS Concepts Chapter 18, Read sections 18.1, 18.2 (skip 18.2.3), 18.3

 

            OS Concepts Chapter 19, 19.1 – 19.6

 

            Linux The Text

                        Chapter 8, File System Security

                        Section 11.6, Sharing files using links

                       

            Web Sites (On course Home Page)

            Linux File Systems:  “Journaling File Systems,” Read pages 1-4

Linux Administration: “The Linux System Administrators Guide,”

 Sections 6.7, 6.8

OS Security: “Linux Security How To” See sections 2.1-2.5, 5.3, 6 (Password security only).

 

 

Linux Skills

 

Commands

 

File system: cd, pwd, cp, mv, touch, mkdir, rmdir, rm, ls, cat, df

              Du, chmod, chown, grep, ln

 

Process management: exit, ps (with aux option) ,  ps (with –e –l –m options), kill

 

System: uname, hostname, whoami, who, ping

              vmstat, free, top, last

 

Miscellaneous: set, echo, man

 

 

Editors

 

pico  when using ssh

vim  when using ssh

gvim  in 4300

 

Utilities

 

GNOME System Monitor

g++ :GNU C++ Compiler

 

 

Programs

 

First Programs and Compilation: hello.c, rw.c and the scripts comp1 and comp1a

            Passing arguments from a command line: arg.c

            Managing processes: infloop.c

            The fork system call: fork.c, fork1.c

            Signal handling: signal.c

            Shell project: jjshell_template.cpp, jjshell

            Producer Consumer Problem (one producer/once consumer thread): prodcons1.c

            Producer Consumer Problem (multiple threads): prodcons3.c

            Dining Philosophers Problem (semaphore solution): diningp

            Dining Philosophers Template for Project: diningpsk.cpp