What do you know about array types in programming?

Please read your programming knowledge and the following multiple choice questions of Network Administrator. Set of 10 questions for you to try.
  1. Question 1. Array is a data type that represents a range of convenient elements for:
    1. Insert element
    2. Access to any element
    3. Delete an element
    4. Insert element and delete element
  2. Question 2. What is an indirect array variable declaration?
    1. Declare the array of records
    2. Declare the array of characters
    3. Declare two-dimensional array
    4. Declare via existing array type
  3. Question 3. Which of the following is a valid array declaration?
    1. bearing: ARRAY [0.10] OF INTEGER;
    2. bearing: ARRAY [0.10]: INTEGER;
    3. bearing: INTEGER OF ARRAY [0.10];
    4. bearing: ARRAY (0.10): INTEGER;
  4. Question 4. What does the above program do?
     Var a: array [0.50] of real; 

    k: = 0;

    for i: = 1 to 50 due

    if a [i]> a [k] then k: = i;
    1. Find the smallest element in the array;
    2. Find the largest element in the array;
    3. Find the index of the largest element in the array
    4. Find the index of the smallest element in the array
  5. Question 5. Which of the following is the 10th element of the array?
     Var m: array [0.10] of integer; 
    1. a [10];
    2. a (10);
    3. a [9];
    4. a (9);
  6. Question 6. Which of the following two-dimensional array declarations is wrong?
    1. var m: array [1.10] of array [0.9] of integer;
    2. var m: array [1.20,1.40] of real;
    3. var m: array [1.9; 1.9] of integer;
    4. var m: array [0.10,0.10] of char;
  7. Question 7. Which of the following statements about array type is appropriate?
    1. Is a set of integers
    2. The maximum length of the array is 255
    3. Is a finite sequence of elements of the same type
    4. Arrays cannot contain characters
  8. Question 8. To declare the element number of the array in PASCAL, the programmer needs:
    1. Declaring a constant is the number of elements of the array
    2. Declare the start and end indexes of the array
    3. Declare the end index of the array
    4. No need to declare anything, the system will determine itself
  9. Question 9. Which of the following statements about the index of the array is most suitable?
    1. Used to access any element in the array
    2. Used to manage the size of the array
    3. Used in loop with array
    4. Use in the loop with arrays to manage the size of the array
  10. Question 10. Which of the following statements about arrays is incorrect?
    1. Index of array does not necessarily start from 1
    2. Can build multidimensional array
    3. String characters can also be viewed as an array type
    4. The maximum length of the array is 255
5 ★ | 1 Vote