0
0
Intro to Computingfundamentals~20 mins

User accounts and permissions in Intro to Computing - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
User Permissions Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding User Account Types

Which of the following best describes the difference between a standard user account and an administrator account on a computer system?

AA standard user can access all files on the system, but an administrator can only access their own files.
BAn administrator can install software and change system settings, while a standard user cannot.
CBoth accounts have the same permissions but different usernames.
DA standard user can install software and change system settings, while an administrator cannot.
Attempts:
2 left
💡 Hint

Think about who controls the system and who has limited access.

trace
intermediate
2:00remaining
Tracing Permission Check Flow

Consider this flowchart for checking file access permissions:

1. User requests file access.
2. System checks if user is owner.
3. If yes, grant access.
4. If no, check if user is in file's group.
5. If yes, check group permissions.
6. If group permission allows, grant access.
7. Otherwise, check others' permissions.
8. Grant or deny access accordingly.

If a user is not the owner but belongs to the file's group and the group permission is read-only, what will happen if the user tries to write to the file?

AAccess is denied because group permission does not allow writing.
BAccess is granted because the user is in the group.
CAccess is granted because others' permissions allow writing.
DAccess is denied because the user is not the owner.
Attempts:
2 left
💡 Hint

Check the permission type for the group carefully.

identification
advanced
2:00remaining
Identifying Permission Errors

Which of the following scenarios will most likely cause a 'Permission Denied' error when trying to open a file?

AUser is the owner and has full permissions.
BUser has execute permission and tries to read the file.
CUser has read permission but tries to write to the file.
DUser belongs to the group with write permission and tries to write.
Attempts:
2 left
💡 Hint

Consider what happens when the requested action is not allowed by the permissions.

Comparison
advanced
2:00remaining
Comparing User and Group Permissions

Given a file with the following permissions: owner has read and write, group has read only, others have no permissions. Which statement is true?

AOthers can read the file but cannot write.
BA user in the group can write to the file.
CThe owner cannot write to the file.
DA user not in the group or owner cannot read the file.
Attempts:
2 left
💡 Hint

Review the permissions for each category carefully.

🚀 Application
expert
3:00remaining
Determining Effective Permissions

Consider a file with these permissions:

Owner: read, write
Group: write
Others: read

User Alice is in the group but is not the owner. What permissions does Alice effectively have on this file?

AWrite permission only.
BRead permission only.
CRead and write permissions.
DNo permissions.
Attempts:
2 left
💡 Hint

Group permissions apply to Alice since she is in the group.