CSD201_-_SU_2024_-_Block_5_-_FE_2653.webp
C

CSD201_-_SU_2024_-_Block_5_-_FE_2653.webp

Multiple Choices
(Choose 1 answer)
0
1
2
3
4
5
Consider the following pseudocode:
(1)
0
r
1
declare a queue of characters, which is implemented by circular array of size 6.while(there are more characters in the
0
1
2
3
4
5
(2)
word to read)
0
1
{read a character if a character is '*' then
(3)
0
1
2
3
4
5
dequeue the queue
r
0
else
enqueue the character into the queue
0
} How the queue looks like after processing the input "Hello***Wor**ld*"?
(4)
1
2
3
4
5
0
1
Α. (2)
B. (4)
C. (3)
D. (1)

Thông tin

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

Image metadata

Filename
CSD201_-_SU_2024_-_Block_5_-_FE_2653.webp
File size
101.8 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom