Scope of objects and Names

Qus. 1 : <p>What will be the output of the following pseudo code?</p><pre>Integer a,b<br>set a=10,b=5<br>a=a mod(a-6)<br>b=b mod(b-2)<br>print a-b</pre>

  1. 4
  2. 0
  3. 1
  4. 8
Qus. 2 : Choose the correct option with respect to Python.

  1. Both tuples and lists are immutable
  2. Tuples are immutable while lists are mutable
  3. Both tuples and lists are mutable
  4. Tuples are mutable while lists are immutable
Qus. 3 : What is Full form of LEGB ?

  1. Low, Enclosing, Global and Built-in
  2. Local, Enclosing, Global and Built-in
  3. Local, Ending, Global and Built-in
  4. Light, Emitting, Global and Built-in

Programs

python program to generate 3 random integers between 100 and 999 which is divisible by 5

View Solution


python program to generate 6 digit random secure OTP between 100000 to 999999

View Solution


python program to generate 6 random numbers and then print their mean median and mode

View Solution


python program to print the calendar of given month and year

View Solution


python program to print the calendar of given year

View Solution


CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad