i want neet 2027 ug predicted questions paper

Asking for Preferences
Searching the Web

NEET 2025 2026 important topics high weightage chapters predicted questions

Reading File
Running Command

ls -la /home/daytona/workspace/ 2>/dev/null || echo "workspace is empty or missing"

Running Command

mkdir -p /home/daytona/workspace/neet2027 && echo "Created"

Writing File

~/neet2027/generate_neet2027.py

from reportlab.lib.pagesizes import A4
from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
from reportlab.lib.units import cm
from reportlab.lib import colors
from reportlab.platypus import (
    SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle,
    HRFlowable, PageBreak, KeepTogether
)
from reportlab.lib.enums import TA_CENTER, TA_LEFT, TA_JUSTIFY

OUTPUT = "/home/daytona/workspace/neet2027/NEET_2027_Predicted_Paper.pdf"

# ──────────────── DATA ────────────────

PHYSICS_QS = [
    # Mechanics / Kinematics
    ("1", "A projectile is launched at 30° to the horizontal with speed 40 m/s. The horizontal range is (g = 10 m/s²):",
     ["A) 80 m", "B) 138.6 m", "C) 160 m", "D) 40 m"], "B"),
    ("2", "The displacement-time graph of a particle is a straight line passing through the origin at 45°. The velocity of the particle is:",
     ["A) Zero", "B) Uniform", "C) Increasing", "D) Decreasing"], "B"),
    ("3", "A body of mass 5 kg is moving with momentum 50 kg·m/s. The kinetic energy of the body is:",
     ["A) 250 J", "B) 125 J", "C) 500 J", "D) 100 J"], "A"),
    ("4", "Two objects of masses m and 4m moving with equal kinetic energies. The ratio of their momenta is:",
     ["A) 1:4", "B) 4:1", "C) 1:2", "D) 2:1"], "C"),
    ("5", "A wheel of moment of inertia 2 kg·m² rotates at 10 rad/s. Its angular momentum is:",
     ["A) 5 kg·m²/s", "B) 10 kg·m²/s", "C) 20 kg·m²/s", "D) 0.2 kg·m²/s"], "C"),
    # Laws of Motion
    ("6", "A block of 10 kg rests on a horizontal surface. The coefficient of static friction is 0.4. The minimum force needed to just start the motion (g = 10 m/s²) is:",
     ["A) 40 N", "B) 20 N", "C) 80 N", "D) 100 N"], "A"),
    ("7", "Newton's third law of motion is related to conservation of:",
     ["A) Energy", "B) Linear momentum", "C) Angular momentum", "D) Mass"], "B"),
    ("8", "A rocket in space ejects gases at 1000 m/s. If exhaust rate is 2 kg/s, the thrust force is:",
     ["A) 500 N", "B) 1000 N", "C) 2000 N", "D) 4000 N"], "C"),
    # Work, Energy, Power
    ("9", "A spring of force constant 1000 N/m is compressed by 0.1 m. The elastic potential energy stored is:",
     ["A) 5 J", "B) 10 J", "C) 100 J", "D) 0.5 J"], "A"),
    ("10", "A body moves 5 m under a force of 10 N at 60° to the displacement. Work done is:",
     ["A) 50 J", "B) 25 J", "C) 43.3 J", "D) 0 J"], "B"),
    # Gravitation
    ("11", "The escape velocity from Earth's surface is approximately:",
     ["A) 7.9 km/s", "B) 11.2 km/s", "C) 9.8 km/s", "D) 3.0 km/s"], "B"),
    ("12", "A satellite orbits at height equal to Earth's radius R. Its orbital speed compared to surface speed is:",
     ["A) Same", "B) 1/√2 times", "C) √2 times", "D) 1/2 times"], "B"),
    # Oscillations
    ("13", "A simple pendulum of length 1 m has time period (g = 10 m/s²):",
     ["A) 1 s", "B) 2 s", "C) 0.5 s", "D) π s"], "B"),
    ("14", "In SHM, the acceleration is maximum at:",
     ["A) Mean position", "B) Extreme position", "C) Any position", "D) Centre"], "B"),
    # Thermodynamics
    ("15", "For an ideal gas undergoing isothermal expansion, which is true?",
     ["A) ΔU > 0", "B) ΔU = 0", "C) ΔU < 0", "D) Q = 0"], "B"),
    ("16", "First law of thermodynamics is essentially:",
     ["A) Newton's second law", "B) Conservation of energy", "C) Carnot theorem", "D) Zeroth law"], "B"),
    ("17", "Efficiency of Carnot engine between 800 K and 400 K is:",
     ["A) 25%", "B) 50%", "C) 75%", "D) 100%"], "B"),
    ("18", "In an adiabatic process for an ideal gas, which relation holds?",
     ["A) PV = constant", "B) PV^γ = constant", "C) TV = constant", "D) P/T = constant"], "B"),
    # Current Electricity
    ("19", "Three resistors of 3Ω, 3Ω and 3Ω are connected in parallel. Equivalent resistance is:",
     ["A) 9 Ω", "B) 3 Ω", "C) 1 Ω", "D) 6 Ω"], "C"),
    ("20", "A cell has EMF 2 V and internal resistance 0.5 Ω. On connecting 1.5 Ω externally, terminal voltage is:",
     ["A) 2 V", "B) 1.5 V", "C) 1.0 V", "D) 0.5 V"], "B"),
    ("21", "Kirchhoff's junction rule is based on conservation of:",
     ["A) Energy", "B) Charge", "C) Momentum", "D) Mass"], "B"),
    ("22", "A Wheatstone bridge is balanced when:",
     ["A) P/Q = R/S", "B) P/Q = S/R", "C) PQ = RS", "D) P + Q = R + S"], "A"),
    # Magnetism
    ("23", "A proton moves at 10⁶ m/s perpendicular to a magnetic field of 0.1 T. The radius of its circular path is (m = 1.67×10⁻²⁷ kg, q = 1.6×10⁻¹⁹ C):",
     ["A) 0.1 m", "B) 0.104 m", "C) 1.04 m", "D) 0.05 m"], "B"),
    ("24", "An electron enters perpendicular to a magnetic field. It follows a:",
     ["A) Straight path", "B) Parabolic path", "C) Circular path", "D) Helical path"], "C"),
    ("25", "Magnetic susceptibility of a diamagnetic material is:",
     ["A) Large positive", "B) Small positive", "C) Small negative", "D) Zero"], "C"),
    # Electromagnetic Induction
    ("26", "Lenz's law is related to conservation of:",
     ["A) Charge", "B) Energy", "C) Momentum", "D) Mass"], "B"),
    ("27", "The self-inductance of a coil is 2 H. If current changes from 0 to 5 A in 0.1 s, induced EMF is:",
     ["A) 10 V", "B) 100 V", "C) 1 V", "D) 0.1 V"], "B"),
    # Optics
    ("28", "A convex lens of focal length 20 cm forms a real image at 60 cm. Object distance is:",
     ["A) 30 cm", "B) 40 cm", "C) 60 cm", "D) 20 cm"], "A"),
    ("29", "Critical angle for total internal reflection in glass (n = 1.5) is:",
     ["A) 48.6°", "B) 30°", "C) 41.8°", "D) 60°"], "C"),
    ("30", "In Young's double slit experiment, fringe width β = λD/d. If d is doubled, β becomes:",
     ["A) 2β", "B) β/2", "C) β", "D) 4β"], "B"),
    # Semiconductor / Modern Physics
    ("31", "Work function of a metal is 4 eV. Threshold frequency for photoelectric effect is:",
     ["A) 9.7 × 10¹⁴ Hz", "B) 9.7 × 10¹³ Hz", "C) 4.8 × 10¹⁴ Hz", "D) 1.2 × 10¹⁵ Hz"], "A"),
    ("32", "In a p-n junction diode, forward bias causes the depletion layer to:",
     ["A) Widen", "B) Narrow", "C) Remain unchanged", "D) Disappear completely"], "B"),
    ("33", "Energy gap of silicon is approximately:",
     ["A) 0.67 eV", "B) 1.1 eV", "C) 2.3 eV", "D) 5.0 eV"], "B"),
    ("34", "Half-life of a radioactive element is 30 min. After 2 hours, the fraction remaining is:",
     ["A) 1/8", "B) 1/16", "C) 1/4", "D) 1/2"], "B"),
    ("35", "In Bohr's model, the radius of nth orbit is proportional to:",
     ["A) n", "B) n²", "C) n³", "D) 1/n"], "B"),
    # Waves
    ("36", "Speed of sound in air at 0°C is 330 m/s. At 4°C it will be approximately:",
     ["A) 330 m/s", "B) 332 m/s", "C) 340 m/s", "D) 320 m/s"], "B"),
    ("37", "Two tuning forks of 480 Hz and 484 Hz are sounded together. Beat frequency is:",
     ["A) 2 Hz", "B) 4 Hz", "C) 8 Hz", "D) 484 Hz"], "B"),
    ("38", "Doppler effect is not applicable to:",
     ["A) Sound", "B) Light", "C) Both", "D) Neither"], "D"),
    # Electrostatics
    ("39", "Electric field inside a hollow conducting sphere is:",
     ["A) Maximum at centre", "B) Zero", "C) Non-zero", "D) Equal to surface field"], "B"),
    ("40", "Capacitance of a parallel plate capacitor is doubled by:",
     ["A) Doubling plate separation", "B) Halving plate area", "C) Inserting dielectric of k = 2", "D) Removing dielectric"], "C"),
    ("41", "Energy stored in a capacitor of capacitance C charged to voltage V is:",
     ["A) CV", "B) ½CV²", "C) CV²", "D) 2CV²"], "B"),
    # Units & Measurements
    ("42", "Dimensional formula of power is:",
     ["A) [ML²T⁻³]", "B) [MLT⁻²]", "C) [ML²T⁻²]", "D) [MT⁻³]"], "A"),
    ("43", "Significant figures in 0.00340 are:",
     ["A) 6", "B) 5", "C) 3", "D) 2"], "C"),
    # Fluid Mechanics
    ("44", "Bernoulli's theorem is based on conservation of:",
     ["A) Mass", "B) Momentum", "C) Energy", "D) Volume"], "C"),
    ("45", "Terminal velocity of a sphere in a viscous liquid is proportional to (r = radius):",
     ["A) r", "B) r²", "C) r³", "D) 1/r"], "B"),
]

CHEMISTRY_QS = [
    # Structure of Atom
    ("46", "The wavelength of a photon emitted when electron jumps from n=3 to n=2 in hydrogen is (Rydberg const = 1.097 × 10⁷ m⁻¹):",
     ["A) 486 nm", "B) 656 nm", "C) 410 nm", "D) 122 nm"], "B"),
    ("47", "The 4th quantum number (spin) can have values:",
     ["A) 0 only", "B) ±1/2", "C) ±1", "D) 1 to 4"], "B"),
    ("48", "Which orbital has dumbbell shape?",
     ["A) s", "B) p", "C) d", "D) f"], "B"),
    # Chemical Bonding
    ("49", "The VSEPR geometry of SF₆ is:",
     ["A) Trigonal bipyramidal", "B) Octahedral", "C) Square planar", "D) Tetrahedral"], "B"),
    ("50", "Bond order in N₂ molecule is:",
     ["A) 1", "B) 2", "C) 3", "D) 2.5"], "C"),
    ("51", "Which of the following has the highest bond dissociation energy?",
     ["A) F₂", "B) Cl₂", "C) Br₂", "D) I₂"], "B"),
    # Thermodynamics (Chem)
    ("52", "For a spontaneous process at constant T and P, Gibbs free energy change (ΔG) is:",
     ["A) ΔG > 0", "B) ΔG = 0", "C) ΔG < 0", "D) Any value"], "C"),
    ("53", "For an exothermic reaction ΔH is:",
     ["A) Positive", "B) Negative", "C) Zero", "D) Unpredictable"], "B"),
    # Equilibrium
    ("54", "Le Chatelier's principle states that a system at equilibrium, when subjected to a change, will:",
     ["A) Resist the change", "B) Enhance the change", "C) Stop reacting", "D) Become irreversible"], "A"),
    ("55", "For the reaction N₂ + 3H₂ ⇌ 2NH₃, increasing pressure will:",
     ["A) Shift equilibrium to left", "B) Shift equilibrium to right", "C) No effect", "D) Increase Kc"], "B"),
    # Redox / Electrochemistry
    ("56", "EMF of a cell with electrode potentials +0.80 V (cathode) and -0.44 V (anode) is:",
     ["A) 0.36 V", "B) 1.24 V", "C) -0.36 V", "D) 0.44 V"], "B"),
    ("57", "Faraday's law of electrolysis relates the amount of substance deposited to:",
     ["A) Temperature", "B) Charge passed", "C) Pressure", "D) Volume"], "B"),
    # Chemical Kinetics
    ("58", "For first-order reaction, half-life is:",
     ["A) t½ = 0.693/k", "B) t½ = k/0.693", "C) t½ = 1/k[A]", "D) t½ = 2/k"], "A"),
    ("59", "Activation energy of a reaction can be decreased by:",
     ["A) Increasing temperature", "B) Using a catalyst", "C) Increasing pressure", "D) Decreasing concentration"], "B"),
    # p-Block Elements
    ("60", "Which of the following is NOT a property of noble gases?",
     ["A) Monoatomic", "B) Low boiling point", "C) High reactivity", "D) Full outer shell"], "C"),
    ("61", "Bleaching powder is:",
     ["A) Ca(OCl)₂", "B) Ca(OCl)Cl", "C) CaCl₂", "D) CaO"], "B"),
    ("62", "The oxide of nitrogen that is used as an anaesthetic is:",
     ["A) NO", "B) N₂O", "C) NO₂", "D) N₂O₄"], "B"),
    # d & f Block / Coordination
    ("63", "IUPAC name of [Cu(NH₃)₄]²⁺ is:",
     ["A) Tetracuprate(II)ammine", "B) Tetraamminecopper(II)", "C) Cupric tetraamine", "D) Tetraamminedicopper"], "B"),
    ("64", "The colour of transition metal compounds is due to:",
     ["A) d-d transitions", "B) s-p transitions", "C) f-f transitions", "D) σ bond formation"], "A"),
    # Organic Chemistry — General
    ("65", "Inductive effect operates through:",
     ["A) π bonds", "B) σ bonds", "C) Hydrogen bonds", "D) Van der Waals forces"], "B"),
    ("66", "Which carbocation is most stable?",
     ["A) Methyl", "B) Primary", "C) Secondary", "D) Tertiary"], "D"),
    # Hydrocarbons
    ("67", "Baeyer's reagent used to test unsaturation is:",
     ["A) Fehling's solution", "B) Alkaline KMnO₄", "C) Bromine water", "D) HNO₃"], "B"),
    ("68", "Markovnikov's rule applies to addition of HX to:",
     ["A) Alkanes", "B) Alkynes symmetrical", "C) Unsymmetrical alkenes", "D) Aromatic rings"], "C"),
    # Halogenated Compounds
    ("69", "DDT is a persistent organic pollutant belonging to the class of:",
     ["A) Alkyl halides", "B) Aryl halides", "C) Vinyl halides", "D) Geminal dihalides"], "B"),
    # Alcohols, Phenols, Ethers
    ("70", "Lucas test is used to distinguish between:",
     ["A) Aldehydes and ketones", "B) Primary, secondary, tertiary alcohols", "C) Alkenes and alkynes", "D) Phenols and alcohols"], "B"),
    ("71", "Phenol is more acidic than ethanol because:",
     ["A) Phenol has -OH group", "B) Phenoxide ion is resonance stabilised", "C) Phenol is liquid", "D) Ethanol has longer chain"], "B"),
    # Aldehydes & Ketones
    ("72", "Tollens' reagent gives silver mirror test with:",
     ["A) Ketones only", "B) Aldehydes only", "C) Both", "D) Neither"], "B"),
    ("73", "Aldol condensation occurs between two molecules of aldehyde in the presence of:",
     ["A) Acid", "B) Dilute base (NaOH)", "C) Oxidising agent", "D) Grignard reagent"], "B"),
    # Carboxylic Acids
    ("74", "Formic acid is stronger than acetic acid because:",
     ["A) It has one C atom fewer", "B) No methyl group to donate electrons", "C) It is liquid", "D) It reacts with Na"], "B"),
    # Amines
    ("75", "Diazonium salts are used in the synthesis of:",
     ["A) Alkanes", "B) Azo dyes", "C) Sugars", "D) Amino acids"], "B"),
    # Biomolecules
    ("76", "The linkage between amino acids in a protein is:",
     ["A) Glycosidic bond", "B) Peptide bond", "C) Ester bond", "D) Hydrogen bond"], "B"),
    ("77", "The monomer of natural rubber is:",
     ["A) Styrene", "B) Isoprene", "C) Ethylene", "D) Vinyl chloride"], "B"),
    # Polymers
    ("78", "Nylon-6,6 is formed from:",
     ["A) Caprolactam", "B) Hexamethylenediamine and adipic acid", "C) Ethylene and propylene", "D) Phenol and formaldehyde"], "B"),
    # Environmental Chemistry
    ("79", "The major contributor to acid rain is:",
     ["A) CO₂", "B) SO₂ and NOₓ", "C) O₃", "D) CH₄"], "B"),
    ("80", "BOD stands for:",
     ["A) Biological Oxygen Demand", "B) Biochemical Oxygen Deficit", "C) Bio Osmotic Differentiation", "D) Basic Organic Decomposition"], "A"),
    # s-Block
    ("81", "Diagonal relationship exists between Li and:",
     ["A) Na", "B) Mg", "C) Be", "D) Ca"], "B"),
    ("82", "Plaster of Paris is:",
     ["A) CaSO₄·H₂O", "B) CaSO₄·½H₂O", "C) CaSO₄·2H₂O", "D) CaSO₄"], "B"),
    # Solid State
    ("83", "FCC unit cell has how many atoms per unit cell?",
     ["A) 1", "B) 2", "C) 4", "D) 6"], "C"),
    # Solutions
    ("84", "Which of the following shows maximum elevation in boiling point (0.1 m)?",
     ["A) Glucose", "B) NaCl", "C) CaCl₂", "D) AlCl₃"], "D"),
    # Surface Chemistry
    ("85", "The process of increasing concentration of gas on surface of solid is called:",
     ["A) Absorption", "B) Adsorption", "C) Coagulation", "D) Peptisation"], "B"),
    # Hydrogen
    ("86", "Water gas is a mixture of:",
     ["A) H₂ and N₂", "B) CO and H₂", "C) CO₂ and H₂", "D) CH₄ and H₂"], "B"),
    # Miscellaneous
    ("87", "Molar mass of haemoglobin is approximately:",
     ["A) 68,000 g/mol", "B) 6,800 g/mol", "C) 680 g/mol", "D) 68 g/mol"], "A"),
    ("88", "Which gas is used in the Haber process?",
     ["A) O₂", "B) N₂", "C) Cl₂", "D) SO₂"], "B"),
    ("89", "Enthalpy of atomisation of graphite is related to:",
     ["A) Bond energy of C-C", "B) Stability of graphite", "C) Both", "D) Neither"], "B"),
    ("90", "The IUPAC name of CH₃-CH(OH)-CH₃ is:",
     ["A) 1-propanol", "B) 2-propanol", "C) Propan-3-ol", "D) Methyl ethanol"], "B"),
]

BIOLOGY_QS = [
    # Cell Biology
    ("91", "The fluid mosaic model of the cell membrane was proposed by:",
     ["A) Watson and Crick", "B) Singer and Nicolson", "C) Schleiden and Schwann", "D) Robert Brown"], "B"),
    ("92", "The powerhouse of the cell is:",
     ["A) Ribosome", "B) Nucleus", "C) Mitochondria", "D) Chloroplast"], "C"),
    ("93", "Which organelle is responsible for protein synthesis?",
     ["A) Lysosome", "B) Ribosome", "C) Centriole", "D) Golgi body"], "B"),
    ("94", "Lysosomes are called 'suicidal bags' because they contain:",
     ["A) Digestive enzymes", "B) DNA", "C) Ribosomes", "D) Chlorophyll"], "A"),
    ("95", "In cell division, the stage where chromosomes line up at the equatorial plate is:",
     ["A) Prophase", "B) Metaphase", "C) Anaphase", "D) Telophase"], "B"),
    ("96", "DNA replication is:",
     ["A) Conservative", "B) Semi-conservative", "C) Dispersive", "D) Non-conservative"], "B"),
    ("97", "The number of base pairs in one complete turn of B-DNA helix is:",
     ["A) 8", "B) 10", "C) 12", "D) 6"], "B"),
    # Biomolecules
    ("98", "Which amino acid is the precursor of serotonin and melatonin?",
     ["A) Tyrosine", "B) Tryptophan", "C) Phenylalanine", "D) Histidine"], "B"),
    ("99", "Starch is a polymer of:",
     ["A) Fructose", "B) Glucose", "C) Galactose", "D) Ribose"], "B"),
    ("100", "Enzyme that joins Okazaki fragments during DNA replication is:",
     ["A) Helicase", "B) DNA Ligase", "C) Primase", "D) Topoisomerase"], "B"),
    # Plant Morphology
    ("101", "The tap root system is characteristic of:",
     ["A) Monocots", "B) Dicots", "C) Pteridophytes", "D) Bryophytes"], "B"),
    ("102", "Venation in monocot leaves is typically:",
     ["A) Reticulate", "B) Parallel", "C) Pinnate", "D) Palmate"], "B"),
    ("103", "Which type of placentation is found in Dianthus?",
     ["A) Axile", "B) Free central", "C) Parietal", "D) Basal"], "B"),
    # Plant Anatomy
    ("104", "Casparian strips are found in:",
     ["A) Cortex", "B) Endodermis", "C) Epidermis", "D) Pith"], "B"),
    ("105", "Annual rings in a tree trunk are formed by:",
     ["A) Primary xylem", "B) Vascular cambium", "C) Cork cambium", "D) Phloem"], "B"),
    # Plant Physiology
    ("106", "The process of translocation in plants occurs through:",
     ["A) Xylem", "B) Phloem", "C) Cortex", "D) Epidermis"], "B"),
    ("107", "Cytokinin promotes:",
     ["A) Root elongation", "B) Cell division", "C) Seed dormancy", "D) Leaf senescence"], "B"),
    ("108", "C₄ plants have a special anatomy called:",
     ["A) Spongy mesophyll", "B) Kranz anatomy", "C) Palisade", "D) Lacunar"], "B"),
    ("109", "The enzyme that fixes CO₂ in C₃ plants is:",
     ["A) PEP carboxylase", "B) RuBisCO", "C) Pyruvate kinase", "D) Carbonic anhydrase"], "B"),
    ("110", "Vernalisation refers to:",
     ["A) Effect of day length on flowering", "B) Effect of cold on flowering", "C) Effect of light on germination", "D) Dormancy breaking"], "B"),
    # Human Physiology — Digestion
    ("111", "Enzyme pepsin is secreted by:",
     ["A) Pancreas", "B) Chief cells of gastric glands", "C) Liver", "D) Salivary glands"], "B"),
    ("112", "Bile is stored in:",
     ["A) Liver", "B) Gall bladder", "C) Pancreas", "D) Duodenum"], "B"),
    ("113", "Absorption of fat-soluble vitamins occurs in:",
     ["A) Stomach", "B) Small intestine via lacteal", "C) Large intestine", "D) Oesophagus"], "B"),
    ("114", "Villi in the small intestine increase:",
     ["A) Digestive enzyme secretion", "B) Surface area for absorption", "C) Peristaltic movement", "D) Mucus production"], "B"),
    # Respiration
    ("115", "Tidal volume in a normal adult at rest is approximately:",
     ["A) 500 mL", "B) 1500 mL", "C) 3500 mL", "D) 6000 mL"], "A"),
    ("116", "Oxygen is transported in blood mainly as:",
     ["A) Dissolved in plasma", "B) OxyHaemoglobin", "C) Carbamino compound", "D) HCO₃⁻"], "B"),
    ("117", "2,3-BPG decreases the affinity of haemoglobin for oxygen. This effect is called:",
     ["A) Bohr effect", "B) Haldane effect", "C) BPG effect", "D) Root effect"], "A"),
    # Circulation
    ("118", "The SA node is located in:",
     ["A) Left atrium", "B) Right atrium", "C) Right ventricle", "D) AV node"], "B"),
    ("119", "Normal blood pressure in adults is:",
     ["A) 80/120 mmHg", "B) 120/80 mmHg", "C) 100/70 mmHg", "D) 140/90 mmHg"], "B"),
    ("120", "ECG P-wave represents:",
     ["A) Ventricular depolarisation", "B) Atrial depolarisation", "C) Ventricular repolarisation", "D) AV node activation"], "B"),
    # Excretion
    ("121", "Urea is synthesised in:",
     ["A) Kidneys", "B) Liver", "C) Spleen", "D) Lungs"], "B"),
    ("122", "The Loop of Henle is important for:",
     ["A) Filtration", "B) Concentration of urine", "C) Hormone synthesis", "D) Reabsorption of glucose"], "B"),
    ("123", "ADH (antidiuretic hormone) acts on:",
     ["A) Loop of Henle", "B) Collecting duct and DCT", "C) PCT", "D) Bowman's capsule"], "B"),
    # Locomotion
    ("124", "Sarcomere is the unit between two:",
     ["A) M lines", "B) Z lines", "C) A bands", "D) I bands"], "B"),
    ("125", "The protein that acts as a molecular motor in muscles is:",
     ["A) Actin", "B) Myosin", "C) Troponin", "D) Tropomyosin"], "B"),
    # Nervous System
    ("126", "The resting membrane potential of a neuron is approximately:",
     ["A) +70 mV", "B) -70 mV", "C) 0 mV", "D) +35 mV"], "B"),
    ("127", "Acetylcholine is hydrolysed by:",
     ["A) Acetyl CoA", "B) Acetylcholinesterase", "C) Monoamine oxidase", "D) Lipase"], "B"),
    ("128", "The cerebellum controls:",
     ["A) Vision", "B) Balance and coordination", "C) Speech", "D) Autonomic functions"], "B"),
    # Endocrine System
    ("129", "Insulin is secreted by:",
     ["A) Alpha cells of islets of Langerhans", "B) Beta cells of islets of Langerhans", "C) Delta cells", "D) Adrenal cortex"], "B"),
    ("130", "Which hormone is called the 'hormone of flight and fight'?",
     ["A) Cortisol", "B) Adrenaline", "C) Thyroxine", "D) Testosterone"], "B"),
    ("131", "The master gland of the body is:",
     ["A) Thyroid", "B) Pituitary", "C) Adrenal", "D) Pineal"], "B"),
    # Reproduction
    ("132", "The placenta in humans is:",
     ["A) Discoid haemochorial", "B) Zonary", "C) Diffuse", "D) Cotyledonary"], "A"),
    ("133", "Sertoli cells are found in:",
     ["A) Ovary", "B) Seminiferous tubules", "C) Epididymis", "D) Prostate"], "B"),
    ("134", "Capacitation of sperm occurs in:",
     ["A) Testis", "B) Female reproductive tract", "C) Epididymis", "D) Seminal vesicle"], "B"),
    ("135", "The process of release of secondary oocyte from ovary is:",
     ["A) Gametogenesis", "B) Ovulation", "C) Spermatogenesis", "D) Implantation"], "B"),
    # Genetics & Inheritance
    ("136", "In a monohybrid cross, phenotypic ratio in F₂ is:",
     ["A) 1:2:1", "B) 3:1", "C) 9:3:3:1", "D) 1:1"], "B"),
    ("137", "Colour blindness is a:",
     ["A) Autosomal dominant", "B) Autosomal recessive", "C) X-linked recessive", "D) Y-linked"], "C"),
    ("138", "Sickle cell anaemia is caused by substitution of:",
     ["A) Lysine by glutamic acid", "B) Glutamic acid by valine", "C) Valine by glutamic acid", "D) Alanine by valine"], "B"),
    ("139", "In ABO blood group system, person with blood group AB has:",
     ["A) Only anti-A antibodies", "B) Only anti-B antibodies", "C) Both antibodies", "D) No antibodies"], "D"),
    ("140", "Chromosomal theory of inheritance was proposed by:",
     ["A) Mendel", "B) Sutton and Boveri", "C) Morgan", "D) Flemming"], "B"),
    # Molecular Biology
    ("141", "The Central Dogma of Molecular Biology is:",
     ["A) RNA→DNA→Protein", "B) DNA→RNA→Protein", "C) Protein→RNA→DNA", "D) DNA→Protein→RNA"], "B"),
    ("142", "Transcription in eukaryotes occurs in:",
     ["A) Cytoplasm", "B) Nucleus", "C) Ribosome", "D) Mitochondria (mainly)"], "B"),
    ("143", "Codon AUG codes for:",
     ["A) Stop", "B) Start / Methionine", "C) Tryptophan", "D) Lysine"], "B"),
    ("144", "RNA polymerase binds to the promoter at which sequence in prokaryotes?",
     ["A) TATA box", "B) -35 and -10 sequences (Pribnow box)", "C) CpG island", "D) Enhancer"], "B"),
    # Evolution
    ("145", "According to Hardy-Weinberg law, which factor does NOT disturb allele frequency?",
     ["A) Random mating in large population", "B) Mutation", "C) Migration", "D) Natural selection"], "A"),
    ("146", "Archaeopteryx is the connecting link between:",
     ["A) Fish and Amphibia", "B) Reptiles and Birds", "C) Amphibia and Reptiles", "D) Birds and Mammals"], "B"),
    ("147", "Industrial melanism is an example of:",
     ["A) Genetic drift", "B) Natural selection", "C) Mutation", "D) Gene flow"], "B"),
    # Biotechnology
    ("148", "Restriction endonucleases cut DNA at specific sequences called:",
     ["A) Palindromic sequences", "B) Promoter regions", "C) Replication origins", "D) Introns"], "A"),
    ("149", "The vector used to clone large DNA fragments (up to 45 kb) is:",
     ["A) Plasmid", "B) Cosmid", "C) BAC", "D) YAC"], "B"),
    ("150", "PCR was invented by:",
     ["A) Frederick Sanger", "B) Kary Mullis", "C) James Watson", "D) Paul Berg"], "B"),
    ("151", "Cry proteins used in Bt cotton are toxic to:",
     ["A) Bacteria", "B) Fungi", "C) Insects", "D) Nematodes"], "C"),
    ("152", "Golden rice is enriched with:",
     ["A) Vitamin C", "B) β-carotene (Vitamin A precursor)", "C) Protein", "D) Iron"], "B"),
    # Ecology
    ("153", "Which of the following is an example of commensalism?",
     ["A) Lichens", "B) Barnacles on whales", "C) Tapeworm in intestine", "D) Bees and flowers"], "B"),
    ("154", "10% energy transfer law in ecosystem was given by:",
     ["A) Lindeman", "B) Odum", "C) Darwin", "D) Tansley"], "A"),
    ("155", "The total amount of organic matter produced by producers in an ecosystem is called:",
     ["A) Net Primary Productivity", "B) Gross Primary Productivity", "C) Secondary Productivity", "D) Decomposition"], "B"),
    ("156", "The species with the most fundamental role in maintaining ecosystem structure is called:",
     ["A) Pioneer species", "B) Keystone species", "C) Dominant species", "D) Endemic species"], "B"),
    ("157", "Greenhouse gases in the atmosphere include all EXCEPT:",
     ["A) CO₂", "B) CH₄", "C) O₂", "D) N₂O"], "C"),
    ("158", "The oxygen revolution on Earth was caused by:",
     ["A) Photosynthesis by cyanobacteria", "B) Volcanic activity", "C) Chemical evolution", "D) UV radiation"], "A"),
    # Biodiversity & Conservation
    ("159", "Ex-situ conservation includes:",
     ["A) Biosphere reserves", "B) Zoological parks and seed banks", "C) Wildlife sanctuaries", "D) National parks"], "B"),
    ("160", "India is considered a megadiverse country because:",
     ["A) It has large land area", "B) It has large population", "C) It has high species richness and endemism", "D) It has diverse climate only"], "C"),
    # Microbes in Human Welfare
    ("161", "Biogas is primarily composed of:",
     ["A) CO₂", "B) Methane", "C) Hydrogen", "D) Ammonia"], "B"),
    ("162", "Penicillin was discovered by:",
     ["A) Louis Pasteur", "B) Alexander Fleming", "C) Robert Koch", "D) Edward Jenner"], "B"),
    ("163", "Leguminous plants fix atmospheric nitrogen through symbiosis with:",
     ["A) Azotobacter", "B) Rhizobium", "C) Anabaena", "D) Clostridium"], "B"),
    # Health and Disease
    ("164", "The vector for malaria is:",
     ["A) Aedes mosquito", "B) Female Anopheles mosquito", "C) Culex mosquito", "D) Sandfly"], "B"),
    ("165", "AIDS is caused by:",
     ["A) Bacteria", "B) HIV retrovirus", "C) Protozoa", "D) Fungi"], "B"),
    ("166", "Widal test is used to diagnose:",
     ["A) Malaria", "B) Typhoid", "C) Dengue", "D) Cholera"], "B"),
    ("167", "Which immunoglobulin crosses the placenta to provide passive immunity to foetus?",
     ["A) IgA", "B) IgG", "C) IgM", "D) IgE"], "B"),
    ("168", "Cancer cells are immortal because of high activity of:",
     ["A) Telomerase", "B) Helicase", "C) Ligase", "D) Polymerase"], "A"),
    # Animal Kingdom
    ("169", "Which phylum is characterised by presence of a notochord at some stage of life?",
     ["A) Echinodermata", "B) Chordata", "C) Hemichordata", "D) Annelida"], "B"),
    ("170", "Flame cells are the excretory structures of:",
     ["A) Annelida", "B) Platyhelminthes", "C) Nematoda", "D) Mollusca"], "B"),
    # Plant Kingdom
    ("171", "Alternation of generations is universal in:",
     ["A) Algae only", "B) All plants", "C) Fungi only", "D) Prokaryotes"], "B"),
    ("172", "The 'male gametophyte' in angiosperms is the:",
     ["A) Pollen grain", "B) Anther", "C) Filament", "D) Sepal"], "A"),
    # Reproductive Health
    ("173", "Copper-T acts as a contraceptive by:",
     ["A) Preventing ovulation", "B) Preventing sperm motility and fertilisation", "C) Blocking fallopian tubes", "D) Increasing FSH"], "B"),
    ("174", "Amniocentesis is used to detect:",
     ["A) Chromosomal abnormalities in foetus", "B) Maternal blood group", "C) Foetal heartbeat", "D) Placental health"], "A"),
    # Strategies for Enhancement
    ("175", "MOET (Multiple Ovulation Embryo Transfer) is used for:",
     ["A) Human infertility", "B) Improvement of livestock", "C) Plant tissue culture", "D) Gene therapy"], "B"),
    # Principles of Biotechnology
    ("176", "A recombinant DNA molecule is formed by joining DNA from:",
     ["A) Same species only", "B) Two different sources", "C) Only bacteria", "D) Only viruses"], "B"),
    ("177", "The enzyme reverse transcriptase synthesises:",
     ["A) RNA from DNA", "B) DNA from RNA", "C) Protein from RNA", "D) DNA from protein"], "B"),
    # Application of Biotechnology
    ("178", "ADA (Adenosine Deaminase) deficiency can be corrected by gene therapy. ADA gene is introduced into:",
     ["A) Blood cells", "B) T-lymphocytes", "C) B-lymphocytes", "D) Erythrocytes"], "B"),
    # Environmental Issues
    ("179", "The Chipko movement was related to:",
     ["A) Water conservation", "B) Protection of forests", "C) Air pollution control", "D) Soil conservation"], "B"),
    ("180", "Montreal Protocol (1987) aimed at reducing:",
     ["A) Greenhouse gases", "B) CFC emissions", "C) SO₂ emissions", "D) CO₂ emissions"], "B"),
    # Extra Biology (to reach 90)
    ("181", "Totipotency means:",
     ["A) Ability of cell to differentiate into all types", "B) Ability to reproduce sexually", "C) Property of movement", "D) Capacity for photosynthesis"], "A"),
    ("182", "The technique of growing plant parts in culture medium is:",
     ["A) PCR", "B) Tissue culture", "C) Fermentation", "D) Electrophoresis"], "B"),
    ("183", "Ozone depletion is mainly caused by:",
     ["A) CO₂", "B) CFCs", "C) NO", "D) SO₂"], "B"),
    ("184", "Which of the following is an example of a palindromic sequence?",
     ["A) 5'AATTCG3'", "B) 5'GAATTC3'", "C) 5'ATCGAT3'", "D) 5'TTAAGG3'"], "B"),
    ("185", "Bioreactors are used to produce:",
     ["A) Large amounts of biological products", "B) Genetically modified organisms only", "C) Cloning vectors", "D) PCR products"], "A"),
    ("186", "Eutrophication refers to:",
     ["A) Depletion of oxygen in water", "B) Excessive nutrient enrichment in water bodies", "C) Soil pollution", "D) Air pollution"], "B"),
    ("187", "Which of the following is NOT a biodegradable pollutant?",
     ["A) Domestic sewage", "B) Vegetable peelings", "C) DDT", "D) Paper"], "C"),
    ("188", "The concept of 'ecosystem' was proposed by:",
     ["A) Odum", "B) Tansley", "C) Haeckel", "D) Darwin"], "B"),
    ("189", "Secondary succession begins on:",
     ["A) Bare rock", "B) Area with pre-existing soil", "C) Sand dunes", "D) Glacier retreat"], "B"),
    ("190", "In meiosis, crossing over occurs at:",
     ["A) Pachytene of meiosis I", "B) Zygotene", "C) Diakinesis", "D) Metaphase I"], "A"),
]

# ──────────────── ANSWER KEY ────────────────
ALL_QS = PHYSICS_QS + CHEMISTRY_QS + BIOLOGY_QS

def make_answer_key():
    rows = []
    for i in range(0, len(ALL_QS), 5):
        batch = ALL_QS[i:i+5]
        row = [f"Q{q[0]}: {q[3]}" for q in batch]
        rows.append(row)
    return rows

# ──────────────── PDF BUILD ────────────────

def build_pdf():
    doc = SimpleDocTemplate(
        OUTPUT,
        pagesize=A4,
        rightMargin=2*cm,
        leftMargin=2*cm,
        topMargin=2*cm,
        bottomMargin=2*cm,
    )

    styles = getSampleStyleSheet()

    title_style = ParagraphStyle(
        "Title",
        parent=styles["Heading1"],
        fontSize=18,
        textColor=colors.HexColor("#1a237e"),
        alignment=TA_CENTER,
        spaceAfter=4,
    )
    sub_style = ParagraphStyle(
        "Sub",
        parent=styles["Normal"],
        fontSize=11,
        alignment=TA_CENTER,
        textColor=colors.HexColor("#37474f"),
        spaceAfter=6,
    )
    section_style = ParagraphStyle(
        "Section",
        parent=styles["Heading2"],
        fontSize=13,
        textColor=colors.white,
        backColor=colors.HexColor("#1a237e"),
        alignment=TA_CENTER,
        spaceBefore=10,
        spaceAfter=6,
        leftIndent=-14,
        rightIndent=-14,
        borderPadding=(4, 8, 4, 8),
    )
    q_style = ParagraphStyle(
        "QStyle",
        parent=styles["Normal"],
        fontSize=10,
        leading=14,
        spaceAfter=2,
        textColor=colors.HexColor("#212121"),
    )
    opt_style = ParagraphStyle(
        "OptStyle",
        parent=styles["Normal"],
        fontSize=9.5,
        leading=13,
        leftIndent=14,
        spaceAfter=1,
        textColor=colors.HexColor("#37474f"),
    )
    info_style = ParagraphStyle(
        "Info",
        parent=styles["Normal"],
        fontSize=9,
        alignment=TA_CENTER,
        textColor=colors.HexColor("#555"),
        spaceAfter=4,
    )

    story = []

    # ── Cover ──
    story.append(Spacer(1, 0.4*cm))
    story.append(Paragraph("NEET UG 2027", title_style))
    story.append(Paragraph("PREDICTED QUESTION PAPER", sub_style))
    story.append(HRFlowable(width="100%", thickness=2, color=colors.HexColor("#1a237e")))
    story.append(Spacer(1, 0.2*cm))

    info_data = [
        ["Total Questions:", "200", "Maximum Marks:", "720"],
        ["Duration:", "3 Hours 20 Min", "Negative Marking:", "-1 per wrong answer"],
        ["Physics:", "45 Qs  (180 marks)", "Chemistry:", "45 Qs  (180 marks)"],
        ["Biology (Bot+Zoo):", "90 Qs  (360 marks)", "Marking Scheme:", "+4 correct / -1 wrong"],
    ]
    info_table = Table(info_data, colWidths=[4.5*cm, 4.5*cm, 4.5*cm, 4.5*cm])
    info_table.setStyle(TableStyle([
        ("BACKGROUND", (0, 0), (-1, -1), colors.HexColor("#e8eaf6")),
        ("TEXTCOLOR", (0, 0), (0, -1), colors.HexColor("#1a237e")),
        ("TEXTCOLOR", (2, 0), (2, -1), colors.HexColor("#1a237e")),
        ("FONTNAME", (0, 0), (-1, -1), "Helvetica"),
        ("FONTSIZE", (0, 0), (-1, -1), 9),
        ("GRID", (0, 0), (-1, -1), 0.5, colors.HexColor("#9fa8da")),
        ("ROWBACKGROUNDS", (0, 0), (-1, -1), [colors.HexColor("#e8eaf6"), colors.HexColor("#c5cae9")]),
        ("BOTTOMPADDING", (0, 0), (-1, -1), 5),
        ("TOPPADDING", (0, 0), (-1, -1), 5),
    ]))
    story.append(info_table)
    story.append(Spacer(1, 0.3*cm))
    story.append(Paragraph("⚠ This is a predicted question paper based on NCERT syllabus and previous NEET trends. Prepared for practice and revision purposes only.", info_style))
    story.append(HRFlowable(width="100%", thickness=1, color=colors.HexColor("#9fa8da")))
    story.append(Spacer(1, 0.3*cm))

    # ── Sections ──
    sections = [
        ("SECTION A — PHYSICS (Q. 1 – 45)", PHYSICS_QS, colors.HexColor("#1565c0")),
        ("SECTION B — CHEMISTRY (Q. 46 – 90)", CHEMISTRY_QS, colors.HexColor("#2e7d32")),
        ("SECTION C — BIOLOGY: BOTANY & ZOOLOGY (Q. 91 – 180)", BIOLOGY_QS[:90], colors.HexColor("#6a1b9a")),
    ]

    for sec_title, questions, color in sections:
        sec_para = ParagraphStyle(
            f"Sec_{sec_title[:5]}",
            parent=styles["Heading2"],
            fontSize=12,
            textColor=colors.white,
            backColor=color,
            alignment=TA_CENTER,
            spaceBefore=8,
            spaceAfter=6,
        )
        story.append(Paragraph(sec_title, sec_para))

        for qno, qtext, options, ans in questions:
            block = []
            block.append(Paragraph(f"<b>Q{qno}.</b> {qtext}", q_style))
            for opt in options:
                block.append(Paragraph(opt, opt_style))
            block.append(Spacer(1, 0.25*cm))
            story.append(KeepTogether(block))

    # ── Answer Key ──
    story.append(PageBreak())
    story.append(Paragraph("ANSWER KEY", ParagraphStyle("AK", parent=styles["Heading1"], fontSize=16, textColor=colors.HexColor("#1a237e"), alignment=TA_CENTER, spaceAfter=8)))
    story.append(HRFlowable(width="100%", thickness=1.5, color=colors.HexColor("#1a237e")))
    story.append(Spacer(1, 0.3*cm))

    # Build answer key table
    ans_data = [["Q.No", "Ans", "Q.No", "Ans", "Q.No", "Ans", "Q.No", "Ans", "Q.No", "Ans"]]
    chunk = 40
    for i in range(0, len(ALL_QS), chunk):
        batch = ALL_QS[i:i+chunk]
        for j in range(0, len(batch), 5):
            row_data = []
            for q in batch[j:j+5]:
                row_data.extend([f"Q{q[0]}", q[3]])
            while len(row_data) < 10:
                row_data.extend(["", ""])
            ans_data.append(row_data)

    ans_table = Table(ans_data, colWidths=[1.4*cm]*10)
    ans_table.setStyle(TableStyle([
        ("BACKGROUND", (0, 0), (-1, 0), colors.HexColor("#1a237e")),
        ("TEXTCOLOR", (0, 0), (-1, 0), colors.white),
        ("FONTNAME", (0, 0), (-1, 0), "Helvetica-Bold"),
        ("FONTSIZE", (0, 0), (-1, -1), 8),
        ("GRID", (0, 0), (-1, -1), 0.5, colors.grey),
        ("ROWBACKGROUNDS", (0, 1), (-1, -1), [colors.HexColor("#f3f4ff"), colors.white]),
        ("ALIGN", (0, 0), (-1, -1), "CENTER"),
        ("VALIGN", (0, 0), (-1, -1), "MIDDLE"),
        ("TOPPADDING", (0, 0), (-1, -1), 3),
        ("BOTTOMPADDING", (0, 0), (-1, -1), 3),
    ]))
    story.append(ans_table)
    story.append(Spacer(1, 0.5*cm))
    story.append(Paragraph("Best of luck for NEET 2027! Revise from NCERT, practice MCQs daily, and stay consistent.", 
                            ParagraphStyle("foot", parent=styles["Normal"], fontSize=9, alignment=TA_CENTER, textColor=colors.HexColor("#555"))))

    doc.build(story)
    print(f"PDF saved to: {OUTPUT}")

build_pdf()
You've run out of free credits. Sign up for a free account to continue using Orris.
This is a shared conversation. Sign in to Orris to start your own chat.