
Complete Modern C++ - Filesystem - Permissions
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the three types of file permissions in the POSIX style?
Read, Write, Execute
Read, Modify, Delete
Open, Close, Edit
Create, Update, Delete
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why might you be unable to change certain file permissions on Windows?
Windows automatically sets all files to read-only.
Windows does not support any file permissions.
Windows only allows execute permissions.
Windows does not implement POSIX style permissions fully.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to get the current permissions of a file?
fileInfo
getPermissions
checkPermissions
status
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'permissions' function in the context of file permissions?
To rename a file
To copy a file
To modify file permissions
To delete a file
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in changing a file's permissions on Linux?
Delete the file
Compile the file
Create a backup of the file
Create the file or script
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to compile a file with file system support in GCC?
gcc -o
gcc -f
gcc -c
gcc -fs
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a capability of the file system library discussed?
Setting file permissions
Constructing paths
Encrypting files
Manipulating directories
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?