Wednesday, January 13, 2010

CODIES 1.3

###### TREAT QUESTION ######

There is a concept of some magic numbers like we have numbers from 1 to some big number and we follow some iterations on the initial sequence of numbers: 1 2 3 4 5 6 7 8......

1) In first iteration we delete the numbers leaving one gap that is we delete numbers 2 4 6 8….. Therefore now the remaining numbers are 1 3 5 7 9 11 13 15 17 19................
2) In second iteration we delete numbers leaving two gaps, hence after it left no.s are 1 3 7 9 13 15 19 21……
3) Then we delete no.s leaving 3 gaps and hence left nos. are 1 3 7 13 15 19 25…….

The numbers which are never deleted are termed as magic number.
Write a function, given a number, that whether a number is a magic no. or not.


###### TREAT QUESTION ######

Thursday, December 31, 2009

CODIES 1.2

First of all congrates to Guru and Prabhat for their perfect explanation to CODIES 1.1. You will get your treat (I am sorry for such a delay ) along with the winner of CODIES 1.3, the next post. I am sure you gonna love the next question, it's a good one. Right now here i am up with one another question - CODIES 1.2:-

int main()
{
printf("%s", "technoprax");
return 0;
}


Que : Output "prax" from the above code snippet. You are allowed only to add/replace 2 characters in the code.

ACM Quest - 2009 : A Report

ACM Quest 2009 – Autumn Fest

Quest 09 was organised by ACM along with two big events Autofest and Entrumeet combined together as Autumnfest 09 which was held from 31st September to 2nd October 2009. ACM QUESTwas first conducted in 2008 with the sole motive of encouraging people to come together and take part in computing events. Quest 2008 constituted of interesting events like kriegspell , code2win, neocoders , e-trivia , online treasure hunt , lan chatting software n many other events which cover all the arenas and aspects of computation . Since Quest was held with two big events like Entrumeet and Autofest this year, the TEAM QUEST decided to come up with 3 major events that cater and attract people not only the experts but also those who are a novice to the computing field .

ACM Quest 2009 received a great participation. Not only did the undergraduates, but also the Post graduate students took keen interest in the events. The participation was overwhelming, more than our expectations. At places it was difficult to arrange space participants to sit. The zeal and vigour of participants was at its full display when participants agreed to sit on stairs and write the MCQ.


BYTECODE:-

ByteCode was the most popular computer event. It is basically a written quiz which tests the overall programming knowledge of the participants. It received participation of more than 100 odd students in teams of 2. The questions mainly focussed on logic and knowledge of C.

Winners:-

1. Amil George & Dhruv Bharadwaj – III yr : INR 4000
2. Toshi Singhal & Jay Shah – II yr : INR 2500
3. Riddhi Ranjan & Anshika Mehendiratta – III yr : INR 1500

Best Performing team from I year
Arth Patel and Aditya Prajapati : INR 1000

Code Athlon :-

This is an online coding event which tests the programming skills of all those people who are good and have knowledge of programming languages like c,c++ , java etc. The problems were very challenging and were graded in two categories. Problem statement can be found at www.svnit.edu.in/acm .

This event attracted 25 odd teams with 2 persons per team.

Winners:-

1st Prize : Abhishek Patel and Amil George : INR 4000
2nd Prize : Binod Tulsiyan and Praveen Angadi
2nd Prize : Kalpesh Rajni and Ishant Gupta : INR 3000 (shared)
3rd Prize : Khushraj Madanani and Shamik Arora : INR 1000

1st yr Winner :Meet Vora : INR 1000

Artificial Intelligence Workshop and Chatbot Challenge

A chatbot is a conversational agent , a computer program to simulate an intelligent conversation with one or more users via auditory or textual methods. This event includes creation of such on site chatbots.

This event attracted a crowd of 40 people who used their innovative ideas and designed intelligent bots .

Winners:-

First Prize: Antim Suman : INR 4000
Second Prize:Chaitra Jagannath: INR 2500
Third Prize: Gaurav Mandal and Keyur Pandya :INR 1500

This year a special prize was given to the best performer of 1st year in each event in order to encourage and improvise the programming skills of the fresh batch. Moreover, this year events of Quest recorded maximum participation of 1stand 2nd yearites. Though the number of events conducted were lesser than the previous version , the participation for each event was fantabulous as mentioned above . The special event on Artificial Intelligence was held to give participants a basic idea of how computers are evolving and communicating with the humans .Quest 2009 was a great success and our team would like to thank the participants whose curiosity and enthusiasm added the icing on the cake.

Some regards to the Autofest 2009 and Entrumeet 2009 committee who lend their support and help whenever required and worked together with great spirit to make Autumnfest a big hit .

We would also like to thank our faculty advisors Mr R.P.Gohil and Mr.D.C.Jinwala for their guidance and support .Our success would not have been possible without proper guidance and vision.

Monday, November 2, 2009

CODIES 1.1

Point out the difference between the two structure declarations:

struct one
{
char charA;
short shortA;
char charB;
long longA;
char charC;
}

struct two
{
long longA;
char charA,charB,charC;
short shortA;
}

A good detailed explanation wins a treat !!!

Sunday, September 13, 2009

Fruits vs Code Once Again....

Sorry guys this is not much of serious technical stuff..... u can call it as a technical bakar.... for leads to understand this post, please visit

P.S. : This post is written all in a jolly mood and as a continuation to face to face altercation... just providing a much global stand and enjoyment for all. :) . Please take it lite.

First of all sorry for not posting anything since long(though I know nobody gives a damn about it as most of my friends are busy chatting on gtalk coz of their own reasons). I have 100 possible excuses to give but to be very frank I didn't think much these days as i was on my quest for an "apple" orchard.

Anyways, coming to the point directly, just a few days back when I was preparing for exams with one of my friend, I had an altercation with him with the same old question creeping in "What is better, Fruits or Codes ?" and as usual I was with the former. There were hell lot of arguments given by both of us and we ended up without any final conclusion( just like big national talks lolz).

But as I always say technology with simplicity rocks!!!!!!! But my dearest friend was all interested in thefts from his orchards which (were definately not fruits). He argued on some fancy font-styles and their forgery, some GUI and its unauthorised replication. But its a well known fact that a car without a wheel is not a car and one cannot claim copyrights for circular tyres....lolz!!!

Orchards are transcending and theirs rivals are just wondering what to do. I would repeat the samething "To be into this software league one should have quiet a few algorithms implemented, which the orchard owners dont." Now it is obvious, who is an IT man and who is a businessman....

Anyways, let the world be the way it is. Its you who need to choose between quality & quantity. I choose technology....a perfect blend of both..... whether from orchards or softies or "hundred zeros".... At the end of the day its always the technology which survives.... :D

P.S. : This post is written all in a jolly mood and as a continuation to face to face altercation... just providing a much global stand and enjoyment for all. :) . Please take it lite.

Friday, August 7, 2009

It's Your Time To Shine !!!

Hi Guys,

Sorry for this late post.

Registrations for new batch of MSP ( Microsoft Student Partners ) has begun. You can follow the link for registration :
www.student-partners.com

If anyone wants to be referred by me, you can contact me on my email or leave a comment here. Don't forget to write "Prakhar Gupta" as 'MSP who referred' and "prakhar.gupta@student-partners.com" as my email address.

For any queries regarding 120 seconds video and selection procedure feel free to leave a comment here.

All the Best.


Thursday, July 23, 2009

Smear my Bread with "Code Jam"

Hello Friends,

Google's Code Jam 2009 coming up.

Its a worldwide coding competition and a good place for we the beginners to get our hand dirty with some serious code. For more information and updates you can follow this link :




All the best and Happy Coding !!!