AND ANSWERS 100% CORRECT
T/F: Consider the following result from the ls -l firstexam command: -r-xr----x 1 xyz0123
csce3600 124 Oct 5 14:30 firstexam
Assuming that you are not user xyz0123, can you, as a member of group csce3600,
execute the command? - ANSWER-False
The dual mode operations of an operating system are called ________ modes. -
ANSWER-kernel and user
Which operator is used specifically to append output to a file? - ANSWER->>
What control character signals the end of input with the EOF signal? - ANSWER-Ctrl-D
Which of the following regular expressions matches valid variable names in C? -
ANSWER-[a-zA-Z_][a-zA-Z_0-9]*
Which statement is correct regarding C bitwise operators, where number is initialized to
some integer greater than or equal to zero?
0 ^ number = number
1 | number >= number
0 & number = 0
All of the Above. - ANSWER-All of the above
After issuing the command chmod go+rx test.c, which of the following file permissions is
possible for the regular file test.c?
--w--w--w-
-r-xr-xr--
-r--r-xr-x
-r-x------ - ANSWER--r--r-xr-x
If any sed command does not specify an address, then the command is applied to
_________. - ANSWER-each input line
The first argument passed to a bash shell script can be accessed using which notation?
- ANSWER-$1