New ! Computer Science MCQ Practise Tests



Scoping Model Question Paper

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 40
    7 x 1 = 7
  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 security technique that regulates who can use resources in a computing environment?

    (a)

    Password

    (b)

    Authentication

    (c)

    Access control

    (d)

    Certification

  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. The members that are accessible from within the class and are also available to its sub classes is called

    (a)

    Public members

    (b)

    Protected members

    (c)

    Secured members

    (d)

    Private members

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

    (a)

    2

    (b)

    3

    (c)

    4

    (d)

    Multiple

  6. ______can be separately compiled and stored in a library

    (a)

    Characteristics

    (b)

    Syntax

    (c)

    Modules

    (d)

    none of these

  7. ___________is a selective restriction of access to data in a program?

    (a)

    Control variable

    (b)

    System authentication

    (c)

    Access control

    (d)

    Module

  8. 1 x 2 = 2
  9. Choose the incorrect statement from the following.
    (i) There a different types of variable scope
    (ii) Enclosed and extended are the type of variable scope
    (iii) A variable is declared outside of all the function is called global variable
    (iv) Built-in Scope is also called Module scope.
    (a) i, iii and iv
    (b) ii and ii
    (c) i and ii
    (d) iii only

  10. 6 x 2 = 12
  11. What is a scope?

  12. What is Mapping?

  13. What do you mean by Namespaces?

  14. Define variable.

  15. What are the types of variable scope

  16. What is meant by module?

  17. 3 x 3 = 9
  18. Define Local scope with an example.

  19. Why access control is required?

  20. Identify the scope of the variables in the following pseudo code and write its output
    color:= 'Red'
    mycolor( ):
    b:='Blue'
    myfavcolor( ):
    g:='Green'
    printcolor, b, g
    myfavcolor( )
    printcolor, b
    mycolor( )
    print color

  21. 2 x 5 = 10
  22. Write any Five Characteristics of Modules.

  23. Write any five benefits in using modular programming.

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

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

Write your Comment