CBSE Board Class 12 Physics Question Paper 2025 Set 3 (55-1-3) Available- Download Solution PDF with Answer Key

Sahaj Anand's profile photo

Sahaj Anand

Content Writer | Journalism Graduate | Updated on - Jul 9, 2025

The CBSE Class 12th Board Physics examination for the year 2025 was conducted on February 21, 2025. An estimated 17.88 lakh students are appearing from 7,842 centers in India and 26 other countries.

The exam carries a total of 70 marks for the theory paper, while 30 marks are assigned to internal assessment. The question paper includes multiple-choice questions (1 mark each), short-answer questions (2-3 marks each), and long-answer questions (5 marks each).

The question paper and solution PDF is available for download here.

CBSE Board Class 12 Physics (55/1/3) Question Paper 2025 with Solutions

CBSE Board Class 12 Physics Question Paper with Answer Key download iconDownload Check Solutions

Question 1:

A charge \( Q \) is fixed in position. Another charge \( q \) is brought near charge \( Q \) and released from rest. Which of the following graphs is the correct representation of the acceleration of the charge \( q \) as a function of its distance \( r \) from charge \( Q \)?



Correct Answer:
View Solution

Question 2:

Two conductors A and B of the same material have their lengths in the ratio 1:2 and radii in the ratio 2:3. If they are connected in parallel across a battery, the ratio \( \frac{v_A}{v_B} \) of the drift velocities of electrons in them will be:

  • (1) 2
  • (2) \( \frac{1}{2} \)
  • (3) \( \frac{3}{2} \)
  • (4) \( \frac{8}{9} \)
Correct Answer: (3) \( \frac{3}{2} \)
View Solution

Question 3:

A 1 cm segment of a wire lying along the x-axis carries a current of 0.5 A along the \( +x \)-direction. A magnetic field \( \mathbf{B} = (0.4 \, mT) \hat{j} + (0.6 \, mT) \hat{k} \) is switched on in the region. The force acting on the segment is:

  • (1) \( (2\hat{j} + 3\hat{k}) \, \mu N \)
  • (2) \( (-3\hat{j} + 2\hat{k}) \, \mu N \)
  • (3) \( (6\hat{j} + 4\hat{k}) \, \mu N \)
  • (4) \( (-4\hat{j} + 6\hat{k}) \, \mu N \)
Correct Answer: (2) \( (-3\hat{j} + 2\hat{k}) \, \mu\text{N} \)
View Solution

Question 4:

The ratio of the number of turns of the primary to the secondary coils in an ideal transformer is 20:1. If 240 V AC is applied from a source to the primary coil of the transformer and a 6.0 \( \Omega \) resistor is connected across the output terminals, then the current drawn by the transformer from the source will be:

  • (1) 4.0 A
  • (2) 3.8 A
  • (3) 0.97 A
  • (4) 0.10 A
Correct Answer: (4) 0.10 A
View Solution

Question 5:

You are required to design an air-filled solenoid of inductance 0.016 H having a length 0.81 m and radius 0.02 m. The number of turns in the solenoid should be:

  • (1) 2592
  • (2) 2866
  • (3) 2976
  • (4) 3140
Correct Answer: (3) 2976
View Solution

Question 6:

A voltage \( v = v_0 \sin \omega t \) applied to a circuit drives a current \( i = i_0 \sin (\omega t + \phi) \) in the circuit. The average power consumed in the circuit over a cycle is:

  • (1) Zero
  • (2) \( i_0 v_0 \cos \phi \)
  • (3) \( \frac{i_0 v_0}{2} \)
  • (4) \( \frac{i_0 v_0}{2} \cos \phi \)
Correct Answer: (4) \( \frac{i_0 v_0}{2} \cos \phi \)
View Solution

Question 7:

X-rays are more harmful to human beings than ultraviolet radiations because X-rays:

  • (1) have frequency lower than that of ultraviolet radiations.
  • (2) have wavelength smaller than that of ultraviolet radiations.
  • (3) move faster than ultraviolet radiations in air.
  • (4) are mechanical waves but ultraviolet radiations are electromagnetic waves.
Correct Answer: (2) have wavelength smaller than that of ultraviolet radiations.
View Solution

Question 8:

A point source is placed at the bottom of a tank containing a transparent liquid (refractive index \( n \)) to a depth H. The area of the surface of the liquid through which light from the source can emerge out is:

  • (A) \( \frac{\pi H^2}{(n-1)} \)
  • (B) \( \frac{\pi H^2}{(n^2-1)} \)
  • (C) \( \frac{\pi H^2}{\sqrt{n^2-1}} \)
  • (D) \( \frac{\pi H^2}{(n^2+1)} \)
Correct Answer: (B) \( \frac{\pi H^2}{(n^2-1)} \)
View Solution

Question 9:

In a photoelectric experiment with a material of work function 2.1 eV, the stopping potential is found to be 2.5 V. The maximum kinetic energy of ejected photoelectrons is:

  • (A) 0.4 eV
  • (B) 2.1 eV
  • (C) 2.5 eV
  • (D) 4.6 eV
Correct Answer: (C) 2.5 eV
View Solution

Question 10:

When a p-n junction diode is forward biased:

  • (A) the barrier height and the depletion layer width both increase.
  • (B) the barrier height increases and the depletion layer width decreases.
  • (C) the barrier height and the depletion layer width both decrease.
  • (D) the barrier height decreases and the depletion layer width increases.
Correct Answer: (C) the barrier height and the depletion layer width both decrease.
View Solution

Question 11:

Let \( \lambda_e \), \( \lambda_p \), and \( \lambda_d \) be the wavelengths associated with an electron, a proton, and a deuteron, all moving with the same speed. Then the correct relation between them is:

  • (1) \( \lambda_d > \lambda_p > \lambda_e \)
  • (2) \( \lambda_e > \lambda_p > \lambda_d \)
  • (3) \( \lambda_p > \lambda_e > \lambda_d \)
  • (4) \( \lambda_e = \lambda_p = \lambda_d \)
Correct Answer: (2) \( \lambda_e > \lambda_p > \lambda_d \)
View Solution

Question 12:

Which of the following figures correctly represents the shape of the curve of binding energy per nucleon as a function of mass number?



Correct Answer:
View Solution

Question 13:

Assertion (A): We cannot form a p-n junction diode by taking a slab of a p-type semiconductor and physically joining it to another slab of an n-type semiconductor.

Reason (R): In a p-type semiconductor \( \eta_e \gg \eta_h \) while in an n-type semiconductor \( \eta_h \gg \eta_e \).

  • (A) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of the Assertion (A).
  • (B) Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of the Assertion (A).
  • (C) Assertion (A) is true, but Reason (R) is false.
  • (D) Assertion (A) is false and Reason (R) is also false.
Correct Answer: (C) Assertion (A) is true, but Reason (R) is false.
View Solution

Question 14:

Assertion (A): The potential energy of an electron revolving in any stationary orbit in a hydrogen atom is positive.

Reason (R): The total energy of a charged particle is always positive.

  • (A) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of the Assertion (A).
  • (B) Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of the Assertion (A).
  • (C) Assertion (A) is true, but Reason (R) is false.
  • (D) Assertion (A) is false and Reason (R) is also false.
Correct Answer: (D) Assertion (A) is false and Reason (R) is also false.
View Solution

Question 15:

Assertion (A): It is difficult to move a magnet into a coil of large number of turns when the circuit of the coil is closed.

Reason (R): The direction of induced current in a coil with its circuit closed, due to motion of a magnet, is such that it opposes the cause.

  • (A) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of the Assertion (A).
  • (B) Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of the Assertion (A).
  • (C) Assertion (A) is true, but Reason (R) is false.
  • (D) Assertion (A) is false and Reason (R) is also false.
Correct Answer: (A) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of the Assertion (A).
View Solution

Question 16:

Assertion (A): The deflection in a galvanometer is directly proportional to the current passing through it.

Reason (R): The coil of a galvanometer is suspended in a uniform radial magnetic field.

  • (A) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of the Assertion (A).
  • (B) Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of the Assertion (A).
  • (C) Assertion (A) is true, but Reason (R) is false.
  • (D) Assertion (A) is false and Reason (R) is also false.
Correct Answer: (B) Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of the Assertion (A).
View Solution

Question 17:

\( n \) identical cells, each of e.m.f \( E \) and internal resistance \( r \), are connected in series. Later on, it was found that two cells ‘X’ and ‘Y’ are connected in reverse polarities. Calculate the potential difference across the cell ‘X’.

Correct Answer: \( 2E \)
View Solution

Question 18(a):

In a diffraction experiment, the slit is illuminated by light of wavelength 600 nm. The first minimum of the pattern falls at \( \theta = 30^\circ \). Calculate the width of the slit.

Correct Answer: \( d = 1.2 \times 10^{-6} \) m
View Solution

Question 18:

(b) In a Young’s double-slit experiment, two light waves, each of intensity \( I_0 \), interfere at a point, having a path difference \( \frac{\lambda}{8} \) on the screen. Find the intensity at this point.

Correct Answer: \( I = I_0 \left( 1 + \cos \frac{\pi}{4} \right) \)
View Solution

Question 19:

A double convex lens of glass has both faces of the same radius of curvature 17 cm. Find its focal length if it is immersed in water. The refractive indices of glass and water are 1.5 and 1.33 respectively.


Question 20:

An electron in Bohr model of hydrogen atom makes a transition from energy level \(-1.51 \, eV\) to \(-3.40 \, eV\). Calculate the change in the radius of its orbit. The radius of orbit of electron in its ground state is \(0.53 \, \AA\).


Question 21:

A p-type Si semiconductor is made by doping an average of one dopant atom per \(5 \times 10^7\) silicon atoms. If the number density of silicon atoms in the specimen is \(5 \times 10^{28}\) atoms m\(^{-3}\), find the number of holes created per cubic centimetre in the specimen due to doping. Also give one example of such dopants.


Question 22:

(a) Two batteries of emf's 3V \& 6V and internal resistances 0.2 \( \ohm \) \& 0.4 \( \ohm \) are connected in parallel. This combination is connected to a 4 \( \ohm \)resistor. Find:

(i) the equivalent emf of the combination

(ii) the equivalent internal resistance of the combination

(iii) the current drawn from the combination


 

Correct Answer: (i) Equivalent emf = \( 4 \, \text{V} \)
(ii) Equivalent internal resistance = \( 0.133 \, \Omega \)
(iii) Current drawn = \( 0.968 \, \text{A} \) ---
View Solution

Question 22(b):

(i) A conductor of length \( l \) is connected across an ideal cell of emf E. Keeping the cell connected, the length of the conductor is increased to \( 2l \) by gradually stretching it. If R and \( R' \) are initial and final values of resistance and \( v_d \) and \( v_d' \) are initial and final values of drift velocity, find the relation between:

(i) \( R' \) and \( R \)

(ii) \( v_d' \) and \( v_d \)

(ii) When electrons drift in a conductor from lower to higher potential, does it mean that all the ‘free electrons’ of the conductor are moving in the same direction?


 

Correct Answer: (i) \( R' = 4R \)
(ii) \( v_d' = 2v_d \)
(iii) No, not all free electrons move in the same direction. ---
View Solution

Question 23:

A particle of charge \( q \) is moving with a velocity \( \vec{v} \) at a distance \( d \) from a long straight wire carrying a current \( I \) as shown in the figure. At this instant, it is subjected to a uniform electric field \( \vec{E} \) such that the particle keeps moving undeviated. In terms of unit vectors \( \hat{i}, \hat{j}, \) and \( \hat{k} \), find:


(a) the magnetic field \( \vec{B} \),

(b) the magnetic force \( \vec{F}_m \), and

(c) the electric field \( \vec{E} \) acting on the charge.



Question 24:

An ac source of voltage \( v = v_m \sin \omega t \) is connected to a series combination of LCR circuit. Draw the phasor diagram. Using it, obtain an expression for the impedance of the circuit and the phase difference between applied voltage and the current.


Question 25(a):

A parallel plate capacitor is charged by an ac source. Show that the sum of conduction current (\( I_c \)) and the displacement current (\( I_d \)) has the same value at all points of the circuit.


Question 25:

(b) In case (a) above, is Kirchhoff's first rule (junction rule) valid at each plate of the capacitor? Explain.


Question 26(a):

Mention any three features of results of experiment on photoelectric effect which cannot be explained using the wave theory of light.


Question 26:

(b) In his experiment on photoelectric effect, Robert A. Millikan found the slope of the cut-off voltage versus frequency of incident light plot to be \( 4.12 \times 10^{-15} \, Vs \). Calculate the value of Planck’s constant from it.


Question 27(a):

Draw circuit arrangement for studying V-I characteristics of a p-n junction diode.


Question 27(b):

Show the shape of the characteristics of a diode.


Question 27(c):

Mention two information that you can get from these characteristics.


Question 28(a):

Define ‘Mass defect’ and ‘Binding energy’ of a nucleus. Describe ‘Fission process’ on the basis of binding energy per nucleon.


Question 28(b):

A deuteron contains a proton and a neutron and has a mass of 2.013553 u. Calculate the mass defect for it in u and its energy equivalence in MeV.
Given:
\( m_p = 1.007277 \) u, \( m_n = 1.008665 \) u, \( 1 \) u = \( 931.5 \) MeV/\( c^2 \).

Correct Answer: Mass defect \( \Delta m = 0.002389 \) u
Binding energy \( E_b = 2.224 \) MeV
View Solution

Question 29:

A thin lens is a transparent optical medium bounded by two surfaces, at least one of which should be spherical. Applying the formula for image formation by a single spherical surface successively at the two surfaces of a lens, one can obtain the 'lens maker formula' and then the 'lens formula'. A lens has two foci - called 'first focal point' and 'second focal point' of the lens, one on each side.



Consider the arrangement shown in figure. A black vertical arrow and a horizontal thick line with a ball are painted on a glass plate. It serves as the object. When the plate is illuminated, its real image is formed on the screen.
Which of the following correctly represents the image formed on the screen?



Correct Answer: (B)
View Solution

Question 29. (ii)​:

Which of the following statements is incorrect?

  • (A) For a convex mirror magnification is always negative.
  • (B) For all virtual images formed by a mirror magnification is positive.
  • (C) For a concave lens magnification is always positive.
  • (D) For real and inverted images, magnification is always negative.
Correct Answer: (C) For a concave lens magnification is always positive.
View Solution

Question 29. (iii):

A convex lens of focal length \( f \) is cut into two equal parts perpendicular to the principal axis. The focal length of each part will be:

  • (A) \( f \)
  • (B) \( 2f \)
  • (C) \( \frac{f}{2} \)
  • (D) \( \frac{f}{4} \)
Correct Answer: (C) \( \frac{f}{2} \)
View Solution

OR

Question 29(iii):

If an object in case (i) above is 20 cm from the lens and the screen is 50 cm away from the object, the focal length of the lens used is:

  • (1) 10 cm
  • (2) 12 cm
  • (3) 16 cm
  • (4) 20 cm
Correct Answer: (2) 12 cm
View Solution

Question 29(IV):

The distance of an object from the first focal point of a biconvex lens is \( X_1 \) and the distance of the image from the second focal point is \( X_2 \). The focal length of the lens is:

  • (1) \( X_1 X_2 \)
  • (2) \( \sqrt{X_1 + X_2} \)
  • (3) \( \sqrt{X_1 X_2} \)
  • (4) \( \sqrt{\frac{X_2}{X_1}} \)
Correct Answer: (3) \( \sqrt{X_1 X_2} \)
View Solution

Question 30:

A circuit consisting of a capacitor C, a resistor of resistance R and an ideal battery of emf V, as shown in figure is known as RC series circuit.

As soon as the circuit is completed by closing key S₁ (keeping S₂ open) charges begin to flow between the capacitor plates and the battery terminals. The charge on the capacitor increases and consequently the potential difference Vc (= q/C) across the capacitor also increases with time. When this potential difference equals the potential difference across the battery, the capacitor is fully charged (Q = VC). During this process of charging, the charge q on the capacitor changes with time t as

q = Q[1 - e^(-t/RC)]

The charging current can be obtained by differentiating it and using

d/dx (e^(mx)) = me^(mx)

Consider the case when R = 20 kΩ, C = 500 μF and V = 10 V.

(I) The final charge on the capacitor, when key \( S_1 \) is closed and \( S_2 \) is open, is:

  • (A) \(5 \, \mu C\)
  • (B) \(5 \, mC\)
  • (C) \(25 \, mC\)
  • (D) \(0.1 \, C\)
Correct Answer: (B) \(5 \, mC \)
View Solution

Question 30(II):

For sufficient time, the key \( S_1 \) is closed and \( S_2 \) is open. Now key \( S_2 \) is closed and \( S_1 \) is open. What is the final charge on the capacitor?

  • (A) Zero
  • (B) \(5 \, mC\)
  • (C) \(2.5 \, mC\)
  • (D) \(5 \, \mu C\)
Correct Answer: (B) \(5 \, mC\)
View Solution

Question 30(III):

The dimensional formula for \( RC \) is:

  • (A) \( [M L^2 T^{-3} A^{-2}] \)
  • (B) \( [M^0 L^0 T^{-1} A^0] \)
  • (C) \( [M^{-1} L^{-2} T^4 A^2] \)
  • (D) \( [M^0 L^0 T^1 A^0] \)
Correct Answer: (A) \( [M L^2 T^{-3} A^{-2}] \)
View Solution

Question 30. (iv)​:

The key \( S_1 \) is closed and \( S_2 \) is open. The value of current in the resistor after 5 seconds is:

  • (A) \( \frac{1}{2 \sqrt{e}} \, mA \)
  • (B) \( \sqrt{e} \, mA \)
  • (C) \( \frac{1}{\sqrt{e}} \, mA \)
  • (D) \( \frac{1}{2e} \, mA \)
Correct Answer: (C) \( \frac{1}{\sqrt{e}} \, \text{mA} \)
View Solution

Question 30. (iv)​:

The key \( S_1 \) is closed and \( S_2 \) is open. The initial value of charging current in the resistor, is:

  • (A) 5 \, mA
  • (B) 0.5 \, mA
  • (C) 2 \, mA
  • (D) 1 \, mA
Correct Answer: (B) 0.5 \, mA
View Solution

Question 31(a)(i).:

(1) What are coherent sources? Why are they necessary for observing a sustained interference pattern?

Correct Answer:
View Solution

Question 31(a)(i).:

(2) Lights from two independent sources are not coherent. Explain.

Correct Answer:
View Solution

Question 31(a)(ii).:

Two slits 0.1 mm apart are arranged 1.20 m from a screen. Light of wavelength 600 nm from a distant source is incident on the slits.

(1) How far apart will adjacent bright interference fringes be on the screen?

Correct Answer: \( y = 7.2 \) mm
View Solution

Question 31(a)(ii):

(2) Find the angular width (in degrees) of the first bright fringe.

Correct Answer: \( \theta = 0.034^\circ \)
View Solution

OR

Question 31(b)(i):

Define a wavefront. An incident plane wave falls on a convex lens and gets refracted through it. Draw a diagram to show the incident and refracted wavefront.

Correct Answer:
View Solution

Question 31(b)(ii):

A beam of light coming from a distant source is refracted by a spherical glass ball (refractive index 1.5) of radius 15 cm. Draw the ray diagram and obtain the position of the final image formed.

Correct Answer:
View Solution

Question 32. (a)(i)​:

Two point charges \( 5 \, \mu C \) and \( -1 \, \mu C \) are placed at points \( (-3 \, cm, 0, 0) \) and \( (3 \, cm, 0, 0) \) respectively. An external electric field \( \vec{E} = \frac{A}{r^2} \hat{r} \) where \( A = 3 \times 10^5 \, V/m \) is switched on in the region. Calculate the change in electrostatic energy of the system due to the electric field.

Correct Answer:
View Solution

Question 32. (a)(ii):

A system of two conductors is placed in air and they have net charge of \( +80 \, \mu C \) and \( -80 \, \mu C \) which causes a potential difference of 16 V between them.

(1) Find the capacitance of the system.

(2) If the air between the capacitor is replaced by a dielectric medium of dielectric constant 3, what will be the potential difference between the two conductors?

(3) If the charges on two conductors are changed to \( +160 \, \mu C \) and \( -160 \, \mu C \), will the capacitance of the system change? Give reason for your answer.

Correct Answer:
View Solution

OR

Question 32(b)(I):

Consider three metal spherical shells A, B, and C, each of radius \( R \). Each shell has a concentric metal ball of radius \( R/10 \). The spherical shells A, B, and C are given charges \( +6q, -4q, \) and \( 14q \) respectively. Their inner metal balls are also given charges \( -2q, +8q, \) and \( -10q \) respectively. Compare the magnitude of the electric fields due to shells A, B, and C at a distance \( 3R \) from their centers.

Correct Answer:
View Solution

Question 32(b)(II)::

A charge \( -6 \mu C \) is placed at the center B of a semicircle of radius 5 cm, as shown in the figure. An equal and opposite charge is placed at point D at a distance of 10 cm from B. A charge \( +5 \mu C \) is moved from point ‘C’ to point ‘A’ along the circumference. Calculate the work done on the charge.



Correct Answer:
View Solution

Question 33. (a)(i)​:

A proton moving with velocity \( V \) in a non-uniform magnetic field traces a path as shown in the figure. The path followed by the proton is always in the plane of the paper. What is the direction of the magnetic field in the region near points P, Q, and R? What can you say about relative magnitude of magnetic fields at these points?


Correct Answer:
View Solution

Question 33. (a)(iI)​::

A current carrying circular loop of area A produces a magnetic field \( B \) at its centre. Show that the magnetic moment of the loop is \( \frac{2BA}{\mu_0} \sqrt{\frac{A}{\pi}} \).

Correct Answer:
View Solution

Question 33. (b)(i)​::

Derive an expression for the torque acting on a rectangular current loop suspended in a uniform magnetic field.

Correct Answer:
View Solution

Question 33. (b)(ii)​::

A charged particle is moving in a circular path with velocity \( V \) in a uniform magnetic field \( \vec{B} \). It is made to pass through a sheet of lead and as a consequence, it looses one half of its kinetic energy without change in its direction. How will (1) the radius of its path change? (2) its time period of revolution change?

Correct Answer:
View Solution

CBSE CLASS XII Questions

  • 1.
    Write the following user-defined functions in Python:

    (i) push_trail(N, myStack): Here N and myStack are lists, and myStack represents a stack.
    The function should push the last 5 elements from the list N onto the stack myStack.
    Assume that N contains at least 5 elements.

    (ii) pop_one(myStack): The function should pop an element from the stack myStack, and return this element.
    If the stack is empty, then the function should display the message 'Stack Underflow', and return None.

    (iii) display_all(myStack): The function should display all the elements of the stack myStack, without deleting them.
    If the stack is empty, the function should display the message 'Empty Stack'.


      • 2.

        Suman has created a table named WORKER with a set of records to maintain the data of the construction sites, which consists of WID, WNAME, WAGE, HOURS, TYPE, and SITEID. After creating the table, she entered data in it, which is as follows : 


          • 3.
            Nisha is assigned the task of maintaining the staff data of an organization. She has to store the details of the staff in the SQL table named EMPLOYEES with attributes as EMPNO, NAME, DEPARTMENT, BASICSAL to store Employee’s Identification Number, Name, Department, and Basic Salary respectively. There can be two or more Employees with the same name in the organization.
            (i)
            (a) Help Nisha to identify the attribute which should be designated as the PRIMARY KEY. Justify your answer.
            OR
            (b) Help Nisha to identify the constraint which should be applied to the attribute NAME such that the Employees’ Names cannot be left empty or NULL while entering the records but can have duplicate values.
            (ii)
            (a) Write the SQL command to change the size of the attribute BASICSAL in the table EMPLOYEES to allow the maximum value of 99999.99 to be stored in it.
            OR
            (b) Write the SQL command to delete the table EMPLOYEES.


              • 4.
                A stack, named ClrStack, contains records of some colors. Each record is represented as a tuple containing four elements — ColorName, RED, GREEN, BLUE. ColorName is a string, and RED, GREEN, BLUE are integers. For example, a record in the stack may be ('Yellow', 237, 250, 68).

                Write the following user-defined functions in Python to perform the specified operations on ClrStack:

                (i) push_Clr(ClrStack, new_Clr): This function takes the stack ClrStack and a new record new_Clr as arguments and pushes this new record onto the stack.

                (ii) pop_Clr(ClrStack): This function pops the topmost record from the stack and returns it. If the stack is already empty, the function should display the message "Underflow".

                (iii) isEmpty(ClrStack): This function checks whether the stack is empty. If the stack is empty, the function should return True, otherwise the function should return False.


                  • 5.
                    Define electric flux through a surface. Give the significance of a Gaussian surface. A charge outside a Gaussian surface does not contribute to total electric flux through the surface. Why?


                      • 6.
                        A CSV file "P_record.csv" contains the records of patients in a hospital. Each record of the file contains the following data:
                        - Name of a patient
                        - Disease
                        - Number of days patient is admitted
                        - Amount

                        For example, a sample record of the file may be:
                        ["Gunjan", "Jaundice", 4, 15000]

                        Write the following Python functions to perform the specified operations on this file:

                        (i) Write a function read_data() which reads all the data from the file and displays the details of all the 'Cancer' patients.

                        (ii) Write a function count_rec() which counts and returns the number of records in the file.

                          Comments


                          No Comments To Show