import { useState, useEffect } from "react"; const CATEGORIES = { MATERIALS: "Materials & Polymers", BARRIER: "Barrier & Shelf Life", TECH: "Processing Technologies", REGULATORY: "Regulatory & Labeling", SUSTAINABILITY: "Sustainability & Eco-Design", TESTING: "Testing & Quality", ACTIVE: "Active & Intelligent Packaging", DESIGN: "Structural Design & Machinery", }; const questions = [ // MATERIALS & POLYMERS { id: 1, category: CATEGORIES.MATERIALS, question: "What is the key structural difference between HDPE and LDPE that affects their packaging applications?", options: [ "HDPE has branched chains; LDPE has linear chains", "HDPE has linear, densely packed chains; LDPE has branched, less dense chains", "HDPE is biodegradable; LDPE is petroleum-based", "HDPE is transparent; LDPE is opaque" ], answer: 1, explanation: "HDPE's linear, tightly packed chains give it higher density, stiffness, and barrier properties — ideal for rigid bottles. LDPE's branched structure results in lower density, flexibility, and transparency — suited for films and squeezable containers." }, { id: 2, category: CATEGORIES.MATERIALS, question: "In multilayer flexible packaging, which material is typically used as the SEALANT layer and why?", options: [ "PET — for its high tensile strength", "BOPP — for its clarity and stiffness", "LLDPE or CPP — for heat-seal compatibility and flexibility", "Aluminum foil — for barrier properties" ], answer: 2, explanation: "LLDPE (Linear Low-Density Polyethylene) or CPP (Cast Polypropylene) are used as sealant layers because they bond reliably under heat and pressure, provide good puncture resistance, and maintain seal integrity at low temperatures." }, { id: 3, category: CATEGORIES.MATERIALS, question: "What is the Oxygen Transmission Rate (OTR) unit typically used in industrial packaging specifications?", options: [ "mg/100 cm²/day", "cc/m²/day/atm", "ppm/mm thickness", "μg/L/24hr" ], answer: 1, explanation: "OTR is standardized as cc (cubic centimeters) of O₂ per m² per day per atmosphere of pressure differential. This unit allows cross-material comparison of oxygen barrier performance." }, { id: 4, category: CATEGORIES.MATERIALS, question: "Which polymer demonstrates the BEST gas barrier properties among packaging plastics?", options: [ "PET (Polyethylene Terephthalate)", "PA (Polyamide/Nylon)", "EVOH (Ethylene Vinyl Alcohol)", "PP (Polypropylene)" ], answer: 2, explanation: "EVOH offers extremely low OTR — sometimes 1000x better than PET — making it the gold standard for gas barrier in flexible films. However, its performance degrades at high humidity, which is why it's sandwiched between moisture-barrier layers." }, { id: 5, category: CATEGORIES.MATERIALS, question: "What does 'biaxial orientation' in BOPP films achieve compared to unoriented PP?", options: [ "Increases biodegradability", "Significantly improves tensile strength, clarity, and moisture barrier", "Reduces heat-seal strength", "Increases oxygen permeability" ], answer: 1, explanation: "Stretching PP film in both machine and transverse directions (biaxial orientation) aligns polymer chains, dramatically improving tensile strength, optical clarity, stiffness, and moisture barrier — critical for snack and confectionery packaging." }, { id: 6, category: CATEGORIES.MATERIALS, question: "In glass packaging, what is the purpose of 'annealing' during the manufacturing process?", options: [ "To add color pigments to the glass", "To slowly cool glass to relieve internal stresses and prevent cracking", "To apply the anti-reflective coating", "To test the glass for carbonation resistance" ], answer: 1, explanation: "Glass solidifies with internal thermal stresses if cooled too quickly. Annealing — controlled slow cooling through a lehr — relieves these stresses, preventing spontaneous fracture during handling, filling, and distribution." }, { id: 7, category: CATEGORIES.MATERIALS, question: "What is 'metallization' in flexible packaging and what property does it primarily improve?", options: [ "Coating film with ink for printing; improves visual quality", "Depositing a thin layer of aluminum via vacuum evaporation; improves barrier to oxygen and light", "Laminating metal foil for rigid packaging; improves structural strength", "Applying metallic adhesive; improves seal strength" ], answer: 1, explanation: "Vacuum metallization deposits aluminum at 20–100 nm thickness onto polymer films, reducing OTR and light transmission dramatically. It's lighter and more flexible than foil lamination but provides slightly lower barrier." }, { id: 8, category: CATEGORIES.MATERIALS, question: "What is the primary technical challenge with using PLA (Polylactic Acid) in hot-fill food packaging applications?", options: [ "PLA is too brittle for most films", "PLA has a low glass transition temperature (~55–60°C), causing deformation at hot-fill temperatures", "PLA cannot be heat-sealed", "PLA has very high oxygen permeability" ], answer: 1, explanation: "PLA's Tg of ~55–60°C is well below typical hot-fill temperatures (85–95°C). This causes structural deformation. CPLA (crystallized PLA) or blends with PBAT/PBS can extend heat resistance, but it remains a major limitation for hot-fill applications." }, // BARRIER & SHELF LIFE { id: 9, category: CATEGORIES.BARRIER, question: "What is the 'tortuous path' mechanism in nano-composite packaging films?", options: [ "Gas molecules are chemically absorbed by nano-particles", "Nano-platelets create a zigzag path that increases the effective diffusion distance for gas molecules", "Nano-coatings react with oxygen to neutralize it", "Nano-particles increase crystallinity of the polymer matrix" ], answer: 1, explanation: "Platelet-shaped nano-fillers (e.g., montmorillonite clay) orient perpendicular to the diffusion direction, forcing gas molecules to travel a much longer, indirect path. This dramatically reduces permeability without significantly adding weight." }, { id: 10, category: CATEGORIES.BARRIER, question: "In Modified Atmosphere Packaging (MAP) for fresh red meat, what gas ratio is typically used?", options: [ "100% CO₂ to suppress all microbial growth", "70–80% O₂ / 20–30% CO₂ — high oxygen to maintain oxymyoglobin (bright red color)", "100% N₂ as inert filler", "50% CO₂ / 50% N₂ — to extend shelf life without color change" ], answer: 1, explanation: "Fresh red meat requires high O₂ MAP (70–80% O₂) to maintain oxymyoglobin, which gives the consumer-preferred bright red color. CO₂ suppresses aerobic spoilage bacteria. This differs from cooked meat MAP which uses N₂/CO₂ mixtures." }, { id: 11, category: CATEGORIES.BARRIER, question: "What is 'scalping' in food packaging and which food category is most affected?", options: [ "Migration of plasticizers into food; most common in fatty foods", "Absorption of flavor/aroma compounds from food into the packaging material; most common in fruit juices and carbonated beverages", "Delamination of multilayer films; most common in retort pouches", "Loss of CO₂ through the package wall; most common in carbonated drinks" ], answer: 1, explanation: "Scalping occurs when packaging polymers absorb volatile flavor compounds (limonene in orange juice, for example), reducing perceived product quality. Polypropylene-based packaging is particularly susceptible. It's a major issue in juice and dairy packaging design." }, { id: 12, category: CATEGORIES.BARRIER, question: "What is the Q10 rule and how is it applied in packaging shelf-life prediction?", options: [ "Every 10°C drop in temperature halves the reaction rate; used to estimate shelf life at different storage temperatures", "Every 10% increase in humidity doubles the microbial growth rate", "A product must survive 10 times its intended shelf life under accelerated conditions", "A 10:1 ratio of nitrogen to oxygen is required for optimal MAP" ], answer: 0, explanation: "The Q10 factor expresses how much a reaction rate changes with a 10°C temperature shift. A Q10 of 2 means the reaction (e.g., oxidation, microbial growth) doubles every 10°C increase. Packaging engineers use this to design accelerated shelf-life tests and predict real-world performance." }, { id: 13, category: CATEGORIES.BARRIER, question: "What phenomenon causes 'stress cracking' in HDPE bottles filled with fatty or surfactant-containing products?", options: [ "Environmental Stress Cracking (ESC) — surfactants penetrate the polymer surface and accelerate crack propagation under residual or applied stress", "Crystallization cracking — fat molecules induce crystallinity changes", "UV degradation — light exposure weakens the polymer near the fill line", "Osmotic cracking — water activity differential causes mechanical stress" ], answer: 0, explanation: "ESC is the primary failure mode for HDPE in contact with household chemicals, detergents, and fatty foods. Surfactants reduce the surface energy of the polymer, allowing pre-existing micro-cracks to propagate under stress. Packaging engineers specify ESCR (Environmental Stress Cracking Resistance) values." }, { id: 14, category: CATEGORIES.BARRIER, question: "What is 'water activity' (aw) and why is it more relevant than moisture content for packaging design?", options: [ "aw is the ratio of moisture content to dry weight; it directly predicts packaging weight", "aw is the partial pressure of water in food relative to pure water; it determines microbial growth potential and chemical reaction rates, independent of total moisture", "aw measures the rate of moisture vapor transmission through packaging films", "aw is the temperature at which condensation forms on the inside of a package" ], answer: 1, explanation: "Water activity (aw) dictates whether microorganisms can grow (most bacteria need aw > 0.91) and controls oxidation, enzymatic, and Maillard reaction rates. Two foods with identical moisture content can have vastly different aw. Packaging engineers specify MVTR (Moisture Vapor Transmission Rate) targets based on aw requirements." }, // PROCESSING TECHNOLOGIES { id: 15, category: CATEGORIES.TECH, question: "What is the fundamental difference between aseptic filling and hot-fill processing?", options: [ "Aseptic uses UV light; hot-fill uses steam", "In aseptic processing, product and container are sterilized separately then filled in a sterile environment; in hot-fill, product is heated and filled at high temperature into the container which is then sealed", "Aseptic is only for solid foods; hot-fill is for liquids", "Hot-fill requires retort packaging; aseptic requires vacuum packaging" ], answer: 1, explanation: "Aseptic processing (UHT + aseptic fill) allows low-acid products to be commercially sterile in lightweight, room-temperature-stable packages (e.g., Tetra Pak). Hot-fill works by filling above 85°C and inverting the container to pasteurize the headspace, requiring heat-resistant containers." }, { id: 16, category: CATEGORIES.TECH, question: "In retort processing, what is the significance of the F₀ value?", options: [ "F₀ represents the fill weight tolerance in grams", "F₀ is the equivalent time in minutes at 121.1°C (250°F) required to achieve commercial sterility; it quantifies lethal thermal treatment", "F₀ is the oxygen concentration inside the retort chamber", "F₀ represents the minimum film thickness for retort pouches" ], answer: 1, explanation: "F₀ is the equivalent time at 121.1°C that delivers the same lethality as the actual thermal process. For low-acid foods, FDA/USDA requires a minimum F₀ of 3 minutes (for Clostridium botulinum with a 12D reduction). Retort packaging must withstand the full thermal cycle without delamination." }, { id: 17, category: CATEGORIES.TECH, question: "What is 'cold chain integrity' and which packaging test directly verifies it?", options: [ "The maintenance of required temperature throughout distribution; verified by time-temperature indicator (TTI) labels", "The freeze-thaw resistance of packaging films; tested by Elmendorf tear test", "The carbonation retention in cold beverages; tested by CO₂ permeability analysis", "The hermetic seal of frozen food packages; tested by water immersion" ], answer: 0, explanation: "Cold chain integrity ensures temperature-sensitive products (vaccines, fresh produce, dairy) remain within specification from manufacture to consumer. TTIs undergo color or physical changes when cumulative time-temperature exposure exceeds safe thresholds, providing a visible record of cold chain breaches." }, { id: 18, category: CATEGORIES.TECH, question: "In blow molding of PET bottles, what is the purpose of 'biaxial stretch blow molding' (SBM)?", options: [ "To create ribbed textures for grip", "Stretching in both axial and hoop directions orients PET chains, dramatically improving clarity, barrier properties, and top-load strength", "To reduce the wall thickness variation", "To create heat-resistant crystalline PET for hot-fill applications" ], answer: 1, explanation: "In SBM, a preform is stretched axially by a stretch rod and radially by blowing air. Biaxial orientation aligns PET molecular chains, increasing crystallinity to 20–25%, improving O₂ and CO₂ barrier by 2–3x over amorphous PET, and achieving excellent clarity and mechanical properties." }, { id: 19, category: CATEGORIES.TECH, question: "What is the difference between extrusion coating and extrusion lamination in flexible packaging?", options: [ "Extrusion coating applies a molten polymer directly onto a substrate; extrusion lamination bonds two substrates together using molten polymer as an adhesive layer", "Extrusion coating uses solvent-based adhesives; extrusion lamination uses hot melt", "They are interchangeable terms for the same process", "Extrusion coating is for rigid packaging; extrusion lamination is for flexible" ], answer: 0, explanation: "In extrusion coating, molten resin (PE, PP) is applied directly onto a moving web (paper, foil, film). In extrusion lamination, molten resin bonds two pre-formed webs together. Both are solventless, high-speed processes used in aseptic carton and flexible packaging production." }, { id: 20, category: CATEGORIES.TECH, question: "What is 'induction sealing' and in which product categories is it most critical?", options: [ "A UV-curing seal method for transparent containers; critical in dairy", "An electromagnetic induction process that heats a foil membrane to bond it to a container rim; critical in pharmaceuticals, nutraceuticals, and any product requiring tamper evidence", "A steam-based sealing method for retort pouches; critical in canned food", "A cold-seal adhesive application; critical in confectionery" ], answer: 1, explanation: "Induction sealing uses an electromagnetic field to heat a foil liner, creating a hermetic, tamper-evident seal without direct contact. It's essential for pharmaceuticals (contamination prevention), nutraceuticals, and condiments where leakage, contamination, or tampering are safety-critical concerns." }, // REGULATORY & LABELING { id: 21, category: CATEGORIES.REGULATORY, question: "Under EU Regulation No. 10/2011, what is the Overall Migration Limit (OML) for substances from plastic food contact materials?", options: [ "10 mg/kg of food or food simulant", "60 mg/kg of food or 10 mg/dm² of contact surface", "1 ppm in the final food product", "0.01 mg/kg for all substances" ], answer: 1, explanation: "EU 10/2011 sets the OML at 60 mg/kg food (or 10 mg/dm² for packaging with unknown food/surface ratio). Individual substances also have Specific Migration Limits (SML). This framework governs all plastic food contact materials in EU markets." }, { id: 22, category: CATEGORIES.REGULATORY, question: "What is a 'Declaration of Compliance' (DoC) in food contact material regulations?", options: [ "A consumer-facing label confirming the product is allergen-free", "A technical document that a manufacturer provides to confirm their food contact material complies with applicable regulations, supported by testing or scientific evidence", "An FDA registration certificate for new packaging materials", "An environmental impact declaration for single-use plastics" ], answer: 1, explanation: "A DoC is a legally required document across EU, UK, and many other jurisdictions. It must be available at all stages of the supply chain, identifying the material, confirming compliance with relevant regulations, referencing test results or calculations, and specifying conditions of use." }, { id: 23, category: CATEGORIES.REGULATORY, question: "In the context of food labeling, what is the Quantitative Ingredient Declaration (QUID) requirement?", options: [ "Listing all ingredients in descending order of weight", "Declaring the percentage of an ingredient when it is emphasized on the label, in the product name, or essential to characterize the food", "Listing the caloric content per 100g", "Declaring allergens in bold font" ], answer: 1, explanation: "QUID requires stating the percentage (%) of an ingredient if it appears in the product name (e.g., 'Chicken Soup' must state % chicken), is depicted on the label, or is essential for characterization. This prevents misleading representation of ingredient quantities." }, { id: 24, category: CATEGORIES.REGULATORY, question: "What does 'FDA GRAS' status mean in the context of food packaging materials?", options: [ "The material is government-approved for all food types", "'Generally Recognized As Safe' — the material is considered safe based on a history of common use or scientific consensus, without requiring formal FDA approval", "The material meets FDA's Grade A recyclable standard", "The material is approved for global regulatory acceptance" ], answer: 1, explanation: "GRAS is a FDA designation allowing substances to be used in food (including food contact materials) without formal premarket approval if there is scientific consensus or a history of safe use. Companies can self-affirm GRAS status, though FDA notification is recommended." }, { id: 25, category: CATEGORIES.REGULATORY, question: "What is the purpose of the EU's 'Extended Producer Responsibility' (EPR) in packaging?", options: [ "It requires producers to pay for product liability insurance", "It makes producers financially responsible for the end-of-life management of their packaging, incentivizing design-for-recyclability", "It bans non-recyclable packaging materials", "It requires producers to use a minimum of 30% recycled content" ], answer: 1, explanation: "EPR shifts the economic burden of collection, sorting, and recycling from municipalities to packaging producers. Fees are often modulated by packaging recyclability, material type, and recycled content — creating a direct financial incentive to design packaging that can be recovered." }, // SUSTAINABILITY & ECO-DESIGN { id: 26, category: CATEGORIES.SUSTAINABILITY, question: "What is the difference between 'biodegradable' and 'compostable' packaging as defined by industrial standards?", options: [ "They are equivalent terms governed by the same standard", "Biodegradable indicates breakdown by microorganisms over an unspecified time; compostable (EN 13432/ASTM D6400) specifies breakdown within 12 weeks in industrial composting conditions with no toxic residue", "Biodegradable packaging degrades in home compost; compostable requires industrial facilities", "Compostable packaging is certified recyclable; biodegradable is not" ], answer: 1, explanation: "EN 13432 (EU) and ASTM D6400 (US) define compostability with specific criteria: disintegration within 12 weeks, 90%+ biodegradation within 6 months under industrial composting (58°C), and no ecotoxicity. 'Biodegradable' alone has no regulated timeframe and can be misleading." }, { id: 27, category: CATEGORIES.SUSTAINABILITY, question: "In Life Cycle Assessment (LCA) of packaging, what does the 'system boundary' define?", options: [ "The physical dimensions of the packaging being assessed", "The geographic scope of the distribution network", "The stages of the product's life cycle included in the assessment — determining what environmental inputs and outputs are counted", "The maximum weight limit for transport optimization" ], answer: 2, explanation: "The system boundary determines whether the LCA is cradle-to-gate (raw material extraction to factory gate), cradle-to-grave (including use and end-of-life), or cradle-to-cradle (incorporating recycling loops). It critically affects results — omitting end-of-life stages can significantly understate environmental impact." }, { id: 28, category: CATEGORIES.SUSTAINABILITY, question: "What is 'lightweighting' in packaging and what is its primary trade-off?", options: [ "Using lighter ink colors to reduce material use; trade-off is lower brand visibility", "Reducing packaging material weight while maintaining functional performance; trade-off is often reduced barrier, mechanical protection, or higher per-unit material cost", "Replacing glass with plastic for weight reduction; trade-off is reduced recyclability", "Reducing label size to lower paper use; trade-off is reduced regulatory compliance space" ], answer: 1, explanation: "Lightweighting reduces material use, transport emissions, and raw material costs. The engineering challenge is maintaining required structural integrity, barrier, and shelf-life performance with less material. It requires advanced material science (nano-composites, multi-layer optimization) and rigorous testing." }, { id: 29, category: CATEGORIES.SUSTAINABILITY, question: "What is the 'recyclability' concern with multi-layer flexible packaging (e.g., PET/Alu/PE laminates)?", options: [ "Multi-layer films are too light to be sorted by recycling machinery", "Bonded dissimilar materials cannot be separated in current recycling streams, contaminating mono-material recycling and rendering the laminate non-recyclable in most infrastructure", "The adhesives in laminates are toxic to recycling workers", "Multi-layer films melt at different temperatures making sorting difficult" ], answer: 1, explanation: "Adhesive lamination creates inseparable material combinations. In current mechanical recycling, PET/Alu/PE laminates contaminate both plastic and metal streams. The packaging industry is transitioning to mono-material structures (all-PE, all-PP) or chemically recyclable designs to address this." }, { id: 30, category: CATEGORIES.SUSTAINABILITY, question: "What is the concept of 'Design for Recyclability' (DfR) and name two specific design features it advocates?", options: [ "Designing packaging to be reused; advocates for refill systems and deposit schemes", "Designing packaging to maximize material recovery in existing recycling infrastructure; advocates for mono-material structures and removal of non-recyclable labels/sleeves", "Designing packaging from recycled content; advocates for post-consumer recycled (PCR) materials", "Designing for compactability; advocates for crushable bottles and flat-pack cartons" ], answer: 1, explanation: "DfR ensures packaging can actually be recycled, not just theoretically recyclable. Specific features include: mono-material construction, pressure-sensitive labels compatible with the base resin wash, ink systems that don't bleed into recyclate, detachable closures (different polymer class), and avoiding carbon black (which blocks NIR sorting)." }, // TESTING & QUALITY { id: 31, category: CATEGORIES.TESTING, question: "What does the 'headspace analysis' test measure in sealed food packages?", options: [ "The volume of empty space inside the package", "The composition of gases (O₂, CO₂, N₂) within the package headspace, used to verify MAP conditions and detect package leaks or microbial activity", "The pressure differential between inside and outside the package", "The moisture content of the product layer closest to the package wall" ], answer: 1, explanation: "Headspace gas analysis (using instruments like Dansensor or Mocon CheckMate) measures residual O₂ and CO₂ in sealed packages. Rising O₂ indicates seal failure or film permeation; rising CO₂ can indicate microbial activity. Critical for MAP quality assurance and leak detection." }, { id: 32, category: CATEGORIES.TESTING, question: "What is the 'hot tack' strength of a packaging seal and why is it industrially important?", options: [ "The seal strength at room temperature after full cooling; determines opening force for consumers", "The seal strength immediately after sealing while still hot; critical for vertical form-fill-seal (VFFS) machines filling heavy products at high speeds", "The temperature resistance of the sealed joint at retort conditions", "The bond strength between the heat-seal layer and the barrier layer" ], answer: 1, explanation: "Hot tack is measured milliseconds after the sealing jaws open, before the seal cools and crystallizes. In VFFS packaging of snacks, the still-warm seal must support the falling product weight without bursting. Inadequate hot tack causes seal failure at high production speeds." }, { id: 33, category: CATEGORIES.TESTING, question: "What is the ASTM D3985 test and what packaging performance parameter does it measure?", options: [ "Drop impact resistance of corrugated boxes", "Oxygen transmission rate through plastic films and sheeting", "Tensile strength and elongation of flexible films", "Coefficient of friction for film-to-film and film-to-metal surfaces" ], answer: 1, explanation: "ASTM D3985 (and ISO 15105-2) measures OTR using coulometric detection. A film sample separates two chambers; one side carries dry oxygen, the other is swept with nitrogen carrier gas. OTR is calculated from the oxygen flux detected electrochemically — the industry standard for barrier specification." }, { id: 34, category: CATEGORIES.TESTING, question: "What is 'ISTA Pre-shipment Testing' and why is it required by major retailers?", options: [ "Testing of packaging materials for food safety compliance before importing", "Standardized series of tests (vibration, drop, compression, climate) simulating distribution hazards to verify packaging protects products from manufacture to consumer", "Sensory evaluation of packaging aesthetics by a consumer panel", "Sterility testing of aseptic packaging before filling" ], answer: 1, explanation: "ISTA (International Safe Transit Association) protocols simulate real distribution environments — truck vibration, parcel drop, stacking compression, humidity cycling. Major retailers (Amazon, Walmart) mandate ISTA compliance to reduce damage, returns, and waste throughout the supply chain." }, { id: 35, category: CATEGORIES.TESTING, question: "What does the 'Edge Crush Test' (ECT) measure in corrugated packaging, and how does it differ from Burst Strength (Mullen Test)?", options: [ "ECT measures flute height; Mullen measures paperboard caliper", "ECT measures the compressive strength of corrugated board standing on its edge — directly predicting box stacking strength; Mullen measures resistance to bursting pressure — more relevant for rough handling", "ECT measures puncture resistance; Mullen measures moisture resistance", "They are equivalent tests with different sampling methods" ], answer: 1, explanation: "ECT directly correlates to stacking (column) strength — critical for warehouse pallet stacking. The Box Compression Test (BCT) is derived from ECT. Mullen (Burst Strength) was the historical standard, better suited for applications involving rough handling or moisture, but ECT is now the preferred metric for corrugated box specification." }, // ACTIVE & INTELLIGENT PACKAGING { id: 36, category: CATEGORIES.ACTIVE, question: "What is the mechanism of action of iron-based oxygen scavengers used in food packaging?", options: [ "Iron powder physically blocks oxygen transmission through the film", "Iron oxidizes (Fe → Fe₂O₃/Fe₃O₄) in the presence of oxygen and moisture, chemically consuming residual O₂ in the headspace", "Iron chelates arachidonic acid to prevent lipid oxidation", "Iron reacts with CO₂ to form carbonate precipitates" ], answer: 1, explanation: "Iron-based scavengers (e.g., Ageless® by Mitsubishi) use the oxidation reaction: 4Fe + 3O₂ + xH₂O → 2Fe₂O₃·xH₂O. They can reduce headspace O₂ below 0.01%, far beyond what MAP alone achieves. Moisture activation is a key parameter in their application design." }, { id: 37, category: CATEGORIES.ACTIVE, question: "What is 'intelligent packaging' and how does a Time-Temperature Indicator (TTI) function?", options: [ "Packaging with embedded sensors that communicate with smartphones; TTI uses NFC to log temperature data", "Packaging that responds to the environment or provides information about the product's condition; TTIs undergo irreversible physical/chemical changes (color, opacity) that are proportional to cumulative time-temperature history", "Packaging with RFID for inventory tracking; TTI measures only peak temperature", "Packaging incorporating QR codes for traceability; TTI changes color only above a threshold" ], answer: 1, explanation: "TTIs integrate time and temperature exposure, reflecting cumulative cold chain history, not just peak temperature. Mechanisms include enzymatic reactions (Vitsab), polymerization (3M MonitorMark), or diffusion-based color migration. Unlike simple indicators, they reflect the true biological or chemical impact of temperature abuse." }, { id: 38, category: CATEGORIES.ACTIVE, question: "What is the regulatory challenge with incorporating antimicrobial agents (e.g., silver nanoparticles) into food contact packaging?", options: [ "They are prohibited in all packaging globally due to toxicity", "Migrating antimicrobial substances from packaging into food may be classified as food additives or novel materials, requiring safety assessment and approval — creating complex regulatory overlap between food contact and food additive regulations", "They interfere with NIR sorting in recycling", "They are unstable at food processing temperatures" ], answer: 1, explanation: "Substances intentionally added to packaging to exert an antimicrobial effect on food may be regulated as food additives if they migrate. Silver nanoparticles face scrutiny under EU novel food and food contact regulations (FCM). Industry must demonstrate both safety (migration testing) and functionality (efficacy data)." }, { id: 39, category: CATEGORIES.ACTIVE, question: "What is 'freshness indicator' packaging and what chemical principle underlies most dye-based freshness indicators for meat/fish?", options: [ "It detects physical damage to the package; based on barometric pressure change", "It detects spoilage metabolites (amines, H₂S, CO₂) produced by bacteria; dye systems change color in response to pH shift or specific volatile compounds", "It measures water activity change; based on osmotic color-shift reagents", "It detects lipid oxidation products; based on peroxide-sensitive dyes" ], answer: 1, explanation: "As meat/fish spoils, bacteria produce volatile amines (trimethylamine, cadaverine) and H₂S, shifting the local pH. Acid-base indicator dyes (e.g., bromocresol green, anthocyanin-based sensors) undergo colorimetric changes in response, providing a direct visual freshness signal without opening the pack." }, { id: 40, category: CATEGORIES.ACTIVE, question: "What is 'controlled release packaging' (CRP) and give a relevant food packaging example?", options: [ "Packaging with timed opening mechanisms; used for portion-controlled snacks", "Packaging that releases functional substances (antimicrobials, antioxidants, CO₂) at a controlled rate into the food or headspace to extend shelf life or improve safety", "Packaging that releases nutrients during digestion; used in nutraceuticals", "A supply chain management system controlling packaging release dates" ], answer: 1, explanation: "CRP examples include CO₂-emitting sachets in coffee packaging (countering O₂ ingress), ethanol-vapor sachets for bakery products (antimicrobial), and vitamin E-releasing films for fat-containing snacks (antioxidant). The release kinetics must be calibrated to match the product's shelf-life requirements." }, // STRUCTURAL DESIGN & MACHINERY { id: 41, category: CATEGORIES.DESIGN, question: "What is 'top-load compression strength' in PET bottle design and what structural element most influences it?", options: [ "The pressure resistance to internal carbonation; influenced by wall thickness", "The axial compressive force the bottle can withstand before buckling; primarily influenced by the base design and pillar/rib geometry in the shoulder and body", "The resistance to label pull-off; influenced by surface texture", "The drop impact resistance; influenced by base geometry" ], answer: 1, explanation: "Top-load strength determines stacking performance on retail shelves and during palletizing. Vertical ribs, panel geometry, and the transition geometry between shoulder and body are key structural contributors. Lightweight PET bottle design requires finite element analysis (FEA) to optimize wall distribution without sacrificing top-load performance." }, { id: 42, category: CATEGORIES.DESIGN, question: "In Form-Fill-Seal (FFS) packaging machinery, what is the difference between HFFS and VFFS?", options: [ "HFFS uses heat sealing; VFFS uses cold sealing", "HFFS (Horizontal FFS) forms a pouch horizontally — typically used for solid, uniform products (cheese, deli); VFFS (Vertical FFS) forms and fills vertically — used for flowable products (snacks, coffee, liquids)", "HFFS produces stand-up pouches; VFFS produces pillow pouches only", "HFFS operates continuously; VFFS operates intermittently" ], answer: 1, explanation: "HFFS machines (e.g., thermoform-fill-seal, flow-wrap) handle products laid flat on a film web. VFFS machines (common in snack packaging) form a tube around a vertical forming collar, fill from the top, then cross-seal. Product characteristics (flowability, fragility, portion size) determine which system is appropriate." }, { id: 43, category: CATEGORIES.DESIGN, question: "What is 'tamper evidence' vs. 'tamper resistance' in packaging design, and give an example of each?", options: [ "They are the same concept; both use induction seals", "Tamper evidence provides a visible indication that tampering has occurred (e.g., breakable neck bands on bottles); tamper resistance physically impedes unauthorized opening (e.g., child-resistant closures with push-and-turn mechanisms)", "Tamper evidence is for consumer packaging; tamper resistance is for industrial", "Tamper resistance uses digital verification; tamper evidence uses physical seals" ], answer: 1, explanation: "Regulatory distinction: tamper-evident packaging shows evidence of tampering after it occurs; tamper-resistant packaging is designed to prevent it. Both are often combined — a child-resistant cap (resistance) with an induction-sealed foil (evidence). FDA regulations for OTC drugs mandate tamper-evident features." }, { id: 44, category: CATEGORIES.DESIGN, question: "What is the function of a 'desiccant' in pharmaceutical and nutraceutical packaging, and which material is most commonly used?", options: [ "To absorb oxygen; iron powder sachets are most common", "To absorb moisture from the package headspace; silica gel (SiO₂) is most common, also molecular sieves and calcium chloride for high-capacity applications", "To release nitrogen to displace oxygen; activated carbon is most common", "To absorb ethylene gas from fresh produce; potassium permanganate sachets are most common" ], answer: 1, explanation: "Desiccants maintain low relative humidity inside packages, protecting moisture-sensitive products from caking, hydrolysis, and microbial growth. Silica gel (physisorption) is most widely used; molecular sieves offer lower equilibrium RH; indicating silica gel (cobalt-free formulations now replacing cobalt chloride) changes color when saturated." }, { id: 45, category: CATEGORIES.DESIGN, question: "What is 'coefficient of friction' (COF) in flexible packaging films and why is it critical in converting operations?", options: [ "COF measures the film's resistance to puncture; critical for determining bag thickness", "COF measures the frictional resistance between film surfaces or film and machine contact surfaces; if too high it causes jams in FFS machines; if too low, bags cannot be opened easily by consumers", "COF measures the adhesion strength of printing inks to film", "COF measures the film's slip resistance for anti-skid pallet wrapping" ], answer: 1, explanation: "Both static COF (force to initiate movement) and kinetic COF (force to maintain movement) are specified for packaging films. Slip additives (erucamide, oleamide) migrate to the film surface, reducing COF for machine handling. Excessive slip causes registration errors in printing and seal positioning." }, // ADVANCED / MIXED { id: 46, category: CATEGORIES.BARRIER, question: "What is 'migration testing' in food contact materials and what are the two main types?", options: [ "Testing how packaging moves through the supply chain; static and dynamic migration", "Testing for the transfer of substances from packaging into food or simulants; overall migration (total mass transfer) and specific migration (concentration of individual compounds)", "Testing how colorants migrate between label layers; surface and subsurface migration", "Testing for atmospheric permeation through packaging walls; inward and outward migration" ], answer: 1, explanation: "Overall Migration (OM) measures total mass of non-volatile substances transferring into a simulant (expressed as mg/dm²). Specific Migration (SM) measures individual substances using analytical methods (GC-MS, LC-MS). EU Regulation 10/2011 specifies food simulants (acetic acid, ethanol, olive oil, Tenax) that represent different food types." }, { id: 47, category: CATEGORIES.TECH, question: "What is 'high-pressure processing' (HPP) and what packaging requirement does it impose?", options: [ "A thermal treatment at 200°C; requires heat-resistant packaging", "Non-thermal processing using hydrostatic pressure (400–600 MPa) to inactivate pathogens; packaging must be flexible to transmit pressure isostically without structural failure", "A nitrogen-flush system at 5 bar; requires gas-barrier packaging only", "Ultrasonic cavitation processing; requires rigid containers to withstand vibration" ], answer: 1, explanation: "HPP uses water as the pressure transmission medium at 400–600 MPa to inactivate vegetative pathogens without heat. Packaging must be 15–20% compressible (flexible pouches or bottles), impermeable to water ingress, and capable of recovering shape after pressure release. PET, PE, and EVOH-based laminates are commonly used." }, { id: 48, category: CATEGORIES.MATERIALS, question: "What is 'post-consumer recycled content' (PCR) and what are the technical challenges of using it in food contact packaging?", options: [ "Virgin material recovered from industrial manufacturing waste; challenges are higher cost and limited availability", "Material recovered from consumer waste streams; challenges include contamination (unknown chemicals), inconsistent melt flow index, color variation, and regulatory approval requirements for food contact use", "Bio-based plastics derived from agricultural waste; challenges are moisture sensitivity and low heat resistance", "Downcycled material used only for non-food packaging; no food contact challenges apply" ], answer: 1, explanation: "PCR materials carry contamination risk from their previous use (cleaning products, pesticides, non-food materials). In EU/US, food-grade PCR requires either dedicated collection streams or decontamination processes approved by EFSA/FDA. Mechanical properties vary significantly between lots, requiring careful process control." }, { id: 49, category: CATEGORIES.SUSTAINABILITY, question: "What is the 'packaging-to-food waste trade-off' debate in sustainability, and what does LCA evidence generally show?", options: [ "Packaging always increases total environmental impact; LCA shows reducing packaging is always beneficial", "Reducing packaging can increase food waste, and since food production generates far more environmental impact than its packaging, the environmental cost of food waste often exceeds the benefit of packaging reduction — LCA evidence supports optimizing, not minimizing, packaging", "Packaging and food waste have no relationship; LCA treats them in separate system boundaries", "Packaging reduction only matters for dry goods; fresh produce packaging is always net negative" ], answer: 1, explanation: "Multiple LCAs (WRAP studies, Franklin Associates) show food production's carbon, water, and land footprint typically exceeds that of its packaging by 5–10x. A cucumber wrapped in plastic film lasts 14 days vs. 3 days unwrapped — the plastic's footprint is small vs. the cucumber it protects. This doesn't justify over-packaging, but reveals that eliminating effective packaging can be counterproductive." }, { id: 50, category: CATEGORIES.REGULATORY, question: "What is 'substance of very high concern' (SVHC) under EU REACH regulation and how does it impact packaging material suppliers?", options: [ "SVHCs are banned from all EU products; packaging suppliers must reformulate immediately", "SVHCs are substances with carcinogenic, mutagenic, reprotoxic, persistent, bioaccumulative, or endocrine-disrupting properties — if present >0.1% w/w in articles (including packaging), suppliers must notify customers and, if >1 tonne/year, notify ECHA; they must provide safety information on request", "SVHCs require special labeling on consumer packaging", "SVHCs only apply to food-grade inks and adhesives, not base polymers" ], answer: 1, explanation: "REACH SVHC obligations require supply chain communication (SCIP database notification, ECHA), not automatic prohibition. However, SVHCs face potential restriction or authorization requirements, motivating supply chain substitution. Packaging components (plasticizers, flame retardants, certain pigments) have appeared on the SVHC Candidate List, requiring reformulation or risk management." } ]; const CATEGORY_COLORS = { [CATEGORIES.MATERIALS]: { bg: "#EFF6FF", border: "#3B82F6", text: "#1E40AF" }, [CATEGORIES.BARRIER]: { bg: "#F0FDF4", border: "#22C55E", text: "#166534" }, [CATEGORIES.TECH]: { bg: "#FFF7ED", border: "#F97316", text: "#9A3412" }, [CATEGORIES.REGULATORY]: { bg: "#FDF4FF", border: "#A855F7", text: "#6B21A8" }, [CATEGORIES.SUSTAINABILITY]: { bg: "#F0FDF4", border: "#059669", text: "#064E3B" }, [CATEGORIES.TESTING]: { bg: "#FFF1F2", border: "#F43F5E", text: "#9F1239" }, [CATEGORIES.ACTIVE]: { bg: "#FFFBEB", border: "#D97706", text: "#78350F" }, [CATEGORIES.DESIGN]: { bg: "#F8FAFC", border: "#64748B", text: "#1E293B" }, }; const MODE_QUIZ = "quiz"; const MODE_BROWSE = "browse"; const MODE_RESULTS = "results"; export default function App() { const [mode, setMode] = useState(null); // null = home const [current, setCurrent] = useState(0); const [selected, setSelected] = useState(null); const [answered, setAnswered] = useState(false); const [score, setScore] = useState(0); const [results, setResults] = useState([]); const [filterCat, setFilterCat] = useState("All"); const [browseOpen, setBrowseOpen] = useState(null); const [quizQuestions, setQuizQuestions] = useState([]); const cats = ["All", ...Object.values(CATEGORIES)]; function startQuiz(categoryFilter) { const pool = categoryFilter === "All" ? questions : questions.filter(q => q.category === categoryFilter); const shuffled = [...pool].sort(() => Math.random() - 0.5); setQuizQuestions(shuffled); setCurrent(0); setSelected(null); setAnswered(false); setScore(0); setResults([]); setMode(MODE_QUIZ); } function handleSelect(idx) { if (answered) return; setSelected(idx); setAnswered(true); const q = quizQuestions[current]; const correct = idx === q.answer; if (correct) setScore(s => s + 1); setResults(r => [...r, { id: q.id, correct, selected: idx, answer: q.answer, category: q.category }]); } function handleNext() { if (current + 1 >= quizQuestions.length) { setMode(MODE_RESULTS); } else { setCurrent(c => c + 1); setSelected(null); setAnswered(false); } } const filteredBrowse = filterCat === "All" ? questions : questions.filter(q => q.category === filterCat); // HOME if (!mode) { return (
Industrial Assessment

Food Packaging
Interview Prep

50 expert-level questions covering materials science, barrier technology, processing, regulation, sustainability, and quality testing — the depth expected at industrial R&D and packaging engineering roles.

{Object.values(CATEGORIES).map(cat => { const c = CATEGORY_COLORS[cat]; const count = questions.filter(q => q.category === cat).length; return (
startQuiz(cat)}>
{count}Q
{cat}
); })}
); } // BROWSE MODE if (mode === MODE_BROWSE) { return (

Question Bank

{filteredBrowse.map((q, i) => { const c = CATEGORY_COLORS[q.category]; const open = browseOpen === q.id; return (
{open && (
{q.options.map((opt, idx) => (
{idx === q.answer ? "✓" : String.fromCharCode(65 + idx)} {opt}
))}
Explanation: {q.explanation}
)}
); })}
); } // RESULTS if (mode === MODE_RESULTS) { const pct = Math.round((score / quizQuestions.length) * 100); const catBreakdown = Object.values(CATEGORIES).map(cat => { const catResults = results.filter(r => r.category === cat); const correct = catResults.filter(r => r.correct).length; return { cat, total: catResults.length, correct }; }).filter(x => x.total > 0); return (

Results

{quizQuestions.length} questions attempted

= 70 ? "#38BDF8" : pct >= 50 ? "#FBBF24" : "#F87171", fontVariantNumeric: "tabular-nums", letterSpacing: "-3px" }}>{pct}%
{score} of {quizQuestions.length} correct
= 80 ? "#34D399" : pct >= 60 ? "#FBBF24" : "#FB923C" }}> {pct >= 80 ? "Industry-ready knowledge ✓" : pct >= 60 ? "Solid foundation — review weak areas" : "More preparation recommended"}

Performance by Category

{catBreakdown.map(({ cat, total, correct }) => { const c = CATEGORY_COLORS[cat]; const p = Math.round((correct / total) * 100); return (
{cat} {correct}/{total}
= 70 ? "#38BDF8" : p >= 50 ? "#FBBF24" : "#F87171", borderRadius: "3px", transition: "width 0.8s ease" }} />
); })}
); } // QUIZ MODE const q = quizQuestions[current]; const catColor = CATEGORY_COLORS[q.category]; const progress = (current / quizQuestions.length) * 100; return (
{/* Top bar */}
{current + 1} / {quizQuestions.length} {score} pts
{/* Progress */}
{/* Question card */}
{q.category}

{q.question}

{q.options.map((opt, idx) => { let bg = "#0F172A", border = "#334155", color = "#CBD5E1"; if (answered) { if (idx === q.answer) { bg = "rgba(56,189,248,0.1)"; border = "#38BDF8"; color = "#E2E8F0"; } else if (idx === selected && idx !== q.answer) { bg = "rgba(248,113,113,0.1)"; border = "#F87171"; color = "#FCA5A5"; } } else if (selected === idx) { bg = "rgba(56,189,248,0.08)"; border = "#38BDF8"; } return ( ); })}
{answered && (
{selected === q.answer ? "Correct. " : "Incorrect. "} {q.explanation}
)}
{answered && (
)}
); }