CSD201_-_FA_2023_-_FE_1031.webp
Mai92

CSD201_-_FA_2023_-_FE_1031.webp

  • Media owner Mai92
  • Ngày thêm
Answer (Choose 1 answer)
0
1
2
3
4
5
(1)
Consider the following pseudocode:
V
0
declare a queue of characters, which is implemented by circular array of size 6.
while(there are more characters in the word to read)
0
1
2
3
4
5
{read a character
(2)
0
if a character is '*' then
} How the queue looks like after processing the input "How***AreYou***"?
dequeue the queue
else
enqueue the character into the queue
(3)
0
1
2
3
4
5
0
0
(4)
1
2
3
4
5
0
A. (4)
B. (1)
C. (3)
D. (2)

Exit 23

Thông tin

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

Image metadata

Filename
CSD201_-_FA_2023_-_FE_1031.webp
File size
74 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom