adplus-dvertising
61. Linux partitions are created using the file system:
a. FAT
b. FAT32
c. EXT3
d. NTFS
Discuss
Answer: (c).EXT3

62. Which UNIX/Linux command is used to make all files and sub-directories in the directory “progs” executable by all users?
a. chmod −R a+x progs
b. chmod −R 222 progs
c. chmod −X a+x progs
d. chmod −X 222 progs
Discuss
Answer: (a).chmod −R a+x progs

63. Consider the following statements :

(a) UNIX provides three types of permissions
* Read
* Write
* Execute
(b) UNIX provides three sets of permissions
* permission for owner
* permission for group
* permission for others

Which of the above statement/s is/are true?
a. Only (a)
b. Only (b)
c. Both (a) and (b)
d. Neither (a) nor (b)
Discuss
Answer: (c).Both (a) and (b)

64. Match the following WINDOWS system calls and UNIX system calls with reference to process control and File manipulation.

Windows
(a) Create - process ()
(b) WaitForSingleObject ()
(c) CreateFile ()
(d) CloseHandle ()

UNIX
(i) Open ()
(ii) Close ()
(iii) Fork ()
(iv) Wait ()

Code :
(a) (b) (c) (d)
a. (iii) (iv) (i) (ii)
b. (iv) (iii) (i) (ii)
c. (iv) (iii) (ii) (i)
d. (iii) (iv) (ii) (i)
Discuss
Answer: (a).(iii) (iv) (i) (ii)

Page 7 of 7