adplus-dvertising
frame-decoration

Question

A file contains 1026 bytes. How many bytes of disk space will it consume if size of a disk block is 1024 bytes?

a.

1026

b.

1024

c.

2048

d.

4096

Posted under UNIX

Answer: (c).2048

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A file contains 1026 bytes. How many bytes of disk space will it consume if size of a disk block is 1024 bytes?

Similar Questions

Discover Related MCQs

Q. A file can be recognized as an ordinary file or directory by ____ symbol.

Q. How many types of permissions a file has in UNIX?

Q. Permissions of a file are represented by which of the following characters?

Q. A file named abd.txt has the following set of permissions
-rwxrwxrwx
All the three operations i.e read, write and execute can be performed on the file by file owner, group owner and others.

Q. Which of the following symbol is used to indicate the absence of a permission of a file?

Q. Which command is used to change the permissions of a file?

Q. chmod command can take multiple filenames as arguments.

Q. chmod command can be used in ____ ways.

Q. The expression used with chmod command to change permissions in a relative manner contains ____ components.

Q. Which of the following characters specify the user and group category?

Q. Which of the following symbol is used with chmod to assign permission to a file?

Q. To assign execute permission to the user (owner) for a file named file01.txt, which of the following command will be used?

Q. To remove write permission from group and others, which one of the following commands will be used?

Q. While changing permissions in an absolute manner, we explicitly set all the nine bits irrespective of the previous permissions of the file.

Q. What are the permission of file01 after executing this command?
chmod 777 file01

Q. A file named file01 should be readable, writable and executable only by the user(owner). Which one of the following set of command will be used?

Q. A file has a permission set as 000 i.e. — — —. Can the file be deleted?

Q. A file has a permission set as 777 ie rwxrwxrwx but the directory permissions are 400. If the user tries to delete the file, will he be able to do it?

Q. Which command is used to change the ownership of a file?

Q. Which option is used for the recursive functioning of chmod command?