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
-
Window messages (WM_)
-
Control window messages (BM_)
-
Dialog Box Messages( DB_)
-
List box messages (LB_)
C
Correct answer
Explanation
Windows message prefixes are standardized: WM_ for window messages, BM_ for button control messages, LB_ for listbox messages, EM_ for edit control, CB_ for combobox, etc. DB_ for Dialog Box Messages is not a valid Windows message prefix - dialog boxes use standard WM_ messages or control-specific messages.
A
Correct answer
Explanation
In Windows GDI, memory device contexts (created with CreateCompatibleDC()) are valid device context types. They allow off-screen drawing operations and bitmap manipulation. Memory DCs work with screen contexts for double-buffering and other graphics operations.
-
Step will not execute
-
Step will abend
-
Step will execute
-
S0C7
-
TYPRUN=COMPILE
-
TYPRUN=ERRFREE
-
TYPRUN=HOLD
-
TYPRUN=SCAN
D
Correct answer
Explanation
TYPRUN=SCAN checks JCL syntax for errors without actually executing the job. It's useful for validation. TYPRUN=COMPILE compiles a program but doesn't execute. TYPRUN=HOLD holds the job. TYPRUN=ERRFREE isn't valid (you might be thinking of a compiler option). SCAN is the only one that purely checks for errors without execution.
B
Correct answer
Explanation
PARM is the EXEC statement parameter used to pass data or parameters directly to the invoked program. INPUT is not a valid JCL keyword. SYSOUT specifies a sysout class for output, and COND sets job step conditional execution logic. The PARM field allows programs like COBOL to receive runtime parameters up to 100 characters.
-
SYS1.LINKLIB
-
SYS1.SOTREPROC
-
SYS1.CATPROC
-
SYS1.PROCLIB
A
Correct answer
Explanation
SYS1.LINKLIB is the system library containing load modules (executable programs) for IBM utilities and system programs. SYS1.SVCL (or similar) is for SVC routines, and PROCLIB contains JCL procedure definitions. LINKLIB is where the system looks for executable programs to load and run.
-
EXEC
-
SYSABEND
-
JOBLIB
-
SYSPRINT
C
Correct answer
Explanation
JOBLIB is a JOB statement parameter and cannot appear within a PROC. EXEC, SYSABEND, and SYSPRINT are all valid within procedures. JOBLIB must be specified at the JOB level, while procedures can use STEPLIB for library specification.
-
COMPATIBILITY
-
VERSION
-
System.field_status
-
System.current_field
A
Correct answer
Explanation
In Oracle Forms, the system variable or initialization parameter COMPATIBILITY is used to specify or check the database version compatibility to which the application is connected.
-
Sun
-
Microsoft
-
Apple
-
Redhat
C
Correct answer
Explanation
Safari is a web browser developed by Apple Inc. and is included in macOS and iOS operating systems. Microsoft develops Internet Explorer and Edge, Sun Microsystems is known for Java and other technologies, and Redhat is a Linux distribution company.
B
Correct answer
Explanation
Windows 98 cannot be directly upgraded to Windows XP. You must perform a clean installation of XP, upgrading from Windows 98 requires booting from the XP installation media and choosing a new install.
-
WINDOWS platforms
-
UNIX platforms
-
Both 1 & 2
-
None of the above
C
Correct answer
Explanation
MRTG (Multi Router Traffic Grapher) is designed to be cross-platform and runs on both Windows and UNIX-based systems. It's written in Perl, which contributes to its portability across different operating systems. The tool is commonly used for monitoring network traffic and can be installed on various platforms including Linux, Windows, and UNIX variants.
-
Press <CTRL>+C
-
PRESS <CTRL>+M
-
PRESS <CTRL>+D
-
PRESS <CTRL>+Y
D
Correct answer
Explanation
In VMS (OpenVMS), Ctrl+Y is the standard interrupt/abort key used to stop command execution. When a TYPE command is displaying file contents, pressing Ctrl+Y will interrupt and terminate the display, making it the correct answer for interrupting the TYPE command specifically.
-
COND codes
-
IF statement
-
both
-
Non of These
C
Correct answer
Explanation
In JCL, conditional processing can be achieved through COND parameters on job steps (which execute/conditionally skip steps based on return codes) or IF/THEN/ELSE/ENDIF statements that provide logical control flow within the job. Both mechanisms allow skipping steps based on specified conditions.
-
ZEUS
-
JIGSAW
-
LIGHTTP
-
WEBLOGIC
D
Correct answer
Explanation
ZEUS, JIGSAW, and LIGHTTPD are all web servers. WEBLOGIC is an application server (Java EE platform) that provides enterprise services like EJB, JMS, and transaction management beyond simple HTTP serving.
A
Correct answer
Explanation
REFERBACK allows execution of programs from any library by maintaining a reference to the original program location, enabling flexible program execution in mainframe environments. This mechanism provides access to programs across different libraries.