Apps  Contact  Seminars 

Posts tagged ‘gwu’


June 25th, 2012

Answers for Design and Analysis of Algorithms Midterm

by Amrinder

6212_MidTerm_Answers

Tags: ,


May 2nd, 2012

UNIX System Administration – Study Guide (Another Semester Draws to a Close)

by Amrinder

So as another semester draws to a close, the questions about a “study guide” “mock finals” and such arise again. This guide is a brief outline in that regard for CSCI 4418 (UNIX System Administration) – the undergraduate + graduate computer class that I taught at GWU during Spring 2012. This is not an exhaustive guide, and there are almost always some questions in the final which are not touched upon here – the lectures and the class discussions are a superset of this document. Students should feel free to discuss these topics and questions amongst yourselves, but I do not provide answers to these. And the answers change every year anyway.

Topics

Scripting and Shell, Access Control, Process management, File system, User management, Software management, Setting up Cron, Backup – Dump and Restore, Drivers, Devices and Kernel, Networking, Routing and DNS, Web Applications, Performance Monitoring

Broad Questions

There is really only one basic question that I want to ask at the end of my class, and that question is the same, at the end of every class, and the end of every semester (or a weekend, if I happen to be teaching a weekend seminar class). That question is: How has this class changed your outlook on the subject matter covered, and what are some of the things that you may do differently now, with the benefit of this class.

Since that question has the abstractness of Eliot’s poetry in it, sometimes I use other questions in it’s stead. These are some examples of questions that are intentionally vague. Focus is on checking how broad you think. Real life problems are usually this vague. In each of these, the setting is that you are the system administrator for the IT system (the set of servers, etc,) for that organization.

  1. A user complains that another user has been able to read his private files. What measures would you take to prevent this from happening again.
  2. Your applications team wants to build and deploy a web application that will allow the employees to see how much vacation time they have left. What are some of the security considerations you will check/ensure/discuss with them.
  3. Some of the servers seem to slow down suddenly at different times. What debugging would you perform to check the server performance, see who & what is causing the slowness, and then to possibly improve it?
  4. You have many users who are business analysts, and they have secretly confided in you that their definition of computer usage involves Facebook more than it involves UNIX/Linux. When they log into a UNIX server that you manage, they go through a list of items: set system color settings so they can read the system outputs, connect to an Oracle database, run some reports, download those reports, etc. They would like to not have to do all these repetitive work. The reports that they run can change from day to day, but the rest of it is pretty much the same. How can you help them get through the repetitive work?
  5. Your users occasionally delete some files and ask you to “restore” them. How can you create a scheme or a framework for preparing for these kinds of requests? You may not be able to prevent data loss completely, but your goal is to create a framework for “reasonable” backups. For example, if the total size for files for all users is 20 TB, approximately how much space are you allocating for backups?
  6. Your users would like to share some files. What options will you consider?
  7. Your application team is using a database which has many reads and writes. They have heard that RAIDing is a “good idea”. What are some of the RAID choices that you may consider, and what are their advantages and disadvantages?
  8. When might you need to write a device driver?

Scripting Questions (1 Example)

Write a script that counts all unique words that appear in any of *.txt files that exist anywhere inside the folder /home/courses/cs4418. For example, suppose these are the two files:
/home/courses/cs4418/a/b/c/d/e/f/abc.txt: {Justin Bieber is a great singer.}
/home/courses/cs4418/de/f/xyz.txt: {Lady Gaga is a superb singer.}
Then, your script should print the answer that there are a total of 9 unique words in 2 files.

Objective Questions

Objective questions for this question typically test the student’s knowledge of specific commands, and specific concepts. For example:

  • How many times would a given cron job run between two given dates.
  • ______ command does x.
  • Command y does ____.
  • What is kernel space?
  • What are two broad kernel architectures?
Tags: , , ,


January 28th, 2012

Teaching Unix System Administration at GWU

by Amrinder

During the spring 2012, I am teaching Unix system administration at GWU, which is a mix undergraduate and graduate class. Most of the students are graduate students, and they bring a lot of interesting perspectives to this class. When we finish this class in May, there is a small likelihood that the following scenario plays out somewhere:


View this toon at Toondoo



November 4th, 2011

Grading on a curve, “Yahan ka system, hi hai kharab” and Sir Ken Robinson

by Amrinder

A generation ago, I was a student at IIT Delhi. But, I wasn’t a brilliant student. Had a fundamental disconnect with the grading process there – 12.5% of students (roughly, rounding etc) had to be given A, A-, B, B-, C, C-, D and F grades. (All grades other than F are considered passing grades). While there were some professors who deviated from that significantly (and certainly didn’t hand out F grades), that still was the suggested grading policy. That bothered me significantly. Should I hope for my friends to mess up royally, so that I can get a better grade? Should I help someone else study, and in the process, screw my own grade? Should I lend you the book so you can push me to a different color of the pie chart? Even more innocuously, should I really study hard, and in the process push you down one bit? (Really, what kind of friend am I?)

Call it the Buridan’s ass, the obstinacy of the teenage years, or give it a fancier name, but when the system bothers you, you write and sing songs like purani jeans aur guitar and repeat “yahan ka system, hi hai kharab”. Ali Haider - Purani Jeans Aur Guitar

And now, how the times have changed. Some of my students at GWU ask me, “Would you be grading on a curve?” There is optimism in their voice. The answer they are looking for is “YES!”. “Most definitely!!” “¡Cómo no!” I kind of understand that. The students who are hoping that I grade on a curve, are suggesting that their score may be lower than my “flat passing line”, so if I grade on a curve, they stand to benefit. But alas, I deny them that very easy pleasure. I remind my students that I am going to grade everyone individually, and that I am not bound to give 20% As, 40% Bs and 20% Cs etc. All of them may finish with an A. Or, all of them may finish with a B. One student’s grade is independent of how well the entire class does. The simple reason I do this is to promote goodwill among the students, and to encourage collaboration (wherever appropriate).

In the collaborative aspect, I am in extremely distinguished company. In this awesome video, Sir Ken Robinson, international adviser on education in the arts talks about how the current education system stifles creativity, rather than encouraging it.

Tags: , ,


July 10th, 2011

CS 6212 (Summer 2011) – Final Grade Distribution

by Amrinder

Here is the final grade distribution for my CS 6212 (Design and Analysis of Algorithms) class at GWU.

 

 

Tags: ,


Switch to our mobile site