# Sasken Papers: Sample Questions 10 - 12 of 35

Examrace Placement Series prepares you for the toughest placement exams to top companies.

## Question number: 10

### Write in Short

What is the relation in dBm and dB?

### Explanation

• Decibel (dB) and dB relative to a mill watt (dBm) represent two different but related concepts.
• dB expresses the ratio between two power levels.
• dB = 10log (P1/P2)
• The unit dBm denotes an absolute power level measured in decibels and referenced to 1 mill watt (mW). To convert from absolute power “P” (in watts) to dBm,
• dBm = 10 * log (P/1 mW)
• Use dB when expressing the ratio between two power values. Use dBm when expressing an absolute value of power.

## Question number: 11

### Write in Short

What do compiler and assembler do?

### Explanation

Compiler:

Compiler is a computer program that reads a program written in one language and translates it in to another language. Compilers usually produce the machine executable code directly from a high level language.

Assembler:

An assembler can be considered a special type of compiler which translates only Assembly language to machine code. Assemblers produce an object code which might have to be linked using linker programs in order to run on a machine. Because Assembly language has a one to one mapping with machine code, an assembler may be used for producing code that runs very efficiently for occasions in which performance is very important.