Forum
Resources
Mentors
Projects
Entrance Exams
Question Papers
Colleges
Courses
Universities
Schools
Make Money
Members
Bookmarks
Polls
Fresher Jobs
Funny Photos
B.Tech Projects
New Member FAQ
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
pradeep
(1108)
Nitin Bajaj ...
(307)
Nemish
(255)
Last 7 Days
bharath sudar
(5514)
palvir
(4684)
Nitin Bajaj ...
(3325)
more...
Awards & Gifts
Online Exams
Aptitude Questions
General Aptitude Tests
Medical Entrance
Engineering Entrance
Bank Tests
TOEFL & IELTS Questions
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
Advertisements
Watch Asianet TV online
Kairali TV in Internet
Surya TV online
Amritha TV Channel
Simulate a game
Posted Date: 07 Feb 2008 Resource Type:
News/Announcements
Category:
Exams Announcements
Posted By:
satish
Member Level:
Gold
Rating:
Points
: 3
Question 1. Simulate a game with following attributes. The game consists of a board which can be of any dimensions. There are n (0
The board can be moved in four directions, up, down, left and right, there by moving all the coins one block in that direction. There are n holes in the board which are again with the corresponding number on them. The aim of the game is to successfully drop all the coins in the corresponding hole of the board.
Initial position of the coins is the left most column of the corresponding numbered row.
Input of the program should be :
Dimensions of the board.
Number of coins.
Position of the holes.
Output of the program should be
Whether the above path (of putting every coin in the corresponding hole) is possible or not.
An example arrangement of the board can be :
C1
C2
H2
C3
C4
H1
H4
H3
Question 2. Add following attributes to the above program :
a. Trace the path which leads to success in the game.
b. Let the user play the game and indicate after every move the status of the game.(Preferably use graphics). Give user only the combination which has a successful result.
Responses
Author:
Vidya
23 May 2008
Member Level:
Diamond
Points
: 2
gud one
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
MHT-CET-2008 (Maharashtra -Common Entrance Test)
Previous Resource:
MCA entrance 2008
Return to Discussion Resource Index
Post New Resource
Category:
Exams Announcements
Post resources and
earn money
!
Related Resources
Common Entrance Examination Dates
PONDICHERRY UNIVERSITY DIRECTORATE OF DISTANCE EDUCATION TIME TABLE - JUNE 2008- BBA
Karnataka Management Aptitude Test (KMAT 2008) for MBA & MCA
Indian Law Institute Common Admission Test 2008
Pre Ph.D./M.S./M.Phil. June 2008 Examinations Time Table
Contact Us
Privacy Policy
Terms Of Use
SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.