CSD201_-_SP_2025_-_FE_3621.webp
Kim Anh1

CSD201_-_SP_2025_-_FE_3621.webp

  • Media owner Kim Anh1
  • Ngày thêm
☑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.

Thông tin

Category
CSD201
Thêm bởi
Kim Anh1
Ngày thêm
Lượt xem
4,059
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom