PCAP • Practice Test 8
Free PCAP practice test — 10 questions with explanations. Set 8. No signup required.
You are a developer at a company that processes customer feedback. Each feedback entry is stored as a string containing a rating (1-5) followed by a colon and then the comment. For example: '4: Great service'. You need to extract only the comments from feedback that have a rating of 4 or 5. You have a list of feedback strings. Which code snippet correctly implements this?
Choose an answer to begin — your selection is scored in the full session.
10 questions · instant feedback and full explanations after every question.