New ! Computer Science MCQ Practise Tests



11th Standard English Medium Computer Science Subject Specification and Abstraction Book Back 5 Mark Questions with Solution

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

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

    5 Marks

    5 x 5 = 25
  1. Write the specification of an algorithm hypotenuse whose inputs are the lengths of the two shorter sides of a right angled triangle, and the output is the length of the third side.

  2. Suppose you want to solve the quadratic equation ax2 + bx + c = 0 by an algorithm.
    quadratic_solve (a, b, c)
    -- inputs : ?
    -- outputs: ?
    You intend to use the formula and you are prepared to handle only real number roots. Write a suitable specification.
    \(x = {-b \pm \sqrt{b^2-4ac} \over 2a}\)

  3. Exchange the contents: Given two glasses marked A and B. Glass A is full of apple drink and glass B is full of grape drink. For exchanging the contents of glasses A and B, represent the state by suitable variables, and write the specification of the algorithm.

  4. Explain the types of control flow statements.

  5. Explain specification.

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

Reviews & Comments about 11th Standard English Medium Computer Science Subject Specification and Abstraction Book Back 5 Mark Questions with Solution updated Book back Questions

Write your Comment