New ! Computer Science MCQ Practise Tests



Scoping 3 Marks and 5 Marks Questions

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:30:00 Hrs
Total Marks : 50
    10 x 3 = 30
  1. Define Local scope with an example.

  2. Define Global scope with an example.

  3. Define Enclosed scope with an example.

  4. Why access control is required?

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

  6. How the changes inside the function can't affect the variable on the outside of the function in unexpected ways?

  7. Write a note on built-in scope.

  8. Write a note on module.

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

  10. Write a short note on types of variable scope.

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

  13. Write any Five Characteristics of Modules.

  14. Write any five benefits in using modular programming.

  15. Explain the concept access control.

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

Reviews & Comments about Class 12th Computer Science - Scoping 3 Marks and 5 Marks Questions

Write your Comment