System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Chapter: 29
Q641:
FAT-based systems typically use ______ addressing.
A. 8-bit
B. 32-bit
C. 64-bit
D. 16-bit
Correct Answer:
B
Chapter: 29
Q642:
Which of the following is a modern file system supporting large file sizes?
A. FAT12
B. FAT16
C. NTFS
D. EXT2
Correct Answer:
C
Chapter: 29
Q643:
As disk capacities grow, the need for ______ file support becomes important.
A. batch
B. tiny
C. limited
D. large
Correct Answer:
D
Chapter: 29
Q644:
64-bit APIs are available on Windows to handle ______.
A. hidden files
B. old files
C. small files
D. large files
Correct Answer:
D
Chapter: 29
Q645:
NTFS stands for ______.
A. New Technology File System
B. Next Tech File Setup
C. Non Technical File Storage
D. New Transfer File Service
Correct Answer:
A
Chapter: 29
Q646:
File systems using 64-bit addressing can support more than ______ bytes of data.
A. 4GB
B. 8MB
C. 128KB
D. 64MB
Correct Answer:
A
Chapter: 29
Q647:
Windows operating systems facilitate 64-bit file access using specialized ______.
A. GUI tools
B. system calls
C. user commands
D. API functions
Correct Answer:
D
Chapter: 29
Q648:
Historically, some systems used a ______ file size limit.
A. 64-bit
B. 16-bit
C. 12-bit
D. 48-bit
Correct Answer:
C
Chapter: 29
Q649:
Windows provides some ______ to work with large file sizes.
A. drivers
B. services
C. APIs
D. variables
Correct Answer:
C
Chapter: 29
Q650:
Huge files require file systems that support ______.
A. ASCII storage
B. network storage
C. large address space
D. file permissions
Correct Answer:
C
Chapter: 29
Q651:
In a FAT file system, 2^32 bytes is the ______ file size limit.
A. minimum
B. average
C. maximum
D. optional
Correct Answer:
C
Chapter: 29
Q652:
64-bit file systems are designed to handle future needs of ______.
A. database indexes
B. cloud speed
C. massive storage demand
D. security alerts
Correct Answer:
C
Chapter: 29
Q653:
The reason FAT systems are limited is because of their ______.
A. format
B. version
C. bit size
D. name
Correct Answer:
D
Chapter: 30
Q654:
When a file is opened using CreateFile(), the file pointer is initially placed at the ______.
A. end of file
B. random location
C. start of file
D. middle of file
Correct Answer:
C
Chapter: 30
Q655:
Which API is used to change the file pointer position?
A. SetCurrentDirectory()
B. SetFilePointer()
C. CreateProcess()
D. CloseHandle()
Correct Answer:
B
Chapter: 30
Q656:
The SetFilePointerEx() function is better suited for ______ operations.
A. network
B. 32-bit
C. 64-bit
D. UI-based
Correct Answer:
C
Chapter: 30
Q657:
SetFilePointer() is ______ to use for 64-bit operations compared to SetFilePointerEx().
A. easier
B. clumsy
C. standard
D. recommended
Correct Answer:
B
Chapter: 30
Q658:
Which function is considered more convenient for 64-bit file handling?
A. GetFileSize()
B. SetFilePointerEx()
C. WriteFile()
D. ReadFile()
Correct Answer:
B
Chapter: 30
Q659:
The SetFilePointer() function returns a value of type ______.
A. BOOL
B. DWORD
C. INT
D. FLOAT
Correct Answer:
B
Chapter: 30
Q660:
The parameter `hFile` in SetFilePointer() refers to ______.
A. a string filename
B. the memory address
C. a file handle
D. a buffer pointer
Correct Answer:
C