Skip to content
Tech Interview Prep

Real Interview Questions for the Embedded Software Engineer at Foxconn

New

Practice MCQs

Answers count toward the Embedded Software Engineer and overall leaderboards; your latest answer to each question is the one that counts.

23 questions · Flow follows Relevance until this set has a learning order.

MCQ-1A PLC and its host controller share a switch with link lights on. Ping replies and the TCP session establishes, PLC diagnostics report no errors, yet the host sees stale register values and duplicate responses when it polls every 5 ms against a 50 ms PLC scan cycle. What is the most likely cause of this failure?
Difficulty: Medium
MCQ-2A chassis controller sends 8-byte torque commands every 10 ms over an existing 500 kbit/s CAN bus in a noisy harness. Corrupted frames must never be acted on, commands must arrive in order without skipping, and a lost frame must be replaced within one cycle. Which link design meets all requirements?
Difficulty: Medium
MCQ-3A motor controller patch must reach 200 deployed units, and support must identify exactly which binary each unit runs before approving a rollback. The team can add one practice to its release process. Which practice gives that traceability?
Difficulty: Medium
MCQ-4A chassis controller's 1 ms torque loop overruns at 1.18 ms on the production line, and profiling attributes 0.35 ms to a readable floating-point filter. The CPU clock is fixed by the harness design and the code must stay maintainable across shifts. Which optimization should the team apply first?
Difficulty: Medium
MCQ-5A chassis controller patch passes 10-minute bench tests but has never run under production load, where a fault appears within 30 minutes. The line has a four-hour rollout window tonight, automatic rollback is available, and exposing more than a small group before live evidence is unacceptable. Which rollout fits this window and risk limit?
Difficulty: Hard
MCQ-6A line test fixture passes with revision B boards but fails to detect the temperature sensor on revision C boards. Hardware moved the sensor to I2C address `0x49` on revision C to resolve a bus conflict, while firmware still probes `0x48` and bench stock remains revision B. What firmware change makes revision C fixtures detect the sensor?
Difficulty: Easy
MCQ-7A prototype passes bench tests at 25 C but drops frames intermittently after an hour inside a sealed enclosure. The clock looks clean on a scope, the rail holds steady on a meter, and failures stop when the enclosure is opened for cooling. What is the most likely cause to check first?
Difficulty: Medium
MCQ-8An 8-bit `count` increments every 100 MHz source cycle and is read by a 50 MHz domain through per-bit two-flop synchronizers, occasionally yielding values the counter never held. The source cannot stall and the destination needs the latest value each cycle without buffering. Which crossing protection fits?
Difficulty: Medium
MCQ-9A controller passes RTL simulation with an ideal `100 MHz` clock, but synthesis STA reports `-1.8 ns` setup slack from `sensor_reg` to `fifo_reg`. The critical-path report attributes most delay to combinational logic depth, little to wire delay, the design already uses the fastest speed grade, the `10 ns` period is fixed by the host, and the sample must reach `fifo_reg` on the next edge. What should the team do next?
Difficulty: Medium
MCQ-10A 16-deep asynchronous FIFO crosses from a 100 MHz write clock to a 50 MHz read clock, and randomized-clock simulation shows data corruption only when the FIFO nears full or empty. What pointer synchronization change fixes the flag errors without changing the memory?
Difficulty: Medium
MCQ-11A multithreaded telemetry service has a producer thread allocating a 4 KB packet and handing it to a consumer through a bounded queue, while the consumer frees each dequeued packet. Heap use climbs only during bursts when the queue is full and the producer logs an enqueue error, and sanitizer traces show the missing packets still reachable from the producer's stack. What is the most likely leak?
Difficulty: Medium
MCQ-12An embedded gateway with 16 KB of RAM must count error codes in a 400 MB log arriving as a network stream, where occasional stack-trace lines reach 128 KB and no swap is available. Which parsing strategy fits these constraints?
Difficulty: Medium
MCQ-13A motor controller parses UART frames where a length byte precedes that many payload bytes into a 16-byte buffer, and a faulty host sends length 255. The controller must keep running the last valid torque command without acting on corrupt data. What should the parser do with this frame?
Difficulty: Medium
MCQ-14AOI flags solder bridges on fine-pitch boards after reflow, and in-circuit testing confirms shorts on the same nets. The boards are already reflowed, and the line must isolate whether stencil, paste, or profile caused the defect before changing production settings. What is the next failure-analysis step?
Difficulty: Hard
MCQ-15A technician works without a wrist strap on a dry day, handling a bare PCB, and it passes full functional test that evening but fails intermittently after three weeks in the field. Rail logs show no overvoltage, and the enclosure stayed sealed and dry. What best explains the delayed failure?
Difficulty: Medium
MCQ-16A fine-pitch controller board uses lead-free reflow and must pass in-circuit probing before humid field deployment, and its open layout allows aqueous cleaning after reflow. No-clean residues are causing probe contact failures and corrosion risk on the current build. Which paste and flux choice fits this build?
Difficulty: Medium
MCQ-17A line controller logs `20000` sensor records per second to flash, has `64 KB` RAM, and must lose at most `100 ms` of data on sudden power loss while keeping records replayable in capture order. Flash wear limits synchronous writes per record. Which logging design meets all three constraints?
Difficulty: Medium
MCQ-18A plant monitors 300 servers with per-core temperature sampled every 10 seconds, and a single sample above the limit pages the on-call team. Most pages clear within a minute during batch jobs, while genuine cooling failures stay hot for many minutes, and fan speed is not reported by a third of the fleet. Which alert rule cuts false pages without delaying genuine thermal alerts materially?
Difficulty: Easy
MCQ-19A production table `samples(device_id, latency_ms, ok, ts)` holds one row per request. The dashboard needs, for the last hour, each device's mean latency over successful requests only, with devices having no successes omitted. Which aggregation returns that summary?
Difficulty: Easy
MCQ-20A gateway database holds 80 million `samples(device_id, ts)` rows and 2,000 `devices` rows. A dashboard query counts samples per device for the last hour by joining `samples` to `devices` on `device_id`, and `EXPLAIN` shows a sequential scan of `samples` feeding a hash join in 12 seconds. What index change best cuts that scan?
Difficulty: Medium
MCQ-21A packaging cell host writes a new recipe number to a PLC holding register and raises the start bit in the same OPC UA write. The PLC copies the recipe to the motion controller only on the rising edge of start, but the cell keeps running the previous recipe with no error reported. What integration change prevents this?
Difficulty: Medium
MCQ-22A packaging cell uses a pneumatic cylinder to clamp cartons, and the controller energises the valve for a fixed 180 ms expecting full clamp. Cartons vary in stiffness, so some clamps are loose while others over-compress, with no position feedback available. What control change ensures the target clamp position regardless of carton load?
Difficulty: Easy
MCQ-23A wearable controller passes EVT and DVT, but at final PVT validation three of sixty sealed units reset after about two hours and cannot reproduce on the bench. The circular log is overwritten on reset, no external trace was captured, and a scope on a passing unit shows the reset line driven by the power supervisor, not the watchdog. What is the first corrective action before attempting a fix?
Difficulty: Medium

Curated: · Written: · Reviewed: