1 / 1

Nested Loops Index Checker

Detect Index Errors in Multiple Nested Loops. Validate Loop Index Positions to Ensure Correct Output. Troubleshoot Nested Loop Issues Easily.

erin-osborn
Download Presentation

Nested Loops Index Checker

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. http://www.cs.kent.edu/~fchen/lab.html Note: The name of the first project should be “lab3_1”, and the second should be  “lab3_2”. Project 1: Two nested loops (two indexes: i and j ) i : scan each row j: scan the position of every star in each row row 0: * * * * row 0 : * row 0: _ _ _ * j : 0 1 2 3 j : 0 j : 0 1 2 3 row 1: * * * * row 1 : * * row 1 : _ _ * * j : 0 1 2 3 j : 0 1 j : 0 1 2 3 row 2: * * * * row 2: * * * row 2: _ * * * j : 0 1 2 3 j : 0 1 2 j : 0 1 2 3 row 3: * * * * row 3: * * * * row 3: * * * * j : 0 1 2 3 j : 0 1 2 3 j : 0 1 2 3 Index error is the most frequently happened problem during multiple nested loops. Output the indexes to check if they are right. Here _is the space.

More Related