What is the primary purpose of a drill file in PCB manufacturing?
Think about what physical feature the drill file controls.
The drill file contains coordinates and sizes for holes that must be drilled in the PCB, such as vias and mounting holes.
Given a dataset of drill holes with columns 'HoleSize' and 'Count', which DAX measure correctly calculates the total number of drill holes?
DrillHoles = SUMX(DrillData, DrillData[Count])
Consider that 'Count' is the number of holes per size, so you need to sum all counts.
SUMX iterates over each row and sums the 'Count' values, giving the total holes drilled.
You want to show the distribution of drill hole sizes and their counts on a dashboard. Which visualization type is best suited for this?
Think about which chart clearly compares quantities across categories.
A bar chart clearly shows counts for each hole size category, making it easy to compare sizes.
You have drill hole data for multiple PCB layers. Which data model design best supports analysis of hole counts by layer and size?
Consider normalization and ease of filtering by layer.
Using a fact table with HoleSize and Count linked to a Layer dimension table allows flexible filtering and avoids data duplication.
Consider this snippet of a drill file export script that generates drill coordinates. What error will occur when running this code?
for hole in drill_holes:
print(f"X{hole['x']:04d}Y{hole['y']:04d}D03*")
print("M30*")Check if all dictionaries have the required keys before accessing.
If any hole dictionary lacks 'x' or 'y', accessing hole['x'] or hole['y'] raises a KeyError.
