Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum

Complete help forum for students preparing for icse iit aieee cbse pmt and other related exams.Stay updated about all 2011 exams.
 
HomeHome  PortalPortal  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  India NewsIndia News  
Keywords
question YEAR physics RESULT prelim CLASS 2006 2010 papers
Latest topics
Top posters
abhas
JAVA ISC Practical exam level question Vote_lcapJAVA ISC Practical exam level question Voting_barJAVA ISC Practical exam level question Vote_rcap 
Anu..i luv icse...:)
JAVA ISC Practical exam level question Vote_lcapJAVA ISC Practical exam level question Voting_barJAVA ISC Practical exam level question Vote_rcap 
G-7
JAVA ISC Practical exam level question Vote_lcapJAVA ISC Practical exam level question Voting_barJAVA ISC Practical exam level question Vote_rcap 
siya
JAVA ISC Practical exam level question Vote_lcapJAVA ISC Practical exam level question Voting_barJAVA ISC Practical exam level question Vote_rcap 
Candy
JAVA ISC Practical exam level question Vote_lcapJAVA ISC Practical exam level question Voting_barJAVA ISC Practical exam level question Vote_rcap 
jOhNy
JAVA ISC Practical exam level question Vote_lcapJAVA ISC Practical exam level question Voting_barJAVA ISC Practical exam level question Vote_rcap 
Apurva
JAVA ISC Practical exam level question Vote_lcapJAVA ISC Practical exam level question Voting_barJAVA ISC Practical exam level question Vote_rcap 
WinRrule
JAVA ISC Practical exam level question Vote_lcapJAVA ISC Practical exam level question Voting_barJAVA ISC Practical exam level question Vote_rcap 
ambili
JAVA ISC Practical exam level question Vote_lcapJAVA ISC Practical exam level question Voting_barJAVA ISC Practical exam level question Vote_rcap 
saif
JAVA ISC Practical exam level question Vote_lcapJAVA ISC Practical exam level question Voting_barJAVA ISC Practical exam level question Vote_rcap 



Search if you can't find it here

JAVA ISC Practical exam level question

View previous topic View next topic Go down
AuthorMessage
saif
Active member
Active member



JAVA ISC Practical exam level question Vide
PostSubject: JAVA ISC Practical exam level question JAVA ISC Practical exam level question EmptySat Nov 28, 2009 10:02 pm

Write a program to solve the 8-puzzle problem.

8-puzzle:It is
played on a 3-by-3 grid with 8 square blocks labeled 1 through 8 and a blank
square. Your goal is to rearrange the blocks so that they are in order.
You are permitted to slide blocks horizontally or vertically
into the blank square.
The following
shows a sequence of legal moves from an initial board position
to the goal position
<blockquote>
initial
1 3
4 2 5
7 8 6

1 3
4 2 5
7 8 6

1 2 3
4 5
7 8 6

1 2 3
4 5
7 8 6

1 2 3
4 5 6
7 8
final
</blockquote>
Back to top Go down
View user profile

JAVA ISC Practical exam level question

View previous topic View next topic Back to top
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Complete IIT AIEEE ICSE ISC PMT help forum :: ISC :: ISC 2010 [Class xii] :: Computer-