New ! Computer Science MCQ Practise Tests



11th Half Yearly Model Question

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 02:30:00 Hrs
Total Marks : 70

    I. Choose best suitable answer with option code:

    15 x 1 = 15
  1. Which coding schemes have 65000 representations?

    (a)

    Byte code

    (b)

    Binary code

    (c)

    Unicode

    (d)

    EBCDIC

  2. Display devices are connected to the computer through

    (a)

    USB port

    (b)

    Ps/2 port

    (c)

    SCSI port

    (d)

    VGA connector

  3. Interactive Operating System provides

    (a)

    Graphics User Interface (GUI)

    (b)

    Data Distribution

    (c)

    Security Management

    (d)

    Real Time Processing

  4. Which of the following is not a version of windows 2000?

    (a)

    server

    (b)

    professional

    (c)

    DOS

    (d)

    Data center server

  5. Omitting details inessential to the task and representing only the essential features of the task is known as

    (a)

    specification

    (b)

    abstraction

    (c)

    composition

    (d)

    decomposition

  6. If m x a + n x b is an invariant for the assignment a, b: = a + 8, b + 7, the values of m and n are

    (a)

    m = 8, n = 7

    (b)

    m = 7, n = -8

    (c)

    m = 7, n = 8

    (d)

    m = 8, n = -7

  7. The logical grouping of an operators are called ________.

    (a)

    Precedence

    (b)

    order

    (c)

    association

    (d)

    execution

  8. How many times the following loop with execute? for (int i=0; i<10; i++).

    (a)

    0

    (b)

    10

    (c)

    9

    (d)

    11

  9. Which of the following statement is true or false?
    (i) Strcat ( ) function appends copy of the character string pointed by the source to the memory location pointed by target.
    (ii) strcpy () function appends copy of the character string pointed by the source to the end of the string pointed by the target.
    (iii) strcmp ( ) and strlen ( ) function takes two arguments.
    (iv) strcmp ( ) function compares the contents of strings lexicographically

    (a)

    (i) true, (ii) false, (iii) false, (iv) true

    (b)

    (i) false, (ii) true, (iii) false, (iv) false

    (c)

    (i) false, (ii) false, (iii) false, (iv) true

    (d)

    (i) false, (ii) false, (iii) false, (iv) false

  10. What will happen when the structure is declared?

    (a)

    it will not allocate any memory

    (b)

    it will allocate the memory

    (c)

    it will be declared and initialized

    (d)

    it will be only declared

  11. Which of the following concept encapsulate all the essential properties of the object that are to be created?

    (a)

    class

    (b)

    Encapsulation

    (c)

    Polymorphism

    (d)

    Abstraction

  12. Which of the following function executes when class comes into scope?

    (a)

    destructor

    (b)

    inline

    (c)

    Normal

    (d)

    constructor

  13. Which of the following provides flexibility of creating multiple type of objects for a class?

    (a)

    function overloading

    (b)

    operator overloading

    (c)

    constructor overloading

    (d)

    object overloading

  14. Which of the following create a temporary instance?

    (a)

    Implicit call to the constructor

    (b)

    Explicit call to constructor

    (c)

    Implicit call to the destructor

    (d)

    Explicit call to the destructor

  15. Which of the following are used to search any information from the cyberspace?

    (a)

    Operating System

    (b)

    Compiler

    (c)

    Search engines

    (d)

    Web clients

  16. II. Answer any Six questions. Q. No 21 is compulsory:

    6 x 2 = 12
  17. Differentiate Input and output unit.

  18. What Blu-Ray Disc?

  19. What are the different Operating Systems used in computer?

  20. How do we refine a statement?

  21. What is an invariant?

  22. Which of the following two statements are valid? Why? Also write their result.
    int a;
    (i) int a; a = 3,014;
    (ii) int a; a=(3,014);

  23. Write the output of the following program.
    #include < string.h >
    #include < iostream >
    using namespace std;
    int main()
    {
    char target[50] = "Learning C++ is fun";
    char source[50] =" , easy and Very useful";
    strcat(target, source);
    cout << target;
    return 0;
    }

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

  25. What is the difference between the class and object in terms of oop?

  26. What is meant by social engineering?

  27. III. Answer any Six questions. Q. No 31 is compulsory:

    6 x 3 = 18
  28. Convert (150)10 into Binary, then convert that Binary number to Octal.

  29. Write the memory management techniques.

  30. When do you say that a problem is algorithmic in nature?

  31. Write a note on Pseudo code.

  32. Write a short program to print following series:
    (a) 1 4 7 10...... 40

  33. Write note an Array of strings

  34. What is paradigm? Mention the different types of paradigm.

  35. Differentiate implicit call and explicit call of involving parameterized constructor.

  36. What are the rules for function overloading?

  37. Why do you need for inheritance?

  38. IV. Answer all in detail:

    5 x 5 = 25
    1. Explain any two input and output devices.

    2. How the read and write operations are performed by a processor? Explain.

    1. Explain how will you copy files and folders in windows.

    2. Circulate the contents: Write the specification and construct an algorithm to circulate the contents of the variables A, B and C as shown below: The arrows indicate that B gets the value of A, C gets the value of B and A gets the value of C.

    1. What is an entry control loop? Explain any one of the entry controlled loop with suitable example.

    2. Write a program to accept any integer number and reverse it.

    1. Write a C++ program to add two distances using the following structure definition
      struct Distance{
      int feet;
      float inch;
      }d1 , d2, sum;

    2. Write the output of the following program
      #include < iostream >
      using namespcae std;
      class simple
      {
      private:
      int a,b;
      public:
      simple( )
      {
      a=0;
      b=0;
      cout << "\n Constructor of class-simple";
      }
      void getdata( )
      {
      cout << "\nEnter value for a and b (sample data 6 and 7)...";
      cin >> a >> b;
      }
      void putdata( )
      {
      cout << "\nThe two integers are ... " << a << 't\' << b << endl;
      cout << "\nThe sum of the variables" << a << " + " << b << "=" << a+b;
      }
      };
      int main ( )
      {
      simple s;
      s.getdata( );
      s.putdata( );
      return 0;
      }

    1. What are the rules for operator overloading?

    2. Write the output of the following program.
      #include < iostream >
      using namespace std;
      class Container {
      public:
        // Constructor definition
        Container(double 1 = 2.C, double b = 2.0, double
        h= 2.0) { -
        cout<<"Constructor called." << endl;
        length = 1;
        breadth = b;
        height = h;
      }
      double Volume ( ) {
      return length * breadth * height;
      }
      int compare(Container container)
      {
      return this->Volume( )>Container.volume ( ):
      }
      private:
        double length; // Length of a Container
        double breadth; // Breadth of a Container
        double height; // Height of a Container
      } ;
      int main(void) {
        Container Container1(3.3, 1.2, 1.5); II Declare
        Container!
        Container Container2(8.5, 6.0, 2.0); II Declare
        Container2
        if(Container l.compare(Container2)) {
        cout << "Container2 is smaller than Container1"
        < } else {
        cout << "Container2 is equal to or larger than
        Container1' n < }
      return 0
      }

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

Reviews & Comments about 11th Computer Science Half Yearly Model Question Paper

Write your Comment