New ! Computer Science MCQ Practise Tests



Scoping Model Question Paper 1

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 50
    5 x 1 = 5
  1. Which scope refers to variables defined in current function?

    (a)

    Local Scope

    (b)

    Global scope

    (c)

    Module scope

    (d)

    Function Scope

  2. The process of subdividing a computer program into separate sub-programs is called

    (a)

    Procedural Programming

    (b)

    Modular programming

    (c)

    Event Driven Programming

    (d)

    Object oriented Programming

  3. Which of the following members of a class can be handled only from within the class?

    (a)

    Public members

    (b)

    Protected members

    (c)

    Secured members

    (d)

    Private members

  4. Which of the following keeps track of all these mappings with namespaces?

    (a)

    Programming languages

    (b)

    Application software

    (c)

    System software

    (d)

    MySQL

  5. How the names are mapped with objects in programming language?

    (a)

    name == object

    (b)

    name:: object

    (c)

    name:= object

    (d)

    object:= name

  6. 5 x 2 = 10
  7. What is a scope?

  8. What do you mean by Namespaces?

  9. How Python represents the private and protected Access specifiers?

  10. Write the output of the following program
    a:=10
     Disp():
     a:=7
     print a
    Disp 1():
    print a

  11. What is meant by module?

  12. 5 x 3 = 15
  13. Define Local scope with an example.

  14. Define Enclosed scope with an example.

  15. Why access control is required?

  16. How will you ensure the principle of data encapsulation in object - oriented programming?

  17. Write a note on access modifiers of a class.

  18. 4 x 5 = 20
  19. Explain the types of scopes for variable or LEGB rule with example.

  20. Write any Five Characteristics of Modules.

  21. Write any five benefits in using modular programming.

  22. Explain the concept access control.

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

Reviews & Comments about 12th Computer Science - Scoping Model Question Paper 1

Write your Comment