Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CS 3377 EXAM QUESTIONS WITH CORRECT SOLUTIONS||100% GUARANTEED PASS||UPDATED 2026/2027 SYLLABUS||NEWEST VERSION

Rating
-
Sold
-
Pages
31
Grade
A+
Uploaded on
03-04-2026
Written in
2025/2026

CS 3377 EXAM QUESTIONS WITH CORRECT SOLUTIONS||100% GUARANTEED PASS||UPDATED 2026/2027 SYLLABUS||NEWEST VERSION [APUE04] Which one of the following statements is not correct? Consider the file and/or directory access, and chmod command. The chmod command is typically used to modify the six permission bits. The chmod command allows one to specify u for user (owner), g for group, and o for other. The three categories (read, write, and execute) are used in various ways by different functions with the chmod command. Whenever we want to open any type of file by name, we must have execute permission in each directory mentioned in the name, including the current directory, if it is implied. The excute-permission bit for a directory is often called the search bit. - ANSWER The chmod command is typically used to modify the six permission bits. [APUE04] Which one of the following statements is NOT correct? Consider the following commands.$ ln -s /no/such/file myfile$ ls myfilemyfile$ cat myfilecat: myfile: No such file or directory$ ls -l myfilelrwxrwxrwx 1 sar 13 Jan 22 00:26 myfile - /no/such/file The "ln" command creates a symbolic link. Here a symbolic link is created to point a file named "myfile." The file "myfile" does exist, yet cat says there is no such file, because "myfile" is a symbolic link. Here the file pointed to by the symbolic link doesn't exist. The -l option to "ls" command gives us one hint: the first character is an l, which means a symbolic link. The -l option to "ls" command gives us one hint: the sequence - also indicates a symbolic link. The ls command with option (-F) that appends an at-sign (@) to filenames that are symbolic links. - ANSWER The "ln" command creates a symbolic link. Here a symbolic link is created to point a file named "myfile." [APUE04] Every process has six or more IDs associated with it. This ____ determines one's file access permissions. The real user ID and the real group ID The effective user ID and the effective group ID The saved set-user-ID and the saved set-group-ID The virtual user ID and the virtual group ID The system user ID and the system group ID - ANSWER The effective user ID and the effective group ID [APUE04] Which one of the following statements is NOT correct? There are two types of links: hard link and symbolic link. Any user can create a hard or symbolic link to a directory. A symbolic link is an indirect pointer to a file. A hard link points directly to the i-node of the file. Hard links normally require that the link and the file reside in the same file system. - ANSWER Any user can create a hard or symbolic link to a directory. [APUE04] On contemporary systems, the use of ___ has been extended. The Single UNIX Specification allows this bit to be set for a directory. If this is set for a directory, a file in the directory can be removed or renamed only if the user has write permission for the directory and meets one of the following criteria: (a) Owns the file, (b) Owns the directory, and (c) Is the superuser. the directory access bit the user write bit the user execute bit the sticky bit the special bit - ANSWER the sticky bit [APUE04] Which one of the following statements is NOT correct? Consider the file and/or directory access. The file access tests that the kernel performs each time a process opens, creates, or deletes a file depend on the owners of the file (st_uid and st_gid), the effective IDs of the process (effective user ID and effective group ID), and the supplementary group IDs of the process, if supported. The two owner IDs are properties of the file, whereas the two effective IDs and the supplementary group IDs are properties of the process. The tests performed by the kernel are as follows: If the effective user ID of the process is 0 (the superuser), access is allowed. This gives the superuser free rein throughout the entire file system. If the effective user ID of the process equals the owner ID of the file (i.e., the process owns the file), access is allowed if the appropriate user access permission bit is set. Otherwise, permiss - ANSWER If the process is executing the file, the user-execute bit must be on if the process group ID of the process equals the group ID of the file (i.e., the process group owns the file). [APUE04] Every process has six or more IDs associated with it. ____ contain copies of the effective user ID and the effective group ID, respectively, when a program is executed. The real user ID and the real group ID The effective user ID and the effective group ID The saved set-user-ID and the saved set-group-ID The virtual user ID and the virtual group ID The system user ID and the system group ID - ANSWER The saved set-user-ID and the saved set-group-ID [APUE04] Which one of the following statements is NOT correct?Consider the file and/or directory access, and chmod command. To open the file /usr/include/stdio.h, we need execute permission in the directory /, execute permission in the directory /usr, and execute permission in the directory /usr/include. If the current directory is /usr/include, then we need execute permission in the current directory to open the file stdio.h. Read permission lets us read the directory, obtaining and searching through a list of all the filenames in the directory. Execute permission lets us pass through the directory when it is a component of a pathname that we are trying to access (in order to search the directory to look for a specific filename). If the PATH environment variable specifies a directory that does not have execute permission enabled, the shell will never find executable files in that directory. - ANSWER Read permission lets us read the directory, obtaining and searching through a list of all the filenames in the directory.

Show more Read less
Institution
CS 3377
Course
CS 3377

Content preview

CS 3377 EXAM QUESTIONS WITH
CORRECT SOLUTIONS||100%
GUARANTEED PASS||UPDATED
2026/2027 SYLLABUS||<<NEWEST
VERSION>>
[APUE04] Which one of the following statements is not correct? Consider the file
and/or directory access, and chmod command.
The chmod command is typically used to modify the six permission bits.
The chmod command allows one to specify u for user (owner), g for group, and o
for other.
The three categories (read, write, and execute) are used in various ways by
different functions with the chmod command.
Whenever we want to open any type of file by name, we must have execute
permission in each directory mentioned in the name, including the current
directory, if it is implied.
The excute-permission bit for a directory is often called the search bit. - ANSWER
✓ The chmod command is typically used to modify the six permission bits.

[APUE04] Which one of the following statements is NOT correct?
Consider the following commands.$ ln -s /no/such/file myfile$ ls myfilemyfile$
cat myfilecat: myfile: No such file or directory$ ls -l myfilelrwxrwxrwx 1 sar 13
Jan 22 00:26 myfile -> /no/such/file
The "ln" command creates a symbolic link. Here a symbolic link is created to point
a file named "myfile."
The file "myfile" does exist, yet cat says there is no such file, because "myfile" is a
symbolic link.
Here the file pointed to by the symbolic link doesn't exist.
The -l option to "ls" command gives us one hint: the first character is an l, which
means a symbolic link.
The -l option to "ls" command gives us one hint: the sequence -> also indicates a
symbolic link.
The ls command with option (-F) that appends an at-sign (@) to filenames that are
symbolic links. - ANSWER ✓ The "ln" command creates a symbolic link. Here a
symbolic link is created to point a file named "myfile."

, [APUE04] Every process has six or more IDs associated with it. This ____
determines one's file access permissions.
The real user ID and the real group ID
The effective user ID and the effective group ID
The saved set-user-ID and the saved set-group-ID
The virtual user ID and the virtual group ID
The system user ID and the system group ID - ANSWER ✓ The effective user ID
and the effective group ID

[APUE04] Which one of the following statements is NOT correct?
There are two types of links: hard link and symbolic link.
Any user can create a hard or symbolic link to a directory.
A symbolic link is an indirect pointer to a file.
A hard link points directly to the i-node of the file.
Hard links normally require that the link and the file reside in the same file system.
- ANSWER ✓ Any user can create a hard or symbolic link to a directory.

[APUE04] On contemporary systems, the use of ___ has been extended. The
Single UNIX Specification allows this bit to be set for a directory. If this is set for
a directory, a file in the directory can be removed or renamed only if the user has
write permission for the directory and meets one of the following criteria: (a) Owns
the file, (b) Owns the directory, and (c) Is the superuser.
the directory access bit
the user write bit
the user execute bit
the sticky bit
the special bit - ANSWER ✓ the sticky bit

[APUE04] Which one of the following statements is NOT correct?
Consider the file and/or directory access. The file access tests that the kernel
performs each time a process opens, creates, or deletes a file depend on the owners
of the file (st_uid and st_gid), the effective IDs of the process (effective user ID
and effective group ID), and the supplementary group IDs of the process, if
supported. The two owner IDs are properties of the file, whereas the two effective
IDs and the supplementary group IDs are properties of the process. The tests
performed by the kernel are as follows:
If the effective user ID of the process is 0 (the superuser), access is allowed. This
gives the superuser free rein throughout the entire file system.

,If the effective user ID of the process equals the owner ID of the file (i.e., the
process owns the file), access is allowed if the appropriate user access permission
bit is set. Otherwise, permiss - ANSWER ✓ If the process is executing the file, the
user-execute bit must be on if the process group ID of the process equals the group
ID of the file (i.e., the process group owns the file).

[APUE04] Every process has six or more IDs associated with it. ____ contain
copies of the effective user ID and the effective group ID, respectively, when a
program is executed.
The real user ID and the real group ID
The effective user ID and the effective group ID
The saved set-user-ID and the saved set-group-ID
The virtual user ID and the virtual group ID
The system user ID and the system group ID - ANSWER ✓ The saved set-user-ID
and the saved set-group-ID

[APUE04] Which one of the following statements is NOT correct?Consider the
file and/or directory access, and chmod command.
To open the file /usr/include/stdio.h, we need execute permission in the directory /,
execute permission in the directory /usr, and execute permission in the directory
/usr/include.
If the current directory is /usr/include, then we need execute permission in the
current directory to open the file stdio.h.
Read permission lets us read the directory, obtaining and searching through a list
of all the filenames in the directory.
Execute permission lets us pass through the directory when it is a component of a
pathname that we are trying to access (in order to search the directory to look for a
specific filename).
If the PATH environment variable specifies a directory that does not have execute
permission enabled, the shell will never find executable files in that directory. -
ANSWER ✓ Read permission lets us read the directory, obtaining and searching
through a list of all the filenames in the directory.

[APUE04] ___ is a type of file that points to another file.
Regular file
Directory file
Block Special file
Character Special file
FIFO

, Socket
Symbolic link - ANSWER ✓ Symbolic link

[APUE04] Which one of the following statements is NOT correct?
Symbolic links are typically used to ''move'' a file or an entire directory hierarchy
to another location on a system.
If the function follows a symbolic link, a pathname argument to the function refers
to the file pointed to by the symbolic link.
In all modern systems, chown does not follow symbolic links.
There are no file system limitations on a symbolic link and what it points to.
Anyone can create a symbolic link to a directory. - ANSWER ✓ In all modern
systems, chown does not follow symbolic links.

[APUE04] ____ is a type of file providing unbuffered I/O access in variable-sized
units to devices. All devices on a system are either block special files or character
special files.
Regular file
Directory file
Block Special file
Character Special file
FIFO
Socket
Symbolic link - ANSWER ✓ Character Special file

[APUE04] ____ is a type of file used for communication between processes. It's
sometimes called a named pipe.
Regular file
Directory file
Block Special file
Character Special file
FIFO
Socket
Symbolic link - ANSWER ✓ FIFO

[APUE04] ___ is a type of file used for network communication between
processes. ___ can also be used for non-network communication between
processes on a single host.
Regular file
Directory file

Written for

Institution
CS 3377
Course
CS 3377

Document information

Uploaded on
April 3, 2026
Number of pages
31
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$15.29
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SmartscoreAaron Chicago State University
Follow You need to be logged in order to follow users or courses
Sold
77
Member since
1 year
Number of followers
6
Documents
4072
Last sold
2 weeks ago
SMARTSCORES LIBRARY

Get top-tier academic support for Psychology, Nursing, Business, Engineering, HRM, Math, and more. Our team of professional tutors delivers high-quality homework, quiz, and exam assistance—ensuring scholarly excellence and grade-boosting results. Trust our collaborative expertise to help you succeed in any course at U.S.A Institutions.

3.1

7 reviews

5
3
4
1
3
0
2
0
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions