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. 1 A dummy device to represent memory

  2. 2 A dummy device to represent the processor

  3. 3 A dummy device to provide infinite number of zeros

  4. 4 None

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

/dev/zero is a special device file that provides an infinite stream of null (zero) bytes when read. It is commonly used for initializing files with zeros, testing buffer operations, or creating memory dumps. The device always returns zeros and never reaches end-of-file.

Multiple choice technology operating systems
  1. 1 A memeory shared between kernel & devices

  2. 2 A memory shared between root user and ordinary user

  3. 3 A memory shared across processes

  4. 4 Harddisk

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

Shared memory is an Inter-Process Communication (IPC) mechanism that allows multiple processes to access the same segment of physical memory, providing a fast way to exchange data without copying it between processes.

Multiple choice technology operating systems
  1. 1 They never releases the memory utilized

  2. 2 They release the memory but kernel does not use them

  3. 3 Since they are running

  4. 4 It’s a false statement

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

Process virtual memory size can grow due to heap allocation and memory-mapped files, but the kernel does not typically shrink a process's virtual memory space even when memory is freed. This is because memory is released back to the process's internal free list, not necessarily to the system. Option B captures this concept.

Multiple choice technology operating systems
  1. 1 Use getmemory()

  2. 2 Use sysctl()

  3. 3 Use freemem()

  4. 4 Use malloc()

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

In Unix-like systems, sysctl() is a system call used to examine and modify kernel parameters, including hardware information like total physical memory. getmemory and freemem are not standard POSIX system calls for this purpose.

Multiple choice technology packaged enterprise solutions
  1. 1527

  2. 1507

  3. 1517

  4. 1537

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

In SAP environments using an Oracle database, the default listener port is often configured as 1527. This differs from the standard Oracle default of 1521 to avoid conflicts and follow SAP's specific installation standards.

Multiple choice technology operating systems
  1. System V at AT&T lab

  2. BSD (Berkeley Software Distribution)

  3. Solaris at Sun Microsystems

  4. MAC OS X at Apple

  5. All of the above

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

System V (AT&T), BSD (Berkeley), Solaris (Sun), and macOS are all Unix or Unix-like operating systems. System V and BSD represent the two main historical Unix lineages that influenced most modern variants.

Multiple choice technology operating systems
  1. Putty

  2. Secure CRT

  3. Telnet

  4. Exceed

  5. Only First and Second

  6. First,Second and Third

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

Putty, SecureCRT, Telnet clients, and Exceed are all tools used to connect to and interact with Unix systems. They provide terminal emulation or X server capabilities for accessing Unix environments from other platforms.

Multiple choice technology operating systems
  1. Putty

  2. Secure CRT

  3. Telnet Connection

  4. Exceed

  5. First,Third,Fourth

  6. First Two only

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

PuTTY is a terminal emulator for SSH/Telnet. SecureCRT is another terminal emulator. Telnet is a protocol with terminal clients. Exceed is an X Window System emulator. All four are terminal-related software used to connect to Unix systems or display Unix applications.

Multiple choice technology operating systems
  1. System V at AT&T lab.

  2. BSD (Berkeley Software Distribution)

  3. Solaris at Sun Microsystems

  4. MAC OS X at Apple

  5. Only first two

  6. First Three only

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

System V (AT&T) and BSD (Berkeley) are the two main historical Unix lineages. Solaris is a Unix operating system derived from System V. macOS is Unix-certified and based on BSD. All four are Unix or Unix-based operating systems.

Multiple choice technology operating systems
  1. True

  2. False

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

Linux is an operating system kernel with many distributions. There are hundreds of Linux distributions including Ubuntu, Fedora, Debian, Red Hat, Arch, and many more. Each distribution packages the Linux kernel with different software, configuration, and package management systems.

Multiple choice technology databases
  1. Create a job schedule that runs every Sunday. Assign weekly tasks to this schedule. Create a

  2. Create a job for each task that runs once a day. Use a Transact-SQL statement to check the

  3. Create a job schedule that runs once a day. Assign jobs to this job schedule. If the day is

  4. Create a job for each task that runs once a week on Sunday. Add a second job schedule that

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

SQL Server Agent supports reusable job schedules. Create separate schedules for different frequencies (weekly Sundays, monthly start), then assign jobs to appropriate schedules. This is more efficient than creating individual schedules for each job.

Multiple choice technology databases
  1. RESTORE LABELONLYFROM DISK = N\Server1\Backup\DB_Backup.bak

  2. RESTORE HEADERONLYFROM DISK = N\Server1\Backup\DB_Backup.bak

  3. RESTORE VERIFYONLYFROM DISK = N\Server1\Backup\DB_Backup.bak

  4. RESTORE DATABASE MSDBFROM DISK = N\Server1\Backup\DB_Backup.bak

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

RESTORE HEADERONLY reads backup file metadata without restoring. It lists all database backups contained in a backup set, including database names - perfect for identifying which backup file contains msdb when filenames are unclear.

Multiple choice technology databases
  1. Execute DBCC CHECKFILEGROUP for each filegroup.

  2. Execute DBCC CHECKCATALOG.

  3. Execute DBCC CHECKDB.

  4. Execute DBCC CHECKTABLE for each table.

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

DBCC CHECKDB is the most comprehensive integrity check command for SQL Server databases. It verifies allocation, structural, and logical integrity of all database objects including system catalogs in a single operation, making it the right choice after a SAN failure that could affect the entire database storage.

Multiple choice technology operating systems
  1. Standard

  2. Web

  3. Enterprise

  4. Datacenter

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

Windows Server 2003 was available in multiple editions to serve different market needs. Standard Edition for general server use, Web Edition optimized for web serving, Enterprise Edition for larger organizations with advanced features, and Datacenter Edition for high-end server consolidation and critical applications.