3i Infotech Placement: Sample Questions 1038 - 1040 of 1245
Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.
Question 1039
Explanation
- Inode is a data structure that defines all specifications of a file like the file size, number of lines to a file, permissions etc.
- It is used in a Unix-style file system to describe a file system object such as a file or a directory.
- Inode stores the attributes and disk block location of the object՚s data.
- File system object attributes may include metadata as well as owner and permission data.
- Directories are lists of names assigned to inodes.
- A directory contains an entry for itself, its parent, and each of its children.
Question 1040
Explanation
- A template is a parameterized construct or type containing generic code that can manipulate any type.
- Called parameterized because actual type is a parameter of the code body.
- Polymorphism achieved through parameterized types is called parametric polymorphism.
- Parametric polymorphism allows same code to be used on different types passed as parameters.