New ! Computer Science MCQ Practise Tests



Scoping Book Back Questions

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:45:00 Hrs
Total Marks : 30
    5 x 1 = 5
  1. Which of the following refers to the visibility of variablesin one part of a program to another part of the same program.

    (a)

    Scope

    (b)

    Memory

    (c)

    Address

    (d)

    Accessibility

  2. Which of the following is used in programming languages to map the variable and object?

    (a)

    ::

    (b)

    :=

    (c)

    =

    (d)

    ==

  3. Which of the following security technique that regulates who can use resources in a computing environment?

    (a)

    Password

    (b)

    Authentication

    (c)

    Access control

    (d)

    Certification

  4. 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

  5. Which members are accessible from outside the class?

    (a)

    Public members

    (b)

    Protected members

    (c)

    Secured members

    (d)

    Private members

  6. 3 x 2 = 6
  7. What is a scope?

  8. What do you mean by Namespaces?

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

  10. 3 x 3 = 9
  11. Define Local scope with an example.

  12. Define Global scope with an example.

  13. Why access control is required?

  14. 2 x 5 = 10
  15. Explain the types of scopes for variable or LEGB rule with example.

  16. Write any five benefits in using modular programming.

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

Reviews & Comments about 12th Standard Computer Science - Scoping Book Back Questions

Write your Comment