New ! Computer Science MCQ Practise Tests



Arrays and Structures Book Back Questions

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:45:00 Hrs
Total Marks : 30
    5 x 1 = 5
  1. Which of the following is the collection of variables of the same type that an referenced by a common name?

    (a)

    int

    (b)

    float

    (c)

    Array

    (d)

    class

  2. Array subscripts is always starts with which number?

    (a)

    -1

    (b)

    0

    (c)

    2

    (d)

    3

  3. The data elements in the structure are also known as _________.

    (a)

    objects

    (b)

    members

    (c)

    data

    (d)

    records

  4. Structure definition is terminated by

    (a)

    }

    (b)

    ;

    (c)

    ::

    (d)

    (:)

  5. A structure declaration is given below:
    struct Time
    {
    int hours;
    int minutes;
    int seconds;
    } t;
    Using above declaration which of the following refers to seconds.

    (a)

    Time.seconds

    (b)

    Time::seconds

    (c)

    seconds

    (d)

    t.seconds

  6. 3 x 2 = 6
  7. What is the syntax to declare two – dimensional array.

  8. Why for passing a structure to a function call by reference is advisable to us?

  9. What are the different ways to initialize the structure members?

  10. 3 x 3 = 9
  11. Define an Array? What are the types?

  12. What is called nested structure. Give example

  13. What is the difference among the following two programs?
    (a) #include < iostream >
    struct point { double x; double y; };
    int main() {
    struct point test;
    test.x = .25; test.y = .75;
    cout< return 0;
    }
    (b) #include < iostream >
    struct { double x; double y; } Point;
    int main(void) {
    Point test={.25,.75};
    return 0;
    }

  14. 2 x 5 = 10
  15. How will you pass two dimensional array to a function explain with example.

  16. Explain array of structures with example

*****************************************

Reviews & Comments about 11th Computer Science Unit 12 Arrays and Structures Book Back Questions

Write your Comment