Computer (Q4)

Cards (8)

  • Looping - It is a procedure used if we want a process to be repeated many times until a certain condition is met.
  • For-Next loop statements are used to repeat a set of statements for specific number of times.
  • Array - It is a variable with a single name that represents many different items.
  • When we work with a single item, we only need to use one variable.
  • If we have a list of items that are of similar type to deal with, we need to declare an array of variables instead of using a variable for each item.
  • Dimensions of an Array
    • One dimensional
    • Two dimensional
  • One Dimensional Array - It is like a list of items or a table that consists of one row or one column of items.
  • Two dimensional array - It is a table of items that make up and stores values in rows and columns. The row index starts from 0 and the column index also starts from 0.