Essentials
primer-original-v2mediumEssentialsSoftware Fundamentalsprimer-original-v2

Essentials Practice Question

What is the output for FOR-loop snippet?

FOR i <--1 to 15

            PRINT i

            i <-- i+3

END FOR

Answer options

A
1 4 7 10 13
B
FOR loop
C
WHILE loop
D
DO-WHILE loop

Correct answer: 1 4 7 10 13

Detailed Solution & Conceptual Analysis

This question has been retained as-is due to its unique context.

Key Engineering Takeaway

In Essentials, understanding the underlying mechanics of Essentials is critical for writing performant, bug-free production code and passing rigorous technical architecture reviews.

Related Essentials questions

Practice more Essentials questions

PrimerPrep has independently reviewed practice questions and coding exercises — all free.