Technical Questions asked in Mphasis

  1. A state is in situation if the system can allocate resources to each process in some order and still avoid a deadlock.
    1. safe
    2. unsafe
    3. waiting
    4. mutually excluded

    Answer: Option A.
  2. What will the output of the following program:
    int iVal1=50;
    { int iVal1=20;
    ::iVal1=iVal1; iVal1=10; return::iVal1;
    } int main(int argc,char**argv)
    { int&iRef=iVal1; iRef=30; iRef=fnSample(); iRef=40; cout< }
    1. 10
    2. 20
    3. 30
    4. 40

    Answer: Option D.
  3.  Virtual memory allows:
    1. Execution of a process that may be completely in memory
    2. A program to be larger than the physical memory
    3. A program to be larger than these secondary storage
    4. Execution of a process without being in physical memory

    Answer: Option B.

  4. Pulse stuffing is a strategy used in .
    1. FDM
    2. TDM
    3. FHSS
    4. DSSS

    Answer: Option B.

  5. The functions of the base class are not inherited
    1. Pure virtual
    2. virtual
    3. Friend
    4. Both(A)and(B)

    Answer: Option C.

  6. What flavor of Network Address Translation can be used to have one IP address allow many users to connect to the global Internet?
    1. NAT
    2. Static
    3. Dynamic
    4. PAT

    Answer: Option D.

Test Site