Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Community ▾
A
A
Quizzes
/
How many values does this algorithm output?
Computer Science
Medium
High School (9–10)
Algorithms, Programming and Logic › Algorithms and Problem-Solving
IGCSE
Created by
StemPy Lab
How many values does this algorithm output?
FOR K ← 3 TO 15 STEP 4 OUTPUT K NEXT K
3
3
3
4
4
4
5
5
5
12
12
12
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← Which loop tests its condition **before** each pass, so that its body may not run at all?
An algorithm outputs "Enter your name" and then inputs Name. Where does "Enter your name" go in a trace table? →
More on
Algorithms, Programming and Logic › Algorithms and Problem-Solving
Discussion (0)
Log in
to join the discussion.
Loading…
All questions on this topic →
Problems on this topic
This is the kind of long scenario question that ends Paper 2…
Hard
A delivery company adds a check digit to each parcel number…
Medium
Name the check in each case. Say whether it is validation or verification…
Easy
A bubble sort is changed so that it sorts in descending order: the comparison becomes IF…
Hard
All problems on this topic →