Daily Archives: August 9, 2004

MINET 2004 (Two programmers’ nightmare)

“Well I think this will work”

{The program is executed [ALT]+[F9] and when prompted 825 is entered}

(0 1 2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)

“YES!! Now we need a for loop to do the same for all numbers from 2 till the number entered”

{For loop added and again [ALT]+[F9], 5 is entered}

(Division Error)

“What! How can we have a division error, lets check”

{For loop is made a comment, and again [ALT]+[F9] then 825 is entered}

(0 1 2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2636)

“What the hell is this?? From where did that number come from?? lets recheck”

{Execued again and 825 is entered}

(0 1 2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -16)

“That is impossible!! I think we should check where the program is going wrong”

{A cout< < command is added in the first loop, execued again and 825 is entered}
(0 1 2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)

“Finally! We again have the right output”

{Comment from for loop is removed, execued again and 5 is entered}

(Division Error)

“Oh no! not again, lets put more cout< < statements"

{cout< < is added in the nested loops, executed again, 5 is entered}
(3 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)

“How can a cout< < statement solve a division error??"

Key:-

” ” – Our thoughts

{ } – Narration

( ) – Computer output

Those who have sympathy with us please post your comment.

Those who want to try the questions can get it here.

We have tried our best to copy the question paper exactly (including spaces, font etc.) in case some error creeps in, we apologise.

PRATEEK RUNGTA and SOUVIK DAS GUPTA

Class X Computer Quiz

I think the best dates are:

Next Monday for the Prelims.

Next Wednesday for the Finals.

This week, the appointed team* will make announcements in all the sections of Class X and collect names (3 people in a team from each section) by Thursday.

The Appointed Team

The team will be headed by Gursartaj Singh Nijjar. Dhruv, Abhishek are next in command. All members of Class VIII and Class IX are required to help in organizing the Quiz if asked to do so by them. The team will be required to:

  1. Collect Names by Thursday
  2. Talk to Manisha Ma’am (Suri knows her) and get the AVH booked for Next Wednesday

We’ll take care of preparing the questions.

–Karan

GenEx 2004 Computer Fest at Army Public School

The events are:

  1. Senior Programming (XI, XII) – 1 team, 2 members
  2. Quiz (IX-XII) – 1 team, 2 members
  3. Web Designing (IX, X), – 1 team, 2 members
  4. Point Presentation (VI-VIII) – 1 team, 2 members

All events are on the spot.

Judging criteria for Web D

  • Design
  • Graphics
  • Content
  • Aesthetic Appeal
  • Features
  • Ease-of-use

The Dates:

Last date for submitting names: 18th August 2004

The competition takes place on: 27th August 2004

–Karan

Sessions@Exun : Advanced PHP by Mukul Sabharwal

Hello,

Once again. I invite you to another session of PHP. As usual everybody is welcome … but with a few prerequisites : simple programming knowledge + basic PHP syntax which we covered last time in the session.

Sessions@Exun Website has a slightly more refined version of the above text.

The tentative date is 13th August, this coming friday. We’ll work with time conflicts, but this day seems perfect. Let’s stick to it if we can.

The scheduled time is 1PM. We’d like to wrap up early, so we start early.

However, comment to tell us your problems.

Thanks,

Mukul

P.S. – string Advanced; Advanced = “Basic PHP … beyond syntax”;