Computer Knowledge
Operating Systems
1,344 Questions
Test your computer knowledge with these questions on operating systems. The content covers various platforms including Unix, Linux, Windows, Android, and Macintosh. These questions are commonly asked in the computer knowledge sections of banking and government exams.
Unix emulatorsLinux distributionsAndroid software stackMacintosh operating systemsWindows OS versionsSymbian OS history
Operating Systems Questions
-
By using HANDLE ABEND
-
By using HANDLE CONDITION
-
By using ABEND
-
None of the above
A
Correct answer
Explanation
In CICS, abends (abnormal terminations) are handled using the HANDLE ABEND command, which allows a program to specify error-handling routines to execute when an abend occurs. HANDLE CONDITION is for normal condition handling, not abends specifically, and ABEND alone is not a command but an event type.
-
By writing an ALC exception handling routine
-
With the RESP clause or HANDLE instructions.
-
Calling the CICS Error Handler
-
Via a call back routine.
B
Correct answer
Explanation
CICS provides two main mechanisms for handling unusual conditions: the RESP option returns a response code that you can check after each command, and HANDLE CONDITION/ABEND commands let you specify error handling routines. Option A is non-existent terminology, while C and D are not standard CICS approaches.
-
Closed System
-
Global System
-
Local System
-
Operating System
D
Correct answer
Explanation
OpenVMS is a multi-user, multiprocessing operating system designed for VAX and Alpha computers. It is not a closed, global, or local system - those are not standard operating system classifications.
-
Windows ME
-
Windows 3.1
-
Windows 98
-
Windows XP
-
Source entry can be updated by clicking the shortcut
-
If the source entry is deleted, shortcut icon changes to indicate a broken link
-
Access permission for a shortcut entry can be changed
-
The access permission given to the shortcut entry does not change the access permission of source entry
A
Correct answer
Explanation
The FALSE statement is A. Clicking a shortcut opens or accesses the source entry, it does NOT update the source. The other statements are true: shortcuts show broken icons when source is deleted (B), shortcut permissions can be changed (C), and changing shortcut permissions does NOT affect source permissions (D).
-
Source entry can be updated by clicking the shortcut
-
If the source entry is deleted, shortcut icon changes to indicate a broken link
-
Access permission for a shortcut entry can be changed
-
The access permission given to the shortcut entry does not change the access permission of source entry
A
Correct answer
Explanation
A shortcut is a reference to a source file/folder. Clicking a shortcut opens the source entry but does not update it - updating requires editing the source directly. When the source is deleted, the shortcut becomes a broken link (B is true). Shortcut access permissions can be changed independently (C is true), and modifying shortcut permissions does not affect the source (D is true). Since the question asks which statement is FALSE, A correctly identifies that clicking a shortcut does not update the source.
-
CWnd Destroy member function
-
Explicitly deleting with the delete operator.
-
Manually closing the windows
-
Calling CWnd::DestroyWindow or the Windows API DestroyWindow.
B,D
Correct answer
Explanation
Windows objects can be destroyed either by explicitly using the delete operator (which calls the destructor) or by calling the DestroyWindow API function (which destroys the window but not the C++ object). The CWnd::DestroyWindow member function wraps the Windows API. 'Manually closing windows' is ambiguous, and there is no 'CWnd Destroy' member function.
-
Delimits the PROC control statements
-
Identifies the control card library
-
Marks the beginning of one or more program control statements
-
None of the above
C
Correct answer
Explanation
In JCL (Job Control Language), the //CNTL statement marks the beginning of one or more program control statements that will be passed to the program. It delimits control statements from regular job statements. Options A and B describe different JCL functions.
-
Delimits the PROC control statements
-
Identifies the control card library
-
Marks the beginning of one or more program control statements
-
None of the above
C
Correct answer
Explanation
In JCL (Job Control Language for IBM mainframes), the //CNTL statement marks the beginning of one or more program control statements that follow. It's used to pass control information to programs like IEBGENER, SORT, or utilities. The CNTL statement delimits where these control statements start and is followed by the actual control cards.
-
/search_string
-
%search_string
-
_search_strin
-
None
A
Correct answer
Explanation
In vi editor, searching is done with / followed by the search string. The pattern /search_string will search forward for 'search_string' in the file. The % and _ prefixes are not valid vi search commands. Note the question has typos: 'serach' should be 'search' and 'sting' should be 'string'.
-
Linux
-
SunOS
-
OpenBSD
-
FreeBSD
D
Correct answer
Explanation
Mac OS X is built on the XNU kernel, which combines the Mach microkernel with BSD components. The BSD layer is primarily derived from FreeBSD, making it the functional basis alongside Mach.
-
System 8
-
System 7.6.1
-
Mac OS X 10.1
-
Mac OS X 10.2
C
Correct answer
Explanation
The 'Happy Mac' icon (the smiling Macintosh face) appeared during system startup through Mac OS X 10.1. Mac OS X 10.2 Jaguar replaced it with the modern gray Apple logo, making 10.1 the last version with the Happy Mac.
-
X11
-
Display PostScript
-
Quartz 2D
-
OLED
C
Correct answer
Explanation
Quartz 2D is the display technology underlying Mac OS X and its Aqua user interface. It's a resolution-independent 2D graphics rendering engine based on the Portable Document Format (PDF) imaging model.
-
Xena Never Understands
-
XeN Unix
-
X Is Not Unix
-
The creator, Xavier Nelson Underwood
C
Correct answer
Explanation
XNU stands for 'X is Not Unix,' a recursive acronym following the GNU pattern. It's the hybrid kernel architecture used in Mac OS X, combining elements from Mach and BSD.
-
An animated Steve Jobs dances across the screen
-
What interrupt button?
-
Duh, it's actually G 41F89A
-
A photo slideshow of the development team appears
D
Correct answer
Explanation
Typing 'G 41D89A' in the Mac SE's debugger after triggering the interrupt button would display an Easter egg slideshow of the development team's photos. This was a hidden feature in the Mac SE ROM.