Search This Blog

Wednesday, August 24

The Error you wanna avoid in exams

Problem :
Okay,I was writing my OS pracs exam..
I wrote a for loop for accepting n numbers and store them in int array 'a'.
for(i=0;i<n;i++)
{
a[i]=Integer.parseInt(in.readLine());
}
It should get n inputs from user and store them in array indices from 0 to n-1..
Instead what happened is ...it stored the first value entered on index 0 and copied that value in all the indices of the array..
So for a input like : 42 57 98 100
the array stored :42 42 42 42

I was stuck. And got this error often since that day.

Similar problems happen ,though rarely, but these errors are so dangerous that you will not ever know why they occur and so you will not be able to correct it..

Solution:
Use System.out.println() in the for loop after each input.

for(i=0;i<n;i++)
{
a[i]=Integer.parseInt(in.readLine());
System.out.println();
}


Saturday, August 20

CN Practicals Check Sum

Here is Check Sum Method for the CN Pracs. Have Fun testing it. Do suggest any changes that you would like to have.
Download

Wednesday, August 17

Reference Books

Hey friends here is site for books. It is good. Most of them are working and few are not working. Just download it from the links. It is also good for students wanting to appear GATE.
Website for E-books

Tuesday, August 9

CN Pracs 1 - Dijkstra's Algorithm

There was some problem when Kushal tried to post the code of Dijkstra's Program. Now that putting code directly is a problem i have shared it online through some storing sites.

Here is the link for the program
Download

Access it and download the code.

Monday, August 8

Books to Refer

Here is a list of books to refer.
1. ADBMS (Taken by Amol D)
 - Database System Concepts by K. C. Korth.

2. Computer Network (Taken by Niakshi)
 - Data communictions and networking by B. A. Forouzan.

3. E.V.S (Taken by Navloor)
 - Its best to refer Techmax in this case.

4. Microprocessor(Taken by Archana Sonawane and SP)
 - M.P. Architecture and Application with 8085 by Ramesh Gaonkar (Just for 8085).
 - Microprocessor and Interfacing by Douglass Hall (Just for 8086).
 - 8086 M.P Programming & interfacing with Kenneth Ayala (For Lab Programs).

5. T.C.S. (Taken by Smita Bhosle)
 - Introduction to Automata Theory Languages and Computation by Hopcraft and Ullman.(Good for theorotical view).
 - Theory of Computation by Michael Sipser.(Good for concept based problems)
 - You can also take Technical but not Techmax.

6. W.E (Taken by Vaishali and Poonam Kadam)
 - Books as in such I don't know any till now but tehcmax and technical always has one on every subject. Its best to use internet itself.

If you wish to suggest any books on any topic comment on it Specify subject book name and author. I hope it becomes useful to you guys and gals.

Monday, August 1

Wanna say something

       Today's day was the first day of the college when all the students of SE3 sorry TE3 were present. It felt very nice seeing all the mates together. Was wonderful today.
       TCS was ok. OMG NILAKSHI's BACK. Navloor is a good person, but can't say anything about how he teaches. Please comment on the practicals that you had today. Would like to know how was it. Please comment.

get the timetable






Click on the image to if it is not clear.
This has the time table of our class. Have a look at it. By mistake I didn't highlight the last practicals. BUT it is a set back for a batch as our TCS practicals are taken by RADHKE.