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

Multiple choice technology operating systems
  1. Hardware

  2. Kernel

  3. Shell

  4. Application Programs

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The Unix architecture is layered with hardware at the base, then the kernel (innermost software layer that directly manages hardware), then the shell (user interface), then application programs at the outermost layer. The kernel is between hardware and all other software, making it the innermost software layer.

Multiple choice technology operating systems
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

UNIX is inherently a multi-user operating system designed from the beginning to support multiple simultaneous users and processes. This is a fundamental characteristic that distinguishes UNIX from single-user systems like MS-DOS. The statement is false.

Multiple choice technology web technology
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Mobile Web Applications run within a browser sandbox and have limited access to device hardware compared to native applications. Features like offline mode, location lookup, camera access, and file system access either require specific HTML5 APIs (which may not be universally supported) or are completely unavailable in web environments. Native apps have full access to these capabilities through platform SDKs.

Multiple choice technology mainframe
  1. Scans JCL for errors

  2. Invalid Syntax

  3. Scans for previous executing jobs

  4. Does nothing

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

SCAN is a JCL (Job Control Language) statement that performs syntax checking on the JCL itself. It scans for errors without executing the job, helping catch issues before actual processing. The other options are incorrect - SCAN is not for previous jobs, syntax errors, or doing nothing.

Multiple choice technology
  1. Unix command line interface

  2. System dll

  3. APT_dump

  4. APT_Operator

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

OSH (Orchestrate Shell) operators in DataStage are instances of C++ classes that inherit from the APT_Operator base class. This base class provides the framework for all operator functionality. APT_dump is a debugging tool. The OSH operators are not related to Unix CLI or system DLLs.

Multiple choice technology
  1. communication

  2. application

  3. system

  4. operating

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

System software manages computer hardware and provides platform for applications. Operating systems (like Windows, macOS, Linux) are the primary example of system software - they manage memory, processes, files, and peripheral devices. Application software runs on top of system software to perform specific user tasks.

Multiple choice technology security
  1. Ordinary users

  2. Security administrators

  3. System administrators

  4. None of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

System accounts are designated for automated system services, processes, and daemons rather than human users. Neither ordinary users, system administrators, nor security administrators should log in directly to system accounts; instead, humans must use their own personal accounts.

Multiple choice technology security
  1. Access control lists (ACLs)

  2. Capability lists

  3. Triples

  4. Properties

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Columns of an access matrix represent objects, and the list of permissions for a given object across all subjects is called an Access Control List (ACL). In contrast, rows represent subjects and correspond to capability lists. Triples represent (subject, object, rights) entries, and properties are unrelated attributes.

Multiple choice
  1. Android starts service and calls its onCreate method followed by the onStart method.

  2. onResume, onPause and onStop are not needed.

  3. As with an activity, the onDestroy method is called when the service is about to be terminated.

  4. onResume of activity life cycle is equivalent to onBind method of service.

  5. None of these

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

If a client needs a persistent connection to a service, it can call the Context.bind Service method, while onResume is called right after onStart if your activity is the foreground activity on the screen.

Multiple choice
  1. work on worker thread

  2. work on UI thread

  3. work on background thread

  4. work on foreground thread

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

onPostExecute runs on the main UI thread, allowing direct updates to UI elements without needing additional thread synchronization. This is different from doInBackground which runs on a background thread and cannot touch UI components.

Multiple choice
  1. android OS

  2. calling component

  3. onPostExecute(…) method of AsyncTask

  4. onProgressUpdate() method of AsyncTask

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The return value from doInBackground is automatically passed as a parameter to onPostExecute, allowing the background result to be processed on the UI thread. This is the standard AsyncTask flow pattern.

Multiple choice
  1. Handler class

  2. View.postDelayed(Runnable, long)

  3. onPostExecute(…) method of AsyncTask

  4. Both (1) and (3)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Both Handler class and onPostExecute() can execute code after background work completes. Handlers provide flexible timing control while AsyncTask's onPostExecute is specifically designed for post-background UI updates.

Multiple choice
  1. service is started through activity

  2. service binds with any component

  3. Both (1) and (2)

  4. None of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

onStartCommand() is called when a service is explicitly started using startService(). Binding with bindService() triggers onBind() instead. The two initiation methods have different lifecycle callbacks.

Multiple choice
  1. service is started through activity

  2. service binds with any component

  3. Both (1) and (2)

  4. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Service onCreate() is called whether the service is started via startService() or bound via bindService(). It's the initialization callback that runs once per service instance, unlike onStartCommand() which can run multiple times.