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 3621
Q:

Explain the meaning of mutex.

Answer

Mutex is the short form for ‘Mutual Exclusion object’. A mutex allows multiple threads for sharing the same resource. The resource can be file. A mutex with a unique name is created at the time of starting a program. A mutex must be locked from other threads, when any thread that needs the resource. When the data is no longer used / needed, the mutex is set to unlock.

Report Error

View answer Workspace Report Error Discuss

0 3620
Q:

DNA is copied during a process called

A) transcription B) transformation
C) translation D) replication
 
Answer & Explanation Answer: A) transcription

Explanation:

DNA is copied during a process called Transcription. It is the first step of gene expression, in which a particular segment of DNA is copied into RNA by the enzyme RNA polymerase.

dna_is_copied_during_a_process_called1552049220.jpg image

 

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 3620
Q:

The luster of a metal is due to presence of free electrons.

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

Explanation:

True, The luster of a metal is due to presence of free electrons. Luster means shine or soft glow. We know that metals have the quality of reflecting light from its surface.

Report Error

View Answer Workspace Report Error Discuss

Subject: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 3620
Q:

Who is the author of the book A Journey ?

A) Tony Blair B) Bikram seth
C) Janardhan takur D) harisen
 
Answer & Explanation Answer: A) Tony Blair

Explanation:

Author of the book A journey  is Tony Blair

Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

1 3619
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 3618
Q:

The land mass of India has an area of ______ million square km.

A) 1.28 B) 2.28
C) 3.28 D) 4.28
 
Answer & Explanation Answer: C) 3.28

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

0 3618
Q:

How many chromosomes are in a human gamete?

A) 23 B) 46
C) 92 D) 102
 
Answer & Explanation Answer: A) 23

Explanation:

23 chromosomes are in a human gamete.

Human somatic cells have 46 chromosomes(23 pairs) but a gamete(germ cell) gets half the amount, i.e. 23 chromosomes, (one from each pair). There will be half the number of chromosomes an organism has in its somatic cells (all other body cells except gametes).

 

For example in humans, the somatic cells contain 46 chromosomes which are the diploid number (2n) and each sperm and egg has 23 chromosomes where one of them is the sex chromosome.

Report Error

View Answer Report Error Discuss

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

2 3618