Skip to content
Tech Interview Prep

Real Interview Questions for the Software Engineer at Dassault Systèmes

New

Practice MCQs

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

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

MCQ-1A Java method meant to sum 1 through 4 contains `int total = 0; for (int i = 1; i <= 4; i++) { if (i % 2 == 0) total += i; } System.out.println(total);` What does the program print?
Difficulty: Easy
MCQ-2An `employees` table holds engineering salaries 200000, 200000, 170000, 140000 and 110000, with duplicates allowed. A report needs the second-highest distinct salary in one query. Which query returns that value?
Difficulty: Medium
MCQ-3A Java service receives a `char[]` holding `desserts` and must reverse it in place with O(1) extra space for a ten-million-character buffer, including empty and single-character arrays. Which two-pointer loop achieves that reversal?
Difficulty: Easy
MCQ-4A Java service stores 100,000 order IDs in a `HashMap` and answers membership lookups, but after importing IDs whose `hashCode` values all collide into one bucket, lookups degrade to linear time. Which change restores average constant-time lookup for this map?
Difficulty: Easy
MCQ-5You led a project replacing nightly batch sync with event-driven updates for 40,000 CAD users who edit offline, cutting lag from six hours to under a minute. The design had to preserve audit order when offline edits replayed after reconnection. Which explanation correctly justifies the architecture you chose?
Difficulty: Easy
MCQ-6A Java utility is `int len(String s) { if (s != null || !s.isEmpty()) { return s.length(); } return 0; }` and a test calls `len(null)`. What happens on that call?
Difficulty: Medium
MCQ-7A growable array starts with capacity 1 and size 0, doubling capacity and copying existing elements whenever a push finds size equal to capacity. After 1000 pushes, what is the total number of elements copied by all resizes?
Difficulty: Medium
MCQ-8An `orders` table holds North completed 450, North completed 700, North cancelled 950, South completed 650, South completed 850, and East completed 250. A report needs completed-order revenue per region, keeping only regions with a total above 1000. Which rows does the correct query return?
Difficulty: Medium
MCQ-9A MERN checkout stores the auditable order in SQL and mirrors it in MongoDB for catalog search, which can lag by minutes and be rebuilt from SQL. A checkout request must never lose the SQL order, even if the Mongo write fails. Which commit order should the Express endpoint use?
Difficulty: Medium
MCQ-10A C++17 service builds `std::vector<int> v{10,20,30};` and then executes `v.at(3)` with no surrounding try block. What happens when that access executes?
Difficulty: Easy
MCQ-11A Spring Boot rendering service sits behind an API gateway with 20 instances. Requests last from 200 milliseconds to 8 seconds, and round-robin routing leaves some instances holding a dozen long jobs while others sit idle, pushing p99 latency up. Which gateway load-balancing choice fits this variable-duration workload?
Difficulty: Easy
MCQ-12A Java program uses nested loops `for (int i = 1; i <= 4; i++)` and `for (int j = 1; j <= i; j++)` to print `*` on each inner iteration, starting a new line after each outer iteration. How many stars appear in each successive row?
Difficulty: Easy
MCQ-13A Java repository's `loadOrder` catches `SQLException` and must signal failure to a web layer. The web layer already has a global handler for `RuntimeException` that logs the cause and returns 500, and 12 controllers call `loadOrder` without declaring checked exceptions. Which design fits?
Difficulty: Medium
MCQ-14A Spring Boot `POST /orders` endpoint declares `create(@RequestBody OrderDto dto)` without `@Valid`, and `OrderDto` has `@NotBlank String name` and `@Min(1) int quantity`. A client sends `{"name":"","quantity":0}`. What does the endpoint do?
Difficulty: Medium
MCQ-15A Java 8 notification service uses `EmailSender`, `SmsSender`, and a third-party `VendorSender` you cannot modify or make extend your classes. All three must share the same retry behaviour, a fourth sender is planned, and dispatch is concurrent. Which design fits this situation?
Difficulty: Medium
MCQ-16A Java service passes unit tests that save a model with a valid title. During UAT a tester reports a crash saving a model with a blank title, and production logs show the same `NullPointerException` caught and logged only as `save failed` with no stack trace. What should the team do first to handle both reports?
Difficulty: Medium
MCQ-17Jobs A (3), B (4), C (2), D (5) and E (1) run with unlimited parallelism. B and C depend on A, D depends on B and C, and E has no dependencies. What is the minimum time to finish all jobs?
Difficulty: Medium
MCQ-18A SaaS CAD service stores 2 GB assembly models with 60 versions each and must fetch version 47 in under 200 ms for rendering, with rendering at the edge 300 ms from the central relational database and millions of tenant objects in the bucket. Its key-value store caps each item at 400 KB and charges per stored byte. Which storage layout meets both constraints?
Difficulty: Medium
MCQ-19Two editors change the same scene object `panel` position in a collaborative CAD session. Editor A writes a new position at 1000 ms and editor B writes a different position at 1150 ms, and the merger uses Last-Write-Wins with a 500 ms conflict window, holding both writes until a reviewer resolves flagged conflicts. What should the merger do with this pair of writes?
Difficulty: Easy
MCQ-20A collaborative 3D modeling service hosts thousands of models, and one 90 MB model currently has 600 editors making small frequent edits across regions. Clients must see changes within 100 ms, with live presence cursors, and gateways must scale as more models are added. Which synchronization design fits this workload?
Difficulty: Medium
MCQ-21A CAD assembly contains 250,000 triangles spread across a large scene, with only a few pairs close enough to intersect. The team must report whether any pair intersects, without testing all pairs. Which approach fits this scene?
Difficulty: Easy
MCQ-22A workflow DSL program is `if amount > 1000 then escalate() else approve();` with `amount` set to 500, and each call appends one entry to the run log. What does a correct interpreter record for this run?
Difficulty: Easy

Curated: · Written: · Reviewed: