☑Kizspy.me
(Choose 1 answer)
0
2
3
4
5
☐ A
Consider the following
(1)
r
J
pseudocode:
declare a queue of characters.
0
1
2
3
4
5
which is implemented by circular
(2)
array of size 6.
]
r
while(there are more characters
in the word to read)
{read a character
0
1
2
3
4
5
(3)
r
1
if a character is "** then
dequeue the queue
0
1
2
3
4
5
else
(4)
enqueue the character into
r
]
the queue
Back
Next
}
How the queue looks like after
processing the input
"Hello***Worl****
A. (4)
B. (3)
C. (1)
D. (2)
FUO.sh
sh the exam.