Login Register

Access the GIFSQ Portal

Select your user type to log in or register a new account.

Student Portal

Access your food safety courses and exams.

Instructor Portal

Manage courses, view student submissions, and grade quizzes.

Company Portal

Manage corporate setup, view employee logs, and access QA services.

PLC Quiz

GIFSQ ID: ART-1961

Test your knowledge with this free 20-question PLC quiz from Food Industry Automation & Instrumentation, part of…

What this quiz covers

A PLC, a Programmable Logic Controller, is best described as an industrial computer that controls machinery through programmed logic and I/O, rugged and deterministic, built for the plant floor, and this quiz tests the whole machine: its cycle, its languages, its inputs and outputs, and its safety duties. A PLC scan cycle reads inputs, executes the program, updates outputs, then does housekeeping, over and over. Digital inputs accept ON/OFF signals such as switches, pushbuttons and photoeyes, while analog inputs commonly use 4-20 mA current loops or 0-10 V signals, the live-zero current loop giving noise immunity and broken-wire detection. I/O modules interface field devices to the CPU, with types for digital, analog and specialty signals. Timers, such as TON, delay actions, like keeping a conveyor running after a sensor clears, and counters track events like bottles filled for batch control and production counts. A watchdog timer protects against program crashes or infinite loops by resetting the CPU if the scan stalls.

The second half of the quiz covers programming languages and the safety rules that surround them. Ladder logic resembles electrical relay schematics, rungs, contacts and coils, because it was designed for electricians to read. Function Block Diagram suits process control loops and reusable logic blocks, and Structured Text is a high-level text language similar to Pascal for complex logic and calculations. A latch, or seal-in, circuit keeps an output on after a momentary start signal until a stop condition. An HMI connected to a PLC provides the operator interface, graphics, alarms and setpoint entry. Emergency stop circuits should be hardwired independent of the PLC program, because the E-stop must work even if the PLC has crashed or is mid-scan. A fail-safe output design means outputs de-energise to a safe state on power or CPU failure. PLC redundancy, hot standby, is used where downtime is unacceptable, such as continuous critical processes, with a second PLC shadowing the first and taking over instantly. Version control matters because unauthorised edits can compromise food safety interlocks, so changes need documentation and testing. In food plants, PLCs controlling allergen changeovers must guarantee validated cleaning sequences complete before the next product runs, and remote access for support should be secured via VPN with authentication and logging. The main difference from a DCS: PLCs suit discrete machine control while DCS suits large continuous processes with integrated advanced control.

One idea runs through the set: the PLC is the plant’s nervous system, and safety must never depend on software alone

Logic controls the line, but the E-stop, the fail-safe state and the cleaning interlock are what keep people and product safe when the logic fails.

How to use this quiz

Take the quiz cold first, then read the explanations below the player. Each answer gives the reason behind the key, with the scan cycle, the languages and the safety rules an automation student is expected to know by heart.

PLC Quiz
Uncategorized

Choose how you want to play

Sound effects
🔈 Volume
Show explanations
🔊 Auto-read every question
Reading speed

A short note: programmable logic controllers (PLCs) in food plants

A programmable logic controller, or PLC, is an industrial computer running machinery through programmed logic and input and output signals. Rugged and deterministic, it is built for the plant floor and suits discrete machine control; a distributed control system fits large continuous processes that need integrated advanced control.

Each PLC scan cycle reads inputs, runs the program, refreshes outputs, then does housekeeping, over and over. Ladder logic looks like electrical relay drawings, with rungs, contacts and coils, because electricians were meant to read it. Digital inputs accept on and off signals such as switches, pushbuttons and photoeyes, while analog inputs commonly use 4 to 20 mA current loops or 0 to 10 V signals.

A latch, or seal-in, circuit holds an output on once a momentary start signal comes in, until a stop condition arrives. A watchdog timer resets the CPU if the scan stalls, protecting against program crashes or infinite loops.

Wire emergency stop circuits hard, independent of the PLC program, so the stop works even with the PLC crashed or mid-scan. Fail-safe output design means outputs drop to a safe state when power or the CPU fails.

For allergen changeovers, the PLC must guarantee validated cleaning sequences finish before the next product runs. Version control matters: unauthorized edits can compromise food safety interlocks, so changes need documentation and testing.

Keep safety hardwired and interlocks version-controlled: software must never be the only barrier.

Questions and answers

Note: the player shuffles the questions and the answer options on every attempt, so the numbers in the player will not match the numbers in the questions and answers below. Match each answer by its wording.

Question 1: In PLC programming, a 'latch' (seal-in) circuit is used to:

  • A. Seal enclosures each day on schedule under normal operating conditions
  • B. Lock the cabinet in practice as usual at a standard manufacturing site
  • C. Keep an output on after a momentary start signal until a stop condition
  • D. Encrypt code daily on the plant floor and in standard industry practice

Correct answer: Keep an output on after a momentary start signal until a stop condition

A latch (seal-in) circuit keeps an output on after a momentary start signal until a stop condition : press start once, the contact seals itself in, stop breaks the seal. It is logic, not an enclosure seal or encryption.

Question 2: A PLC scan cycle consists of:

  • A. Printing reports on site in practice during scheduled operations
  • B. Booting only daily on schedule under standard workplace practice
  • C. Compiling code each day as usual under routine supervision
  • D. Reading inputs, executing the program, updating outputs, then housekeeping

Correct answer: Reading inputs, executing the program, updating outputs, then housekeeping

A PLC scan cycle reads inputs, executes the program, updates outputs, then does housekeeping : over and over, deterministically. Printing reports and booting are not in the cycle.

Question 3: PLC redundancy (hot standby) is used where:

  • A. Cost is key under standard workplace practice
  • B. Space is limited during planned production time
  • C. It is decorative under typical plant conditions
  • D. Downtime is unacceptable, e.g., continuous critical processes

Correct answer: Downtime is unacceptable, e.g., continuous critical processes

PLC redundancy (hot standby) is used where downtime is unacceptable, e.g., continuous critical processes : a second PLC shadows the first and takes over instantly. Where cost is key, redundancy is the first thing cut.

Question 4: Ladder logic programming resembles:

  • A. Computer code on schedule under ordinary factory conditions
  • B. Electrical relay schematics with rungs, contacts, and coils
  • C. Flowcharts daily in practice under typical plant conditions
  • D. Spreadsheets as usual under standard workplace practice

Correct answer: Electrical relay schematics with rungs, contacts, and coils

Ladder logic resembles electrical relay schematics : rungs, contacts and coils : because it was designed for electricians to read. That familiarity is the whole reason the language exists.

Question 5: A 'fail-safe' PLC output design means:

  • A. It is expensive in practice during a typical production day
  • B. It never fails on schedule across the normal handling steps
  • C. It needs no wiring each day during standard production runs
  • D. Outputs de-energize to a safe state on power or CPU failure

Correct answer: Outputs de-energize to a safe state on power or CPU failure

A fail-safe PLC output design means outputs de-energize to a safe state on power or CPU failure : the machine stops safe, not stuck on. 'Never fails' is not a design philosophy anyone can deliver.

Question 6: A PLC (Programmable Logic Controller) is best described as:

  • A. An industrial computer that controls machinery through programmed logic and I/O
  • B. A motor during planned production time and in day-to-day food operations
  • C. A sensor daily during scheduled operations and under standard workplace practice
  • D. A home computer during standard production runs and under routine supervision

Correct answer: An industrial computer that controls machinery through programmed logic and I/O

A PLC is best described as an industrial computer that controls machinery through programmed logic and I/O : rugged, deterministic, built for the plant floor. It is not a motor, a sensor or a home computer.

Question 7: Digital inputs to a PLC accept:

  • A. Temperature as usual in practice during standard production runs
  • B. Continuous voltages on schedule across the normal handling steps
  • C. ON/OFF signals such as from switches, pushbuttons, and photoeyes
  • D. 4-20 mA on site daily under normal operating conditions

Correct answer: ON/OFF signals such as from switches, pushbuttons, and photoeyes

Digital inputs to a PLC accept ON/OFF signals : switches, pushbuttons, photoeyes. Continuous signals like 4-20 mA go to analog inputs, not digital ones.

Question 8: Counters in PLC programs typically:

  • A. Count money within the normal workflow and during planned production time
  • B. Track events like bottles filled for batch control and production counts
  • C. Measure temperature as usual on schedule during a typical production day
  • D. Weigh products during standard production runs and under routine supervision

Correct answer: Track events like bottles filled for batch control and production counts

Counters in PLC programs track events like bottles filled : for batch control and production counts. They count events, not money, temperature or weight.

Question 9: In food plants, what must PLCs controlling allergen changeovers guarantee?

  • A. Low cost in practice daily under ordinary factory conditions
  • B. Speed only on schedule under standard workplace practice
  • C. Validated cleaning sequences complete before the next product runs
  • D. Quiet operation as usual each day during scheduled operations

Correct answer: Validated cleaning sequences complete before the next product runs

PLCs controlling allergen changeovers in food plants must guarantee validated cleaning sequences complete before the next product runs : the interlock proves the clean happened. Low cost and speed are not guarantees.

Question 10: Remote access to food plant PLCs for support should be:

  • A. Secured via VPN with authentication and logging
  • B. Open to the internet daily on schedule
  • C. Unrestricted under standard workplace practice
  • D. Via public WiFi in day-to-day food operations

Correct answer: Secured via VPN with authentication and logging

Remote access to food plant PLCs for support should be secured via VPN with authentication and logging : controlled, visible, auditable. Open to the internet or public WiFi is an invitation to an incident.

Question 11: I/O modules in a PLC rack:

  • A. Interface field devices to the CPU, with types for digital, analog, and specialty signals
  • B. Provide power only daily across the normal handling steps and during regular working hours
  • C. Store programs on site under everyday working conditions and in day-to-day food operations
  • D. Are decorative on schedule under ordinary factory conditions and in the usual work setting

Correct answer: Interface field devices to the CPU, with types for digital, analog, and specialty signals

I/O modules in a PLC rack interface field devices to the CPU : with types for digital, analog and specialty signals. They are the hands and eyes of the PLC, not decoration or power supplies.

Question 12: Function Block Diagram (FBD) programming is well suited for:

  • A. Process control loops and reusable logic blocks
  • B. Accounting on site throughout the working shift
  • C. Wiring diagrams during a typical production day
  • D. Labeling as usual in day-to-day food operations

Correct answer: Process control loops and reusable logic blocks

Function Block Diagram (FBD) programming suits process control loops and reusable logic blocks : drag-and-drop blocks for PID and logic that gets reused. Not accounting or wiring diagrams.

Question 13: Structured Text (ST) PLC language is:

  • A. A drawing tool during normal service periods and during routine daily operations
  • B. A wiring method throughout the working shift and during standard production runs
  • C. A high-level text language similar to Pascal for complex logic and calculations
  • D. A sensor type during scheduled operations and under normal operating conditions

Correct answer: A high-level text language similar to Pascal for complex logic and calculations

Structured Text (ST) is a high-level text language similar to Pascal : for complex logic and calculations that are awkward in ladder. It is a programming language, not a drawing tool or sensor.

Question 14: Emergency stop circuits should:

  • A. Be hardwired independent of the PLC program
  • B. Use WiFi
  • C. Be optional
  • D. Run through PLC software only

Correct answer: Be hardwired independent of the PLC program

Emergency stop circuits should be hardwired independent of the PLC program : the E-stop must work even if the PLC is crashed or mid-scan. Running it through software only is a safety violation.

Question 15: An HMI connected to a PLC provides:

  • A. Cooling in practice daily under ordinary factory conditions
  • B. Operator interface with graphics, alarms, and setpoint entry
  • C. More I/O on schedule under standard workplace practice
  • D. Extra power each day under normal operating conditions

Correct answer: Operator interface with graphics, alarms, and setpoint entry

An HMI connected to a PLC provides the operator interface : graphics, alarms and setpoint entry. It does not cool anything, add I/O or supply power.

Question 16: Timers in PLCs (e.g., TON) are used for:

  • A. Scheduling shifts as usual in practice under normal operating conditions
  • B. Dating products on schedule daily as part of everyday production practice
  • C. Telling time in day-to-day food operations and across a normal working day
  • D. Delaying actions, such as keeping a conveyor running after a sensor clears

Correct answer: Delaying actions, such as keeping a conveyor running after a sensor clears

Timers in PLCs (e.g., TON) delay actions : like keeping a conveyor running after a sensor clears. They time logic, not shifts or product dates.

Question 17: Version control of PLC programs matters because:

  • A. Auditors like paper during regular working hours and during routine daily operations
  • B. Unauthorized edits can compromise food safety interlocks; changes need documentation and testing
  • C. It saves disk space during scheduled operations and under normal operating conditions
  • D. It looks professional daily under routine supervision and under standard workplace practice

Correct answer: Unauthorized edits can compromise food safety interlocks; changes need documentation and testing

Version control of PLC programs matters because unauthorized edits can compromise food safety interlocks : changes need documentation and testing. It is change control for safety, not disk space.

Question 18: Analog PLC inputs commonly use:

  • A. 0-10 V only during scheduled operations
  • B. Fiber optics across a normal working day
  • C. 4-20 mA current loops or 0-10 V signals
  • D. 240 VAC during routine daily operations

Correct answer: 4-20 mA current loops or 0-10 V signals

Analog PLC inputs commonly use 4-20 mA current loops or 0-10 V signals : the industrial standards, live-zero current loop for noise immunity and broken-wire detection. Not 240 VAC.

Question 19: A PLC watchdog timer protects against:

  • A. Dust during a typical production day and under ordinary factory conditions
  • B. Program crashes or infinite loops by resetting the CPU if the scan stalls
  • C. Dogs on site under typical plant conditions and within the normal workflow
  • D. Power surges at a standard manufacturing site and when the line is running

Correct answer: Program crashes or infinite loops by resetting the CPU if the scan stalls

A PLC watchdog timer protects against program crashes or infinite loops : it resets the CPU if the scan stalls. Dust, dogs and power surges are not what it's watching.

Question 20: The main difference between a PLC and a DCS is:

  • A. Price only during standard production runs and under routine supervision and in day-to-day food operations
  • B. Brand during scheduled operations and across a normal working day and under ordinary factory conditions
  • C. Color in practice under everyday working conditions and during a typical production day
  • D. PLCs suit discrete machine control while DCS suits large continuous processes with integrated advanced control

Correct answer: PLCs suit discrete machine control while DCS suits large continuous processes with integrated advanced control

The main difference: PLCs suit discrete machine control, while DCS suits large continuous processes with integrated advanced control : different architectures for different plant types. Not price, brand or colour.