Technical 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 3521
Q:

What are the best way to prevent a computer virus from entering your computer?

Answer

1.Logout of your computer each time you have finished using it


2.Install and use anti-virus software on your computer 


3.Do not use emails on your machine


4.Make sure all your files are safely stored to your floppy disks

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

2 3509
Q:

What is the difference between microkernel and macro kernel?

Answer

Micro-kernal : A micro-kernel is a minimal operating system that performs only the essential functions of an operating system. All other operating system functions are performed by system processes.


Monolithic : A monolithic operating system is one where all operating system code is in a single executable image and all operating system code runs in system mode.

Report Error

View answer Workspace Report Error Discuss

0 3505
Q:

What are software interrupts?

Answer

RST0, RST1, RST2, RST3, RST4, RST5, RST6, RST7.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

2 3495
Q:

OSI Reference Model provides a framework for discussing network operations and design

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

Explanation:

It provides a framework for discussing network operations and design

Report Error

View Answer Workspace Report Error Discuss

Subject: Networking
Job Role: Database Administration

0 3490
Q:

 The object definition language (ODL) is which of the following?

A) Used to develop logical schemas B) A data definition language for OODB
C) A method to implement a logical schema D) All of the above.
 
Answer & Explanation Answer: D) All of the above.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

0 3487
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 3487
Q:

High level language is also called as ?

A) Business oriented language B) Mathematically oriented language
C) Problem oriented language D) All of above
 
Answer & Explanation Answer: D) All of above

Explanation:
Report Error

View Answer Report Error Discuss

10 3483