CSD201_-_FA_2024_-_FE_-_C1_2980.webp
T

CSD201_-_FA_2024_-_FE_-_C1_2980.webp

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

15

Thông tin

Category
CSD201
Thêm bởi
Thu Hà1
Ngày thêm
Lượt xem
7,610
Lượt bình luận
31
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
CSD201_-_FA_2024_-_FE_-_C1_2980.webp
File size
233.9 KB
Dimensions
1920px x 1012px

Share this media

Back
Bên trên Bottom