No. | Activity Name | Sem | Link |
---|---|---|---|
1 | Towers of Honoi | 3 | Link |
2 | Software installation | 6 | link |
3 | X-game | 6 | Link |
4 | C Programming for Problem Solving | 1 | Link |
Activity : Solving Tower of Hanoi
Problem
Sem: 3
Subject: Data Structures and Applications
Subject Code: 17CS33
Faculty Name: Deepak
D J
Asst. Professor, Dept of CSE, GMIT
Asst. Professor, Dept of CSE, GMIT
Date : 11-10-2018
The Towers of Hanoi Problem:
In the game of Towers of Hanoi, there are three pegs labeled
A, B, and C. Tower A contains n disks with decreasing size.
Objective : Move disks from peg A to peg C using peg
B as an auxiliary.
Rules: The rules to be followed in moving the disks
from peg A to peg C using peg B are as follows:
• Only one disk can be moved at a time.
• Only the top disk on any tower can be moved to any other
tower.
• A larger disk cannot be placed on a smaller disk.
Recursive Solution:
Tower of Hanoi can be reduced to following subproblems for
n>1 disks
1.
Move the top (n-1) disks from peg A to peg B.
2.
Move the top disk from peg A to peg C.
3.
Move the top (n-1) disks from peg B to peg C
Activity Description:
·
Props were prepared for 4 disks and 3 pegs.
·
Each team participating in activity had 4
students.
·
Every student is assigned a specific disk. It is
the responsibility of the that student to move the disk based on the recursive
solution. Student assigned with a particular disk should not move other disks.
·
Total of 12 teams participated in the activity.
·
The team which solved the problem fastest was
considered as the winning team.
Sl no
|
Team Head
|
Time taken (sec)
|
Winners
|
1
|
Kavana
|
30
|
|
2
|
Uma
|
37
|
|
3
|
Sneha
|
29
|
|
4
|
Priyanka
|
38
|
|
5
|
Shruthi
|
30
|
|
6
|
Vidyasagar
|
19
|
|
7
|
Prajwal
|
12
|
Anand, Manjana Gowda, Pradeep
|
8
|
Vinayak
|
25
|
|
9
|
Nirmala
|
18
|
|
10
|
Sharath
|
18
|
|
11
|
Namaratha
|
15
|
|
12
|
Tejaswini
|
28
|
This comment has been removed by the author.
ReplyDeleteakash99450@gmail.com
ReplyDeleteWe came to know about the concept very nicely.
ReplyDeleteGood activity
ReplyDeleteGood activity
ReplyDeleteGood activity
ReplyDeleteNice activity
ReplyDeleteNice activity
ReplyDeleteNice
ReplyDeleteIt was nice experience
ReplyDeleteIt was a nice way of teaching the concepts.
ReplyDeleteNice activity
ReplyDeleteGood Activity
ReplyDeleteVery good activity
ReplyDeleteWe have learnt the concept by doing that activity..
ReplyDeleteLearnt concept in differnt manner
ReplyDeleteNice experience
ReplyDeleteGood activity
ReplyDeletetejaswinibandloor@gmail.com
ReplyDeleteNice
ReplyDeleteNice Information
ReplyDeleteComputer Science Course
Computer Science - Computer science is a scientific and practical approach to computation and its application. It contains two core parts hardware and software. Hardware is the physical machine where we run computer applications. Hardware has evolved and has made it possible for computing devices to become faster, smaller and more efficient. The software can be very complex. It combines algorithms, data structure, the input, output, and the intermediate storage of data. Computer science also deals with a graphical user interface which makes software programs more user-friendly. Today computers are an integral part of our lives. For more visit: Computer Mobile Info
ReplyDeleteI am just want to thank you for sharing your information here.
ReplyDeleteAnd if anyone like to take admission in Jaipur then check this
Top computer science engineering college in Jaipur
I am just want to thank you for sharing your information here.
ReplyDeleteBest college in Jaipur for engineering
ReplyDeleteThanks for sharing your blog...
top engineering college in jaipur
top college in jaipur for engineering
top engineering college of Jaipur
top engineering colleges in Jaipur
top computer science engineering college in Jaipur
top 10 engineering college in jaipur
best college in jaipur for engineering
best engineering college in jaipur
Machine Learning Training in Noida
ReplyDelete