630 likes | 692 Views
Loops and Trees. Review Arrays. I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0;. AA. I. Review Arrays. I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0;. AA. I. Review Arrays. I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0;
E N D
Review Arrays I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0; AA I
Review Arrays I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0; AA I
Review Arrays I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0; AA I
Review Arrays I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0; AA I
Review Arrays I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0; AA I
Review Arrays I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0; AA I
Review Arrays I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0; AA I
Review Arrays I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0; AA I
Review Arrays I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0; AA I
What if AA had 10,000 items? I = 0; AA[I]=0; I=1; AA[I]=0; I=2; AA[I]=0; I=3; AA[I]=0; I=4; AA[I]=0; AA I
2D Arrays (images)0=black, 128=gray, 255=white Img X=1; Y=1; P = Img[Y,X]; Img[Y,X] = 0; Y=2; Img[Y,X]=128; X=2; Img[Y,X]=255;
2D Arrays (images)0=black, 128=gray, 255=white Img X=1; Y=1; P = Img[Y,X]; Img[Y,X] = 0; Y=2; Img[Y,X]=128; X=2; Img[Y,X]=255;
2D Arrays (images)0=black, 128=gray, 255=white Img X=1; Y=1; P = Img[Y,X]; Img[Y,X] = 0; Y=2; Img[Y,X]=128; X=2; Img[Y,X]=255;
2D Arrays (images)0=black, 128=gray, 255=white Img X=1; Y=1; P = Img[Y,X]; Img[Y,X] = 0; Y=2; Img[Y,X]=128; X=2; Img[Y,X]=255;
2D Arrays (images)0=black, 128=gray, 255=white Img X=1; Y=1; P = Img[Y,X]; Img[Y,X] = 0; Y=2; Img[Y,X]=128; X=2; Img[Y,X]=255;
2D Arrays (images)0=black, 128=gray, 255=white Img X=1; Y=1; P = Img[Y,X]; Img[Y,X] = 0; Y=2; Img[Y,X]=128; X=2; Img[Y,X]=255;
2D Arrays (images)0=black, 128=gray, 255=white Img X=1; Y=1; P = Img[Y,X]; Img[Y,X] = 0; Y=2; Img[Y,X]=128; X=2; Img[Y,X]=255;
What if the image was 1024x1024? Img X=1; Y=1; P = Img[Y,X]; Img[Y,X] = 0; Y=2; Img[Y,X]=128; X=2; Img[Y,X]=255;
Strings Name I = 0; Name[I]=Name[I] – 32; I = 1; Name[I]=Name[I] – 32; I = 2; Name[I]=Name[I] – 32;
Strings Name I = 0; Name[I]=Name[I] – 32; I = 1; Name[I]=Name[I] – 32; I = 2; Name[I]=Name[I] – 32;
Strings Name I = 0; Name[I]=Name[I] – 32; I = 1; Name[I]=Name[I] – 32; I = 2; Name[I]=Name[I] – 32;
Strings Name I = 0; Name[I]=Name[I] – 32; I = 1; Name[I]=Name[I] – 32; I = 2; Name[I]=Name[I] – 32;
Strings Name I = 0; Name[I]=Name[I] – 32; I = 1; Name[I]=Name[I] – 32; I = 2; Name[I]=Name[I] – 32;
Strings Name I = 0; Name[I]=Name[I] – 32; I = 1; Name[I]=Name[I] – 32; I = 2; Name[I]=Name[I] – 32;
Strings Name I = 0; Name[I]=Name[I] – 32; I = 1; Name[I]=Name[I] – 32; I = 2; Name[I]=Name[I] – 32;
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
Strings I = 0; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 1; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; I = 2; C = Name[I]; If (C >= ‘a’ & C <= ‘z’) Name[I]=Name[I] – 32; Name
For Loops Name For (each index I in Name) { C = Name[I]; If (C>=‘a’ & C<=‘z’) { Name[I]=Name[I] - 32; } }
For Loops Name For (each index I in Name) { C = Name[I]; If (C>=‘a’ & C<=‘z’) { Name[I]=Name[I] - 32; } }
For Loops Name For (each index I in Name) { C = Name[I]; If (C>=‘a’ & C<=‘z’) { Name[I]=Name[I] - 32; } }
For Loops Name For (each index I in Name) { C = Name[I]; If (C>=‘a’ & C<=‘z’) { Name[I]=Name[I] - 32; } }
For Loops Name For (each index I in Name) { C = Name[I]; If (C>=‘a’ & C<=‘z’) { Name[I]=Name[I] - 32; } }
For Loops Name For (each index I in Name) { C = Name[I]; If (C>=‘a’ & C<=‘z’) { Name[I]=Name[I] - 32; } }
For Loops Name For (each index I in Name) { C = Name[I]; If (C>=‘a’ & C<=‘z’) { Name[I]=Name[I] - 32; } }
For Loops Name For (each index I in Name) { C = Name[I]; If (C>=‘a’ & C<=‘z’) { Name[I]=Name[I] - 32; } }
For Loops Name For (each index I in Name) { C = Name[I]; If (C>=‘a’ & C<=‘z’) { Name[I]=Name[I] - 32; } }
For Loops Name For (each index I in Name) { C = Name[I]; If (C>=‘a’ & C<=‘z’) { Name[I]=Name[I] - 32; } }
For Loops Name For (each index I in Name) { C = Name[I]; If (C>=‘a’ & C<=‘z’) { Name[I]=Name[I] - 32; } }