exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 620 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 620
Topic #: 1
[All SnowPro Core Questions]

Which loop type iterates until a condition is true?

  • A. FOR
  • B. LOOP
  • C. REPEAT
  • D. WHILE
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MultiCloudIronMan
6 months ago
Selected Answer: D
The WHILE loop checks the condition before each iteration, so if the condition is not met initially, the loop will not execute at all. On the other hand, the REPEAT loop (or DO...WHILE loop) checks the condition after executing the loop's body, ensuring that the loop runs at least once regardless of the condition.
upvoted 1 times
...
guau
10 months, 1 week ago
Selected Answer: C
cccccc
upvoted 2 times
...
examtopics_strata
1 year, 6 months ago
Selected Answer: C
Verified
upvoted 2 times
...
HighBMI
1 year, 7 months ago
Selected Answer: C
Should be C
upvoted 2 times
...
KnightVictor
1 year, 7 months ago
Selected Answer: C
A REPEAT loop iterates until a condition is true. In a REPEAT loop, the condition is tested immediately after executing the body of the loop. As a result, the body of the loop always executes at least once. A WHILE loop iterates while a condition is true. In a WHILE loop, the condition is tested immediately before executing the body of the loop. If the condition is false before the first iteration, then the body of the loop does not execute even once.
upvoted 4 times
...
Kvk117
1 year, 8 months ago
Selected Answer: C
Verified
upvoted 1 times
...
chuks_charley
1 year, 8 months ago
Selected Answer: C
https://docs.snowflake.com/en/developer-guide/snowflake-scripting/loops
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...