Operating System

21. All the classes necessary for windows programming are available in the module :
Windows programming के लिए classes किस module में होती हैं?
(UGC NET C.S. June-2014 (Paper-III))
A. win.txt
B. win.main
C. win.std
D. MFC

Correct Answer: A

Explanation (EN): win.txt module contains classes for windows programming (as per answer key).

Explanation (HI): Answer key के अनुसार win.txt module में classes होती हैं।

22. Which version of Windows contains built-in partition manager to shrink and expand drives?
कौन-सा Windows version partition shrink/expand support करता है?
(UGC NET C.S. December-2014 (Paper-III))
A. Windows Vista
B. Windows 2000
C. Windows NT
D. Windows 98

Correct Answer: A

Explanation (EN): Windows Vista includes built-in disk management for resizing partitions.

Explanation (HI): Windows Vista में partition resize करने का feature होता है।

23. WOW32 is a :
WOW32 क्या है?
(UGC NET C.S. June-2015 (Paper-III))
A. Win32 API library
B. File system
C. Kernel object
D. Execution environment

Correct Answer: D

Explanation (EN): WOW32 allows running 16-bit applications on 32-bit systems.

Explanation (HI): WOW32 16-bit applications को 32-bit system पर चलाने का environment देता है।

24. The Unix command : vi file1 file2
Unix command vi file1 file2 क्या करता है?
(UGC NET C.S. June-2015 (Paper-III))
A. Edits file1 into file2
B. Edit both files
C. Move files
D. Edit sequentially

Correct Answer: B

Explanation (EN): vi can open and edit multiple files; user can switch between them.

Explanation (HI): vi multiple files को open कर edit करने की सुविधा देता है।

25. A Unix file may be of the type :
Unix file किस प्रकार की हो सकती है?
(UGC NET C.S. June-2015 (Paper-III))
A. Regular file
B. Directory file
C. Device file
D. Any one of the above

Correct Answer: D

Explanation (EN): Unix supports multiple file types including regular, directory, and device files.

Explanation (HI): Unix में कई प्रकार की files होती हैं जैसे regular, directory और device।

26. In Unix, the login prompt can be changed by changing the contents of the file _____
Unix में login prompt बदलने के लिए किस file को बदलते हैं?
(UGC NET C.S. December-2015 (Paper-II))
A. Contrab
B. Init
C. Gettydefs
D. Inittab

Correct Answer: C

Explanation (EN): gettydefs file defines terminal settings and login prompts.

Explanation (HI): gettydefs file login prompt को नियंत्रित करती है।

27. The character set used in Windows 2000 operating system is _____
Windows 2000 में कौन-सा character set उपयोग होता है?
(UGC NET C.S. December-2015 (Paper-III))
A. 8 bit ASCII
B. Extended ASCII
C. 16 bit UNICODE
D. 12 bit UNICODE

Correct Answer: C

Explanation (EN): Windows 2000 uses 16-bit Unicode encoding.

Explanation (HI): Windows 2000 में 16-bit Unicode encoding उपयोग होता है।

28. In Unix, the command to enable execution permission for file 'myfile' by all is _____
Unix में file को सभी के लिए executable बनाने का command क्या है?
(UGC NET C.S. December-2015 (Paper-III))
A. chmod ugo+x myfile
B. chmod a+x myfile
C. chmod +x myfile
D. All of the above

Correct Answer: D

Explanation (EN): All commands grant execution permission to all users.

Explanation (HI): तीनों commands execution permission देने के लिए सही हैं।

29. What will be the output of the Unix command: rm chap0\\[1-3\\]
Unix command rm chap0\\[1-3\\] क्या करेगा?
(UGC NET C.S. December-2015 (Paper-III))
A. Remove file chap0[1-3]
B. Remove chap01, chap02, chap03
C. Remove escaped file
D. None

Correct Answer: A

Explanation (EN): Backslash escapes special characters, so exact filename is removed.

Explanation (HI): \\ का उपयोग special characters escape करने के लिए होता है।

30. In Unix operating system, special files are used to :
Unix में special files का उपयोग किसके लिए होता है?
(UGC NET C.S. December-2015 (Paper-III))
A. Buffer data
B. Map physical devices to file names
C. Store file names
D. Store user data

Correct Answer: B

Explanation (EN): Special files map physical devices to file names.

Explanation (HI): Special files devices को file names से map करते हैं।