CSC 120 Study Guide - Midterm Guide: List Box, Type Inference, Current Contents

106 views1 pages
champagnegnat971 and 18 others unlocked
CSC 120 Full Course Notes
26
CSC 120 Full Course Notes
Verified Note
26 documents

Document Summary

Used when know exactly number of times a loop should be executed. Block-level scope: variables that cannot be referred to by code outside of the loop. Never declare a counter variable outside a for next loop. The use of counter variables of type double is poor programming practice. Sorted property in list box is in the order of ansi values, not alphabetical or numerical. Array variables = indexed list of simple variables of the same type. The elements of an array are located in successive memory locations. An array declared in the declarations section is class-level. Redim statement: change the size of an array (not the type, causes the array to lose its current contents unless use redim preserve. For each loops cannot alter the values of elements of the array. Array. indexof (arrayname, value) value of 1st occurrence. Default direction in an order by clause is ascending.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers

Related Documents