// LEFTOVERS FROM CREATING TEMPLATES.TXT // AND POTENTIAL ARRAY INITIALIZATIONS {(){ [9] = {, , , , , , , , }; }} {(){ [9] = {1, 2, 3, 4, 5, 6, 7, 8, 9 }; }} {(){ [9] = {9, 8, 7, 6, 5, 4, 3, 2, 1 }; }} []{(){ [9] = { , , , , , , , , }; }} []{(){ [9] = { , , , , , , , , }; }} []{(){ [9] = { , , , , , , , , }; }} []{(){ [9] = { , , , , , , , , }; }} {(){ [9] = { , , , , , , , , }; }} {(){ [9] = { , , , , , , , , }; }} // systematic referencing, some elements, var subscript, same order, non-contiguous # 435 Array.OneDim.Referencing.Systematic ? Array.OneDim.Initialization.Complete.Correct > {(){ [] = { , , , , , , , , }; ; for( = 0; < 9; = + 3 ) { << []; } }} > Type: debug_output Hardness: 20 // systematic referencing, some elements, var subscript, same order, non-contiguous # 436 Array.OneDim.Referencing.Systematic ? Array.OneDim.Assignment.Systematic > {(){ []; ; for( = 0; < ; = + 1 ) { [] = ; } for( = 0; < ; = + 3 ) { << [] + ; } }} > Type: debug_output Hardness: 20 // systematic referencing, some elements, var subscript, different order, contiguous # 437 Array.OneDim.Referencing.Systematic ? Array.OneDim.Initialization.Complete.Correct > {(){ [] = { , , , , , , , , }; ; for( = 8; >= ; = - 1 ) { << []; } }} > Type: debug_output Hardness: 20 // systematic referencing, some elements, var subscript, different order, contiguous # 438 Array.OneDim.Referencing.Systematic ? Array.OneDim.Assignment.Systematic > {(){ []; ; for( = 0; < ; = + 1 ) { [] = ; } = ; for( = - 1; >= ; = - 1 ) { << [] + ; } }} > Type: debug_output Hardness: 20 // systematic referencing, some elements, var subscript, different order, contiguous # 439 Array.OneDim.Referencing.Systematic ? Array.OneDim.Initialization.Complete.Correct > {(){ [] = { , , , , , , , , }; ; for( = ; >= 0; = - 1 ) { << []; } }} > Type: debug_output Hardness: 20 // systematic referencing, some elements, var subscript, different order, contiguous # 440 Array.OneDim.Referencing.Systematic ? Array.OneDim.Assignment.Systematic > {(){ []; ; for( = 0; < ; = + 1 ) { [] = ; } = ; for( = ; >= 0; = - 1 ) { << [] + ; } }} > Type: debug_output Hardness: 20 // systematic referencing, some elements, var subscript, different order, non-contiguous # 441 Array.OneDim.Referencing.Systematic ? Array.OneDim.Initialization.Complete.Correct > {(){ [] = { , , , , , , , , }; ; for( = 8; >= 0; = - 3 ) { << []; } }} > Type: debug_output Hardness: 25 // systematic referencing, some elements, var subscript, different order, non-contiguous # 442 Array.OneDim.Referencing.Systematic ? Array.OneDim.Assignment.Systematic > {(){ []; ; for( = 0; < ; = + 1 ) { [] = ; } = ; for( = - 1; >= 0; = - 3 ) { << [] + ; } }} > Type: debug_output Hardness: 25 // uses self-reference, ssytematic assignment AND expression subscript // - too many learning objectives in one // systematic assignment, some elements (first few), var subscript, self-referential value # 380 Array.OneDim.Assignment.Self Referential > {(){ []; ; [0] = ; for( = 1; < ; = + 1 ) { [] = [ - 1]; } << []; }} > Type: state Hardness: 40 // systematic assignment, some elements (last few), var subscript, self-referential value # 381 Array.OneDim.Assignment.Self Referential > {(){ []; = ; [] = ; for( = + 1; < ; = + 1 ) { [] = [ - 1] + 1; } << []; }} > Type: state Hardness: 40 // systematic assignment, some elements (middle few), var subscript, self-referential value # 382 Array.OneDim.Assignment.Self Referential > {(){ []; = 0; ; for( = ; < ; = + 1 ) { [] = ; [] = []; = + 1; } << []; }} > Type: state Hardness: 45 // systematic assignment, some elements (alternating few), var subscript, self-referential value # 383 Array.OneDim.Assignment.Self Referential > {(){ []; ; for( = 1; < ; = + ) { [] = ; [ - 1] = [] - 1; } << []; }} > Type: state Hardness: 50 // systematic assignment, all elements, var subscript, self-referential value - counting up # 384 Array.OneDim.Assignment.Self Referential > {(){ []; [0] = ; ; for( = 1; < ; = + 1 ) { [] = [ - 1] - 1; } << []; }} > Type: state Hardness: 40 // systematic assignment, all elements, var subscript, self-referential value - counting down # 385 Array.OneDim.Assignment.Self Referential > {(){ []; = - 1; [] = ; for( = - 1; >= 0; = - 1 ) { [] = [ + 1] + 1; } << []; }} > Type: state Hardness: 50 // systematic referencing, all elements, expr subscript, different order # 429 Array.OneDim.Referencing.Systematic ? Array.OneDim.Initialization.Complete.Correct > {(){ [] = { , , , , , , , , }; ; for( = 9; >= 1; = - 1 ) { << [ - 1]; } }} > Type: debug_output Hardness: 20 // systematic referencing, all elements, expr subscript, different order # 430 Array.OneDim.Referencing.Systematic ? Array.OneDim.Assignment.Systematic > {(){ []; ; for( = 0; < ; = + 1 ) { [] = ; } for( = ; >= 0; = - 1 ) { << [ - 1] + ; } }} > Type: debug_output Hardness: 20 // systematic referencing, some elements, expr subscript, same order, contiguous # 443 Array.OneDim.Referencing.Systematic ? Array.OneDim.Initialization.Complete.Correct > {(){ [] = { , , , , , , , , }; ; for( = 0; <= ; = + 1 ) { << [ + ]; } }} > Type: debug_output Hardness: 25 // systematic referencing, some elements, expr subscript, same order, contiguous # 444 Array.OneDim.Referencing.Systematic ? Array.OneDim.Assignment.Systematic > {(){ []; ; for( = 0; < ; = + 1 ) { [] = ; } for( = ; < ; = + 1 ) { << [ - ]; } }} > Type: debug_output Hardness: 25 // systematic referencing, some elements, expr subscript, same order, non-contiguous # 445 Array.OneDim.Referencing.Systematic ? Array.OneDim.Initialization.Complete.Correct > {(){ [] = { , , , , , , }; ; for( = 0; < ; = + 1 ) { << [ * 2>]; } }} > Type: debug_output Hardness: 30 // systematic referencing, some elements, expr subscript, different order, contiguous # 446 Array.OneDim.Referencing.Systematic ? Array.OneDim.Assignment.Systematic > {(){ []; ; for( = 0; < ; = + 1 ) { [] = ; } for( = ; >= ; = - 1 ) { << [ - ]; } }} > Type: debug_output Hardness: 30 // systematic referencing, some elements, expr subscript, different order, contiguous # 447 Array.OneDim.Referencing.Systematic ? Array.OneDim.Initialization.Complete.Correct > {(){ [] = { , , , , , , }; ; for( = ; >= 0; = - 1 ) { << [ + ]; } }} > Type: debug_output Hardness: 30 // systematic referencing, some elements, expr subscript, different order, non-contiguous # 448 Array.OneDim.Referencing.Systematic ? Array.OneDim.Assignment.Systematic > {(){ []; ; for( = 0; < ; = + 1 ) { [] = ; } for( = - 1; > 0; = - 2 ) { << [ / 2]; } }} > Type: debug_output Hardness: 35 // random referencing, exprn subscript, by itself, same order # 410 Array.OneDim.Referencing.Random ? Array.OneDim.Initialization.Complete.Correct > {(){ [] = { , , , , , , , , }; = ; << [ - 2]; << [ + 1]; << [ * 2]; }} > Type: debug_output Hardness: 30 // random referencing, exprn subscript, in an expression, same order # 412 Array.OneDim.Referencing.Random ? Array.OneDim.Initialization.Complete.Correct > {(){ [] = { , , , , , , , , }; = ; << [ - 1] - 1; << [ * 2] * 10; << [ + 5] + 5; }} > Type: debug_output Hardness: 40 // random referencing, exprn subscript, in an expression, different order # 413 Array.OneDim.Referencing.Random ? Array.OneDim.Assignment.Systematic > {(){ []; ; for( = 0; < ; = + 1 ) { [] = ; } = ; << [ - ] + ; << [ - ] + ; << [ - 2] + [ - 4]; }} > Type: debug_output Hardness: 45 // const referencing subscript, complete initialization # 525 Array.OneDim.Subscript.Out of Bounds > {(){ [] = { , , , , , , , , }; << []; [] = ; [] = ; }} > Type: debug_output Hardness: 10 // const referencing subscript, systematic assignment to all elements # 526 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Assignment.Systematic > {(){ []; ; for( = 0; < ; = + 1 ) { [] = ; } [] = - ; << []; [] = ; }} > Type: debug_output Hardness: 15 // const referencing subscript, INcomplete initialization # 527 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Initialization.Incomplete > {(){ [] = { , , , , , }; [] = ; << []; }} > Type: debug_output Hardness: 20 // var referencing subscript, complete initialization # 528 Array.OneDim.Subscript.Out of Bounds > {(){ [] = { , , , , , , , , }; = 0; [] = ; = ; << []; = - 1; [] = ; }} > Type: debug_output Hardness: 15 // exprsn referencing subscript, complete initialization # 531 Array.OneDim.Subscript.Out of Bounds > {(){ [] = { , , , , , , , , }; = ; [ - 1] = ; << [ + 1]; }} > Type: debug_output Hardness: 20 // exprsn referencing subscript, INcomplete initialization # 533 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Initialization.Incomplete > {(){ [] = { , , , , , }; = ; [] = ; [ / 2] = ; << [ * 2]; }} > Type: debug_output Hardness: 30 // random referencing, var subscript, by itself, 123 order # 410 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Initialization.Complete.Correct > {(){ [9] = {1, 2, 3, 4, 5, 6, 7, 8, 9 }; = ; << [] * 10; = + ; << []; = + ; << [] * 10; }} > Type: debug_output Hardness: 30 // random referencing, var subscript, by itself, 321 order # 411 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Initialization.Complete.Correct > []{(){ [9] = { , , , , , , , , }; = ; << [] - 1; = - ; << []; = - ; << [] + 1; }} > Type: debug_output Hardness: 30 // random referencing, var subscript, in an expression, 213 order # 412 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Initialization.Complete.Correct > {(){ [9] = {9, 8, 7, 6, 5, 4, 3, 2, 1 }; = ; << []; = ; << [] - ; = ; << [] + ; }} > Type: debug_output Hardness: 30 // random referencing, var subscript, in an expression, 132 order # 413 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Initialization.Complete.Correct > {(){ [9] = { , , , , , , , , }; = ; << []; = ; << [] - 40; = << [] - 20; }} > Type: debug_output Hardness: 30 // random referencing, var subscript, in an expression, 231 order # 414 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Initialization.Complete.Correct > []{(){ [9] = { , , , , , , , , }; = ; << []; = + ; << []; = - ; << []; }} > Type: debug_output Hardness: 30 // random referencing, var subscript, in an expression, 312 order # 415 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Initialization.Complete.Correct > {(){ [9] = { , , , , , , , , }; = ; << [] - 50; = ; << [] + 50; = ; << []; }} > Type: debug_output Hardness: 30 // random assignment, some elements, var subscript, variable value # 312 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Assignment.Random > {(){ []; = ; = ; = ; [] = ; [] = ; [] = ; }} > Type: state Hardness: 30 // random assignment, some elements, var subscript, expression value # 313 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Assignment.Random > {(){ []; = ; [] = * ; = ; [] = * 2; = ; [] = + 2; }} > Type: state Hardness: 35 // var referencing subscript, INcomplete initialization # 540 Array.OneDim.Subscript.Out of Bounds ? Array.OneDim.Initialization.Incomplete > {(){ [] = { , , , , , }; = ; [] = ; = + 1; << []; }} > Type: debug_output Hardness: 25