[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Technical Interview Questions and Answers :: Syntel Inc.

87.41K

Tot. Mock Test: 4


Total Qs: 161+

  •  Select All
  •  Oracle PLSQL
  •  Java
  •  C++
  •  WebMethod
  •  C
  •  DBMS
  •  Operating System
  •  Oracle Apps HRMS
  •  Networking
  •  Soft. Engineering
  •  HR Question in TR
  •  Data Structure
  •  .NET
  •  SQL

    31 / 161

    What are the role of mutable storage class specifier?
    Answer:

    Mutable storage class is applicable to only class data members. If a data member of a class is declared as mutable, then it can be modified by an object which is declared as constant.

    Please Login First :

    32 / 161

    What are the difference between an ARRAY and a LIST?
    Answer:

    An array is a contiguous chunk of memory with a fixed size whereas a list is typically implemented as individual elements linked to each other via pointers and does not have a fixed size. Once an array is initialized, it cannot be resized, and it uses a fixed amount of memory regardless of how much stuff you put in it. Since a list is a collection of individual chunks of memory that are dynamically allocated, the space required to store a list is directly related to the number of elements in it.

    Please Login First :

    33 / 161

    What is polymorphism and Pure-Polymorphism?
    Answer:

    When a method is declared as abstract/virtual method in a base class and which is overridden in a base class. If we create a variable of a type of a base class and assign an object of a derived class to it, it will be decided at a run time, which implementation of a method is to be called.
    This is known as Pure-Polymorphism or Late-Binding.

    Please Login First :
    Answer:

    This pointer is called current object of the class.

    Please Login First :

    35 / 161

    What is Copy Constructor? Write a program using it.
    Answer:

    Copy constructor is used to declare and initialize an object from another object.
    For example, the statement
    Integer I2(I1);
    Would define the object I2 and at the same time initialize it to the values of I1. another form of this statement is integer I2=I1;
    The process of initializing through a copy constructor is known as copy initialization. A copy constructor takes a reference to an object of the same class as itself as an argument.

    Please Login First :

    36 / 161

    Some question from project specific.
    Answer:

    1. Name of project( also, tell the summary)
    2. Explain the key words in the name of project
    3. Why this project
    4. Your contribution
    5. Advantages
    6. Disadvantages
    7. Explain by drawing a block diagram (if possible)
    8. Explain the project.( With or without pen

    Please Login First :

    37 / 161

    Write a program to Sort the given unsorted list.
    Answer:

    #include
    using namespace std;
    void selectionSort(int a[], int n) {
    int i, j, min, temp;
    for (i = 0; i < n - 1; i ) {
    min = i;
    for (j = i 1; j < n; j )
    if (a[j] < a[min])
    min = j;
    temp = a[i];
    a[i] = a[min];
    a[min] = temp;
    }
    }
    int main() {
    int a[] = { 22, 91, 35, 78, 10, 8, 75, 99, 1, 67 };
    int n = sizeof(a)/ sizeof(a[0]);
    int i;
    cout<<"Given array is:"< for (i = 0; i < n; i )
    cout<< a[i] <<" ";
    cout< selectionSort(a, n);
    printf("\nSorted array is: \n");
    for (i = 0; i < n; i )
    cout<< a[i] <<" ";
    return 0;
    }

    Please Login First :

    38 / 161

    Explain Page Life Cycle With Examples in ASP.Net.
    Answer:

    No Discussion on this question yet!

    Please Login First :

    39 / 161

    How many joins in a SQL? Write a query for each of those joins?
    Answer:

    No Discussion on this question yet!

    Please Login First :
    Answer:

    USED TO CONVERT HIERACHICAL STRUCTURE TO THE FLAT STRUCTURE. IT IS USED TO JOIN A TABLE ITSELF AS LIKE IF THAT IS THE SECOND TABLE

    Please Login First :


Most Frequent Qs.