1
Q:

main()

{

fork();

 

printf(“Hello World!”);

}

Output for the above unix program is

A) Hello World! B) Hello World!Hello World!
C) Hello World D) None

Answer:   B) Hello World!Hello World!



Explanation:

The fork creates a child that is a duplicate of the parent process. The child begins from the fork().All the statements after the call to fork() will be executed twice.(once by the parent process and other by child). The statement before fork() is executed only by the parent process

Subject: Operating Systems
Exam Prep: GRE
Q:

The program that is responsible for loading the operating system into RAM is the _______.

A) BIOS B) Bootstrap Program
C) Drive- Driver D) Supervisor Program
 
Answer & Explanation Answer: B) Bootstrap Program

Explanation:

The program that is responsible for loading the operating system into RAM is the bootstrap Loader program.

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: Bank Exams

9 6873
Q:

What type of operating system uses the NTFS file system ?

A) Windows B) Mac OS X
C) Unix D) All of these
 
Answer & Explanation Answer: A) Windows

Explanation:

Windows operating system uses the NTFS file system.

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: Bank Exams

5 5348
Q:

What are cookies ?

Answer

Cookies are small pieces of information that are stored in a browser. It keeps track of user preference, like what sites are visited, what keywords are used, among others.

Report Error

View answer Workspace Report Error Discuss

3 3439
Q:

Which memory management technique involves dividing the memory into fixed sized blocks ?

A) Paging B) Scaling
C) Whiping D) Tracking
 
Answer & Explanation Answer: A) Paging

Explanation:

Paging is a memory management technique in which process address space is broken into blocks of the same size called pages.

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk

2 4200
Q:

A computer assisted method for the recording and analyzing of existing or hypothetical systems is

A) Data transmission B) Data capture
C) Data flow D) Data processing
 
Answer & Explanation Answer: C) Data flow

Explanation:
Report Error

View Answer Report Error Discuss

7 6314
Q:

What are the various types of CPU registers in a regular operating system design ?

Answer

 Stack Pointer
 Index Registers
 Accumulators
 General Purpose Registers

Report Error

View answer Workspace Report Error Discuss

3 2499
Q:

What is the perfect page size when designing an operating system ?

Answer

The perfect paging size varies from system to system, so there is no single best when it reaches to page size. There are several factors to consider in order to come up with a fitting page size, such as paging time, page table, and its effect on the total performance of the operating system.

Report Error

View answer Workspace Report Error Discuss

3 3627
Q:

When designing the file structure for an operating system, what attributes are considered ?

Answer

Commonly, the different attributes for a file structure are naming,size, identifier, a level of protection, supported file types and location for the files.

Report Error

View answer Workspace Report Error Discuss

18 7468