CSD201_-_RE_-_SU_2023_555.webp
Todoroki_87

CSD201_-_RE_-_SU_2023_555.webp

(Choose 1 answer)
Consider the following pseudocode:
0
1
2
3
4
declare a queue of characters, which is implemented by circular array of size 6.
while(there are more characters in the word to read)
(1)
} How the queue looks like after processing the input "Goo**dMor****ning**"?
{read a character if a character is '*' then
dequeue the queue
else
enqueue the character into the queue
A. (4)
B. (3)
C. (1)
D. (2)
i
n
g
0
1
2
3
4
(2)
i
n
g
(3)
0
1
2
3
4
i
n
g
(4)
0
1
2
3
4
i
n

Exit 23

Thông tin

Category
CSD201
Thêm bởi
Todoroki_87
Ngày thêm
Lượt xem
2,390
Lượt bình luận
23
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
CSD201_-_RE_-_SU_2023_555.webp
File size
68.7 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom