New ! Computer Science MCQ Practise Tests



11th Standard English Medium Computer Science Subject Arrays and Structures Creative 1 Mark Questions with Solution Part - I

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 5

    1 Marks

    5 x 1 = 5
  1. Structure definition is terminated by

    (a)

    }

    (b)

    ;

    (c)

    ::

    (d)

    (:)

  2. What is the output of this program?
    #include< iostream > 
    #include< string.h >
    using namespace std;
    int main()
    {
    struct student
    {
    int n;
    char name[10];
    };
    student s;
    s.n = 123;
    strcpyt(s.name, "Balu");
    cout< cout< return 0; }

    (a)

    123Balu

    (b)

    BaluBalu

    (c)

    Balu123

    (d)

    123 Balu

  3. When accessing a structure member, the identifier to the left of the dot operator is the name of

    (a)

    structure variable

    (b)

    structure tag

    (c)

    structure member

    (d)

    structure function

  4. In which array the values are arranged in a single row?

    (a)

    2D

    (b)

    Multi Dimensional

    (c)

    ID

    (d)

    5D

  5. What must be known in advance while creating an array?

    (a)

    index number

    (b)

    subscript

    (c)

    length

    (d)

    elements

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

Reviews & Comments about 11th Standard English Medium Computer Science Subject Arrays and Structures Creative 1 Mark Questions with Solution Part - I updated Creative Questions

Write your Comment