Skip to content
free
K
1
2
practice
Home
Math
English
Science
Social Studies
Contact
Language
English
Español
Sign In
/
High School Electives
/
Computer Science
/
Pseudocode Conventions
Grade Level
Computer Science
HSCS.090 Pseudocode Conventions
0%
Skill Level
🔴 Hard
00:00
Progress to Next Level
25% to Medium
Easy
Medium
Hard
Mastery
100%
A pipeline must remove incomplete `incidentReports`, replace names with case IDs, count complete records by `type`, and display a count table. Which pseudocode follows that order?
A
SET cleaned <- COPY OF incidentReports; SET counts <- COUNT cleaned records BY name; DISPLAY counts AS count table; REMOVE incomplete records
B
SET cleaned <- empty list; FOR EACH record IN incidentReports IF record is complete THEN ADD anonymized copy of record TO cleaned END IF END FOR; SET counts <- COUNT cleaned records BY type; DISPLAY counts AS count table
C
SET counts <- COUNT all incidentReports BY type; DISPLAY names with counts AS count table; REMOVE incomplete records after display
D
SET cleaned <- empty list; FOR EACH record IN incidentReports IF record is incomplete THEN ADD record with name TO cleaned END IF END FOR; DISPLAY cleaned AS count table
Submit Answer