Scoping Book Back Questions & Answers

Unit 3 > Computer Science > Class 12 > Samacheer Kalvi - English Medium

    Choose the correct answer

  • 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

    Correct answer: (A) Scope

    View explanation


  • 2. The process of binding a variable name with an object is called

    (A) Scope

    (B) Mapping

    (C) late binding

    (D) early binding

    Correct answer: (B) Mapping

    View explanation


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

    (A) ::

    (B) :=

    (C) =

    (D) ==

    Correct answer: (C) =

    View explanation


  • 4. Containers for mapping names of variables to objects is called

    (A) Scope

    (B) Mapping

    (C) Binding

    (D) Namespaces

    Correct answer: (D) Namespaces

    View explanation


  • 5. Which scope refers to variables defined in current function?

    (A) Local Scope

    (B) Global scope

    (C) Module scope

    (D) Function Scope

    Correct answer: (A) Local Scope

    View explanation


  • 6. 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

    Correct answer: (B) Modular programming

    View explanation


  • 7. Which of the following security technique that regulates who canuse resources in a computing environment?

    (A) Password

    (B)Authentication

    (C) Access control

    (D) Certification

    Correct answer: (C) Access control

    View explanation


  • 8. 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

    Correct answer: (D) Private members

    View explanation


  • 9. Which members are accessible from outside the class?

    (A) Public members

    (B)Protected members

    (C) Secured members

    (D) Private members

    Correct answer: (A) Public members

    View explanation


  • 10. The members that are accessible from within the class and are also available to its subclasses is called

    (A) Public members

    (B)Protected members

    (C) Secured members

    (D) Private members

    Correct answer: (B)Protected members

    View explanation