New ! Computer Science MCQ Practise Tests



11th Standard English Medium Computer Science Subject Introduction To C++ Creative 5 Mark Questions with Solution Part - II

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 25

    5 Marks

    5 x 5 = 25
  1. Differentiate C and C++.

  2. Explain the types of integer constants.

  3. Explain the uses of logical operators in C++.

  4. Evaluate the following C++ expressions where a,b,c are integers and d,e,f are floating point numbers, where a=5, b=3 and d =1.5
    (i) f = a+b/a
    (ii) c = (a++) * d+a
    (iii) c = d * a+b
    (iv) c = a - (b++) * (- -d)
    (v) (++b)*b-a

  5. What will be the output of following programs?
    (a) #include< iostream.h >
    void main ( )
    {
    int i=10,j;
    i > = 5 ? (j=10) : (j=15);
    cout << "\n" < }
    (b) #include< iostream.h >
    {
    int a=5, b=6;
    a = = b? (cout << a) : (cout << b)
    }

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

Reviews & Comments about 11th Standard English Medium Computer Science Subject Introduction To C++ Creative 5 Mark Questions with Solution Part - II updated Creative Questions

Write your Comment