Bird
0
0
PCB Designbi_tool~20 mins

Route planning for two-layer board in PCB Design - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Two-Layer PCB Routing Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Layer Usage in Two-Layer PCB Routing

In a two-layer PCB, how are the layers typically used for routing signals?

ATop layer for horizontal traces, bottom layer for vertical traces
BTop layer for power, bottom layer for ground only
CBoth layers used interchangeably without any specific pattern
DTop layer for ground, bottom layer for signals
Attempts:
2 left
💡 Hint

Think about how to minimize crossing and simplify routing.

dax_lod_result
intermediate
2:00remaining
Calculate Total Trace Length per Layer

Given a dataset of trace segments with their lengths and layer info, which DAX measure correctly calculates the total trace length on the top layer?

PCB Design
TraceData = DATATABLE(
  "TraceID", INTEGER,
  "Length_mm", FLOAT,
  "Layer", STRING,
  {
    {1, 10.5, "Top"},
    {2, 5.0, "Bottom"},
    {3, 7.2, "Top"},
    {4, 3.3, "Bottom"}
  }
)
ATotalTopLength = CALCULATE(SUM(TraceData[Length_mm]), FILTER(TraceData, TraceData[Layer] = "Top"))
BTotalTopLength = CALCULATE(SUM(TraceData[Length_mm]), FILTER(TraceData, TraceData[Layer] = "Bottom"))
CTotalTopLength = SUM(TraceData[Length_mm]) WHERE TraceData[Layer] = "Top"
DTotalTopLength = SUMX(FILTER(TraceData, TraceData[Layer] = "Top"), TraceData[Length_mm])
Attempts:
2 left
💡 Hint

Remember that CALCULATE requires filter expressions or FILTER function for conditions.

visualization
advanced
2:00remaining
Best Visualization for Layer Trace Length Comparison

You want to compare total trace lengths on top and bottom layers visually. Which chart type best shows this comparison clearly?

APie chart showing percentage of total trace length per layer
BLine chart showing trace length over time per layer
CScatter plot with trace length on X-axis and layer on Y-axis
DStacked bar chart showing total length per layer stacked by trace type
Attempts:
2 left
💡 Hint

Think about showing parts of a whole clearly.

🔧 Formula Fix
advanced
2:00remaining
Identify the Error in Routing Layer Assignment Logic

Review this pseudocode for assigning routing layers based on signal direction. What is the error?

if signal_direction == "horizontal":
    assign_layer = "Top"
elif signal_direction == "vertical":
    assign_layer = "Bottom"
else:
    assign_layer = "Top" or "Bottom"
AThe elif condition should check for diagonal signals instead of vertical
BThe else statement uses 'or' which returns a boolean, not a layer string
CThe assign_layer variable is not declared before use
DThe if statement should use '==' for assignment, not '='
Attempts:
2 left
💡 Hint

Check what 'or' returns in Python expressions.

🎯 Scenario
expert
3:00remaining
Optimizing Trace Routing on a Two-Layer Board with High-Density Components

You have a two-layer PCB with many components close together. You need to optimize routing to minimize crosstalk and signal interference. Which approach is best?

AUse the top layer for all signal traces and the bottom layer exclusively for ground plane
BUse only one layer for routing and leave the other layer empty to reduce complexity
CRoute horizontal signals on the top layer and vertical signals on the bottom layer, adding ground fills on both layers
DRoute signals randomly on both layers to balance trace density, without ground fills
Attempts:
2 left
💡 Hint

Think about signal integrity and layer usage patterns.