Laboratory Assignment # 1


 

[Lab Schedule] [Batches] [Lab Timings] [Lab Manuals]

 

Students should familiarize themselves with the computing environment. They should start feeling comfortable with keyboard and mouse. They should be able to:

 

      * login/logout, change password,

      * use an editor like kwrite, vi or any other text editor

      * create and manipulate directories

      * File handling : saving, copying, deleting, moving

 

 

Read following document to familiarize yourself with linux:

 

http://www.iitk.ac.in/esc101/linux.pdf




The assignment for today is very simple.

Task 1 - The first part of this week's assignment is meant to familiarize you with the VI editor. You need to write a 200 words 'About Me'. The write up has to be written in one go (no error correction). Once you are done with it, read it to find the mistakes and correct the errors committed. Here is a sample 'About Me'; you can write on similar lines or write something completely different.

I am a Senior Undergradute at IIT Kanpur, pursuing a B.Tech - M.Tech Dual Degree in Computer Science and Engineering. I hail from the city of Kanpur and have been in this city for the last 10 years or so. I did majority of my schooling from Seth Anandram Jaipuria School Kanpur though I have also studied in Hyderabad and Lucknow.
I am interested in programming - mostly logic programming for programming contests, but of late web scripting has also attracted me. I am also interested in quizzes though I have not been able to keep up to it after coming to college. Then I read occasionally but it is in fact occasionally only. So I find myself spending a major chunk of my time on the computer doing something or the other.
After coming to IITK I have spent my maximum time in the organisation of various festivals and activities of the clubs. I would call this as the sole surviving hobby as of now. I have been involved in the organisation of Antaragni, the cultural festival and Techkriti, the technical festival right from my first year. This year I am involved majorly in the organisation of Techkriti. Do not forget to visit the Techkriti site - http://www.techkriti.org/



Task 2 - The second part of the assignment involves writing a java program, compiling it, making the necessary error corrections and executing it to check if it runs correctly (sounds too much :>)). The program to be typed in can be copied from the attached pic. Having copied it from the pic, compile it to and see if some typing errors have been made. Finally, execute it and check if it works correctly.