Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Technical Interview Questions and Answers :: TCS

276.5K

Tot. Mock Test: 40


Total Qs: 157+

  •  Select All
  •  SQL
  •  Java
  •  C++
  •  WebMethod
  •  Informatica
  •  C
  •  DBMS
  •  Operating System
  •  Soft. Engineering
  •  Data Structure
  •  Networking
  •  Hadoop
  •  HR Question in TR

    71 / 157

    Explain Demand paging, page faults, replacement algorithms, thrashing etc ?
    Answer:

    No Discussion on this question yet!

    Please Login First :

    72 / 157

    What is virtual memory? From where do we bring such a memory?
    Answer:

    No Discussion on this question yet!

    Please Login First :

    73 / 157

    How is the memory allocation done for a union?
    Answer:

    No Discussion on this question yet!

    Please Login First :
    Answer:

    a failure in a program to release discarded memory, causing impaired performance or failure.



     

    Please Login First :

    75 / 157

    What is the difference between declaring a variable and defining a variable?
    Answer:

    Declaring a variable is initializing a variable where as defining a variable is defining what variables you are initialized.



     

    Please Login First :
    Answer:

    By default the value unchanged means we can give as static.
    Variable which is declared as static and no further initialisation then static variable takes value from zero.

    Please Login First :

    77 / 157

    What is a register variable?
    Answer:

    Register variables are a special case of automatic variables. Automatic variables are allocated storage in the memory of the computer; however, for most computers, accessing data in memory is considerably slower than processing in the CPU. These computers often have small amounts of storage within the CPU itself where data can be stored and accessed quickly. These storage cells are called registers.

    Please Login First :

    78 / 157

    Where is an auto variable stored?
    Answer:

    Each program is allocated two types of storage stack and heap .Auto variables are also known as local variable
    and  are stored in stack.

    Please Login First :

    79 / 157

    What is scope & storage allocation of extern and global variables?
    Answer:

    Scope: it defines the life time of a variable depends on declaration of a variable.If it is declared inside the variable it is local variable,If it is outside it is global variable.
    Extern variables: belong to the External storage class and are stored in the main memory

    Please Login First :

    80 / 157

    What is scope & storage allocation of register, static and local variables?
    Answer:

    Register variables: is the register storage class and are stored in the CPU registers.
    The scope of the register variables is local to the block in which the
    variables are defined. The variables which are used for more number of
    times in a program are declared as register variables for faster access.

    Please Login First :


Most Frequent Qs.