CSD201_-_SU_2024_-_RE_2502.webp
night_owl1

CSD201_-_SU_2024_-_RE_2502.webp

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

Thông tin

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

Image metadata

Filename
CSD201_-_SU_2024_-_RE_2502.webp
File size
282.3 KB
Dimensions
1920px x 1012px

Share this media

Back
Bên trên Bottom