New ! Computer Science MCQ Practise Tests



Arrays and Structures Two Marks Questions

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:45:00 Hrs
Total Marks : 20
    10 x 2 = 20
  1. What is the syntax to declare two – dimensional array.

  2. Define structure .What is its use?

  3. Write a structure definition for the structure student containing examno, name and an array for storing five subject marks.

  4. What is the size of the following highlighted variable in terms of byte if it is compiled in dev c++
    struct A{ float f[3]; char ch[5];long double d;};
    struct B{ A a; int arr[2][3];}b[3]

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

  6. Write the formula to calculate the memory space allocated for an array.

  7. Write the syntax of an array can be initialized at the time of declaration.

  8. What is the output of str'[I], str[3] in char str[4]={'A', '+', 'B'};

  9. What a note on getline() function?

  10. What is 2D arrays?

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

Reviews & Comments about 11th Standard Computer Science - Arrays and Structures Two Marks Questions

Write your Comment