Live Quiz Arena
🎁 1 Free Round Daily
⚡ Enter ArenaQuestion
← Logic & PuzzlesIf a database query returns all customer records where the 'city' field is either 'New York' OR 'Los Angeles', which set theory operation models this?
A)Set intersection
B)Set difference
C)Set union✓
D)Power set
💡 Explanation
The query models a set union because it returns records belonging to either the set of customers from 'New York' or the set of customers from 'Los Angeles', therefore combining both sets. It's a union, rather than intersection which would only return customers in both cities.
🏆 Up to £1,000 monthly prize pool
Ready for the live challenge? Join the next global round now.
*Terms apply. Skill-based competition.
Related Questions
Browse Logic & Puzzles →- A robotic arm executes a sequence of movements. Positional error accumulates with each step. Which strategy best stabilizes the arm's trajectory?
- A robotic arm with three joints needs to reach a specific point in space; the joint angles are linearly dependent. Which outcome occurs?
- A user wishes to prove they know a secret to a remote server without revealing the secret itself. Which mechanism confirms knowledge without disclosure?
- If a sorting algorithm method guarantees that elements preceding a 'pivot' are always less than the pivot, which consequence follows?
- Which outcome occurs when a network router's path selection uses a distance-vector routing algorithm with poisoned reverse?
- A data compression engineer implements Huffman coding for a text file, but the decoding process halts prematurely. Which consequence follows from incomplete transmission of the Huffman tree?
