Searching for "B"

Q:

How can you get/set an environment variable from a program?

Answer

Getting the value of an environment variable is done by using `getenv()’. Setting the value of an environment variable is done by using `putenv()’

Report Error

View answer Workspace Report Error Discuss

Subject: Operating Systems Exam Prep: GATE

Q:

getppid() system call is used to bias the existing priority of a process 

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

It is used to get parent process identifier

Report Error

View Answer Workspace Report Error Discuss

Subject: Operating Systems
Exam Prep: GATE

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 & Explanation 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

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: GRE

Q:

onclick="window.open()":This attribute of HTML control is used to open a page in new window

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

To open a page in a new window, you have to use client script using onclick="window.open()" attribute of HTML control.

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

Q:

Which among the following validators checks if entered data matches a specific format

A) Compare validator B) RegularExpressionValidator
C) CustomValidator D) None
 
Answer & Explanation Answer: B) RegularExpressionValidator

Explanation:

RegularExpressionValidator checks if entered data matches a specific format

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Job Role: Software Architect

Q:

Which among the following validators allows checking if data of one control match with other control?

A) RangeValidator B) CompareValidator
C) RequiredFieldValidator D) None
 
Answer & Explanation Answer: B) CompareValidator

Explanation:

CompareValidator  allows checking if data of one control match with other control

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Job Role: Software Architect

Q:

Server controls contain attributes whereas HTML controls have properties only.

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

Server controls contain properties whereas HTML controls have attributes.

Report Error

View Answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

Q:

Which among the following is used to send data from one page to another with the URL but you can send limited size of data with the URL

A) Cookies B) View state
C) Querystring D) None
 
Answer & Explanation Answer: C) Querystring

Explanation:

Querystring is used to send data from one page to another with URL.But it can store only some minimum amount of data.Most browsers allow a limit of 255 characters on URL length

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Job Role: Software Architect