You are not logged in. Lock_open    

Video: 'Missing Input Statement (BlueJ)'

Missing Input Statement (BlueJ) Time: 3:12
Average:
  • Currently 3.1/5 Stars from 50 ratings
  •  
  •  
  •  
  •  
  •  
50 ratings
Your Rating:
  • Currently 0.0/5 Stars from 50 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Loop Logic Error BlueJ
Narration language: Gb English
Flash_icon Watch Online 13.45Mb
Quicktime_small Download 2.42Mb (Right-click and select 'save as')

Description:

This video shows an infinite loop that occurs due to a lack of an input statement inside a validation loop. A prompt and a scan is used before the loop, but the code inside the loop only has a prompt. It points out the infinite loop and shows the addition of a read statement to fix the problem.



Leave a comment about this video...

What others are saying

David Bruce @ October 27, 2007 16:22

I liked how she went through the infinite loop and showed how to fix it. I used to have a problem with infinite loops but this video backs up my knowledge of how to avoid them. I can recognize infinite loops and how to fix them. The instructor could have explained more in depth about how to fix it, but she still did a good job so I gave it a four out of five. I tagged the clip infiniteloop.