Picat Practice Test
Picat Using Standard Modules Questions and Answers
A developer needs to get a list of all files and directories in the current working directory.
Which predicate from the `os` module should be used for this purpose?
Select your answer
A
os:files(.)
B
os:scandir(".", List)
C
os:listdir(".", List)
D
os:list_files(List)
Hint