
CompTIATech+
Domain 4Objective 3
Programming Concepts FC0-U71 Practice Questions (Page 6)
Part of the Software development concepts domain, which accounts for 13% of the FC0-U71 exam. CompTIA does not publish an official question count, but from its 60-minute exam (~25–40 total, ~3–5 in this domain), expect 1–1 from this objective — we provide 31 practice questions to prepare you well beyond it. (estimate)
31questions here
7free pages
8concepts
13%of the exam
Questions 26–30
- 26
A developer needs to search for a specific name in a sorted list of 1,000,000 names. The program will perform this search many times. Which algorithm is most efficient for this repeated search operation?
Select an answer first - 27
Which control structure is best suited for repeating a block of code a known number of times?
Select an answer first - 28
A developer is writing a program that needs to calculate the area of a rectangle multiple times with different dimensions. To avoid repeating the same formula, they decide to create a function. What is the primary benefit of this approach?
Select an answer first - 29
A developer needs to process a list of customer orders. Each order has a status: "pending", "shipped", or "delivered". The program should count how many orders are in each status. Which control structure is most efficient and readable for this task?
Select an answer first - 30
A programmer is writing a function that calculates the average of a list of test scores. The scores are whole numbers, but the average must be precise to two decimal places. Which data type should the function's return value be?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “FC0-U71” is a trademark of its owner, used for identification only.