Computer Knowledge
Computer File Systems
1,516 Questions
Computer file systems dictate how data is stored, organized, and retrieved on storage devices. Important concepts include file allocation tables, access mechanisms, and various formats like sequential and video files. Candidates preparing for banking and government exams should practice these fundamentals thoroughly.
File access mechanismsVideo and password filesFile extensionsFile allocation tableSystem metadata
Computer File Systems Questions
-
In Content DB
-
In File System
-
Either in File System or Content DB
-
In DB System
A
Correct answer
Explanation
When files are edited using SharePoint Designer and saved, they are stored in the Content Database. This is the standard SharePoint behavior - all content, including pages edited with SharePoint Designer, resides in the Content DB. The file system is not used for storing SharePoint content.
-
FileUpLoad
-
Function
-
File
-
Date
C
Correct answer
Explanation
In server-side JavaScript (like Node.js or older server-side JS implementations), the File object provides file system operations. Function and Date are core language objects available on both client and server. FileUpLoad is client-side HTML form handling.
-
<?php require("time.inc"); ?>
-
<% include file="time.inc" %>
-
<!--include file="time.inc"-->
-
<?php include_file("time.inc"); ?>
A
Correct answer
Explanation
In PHP, files are included using functions like require or include inside standard PHP tags. The correct option uses require("time.inc") inside `. The other options are incorrect: ASP syntax, HTML comment syntax, andinclude_file` (which is not a built-in PHP function).
-
FileUpLoad
-
Function
-
File
-
Date
C
Correct answer
Explanation
The File object is a server-side JavaScript object for handling file operations. Options A, B, and D are incorrect as FileUpLoad is not standard, Function is built-in but not specific to server-side, and Date is also built-in but not file-related.
-
FileUpLoad
-
Client
-
Cursor
-
Database
A
Correct answer
Explanation
The FileUpLoad object is a client-side JavaScript object for handling file uploads in the browser. Options B, C, and D are incorrect as Client, Cursor, and Database are not standard client-side JavaScript objects for file handling.
-
head -n 51 filename |tail -1
-
head -51 <filename> |tail -1
-
sed -n 51p <filename>
-
All of the above
D
Correct answer
Explanation
All three commands correctly display the 51st line. 'head -n 51 filename | tail -1' extracts first 51 lines then takes the last one. 'head -51 filename | tail -1' is shorthand for the same. 'sed -n 51p filename' uses sed to print only line 51. Each approach works: head/tail piping or sed direct addressing.
C
Correct answer
Explanation
In Unix file systems, an inode (index node) is the fundamental data structure that stores file metadata and identification information. Each file has a unique inode number that the filesystem uses to identify and track it, regardless of the file's name or location in directories. A 'dir' is a file containing directory entries, not the identification structure itself.
-
$WL_HOME/bea.license
-
$WL_HOME/license
-
$WL_HOME/license.bea
-
$BEA_HOME/license.bea
D
Correct answer
Explanation
By default, WebLogic license information is stored in $BEA_HOME/license.bea, where $BEA_HOME is the installation directory for BEA (now Oracle) products. The license.bea file contains the licensing information that WebLogic Server checks at startup. The other paths ($WL_HOME variants) are incorrect.
-
Bootstrap file is used for entering all th paths and Settings information for Matrix RMI
-
Bootstrap file is used for entering all th paths and Settings information for Matrix Core
-
It is used to establish connection between Matrix system and the database
-
It is used to establish connection between Matrix RMI and Application Server
C
Correct answer
Explanation
In the Matrix (eMatrix/Enovia) PLM system, the Bootstrap File is designed to hold the connection parameters necessary to establish a connection between the Matrix application server/system and its underlying database. It does not exist merely for setting Matrix Core or RMI system settings.
-
Captured
-
Ingested
-
Internal
-
Tracked
-
Non-Tracked
B
Correct answer
Explanation
Ingested stores restrict file access to within the store boundary only - files cannot be accessed from outside. Captured (A), internal (C), tracked (D), and non-tracked (E) stores allow external access through different mechanisms. The distinction is about access control boundaries.
-
toJSon
-
ItemFileWriteStore
-
appendfiles
-
getValues
B
Correct answer
Explanation
ItemFileWriteStore is a dojo.data API implementation specifically designed to read and write JSON data in ItemFileReadStore format. It provides methods like newItem, deleteItem, and setValue for write operations alongside standard read methods. Option A (toJSon) is not a dojo.data class, option C (appendfiles) is not a standard Dojo API, and option D (getValues) is a method within ItemFileReadStore/WriteStore, not the store itself.
-
Bootstrap file is used for entering all th paths and Settings information for Matrix RMI
-
Bootstrap file is used for entering all th paths and Settings information for Matrix Core
-
It is used to establish connection between Matrix system and the database
-
It is used to establish connection between Matrix RMI and Application Server
C
Correct answer
Explanation
In the Matrix (eMatrix/Enovia) PLM system, the Bootstrap File (bootstrap.properties) is specifically configured to define and establish the database connection parameters (like driver, URL, and credentials) for the Matrix system. Other options incorrectly associate it primarily with general RMI, core, or app server routing paths.
-
/usr/openv/volmgr/vm.conf
-
/usr/openv/netbackup/vm.conf
-
/usr/openv/volmgr/bp.conf
-
/usr/openv/volmgr/bin/vm.conf
A
Correct answer
Explanation
The file /usr/openv/volmgr/vm.conf is created only when devices are actually added to the NetBackup configuration. This file stores the volume manager configuration including device mappings and settings. Until devices are added, there is no configuration data to store, so this file does not exist. The other paths listed either have incorrect directory structures or serve different purposes.
-
errors
-
mediaDB
-
bpdm log
-
bpbkar log
A
Correct answer
Explanation
When troubleshooting media errors, the 'errors' file provides detailed information about when errors occurred and which hardware components (tape drives) were involved. This log file is essential for diagnosing whether problems are specific to a tape volume or a particular tape drive. The mediaDB, bpdm log, and bpbkar log serve different purposes - mediaDB is the database, while bpdm and bpbkar are specific process logs.
-
It compresses in GNU tar format and writes it to the media
-
It compresses in GNU cpio format and writes it to the media
-
It compresses in GNU doc format and writes it to the media
-
It compresses in GNU text format and writes it to the media
A
Correct answer
Explanation
NetBackup writes backup data in tar format and can compress it before writing to storage media. This is a standard archival format that preserves file structure and metadata. GNU cpio, doc, and text are not the formats used by NetBackup for writing backup images.