New ! Computer Science MCQ Practise Tests



11th Standard Computer Science Arrays and Structures English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:10:00 Hrs
Total Marks : 10

    Answer all the questions

    10 x 1 = 10
  1. Array subscripts is always starts with which number?

    (a)

    -1

    (b)

    0

    (c)

    2

    (d)

    3

  2. What will be the output of this program?
    #include< iostream >
    using namespace std;
    struct ShoeType
    {
    string name;
    double price; .
    };
    int main ()
    {
    Shoe Type shoe 1, shoe2;
    shoe 1.name = "Adidas";
    shoe 1.price = 9.99;
    cout < shoe2 = shoe 1;
    shoe2.price = shoe2.price / 9;
    cout << shoe2.name << "#"< return 0;

    (a)

    Adidas # 9.99
    Adidas # 1.11

    (b)

    Adidas # 9.99
    Adidas # 9.11

    (c)

    Adidas # 9.99
    Adidas # 11.11

    (d)

    Adidas # 9.11
    Adidas # 11.11

  3. How many types of 2D array memory representations?

    (a)

    4

    (b)

    3

    (c)

    2

    (d)

    5

  4. Which of the following increases the time consumption while searching?

    (a)

    Structures

    (b)

    Arrays

    (c)

    functions

    (d)

    built-in functions

  5. Which of the following is used to access the members of the class?

    (a)

    ?

    (b)

    .

    (c)

    ;

  6. Which of the following statement is false?
    (i) Structure element values cannot be assigned as similar to assigning values to variables
    (ii) Structure element values can be assigned as similar to assigning values to arrays
    (iii) Pointer type members of structure can be accessed by (dot)

    (a)

    only (ii)

    (b)

    both (i) and (iii)

    (c)

    both (ii) and (iii)

    (d)

    only (iii)

  7. Which of the following methods, the contents of structure variable in a function changed are reflected back to the calling functions?
    (i) call by value
    (ii) call by reference

    (a)

    only(i)

    (b)

    only (ii)

    (c)

    both (i) and (ii)

    (d)

    none of these

  8. The size of the array is referred to as its ________.

    (a)

    dimension

    (b)

    direction

    (c)

    location

    (d)

    space

  9. Pass an array to a function in c++, the function needs the array name as ________.

    (a)

    a function

    (b)

    an argument

    (c)

    global object

    (d)

    string

  10. Array of structure is declared in the same way as declaring an array with ___________.

    (a)

    built-in data type

    (b)

    data type

    (c)

    undefined

    (d)

    none of these

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

Reviews & Comments about 11th Standard Computer Science Arrays and Structures English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

Write your Comment