Questions

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

2 3612
Q:

Which of the following is a film directed by Mr. Buddhadeb Das Gupta

A) Krantiveer B) Mohra
C) Character D) 1942 - A Love Story
 
Answer & Explanation Answer: A) Krantiveer

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

2 3610
Q:

Ultimate strength to cement is provided by

A) Di-calcium silicate B) Tricalcium silicate
C) Tetra calcium alumino ferrite D) Tri-calcium aluminate
 
Answer & Explanation Answer: A) Di-calcium silicate

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 3610
Q:

What contributed most to Clive's victory over Siraj-ud-daulah at the Battle of Plassey?

A) Death of Mir Madan B) Bravery of Clive
C) Treachery of Mir Jafar D) Military skill of Kil-trick
 
Answer & Explanation Answer: C) Treachery of Mir Jafar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

0 3610
Q:

What are the different Adder circuits you studied?

Answer

Adders are generally of five types:


1.Ripple Carry Adder:


The Ripple carry adder(RCA) consists of a building block named Half Adder(HA) which is cascaded to form a Full Adder(FA). These buildingblocks HAs and FAs are also the building blocks of all types of adders.The n full adders are cascaded to form n bit RCA.


The full adder has three input pins(input Ai,input Bi,carryin Ci) and two output pins(Sum and Ci+1).Its equations are:


Sum=Ai^Bi^Ci


Ci+1=Ai.Bi+Bi.Ci+Ai.Ci


 


2. Carry Lookahead Adder:


The Carry Lookahead Adder(CLA) reduces the delay as that in RCA. Let Gi=Ai.Bi, and Pi=Ai^Bi, then Ci+1=Gi+Pi.Ci.


The expressions for Sum and Ci+1 is then defined completely in terms of input pins rather wait for input carry to appear.


 


3. Carry Select Adder:


The carry select adder uses duplicate modules for each combination of input carry(i.e. 1 and 0).The multiplexers then select the appropriate sum and carry output according to the carry output of the preceding stages.


 


4. Carry Skip Adder:


The carry skip adder are as fast as carry lookahead adders which are the fastest adders but its spped decreases to about 20-30% if input operands are 64-bit or more. In these adders we divide the input bit stream into various blocks and make use of two observations:


-if each element of the two bit streams are unequal,i.e. Ai!=Bi than the carry input of the block is equal to the carry input.


-if each element of the two bit streams are equal,i.e. Ai=Bi than the carry input of the block is opposite of the carry input.


 


5. Carry Save Adder:


The carry save adder reduces the addition of three elements into addition of two elements,i.e. if you want sum of nine numbers it reduces it into sum of six numbers. In first step the sum of three numbers is calculated without bothering for the carry.During the second step only carry is calculated which is then added to the generated sum to give the required sum. 

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 3609
Q:

Who was the first Indian woman who owns the gold medal in Asian Games?

A) P.T.Usha B) Sunita Rani
C) Shiny Abraham D) Kamaljit Sandhu
 
Answer & Explanation Answer: D) Kamaljit Sandhu

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

2 3608
Q:

In which year was the first solid state integrated circuit demonstrated?

A) 1970s B) 1960s
C) 1950s D) 1980s
 
Answer & Explanation Answer: C) 1950s

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions

3 3608
Q:

Suppose an installed z/OS customer also has Power6 Servers. They are investigating consolidation of both types of servers to z/OS.Which of the following will establish the capacity for a new z/OS server?

A) AD Tools B) CP3000
C) Estimate the AIX load and add to CP3000 results. D) Run AIX in a z/OS LPAR to establish the loadWArialTimes New RomanZ
 
Answer & Explanation Answer: C) Estimate the AIX load and add to CP3000 results.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

10 3608