Network security question pls provide the answers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • franksam96
    New Member
    • May 2010
    • 1

    Network security question pls provide the answers

    Adding 1 to a variable is also called WHAT

    a. digesting
    b. resetting
    c. decrementing
    d. incrementing

    When you decrement a variable, you _____.
    a. set it to 0
    b. reduce it by one-tenth
    c. subtract 1 from it
    d. remove it from a program

    4. Each variable in an array must have the same _____ as the others.
    a. data type
    b. subscript
    c. value
    d. memory location

    5. The subscripts of any array are always _____.
    a. integers
    b. fractions
    c. characters
    d. strings of characters


    6. Suppose you have declared an array as follows: num values[4] = 0, 0, 0, 0. Which of the following is an allowed operation?
    a. values[2] = 17
    b. input values[0]
    c. values[3] = values[0] + 10
    d. all of the above



    7. A _____ is a variable that you set to indicate whether some event has occurred.
    a. subscript
    b. banner
    c. counter
    d. flag

    8. What do you call two arrays in which each element in one array is associated with the element in the same relative position in the other array?
    a. cohesive arrays
    b. parallel arrays
    c. hidden arrays
    d. perpendicular arrays





    9. In most modern programming languages, the highest subscript you should use with a 10-element array is _____.
    a. 8
    b. 9
    c. 10
    d. 11

    10. You can access every element of an array using a _____.
    a. while loop
    b. for loop
    c. both of the above
    d. none of the above
  • Studlyami
    Recognized Expert Contributor
    • Sep 2007
    • 464

    #2
    we are not here to do your homework for you. These are pretty basic questions a quick search should show you the answers.

    Comment

    • Stang02GT
      Recognized Expert Top Contributor
      • Jun 2007
      • 1206

      #3

      Comment

      Working...