Real Interview Questions for the Software Engineer at ASML
NewPractice MCQs
Answers count toward the Software Engineer and overall leaderboards; your latest answer to each question is the one that counts.
MCQ-1A software engineer who has spent three years on precision motion control for medical imaging devices is interviewing for an ASML role building lithography control software, where a nanometer error can scrap a wafer and validation runs for months. Which answer best shows genuine fit for that work?
Answer to see the discussion.
MCQ-2A lithography controller runs motion control and diagnostic logging in one process, sharing a high-rate ring buffer in the heap. A logging bug corrupts that buffer and crashes the process, halting motion. The team needs logging failures isolated from motion while keeping the shared ring buffer. Which design should they adopt?
Answer to see the discussion.
MCQ-3A metrology pipeline ingests 200,000 sensor events per second from lithography tools, must keep events for the same wafer in order, and cannot drop events when downstream processing lags. Which partitioning and flow-control design meets these constraints at scale?
Answer to see the discussion.
MCQ-4A lithography tool update is due Friday for customer acceptance. The recipe editor passes validation, while the historian export and alarm banner remain unfinished. Acceptance checks only the recipe editor, and the customer has no use for the other two this week. What should the engineer do Monday?
Answer to see the discussion.
MCQ-5A CNN detects wafer defects from 2,000 upright training scans, reaching 98% training accuracy but only 71% on rotated validation scans. Production scans arrive at arbitrary rotations, and defect presence is independent of scan orientation. Which mitigation should the team apply first?
Answer to see the discussion.
MCQ-6A utility builds a list from Fibonacci numbers using `a=0, b=1` and repeatedly appending `a` then advancing `a,b=b,a+b`, then reverses it in place with `p=null` and `h.next=p` before saving `h.next` into a temporary. The reversed list cycles back to its start instead of ending at `null`. What change fixes the reversal?
Answer to see the discussion.
MCQ-7A producer takes one of three shared buffers and a different consumer thread returns it. The team guarded the buffers with a mutex, and the consumer's unlock fails intermittently. Which replacement preserves three-buffer concurrency?
Answer to see the discussion.
MCQ-8A `StageHandle` class owns a unique hardware mapping that must be released exactly once, is stored in a `std::vector` that reallocates, and must never be shared between owners. Which declaration set gives it safe value transfer without accidental sharing?
Answer to see the discussion.
MCQ-9A stage controller reports point A at (0, 0) and point B at (3, 4), both in micrometres. A helper must return the straight-line Euclidean distance between them for a motion check. What should the helper return?
Answer to see the discussion.
MCQ-10A controller defines `virtual void flush(int)` in `Base`, and `Derived` adds `void flush(double)` intending an overload set. Calling `d.flush(1)` on a `Derived` object, which function runs?
Answer to see the discussion.
MCQ-11A 3 by 4 matrix must be printed clockwise in spiral order starting at the top-left corner, with each element printed exactly once. The implementation tracks `top`, `bottom`, `left`, and `right` indices and moves one side at a time. Which boundary update keeps the shrinking window correct?
Answer to see the discussion.
MCQ-12A defect pattern is traced to the coating step, but it is only caught at final inspection after etch, so twelve lots are scrapped. A sensor can run at coating or at etch, and etch already has a slower equivalent check. Where should the team place the new in-line check?
Answer to see the discussion.
MCQ-13You have Monday to Wednesday to deliver a customer demo feature due Monday, a scanner interlock fix due Wednesday, and internal documentation due Wednesday. The feature takes one day and its API is required to test the interlock, which takes two days and has a manual workaround costing two hours per day. Documentation takes one day, but the audit accepts it next week. Which sequence do you choose?
Answer to see the discussion.
MCQ-14A lithography stage drifts reliably after two hours of continuous operation, with no error code and identical commands succeeding on a cold stage. Motion, thermal, and metrology logs exist but use unsynchronised clocks. What is the first debugging step?
Answer to see the discussion.
MCQ-15Two engineers run `terraform apply` concurrently against the same on-prem cluster, each using a laptop-local state file, and the second apply overwrites the first and orphans resources. The configuration is versioned in git, state is not shared or locked, and company policy prohibits public-cloud storage. Which state storage should the team adopt?
Answer to see the discussion.
MCQ-16A team keeps Terraform for a bare-metal on-prem cluster in git, and applies run on an ephemeral runner outside CI. Public cloud is prohibited, and the database password and API token rotate monthly with per-team audit. Which source supplies them at apply time?
Answer to see the discussion.
MCQ-17A Spark job joins 2 billion orders to customers on `customer_id`. One key accounts for 40% of orders, one task runs 20 minutes while others finish in seconds, and that executor is OOM-killed. What handling strategy fixes this skew?
Answer to see the discussion.
MCQ-18A scanner project needs motion, controls, and metrology teams to integrate in six weeks. Integration shows 18 ms latency against a 10 ms budget that downstream exposure requires, and each team blames another team's interface. What should you set to get a shared plan with a measurable outcome before the next review?
Answer to see the discussion.
Curated: · Written: · Reviewed: