New ! Computer Science MCQ Practise Tests



Scoping One Mark Questions

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:30:00 Hrs
Total Marks : 15
    15 x 1 = 15
  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. The process of binding a variable name with an object is called

    (a)

    Scope

    (b)

    Mapping

    (c)

    late binding

    (d)

    early binding

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

    (a)

    ::

    (b)

    :=

    (c)

    =

    (d)

    ==

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

    (a)

    Scope

    (b)

    Mapping

    (c)

    Binding

    (d)

    Namespaces

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

    (a)

    Local Scope

    (b)

    Global scope

    (c)

    Module scope

    (d)

    Function Scope

  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

  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

  8. The part of a program that can see or use the variables are called

    (a)

    Scope

    (b)

    Parameter

    (c)

    Function

    (d)

    Indentation

  9. Which of the following refers to the addresses to an object in memory?

    (a)

    Functions

    (b)

    Indentation

    (c)

    Variables

    (d)

    Operators

  10. How many variables can be mapped to the same instance?

    (a)

    2

    (b)

    3

    (c)

    4

    (d)

    Multiple

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

    (a)

    Programming languages

    (b)

    Application software

    (c)

    System software

    (d)

    MySQL

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

    (a)

    name == object

    (b)

    name:: object

    (c)

    name:= object

    (d)

    object:= name

  13. The order in which variables have to be mapped to the object in order to obtain the value is called

    (a)

    Rule

    (b)

    Syntax

    (c)

    Scope

    (d)

    Hierarchy

  14. Which of the following rule is used to decide the order in which the scopes are to be searched for scope resolution?

    (a)

    LEGB

    (b)

    LGEB

    (c)

    LBEG

    (d)

    LGBE

  15. How many types of variable scope are there?

    (a)

    2

    (b)

    4

    (c)

    3

    (d)

    6

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

Reviews & Comments about 12th Computer Science Unit 3 Scoping One Mark Question Paper

Write your Comment