PCAP Strings • Timed 30 Questions
This is a timed practice session. You have 30 minutes to answer 29 questions — approximately 1 minute per question, matching real PCAP exam pace. Answer every question before time expires.
Time remaining
30:00
Exam-pace drill
Allow 1 minute per question. On the real PCAP exam you have approximately 72 seconds per question — this session trains you to maintain that pace under pressure.
A developer needs to count the number of occurrences of the substring 'is' in the string 'This is a test. Is this a test?'. Which code correctly performs the count?