Bird
0
0
PCB Designbi_tool~10 mins

Checking unconnected copper in PCB Design - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to select all copper areas not connected to any net.

PCB Design
SELECT * FROM copper_areas WHERE net_id IS [1];
Drag options to blanks, or click blank then click option'
ANOT NULL
B0
C''
DNULL
Attempts:
3 left
💡 Hint
Common Mistakes
Using 0 or empty string instead of NULL to check unconnected copper.
2fill in blank
medium

Complete the code to count unconnected copper areas in the PCB.

PCB Design
SELECT COUNT(*) FROM copper_areas WHERE net_id IS [1];
Drag options to blanks, or click blank then click option'
ANULL
BNOT NULL
C0
D''
Attempts:
3 left
💡 Hint
Common Mistakes
Counting net_id = 0 or empty string instead of NULL.
3fill in blank
hard

Fix the error in the code to find unconnected copper areas.

PCB Design
SELECT * FROM copper_areas WHERE net_id [1] NULL;
Drag options to blanks, or click blank then click option'
AFALSE
BIS
C''
D0
Attempts:
3 left
💡 Hint
Common Mistakes
Using '=' operator with NULL causing no results.
4fill in blank
hard

Fill both blanks to filter unconnected copper areas and order by area size descending.

PCB Design
SELECT * FROM copper_areas WHERE net_id IS [1] ORDER BY area [2];
Drag options to blanks, or click blank then click option'
ANULL
BASC
CDESC
DNOT NULL
Attempts:
3 left
💡 Hint
Common Mistakes
Ordering ascending instead of descending.
Filtering with NOT NULL instead of NULL.
5fill in blank
hard

Fill all three blanks to create a report showing unconnected copper count per layer, ordered by count descending.

PCB Design
SELECT layer, COUNT(*) AS unconnected_count FROM copper_areas WHERE net_id IS [1] GROUP BY [2] ORDER BY unconnected_count [3];
Drag options to blanks, or click blank then click option'
ANULL
Blayer
CDESC
Dnet_id
Attempts:
3 left
💡 Hint
Common Mistakes
Grouping by wrong column.
Ordering ascending instead of descending.