placement-freshersworld-com(7).pdf

8
P3Home > Interview Preparation > IT Companies Placement Prep > TCS > TCS Technical Interview Questions More from this lesson TCS Placement Preparation TCS HR Interview Tips TCS Placement Paper 2 paid TCS Placement Paper 3 paid TCS Placement Paper 4 paid TCS Placement Paper 5 paid TCS Placement Paper 6 | Latest pattern paid TCS placement paper 1 free TCS Aptitude Test paid IT Companies Placement Prep Infosys Wipro Cognizant Accenture Capgemini Huawei PCS iGATE Robert Bosch Oracle IBM TCS Cisco HP L&T Tech Mahindra Polaris Virtusa Sasken HCL Sapient Ericsson Syntel MindTree Zensar ThoughtWorks SIEMENS Mahindra Satyam Caritor Convergys UST Global IBS Nasscom TCS Technical Interview Questions Share 346420 views, 2281 found it useful Learn and practice IT Companies Placement Prep, Interview Preparation, TCS questions and answers with explanation for interview,placement test,online test,competitive examination and entrance test TCS Possible Technical Interview Questions| for new Campus Recruitment Interview With TCS The Campus Interview This interview usually takes 45 minutes to an hour and may have one or two interviewers. One interviewer may focus on your communication skills, self-management skills and background by asking behavioral questions. The other will focus on your technical capabilities. The Phone Interview If TCS not coming to your school this fall, and you have probably submitted your resume online. You look great on paper and they would like to have an employment discussion with candidate. They will set up a mutually-convenient date and time for your phone interview. Your interviewer will assess your communication skills, self-management skills and background by asking behavioral questions. He / she may also assess your technical ability. If the phone interview goes well, you will be asked to join us for an in-person interview. TCS Technical interview Questions 1. What is your strongest programming language (Java, ASP, C, C++, VB, HTML, C#, etc.)? Point to remember : Before interview You should decide your Favorite programming language and be prepared based on that question. 2.Differences between C and Java? 1.JAVA is Object-Oriented while C is procedural. 2.Java is an Interpreted language while C is a compiled language. 3.C is a low-level language while JAVA is a high-level language. 4.C uses the top-down approach while JAVA uses the bottom-up approach. 5.Pointer go backstage in JAVA while C requires explicit handling of pointers. 6.The Behind-the-scenes Memory Management with JAVA & The User-Based Memory Management in C. 7.JAVA supports Method Overloading while C does not support overloading at all. 8.Unlike C, JAVA does not support Preprocessors, & does not really them. 9.The standard Input & Output Functions--C uses the printf & scanf functions as its standard input & output while JAVA uses the System.out.print & System.in.read functions. 10.Exception Handling in JAVA And the errors & crashes in C. 3.In header files whether functions are declared or defined? Functions are declared within header file. That is function prototypes exist in a header file,not function bodies. They are defined in library (lib). 4.What are the different storage classes in C ? There are four types of storage classes in C. They are extern, register, auto and static 5.7k Like Like Placement Papers Aptitude Preparation Interview Preparation General Knowledge Online Test Buy Now converted by Web2PDFConvert.com

Upload: anil-kumar-gorantala

Post on 17-Nov-2015

2 views

Category:

Documents


1 download

TRANSCRIPT

  • P3Home > Interview Preparation > IT Companies Placement Prep > TCS > TCS Technical Interview Questions

    More from this lesson

    TCS Placement Preparation

    TCS HR Interview Tips

    TCS Placement Paper 2 paid

    TCS Placement Paper 3 paid

    TCS Placement Paper 4 paid

    TCS Placement Paper 5 paid

    TCS Placement Paper 6 |Latest pattern paid

    TCS placement paper 1 free

    TCS Aptitude Test paid

    IT Companies Placement

    Prep

    Infosys

    Wipro

    Cognizant

    Accenture

    Capgemini

    Huawei

    PCS

    iGATE

    Robert Bosch

    Oracle

    IBM

    TCS

    Cisco

    HP

    L&T

    Tech Mahindra

    Polaris

    Virtusa

    Sasken

    HCL

    Sapient

    Ericsson

    Syntel

    MindTree

    Zensar

    ThoughtWorks

    SIEMENS

    Mahindra Satyam

    Caritor

    Convergys

    UST Global

    IBS

    Nasscom

    TCS Technical Interview Questions Share 346420 views, 2281 found it useful

    Learn and practice IT Companies Placement Prep, Interview Preparation, TCS questions and answers with explanationfor interview,placement test,online test,competitive examination and entrance test

    TCS Possible Technical Interview Questions| for new Campus Recruitment

    Interview With TCS

    The Campus Interview

    This interview usually takes 45 minutes to an hour and may have one or two interviewers.One interviewer may focus on your communication skills, self-management skills andbackground by asking behavioral questions. The other will focus on your technicalcapabilities.

    The Phone Interview

    If TCS not coming to your school this fall, and you have probably submitted your resumeonline. You look great on paper and they would like to have an employment discussion withcandidate. They will set up a mutually-convenient date and time for your phone interview.Your interviewer will assess your communication skills, self-management skills andbackground by asking behavioral questions. He / she may also assess your technical ability.If the phone interview goes well, you will be asked to join us for an in-person interview.

    TCS Technical interview Questions1. What is your strongest programming language (Java, ASP, C, C++, VB, HTML, C#,etc.)? Point to remember: Before interview You should decide your Favorite programminglanguage and be prepared based on that question.

    2.Differences between C and Java?1.JAVA is Object-Oriented while C is procedural.2.Java is an Interpreted language while C is a compiled language.3.C is a low-level language while JAVA is a high-level language.4.C uses the top-down approach while JAVA uses the bottom-up approach.5.Pointer go backstage in JAVA while C requires explicit handling of pointers.6.The Behind-the-scenes Memory Management with JAVA & The User-Based MemoryManagement in C.7.JAVA supports Method Overloading while C does not support overloading at all.8.Unlike C, JAVA does not support Preprocessors, & does not really them.9.The standard Input & Output Functions--C uses the printf & scanf functions as its standardinput & output while JAVA uses the System.out.print & System.in.read functions.10.Exception Handling in JAVA And the errors & crashes in C.

    3.In header files whether functions are declared or defined?Functions are declared within header file. That is function prototypes exist in a header file,notfunction bodies. They are defined in library (lib).

    4.What are the different storage classes in C ?There are four types of storage classes in C. They are extern, register, auto and static

    5.7kLikeLike

    Placement Papers Aptitude Preparation Interview Preparation General Knowledge Online Test Buy Now

    converted by Web2PDFConvert.com

    http://www.freshersworld.comhttp://www.freshersworld.comhttp://placement.freshersworld.comhttp://placement.freshersworld.com/power-preparation/Aptitude-Preparationhttp://placement.freshersworld.com/power-preparation/list-content/6http://placement.freshersworld.com/power-preparation/list-content/7http://placement.freshersworld.com/power-preparation/list-content/42http://placement.freshersworld.com/power-preparation/list-content/64http://placement.freshersworld.com/power-preparation/list-content/69http://placement.freshersworld.com/power-preparation/list-content/19805http://placement.freshersworld.com/power-preparation/list-content/21491http://placement.freshersworld.com/power-preparation/Aptitude-Preparation?div=1http://placement.freshersworld.com/power-preparation/list-content/12http://placement.freshersworld.com/power-preparation/list-content/13http://placement.freshersworld.com/power-preparation/list-content/31http://placement.freshersworld.com/power-preparation/list-content/34http://placement.freshersworld.com/power-preparation/Aptitude-Preparation?div=4http://placement.freshersworld.com/power-preparation/list-content/14http://placement.freshersworld.com/power-preparation/list-content/15http://placement.freshersworld.com/power-preparation/list-content/30http://placement.freshersworld.com/power-preparation/list-content/38http://placement.freshersworld.com/power-preparation/list-content/21546http://placement.freshersworld.com/power-preparation/list-content/21266http://placement.freshersworld.com/power-preparation/list-content/21267http://placement.freshersworld.com/power-preparation/list-content/21282http://placement.freshersworld.com/power-preparation/Aptitude-Preparation?div=2http://placement.freshersworld.com/power-preparation/list-content/16http://placement.freshersworld.com/power-preparation/list-content/17http://placement.freshersworld.com/power-preparation/list-content/18http://placement.freshersworld.com/power-preparation/list-content/10http://placement.freshersworld.com/power-preparation/list-content/11http://placement.freshersworld.com/power-preparation/list-content/61http://placement.freshersworld.com/power-preparation/list-content/71http://placement.freshersworld.com/power-preparation/list-content/32http://placement.freshersworld.com/power-preparation/list-content/33http://placement.freshersworld.com/power-preparation/list-content/19799http://placement.freshersworld.com/power-preparation/list-content/19801http://placement.freshersworld.com/power-preparation/list-content/19803http://placement.freshersworld.com/power-preparation/list-content/21263http://placement.freshersworld.com/power-preparation/list-content/19809http://placement.freshersworld.com/power-preparation/list-content/21264http://placement.freshersworld.com/power-preparation/list-content/21257http://placement.freshersworld.com/power-preparation/list-content/19821http://placement.freshersworld.com/power-preparation/Aptitude-Preparation?div=3http://placement.freshersworld.com/power-preparation/Interview-Preparationhttp://placement.freshersworld.com/power-preparation/list-content/95http://placement.freshersworld.com/power-preparation/list-content/21397http://placement.freshersworld.com/power-preparation/list-content/21403http://placement.freshersworld.com/power-preparation/list-content/21412http://placement.freshersworld.com/power-preparation/list-content/21451http://placement.freshersworld.com/power-preparation/Interview-Preparation/#interview-tiphttp://placement.freshersworld.com/power-preparation/list-content/21417http://placement.freshersworld.com/power-preparation/list-content/23339http://placement.freshersworld.com/power-preparation/list-content/24316http://placement.freshersworld.com/power-preparation/list-content/24320http://placement.freshersworld.com/power-preparation/list-content/23350http://placement.freshersworld.com/power-preparation/list-content/24322http://placement.freshersworld.com/power-preparation/list-content/24324http://placement.freshersworld.com/power-preparation/Interview-Preparation/#tech-interviewhttp://placement.freshersworld.com/power-preparation/list-content/94http://placement.freshersworld.com/power-preparation/list-content/26099http://placement.freshersworld.com/power-preparation/list-content/39727http://placement.freshersworld.com/power-preparation/Interview-Preparation/#gd-tiphttp://placement.freshersworld.com/power-preparation/list-content/23355http://placement.freshersworld.com/power-preparation/list-content/23879http://placement.freshersworld.com/power-preparation/list-content/25076http://placement.freshersworld.com/power-preparation/Interview-Preparation/#tech-testhttp://placement.freshersworld.com/power-preparation/list-content/96http://placement.freshersworld.com/power-preparation/list-content/15631http://placement.freshersworld.com/power-preparation/list-content/15632http://placement.freshersworld.com/power-preparation/Interview-Preparation/#com-nonithttp://placement.freshersworld.com/power-preparation/list-content/20http://placement.freshersworld.com/power-preparation/list-content/21http://placement.freshersworld.com/power-preparation/list-content/49http://placement.freshersworld.com/power-preparation/list-content/89http://placement.freshersworld.com/power-preparation/list-content/50http://placement.freshersworld.com/power-preparation/list-content/51http://placement.freshersworld.com/power-preparation/list-content/25616http://placement.freshersworld.com/power-preparation/list-content/57http://placement.freshersworld.com/power-preparation/list-content/56http://placement.freshersworld.com/power-preparation/list-content/58http://placement.freshersworld.com/power-preparation/list-content/54http://placement.freshersworld.com/power-preparation/list-content/106http://placement.freshersworld.com/power-preparation/list-content/24339http://placement.freshersworld.com/power-preparation/list-content/109http://placement.freshersworld.com/power-preparation/Interview-Preparation/#companyhttp://placement.freshersworld.com/power-preparation/General-Knowledgehttp://placement.freshersworld.com/power-preparation/list-content/41787http://placement.freshersworld.com/power-preparation/list-content/41789http://placement.freshersworld.com/power-preparation/list-content/41842http://placement.freshersworld.com/power-preparation/list-content/41909http://placement.freshersworld.com/power-preparation/list-content/41985http://placement.freshersworld.com/power-preparation/list-content/42063http://placement.freshersworld.com/power-preparation/list-content/44321http://placement.freshersworld.com/power-preparation/list-content/46890http://placement.freshersworld.com/power-preparation/list-content/42065http://placement.freshersworld.com/power-preparation/list-content/42016http://placement.freshersworld.com/power-preparation/list-content/42017http://placement.freshersworld.com/power-preparation/list-content/42018http://placement.freshersworld.com/power-preparation/list-content/42019http://placement.freshersworld.com/power-preparation/list-content/41988http://placement.freshersworld.com/power-preparation/list-content/41989http://placement.freshersworld.com/power-preparation/list-content/41990http://placement.freshersworld.com/power-preparation/list-content/41996http://placement.freshersworld.com/power-preparation/list-content/41997http://placement.freshersworld.com/power-preparation/list-content/41999http://placement.freshersworld.com/power-preparation/list-content/42000http://placement.freshersworld.com/power-preparation/list-content/42001http://placement.freshersworld.com/power-preparation/online-testshttp://placement.freshersworld.com/power-preparation/product_list/power-preparation/http://placement.freshersworld.com/power-preparation/category/tid/820http://placement.freshersworld.com/power-preparation/category/tid/842http://placement.freshersworld.com/power-preparation/category/nid/89http://placement.freshersworld.com/power-preparation/company/TCS/TCS-Placement-Preparation-513http://placement.freshersworld.com/power-preparation/company/TCS/TCS-HR-Interview-Tips-26288http://placement.freshersworld.com/power-preparation/node/454http://placement.freshersworld.com/power-preparation/node/455http://placement.freshersworld.com/power-preparation/node/456http://placement.freshersworld.com/power-preparation/node/457http://placement.freshersworld.com/power-preparation/node/458http://placement.freshersworld.com/power-preparation/level-1?keepThis=true&TB_iframe=true&height=50&width=250&redirectUrl=node@41038http://placement.freshersworld.com/power-preparation/node/45567http://placement.freshersworld.com/power-preparation/list-content/20http://placement.freshersworld.com/power-preparation/list-content/21http://placement.freshersworld.com/power-preparation/list-content/49http://placement.freshersworld.com/power-preparation/list-content/50http://placement.freshersworld.com/power-preparation/list-content/51http://placement.freshersworld.com/power-preparation/list-content/52http://placement.freshersworld.com/power-preparation/list-content/53http://placement.freshersworld.com/power-preparation/list-content/54http://placement.freshersworld.com/power-preparation/list-content/56http://placement.freshersworld.com/power-preparation/list-content/57http://placement.freshersworld.com/power-preparation/list-content/58http://placement.freshersworld.com/power-preparation/list-content/89http://placement.freshersworld.com/power-preparation/list-content/100http://placement.freshersworld.com/power-preparation/list-content/106http://placement.freshersworld.com/power-preparation/list-content/109http://placement.freshersworld.com/power-preparation/list-content/112http://placement.freshersworld.com/power-preparation/list-content/114http://placement.freshersworld.com/power-preparation/list-content/116http://placement.freshersworld.com/power-preparation/list-content/15624http://placement.freshersworld.com/power-preparation/list-content/15625http://placement.freshersworld.com/power-preparation/list-content/15626http://placement.freshersworld.com/power-preparation/list-content/15627http://placement.freshersworld.com/power-preparation/list-content/20528http://placement.freshersworld.com/power-preparation/list-content/22758http://placement.freshersworld.com/power-preparation/list-content/22971http://placement.freshersworld.com/power-preparation/list-content/23234http://placement.freshersworld.com/power-preparation/list-content/23343http://placement.freshersworld.com/power-preparation/list-content/24339http://placement.freshersworld.com/power-preparation/list-content/24340http://placement.freshersworld.com/power-preparation/list-content/25099http://placement.freshersworld.com/power-preparation/list-content/25616http://placement.freshersworld.com/power-preparation/list-content/25617http://placement.freshersworld.com/power-preparation/list-content/26403https://plus.google.com/share?url=http://placement.freshersworld.com/power-preparation/company/TCS/tcs-technical-interview-questions-and-answers-26030https://twitter.com/intent/tweet?original_referer=http://placement.freshersworld.com/power-preparation/company/TCS/tcs-technical-interview-questions-and-answers-26030&text=&tw_p=tweetbutton&url=http://placement.freshersworld.com/power-preparation/company/TCS/tcs-technical-interview-questions-and-answers-26030http://www.web2pdfconvert.com?ref=PDFhttp://www.web2pdfconvert.com?ref=PDF

  • 5.What does static variable mean?Static is an access qualifier. If a variable is declared as static inside a function, the scope islimited to the function,but it will exists for the life time of the program. Values will be persistedbetween successive calls to a function

    6.How do you print an address ?Use %p in printf to print the address.

    7.What are macros? what are its advantages and disadvantages? Macros are processor directive which will be replaced at compile time.The disadvantage with macros is that they just replace the code they are not function calls.similarly the advantage is they can reduce time for replacing the same values.

    8.Difference between pass by reference and pass by value? Pass by value just passes the value from caller to calling function so the called functioncannot modify the values in caller function. But Pass by reference will pass the address tothe caller function instead of value if called function requires to modify any value it candirectly modify.9.What is an object?Object is a software bundle of variables and related methods. Objects have state andbehavior

    10.What is a class?Class is a user-defined data type in C++. It can be created to solve a particular kind ofproblem. After creation the user need not know the specifics of the working of a class.

    11.What is the difference between class and structure?Structure: Initially (in C) a structure was used to bundle different type of data types together toperform a particular functionality. But C++ extended the structure to contain functions also. The major difference is that all declarations inside a structure are by default public.Class: Class is a successor of Structure. By default all the members inside the class areprivate.

    12. What is ponter?Pointer is a variable in a program is something with a name, the value of which can vary. Theway the compiler and linker handles this is that it assigns a specific block of memory within the computer to hold the value of that variable.

    13.What is the difference between null and void pointer?A Null pointer has the value 0. void pointer is a generic pointer introduced by ANSI. Genericpointer can hold the address of any data type.

    14.what is function overloading Function overloading is a feature of C++ that allows us to create multiple functions with thesame name, so long as they have different parameters.Consider the following function: int Add(int nX, int nY) { return nX + nY; }

    15.What is function overloading and operator overloading?Function overloading: C++ enables several functions of the same name to be defined, as long asthese functions have different sets of parameters (at least as far as their types are concerned).This capability is called function overloading. When an overloaded function is called, the C++compiler selects the proper function by examining the number, types and order of thearguments in the call. Function overloading is commonly used to create several functions of thesame name that perform similar tasks but on different data types.Operator overloading allows existing C++ operators to be redefined so that they work on objectsof user-defined classes. Overloaded operators are syntactic sugar for equivalent function calls.They form a pleasant facade that doesn't add anything fundamental to the language (but theycan improve understandability and reduce maintenance costs).

    16.what is friend function?

    converted by Web2PDFConvert.com

    http://www.web2pdfconvert.com?ref=PDFhttp://www.web2pdfconvert.com?ref=PDF

  • A friend function for a class is used in object-oriented programming to allow access topublic, private, or protected data in the class from the outside.Normally, a function that is not a member of a class cannot access such information; neithercan an external class. Occasionally, such access will be advantageous for the programmer.Under these circumstances, the function or external class can be declared as a friend of theclass using the friend keyword.

    17.What do you mean by inline function?The idea behind inline functions is to insert the code of a called function at the point wherethe function is called. If done carefully, this can improve the application's performance inexchange for increased compile time and possibly (but not always) an increase in the size ofthe generated binary executables.18. Tell me something about abstract classes?An abstract class is a class which does not fully represent an object. Instead, it represents abroad range of different classes of objects. However, this representation extends only to thefeatures that those classes of objects have in common. Thus, an abstract class provides onlya partial description of its objects.19.What is the difference between realloc() and free()?The free subroutine frees a block of memory previously allocated by the malloc subroutine.Undefined results occur if the Pointer parameter is not a valid pointer. If the Pointer parameteris a null value, no action will occur. The realloc subroutine changes the size of the block ofmemory pointed to by the Pointer parameter to the number of bytes specified by the Sizeparameter and returns a new pointer to the block. The pointer specified by the Pointerparameter must have been created with the malloc, calloc, or realloc subroutines and notbeen deallocated with the free or realloc subroutines. Undefined results occur if the Pointerparameter is not a valid pointer.

    20.What is the difference between an array and a list?Array is collection of homogeneous elements. List is collection of heterogeneous elements.For Array memory allocated is static and continuous. For List memory allocated is dynamicand Random.Array: User need not have to keep in track of next memory allocation.List: User has to keep in Track of next location where memory is allocated.Array uses direct access of stored members, list uses sequential access for members.

    21.What are the differences between structures and arrays?Arrays is a group of similar data types but Structures can be group of different data types22.What is data structure?A data structure is a way of organizing data that considers not only the items stored, but alsotheir relationship to each other. Advance knowledge about the relationship between dataitems allows designing of efficient algorithms for the manipulation of data.23. Can you list out the areas in which data structures are applied extensively?Compiler Design,Operating System,Database Management System,Statistical analysis package,Numerical Analysis,Graphics,Artificial Intelligence,Simulation24.What are the advantages of inheritance?It permits code reusability. Reusability saves time in program development. It encourages thereuse of proven and debugged high-quality software, thus reducing problem after a systembecomes functional.

    25. what are the two integrity rules used in DBMS?The two types of integrity rules are referential integrity rules and entity integrity rules.Referential integrity rules dictate that a database does not contain orphan foreign key values.This means that A primary key value cannot be modified if the value is used as a foreign key in a child table.Entity integrity dictates that the primary key value cannot be Null.

    converted by Web2PDFConvert.com

    http://www.web2pdfconvert.com?ref=PDFhttp://www.web2pdfconvert.com?ref=PDF

  • 26. Tell something about deadlock and how can we prevent dead lock?

    In an operating system, a deadlock is a situation which occurs when a process enters awaiting state because a resource requested by it is being held by another waiting process,which in turn is waiting for another resource. If a process is unable to change its stateindefinitely because the resources requested by it are being used by other waiting process,then the system is said to be in a deadlock.Mutual Exclusion: At least one resource must be non-shareable.[1] Only one process canuse the resource at any given instant of time.Hold and Wait or Resource Holding: A process is currently holding at least one resource andrequesting additional resources which are being held by other processes.No Preemption: The operating system must not de-allocate resources once they have beenallocated; they must be released by the holding process voluntarily.Circular Wait: A process must be waiting for a resource which is being held by anotherprocess, which in turn is waiting for the first process to release the resource. In general, thereis a set of waiting processes, P = {P1, P2, ..., PN}, such that P1 is waiting for a resource heldby P2, P2 is waiting for a resource held by P3 and so on till PN is waiting for a resource heldby P1.[1][7]Thus prevention of deadlock is possible by ensuring that at least one of the four conditionscannot hold.

    27. What is Insertion sort, selection sort, bubble sort( basic differences among thefunctionality of the three sorts and not the exact algorithms)

    28. What is Doubly link list? A doubly linked list is a linked data structure that consists of a set of sequentially linkedrecords called nodes. Each node contains two fields, called links, that are references to theprevious and to the next node in the sequence of nodes. The beginning and ending nodes'previous and next links, respectively, point to some kind of terminator, typically a sentinelnode or null, to facilitate traversal of the list. If there is only one sentinel node, then the list iscircularly linked via the sentinel node. It can be conceptualized as two singly linked listsformed from the same data items, but in opposite sequential orders.29.What is data abstraction? what are the three levels of data abstraction with Example?Abstraction is the process of recognizing and focusing on important characteristics of asituation or object and leaving/filtering out the un-wanted characteristics of that situation orobject.Lets take a person as example and see how that person is abstracted in various situationsA doctor sees (abstracts) the person as patient. The doctor is interested in name, height,weight, age, blood group, previous or existing diseases etc of a personAn employer sees (abstracts) a person as Employee. The employer is interested in name, age,health, degree of study, work experience etc of a person. Abstraction is the basis for software development. Its through abstraction we define theessential aspects of a system. The process of identifying the abstractions for a given system iscalled as Modeling (or object modeling).

    Three levels of data abstraction are:1. Physical level : how the data is stored physically and where it is stored in database.2. Logical level : what information or data is stored in the database. eg: Databaseadministrator3.View level : end users work on view level. if any amendment is made it can be saved byother name.

    30.What is command line argument?Getting the arguments from command prompt in c is known as command line arguments. In cmain function has three arguments.They are:Argument counterArgument vectorEnvironment vector31.Advantages of a macro over a function?Macro gets to see the Compilation environment, so it can expand #defines. It is expandedby the preprocessor. 32.What are the different storage classes in C?

    Auto,register,static,extern33.Which header file should you include if you are to develop a function which canaccept variable number of arguments?

    stdarg.h34.What is cache memory ?

    Cache Memory is used by the central processing unit of a computer to reduce the average

    converted by Web2PDFConvert.com

    http://www.web2pdfconvert.com?ref=PDFhttp://www.web2pdfconvert.com?ref=PDF

  • time to access memory. The cache is a smaller, faster memory which stores copies of the data from the most frequently used main memory locations. Aslong as most memory accesses are cached memory locations, the averagelatency of memory accesses will be closer to the cache latency than to the latency of mainmemory.35.What is debugger?A debugger or debugging tool is a computer program that is used to test and debug otherprograms

    36. Const char *p , char const *p What is the difference between the above two? 1) const char *p - Pointer to a Constant char ('p' isn't modifiable but the pointer is)2) char const *p - Also pointer to a constant Char However if you had something like:char * const p - This declares 'p' to be a constant pointer to an char. (Char p is modifiable butthe pointer isn't)

    37. What is Memory Alignment? Data structure alignment is the way data is arranged and accessed in computer memory. Itconsists of two separate but related issues: data alignment and data structure padding.

    38.Explain the difference between 'operator new' and the 'new' operator? The difference between the two is that operator new just allocates raw memory, nothing else.The new operator starts by using operator new to allocate memory, but then it invokes theconstructor for the right type of object, so the result is a real live object created in thatmemory. If that object contains any other objects (either embedded or as base classes)those constructors as invoked as well.39. Difference between delete and delete[]? The keyword delete is used to destroy the single variable memory created dynamicallywhich is pointed by single pointer variable.Eg: int *r=new(int)the memory pointed by r can be deleted by delete r.delete [] is used to destroy array of memory pointed by single pointer variable.Eg:int *r=new(int a[10])The memory pointed by r can be deleted by delete []r.40. What is conversion constructor?

    A conversion constructor is a single-parameter constructor that is declared without thefunction specifier 'explicit'. The compiler uses conversion constructors to convert objectsfrom the type of the first parameter to the type of the conversion constructor's class.To defineimplicit conversions, C++ uses conversion constructors, constructors that accept a singleparameter and initialize an object to be a copy of that parameter.41.What is a spanning Tree?A spanning tree is a tree associated with a network. All the nodes of the graph appear on thetree once. A minimum spanning tree is a spanning tree organized so that the total edgeweight between nodes is minimized. 42. Why should we use data ware housing and how can you extract data for analysis withexample?If you want to get information on all the techniques of designing, maintaining, building andretrieving data, Data warehousing is the ideal method. A data warehouse is premeditated andgenerated for supporting the decision making process within an organization.Here are some of the benefits of a data warehouse:o With data warehousing, you can provide a common data model for different interest areasregardless of data's source. In this way, it becomes easier to report and analyze information.o Many inconsistencies are identified and resolved before loading of information in datawarehousing. This makes the reporting and analyzing process simpler.o The best part of data warehousing is that the information is under the control of users, so thatin case the system gets purged over time, information can be easily and safely stored for longertime period.o Because of being different from operational systems, a data warehouse helps in retrieving datawithout slowing down the operational system.o Data warehousing enhances the value of operational business applications and customerrelationship management systems.o Data warehousing also leads to proper functioning of support system applications like trendreports, exception reports and the actual performance analyzing reports.

    Data mining is a powerful new technology to extract data for analysis.

    converted by Web2PDFConvert.com

    http://www.web2pdfconvert.com?ref=PDFhttp://www.web2pdfconvert.com?ref=PDF

  • 43.Explain recursive function & what is the data structures used to perform recursion?a) A recursive function is a function which calls itself.b) The speed of a recursive program is slower because of stack overheads. (This attribute isevident if you run above C program.)c) A recursive function must have recursive conditions, terminating conditions, and recursiveexpressions.Stack data structure . Because of its LIFO (Last In First Out) property it remembers its caller soknows whom to return when the function has to return. Recursion makes use of system stackfor storing the return addresses of the function calls. Every recursive function has its equivalentiterative (non-recursive) function. Even when such equivalent iterative procedures are written,explicit stack is to be used.44.Differentiate between Complier and Interpreter?An interpreter reads one instruction at a time and carries out the actions implied by thatinstruction. It does not perform any translation. But a compiler translates the entire instructions

    45.What is scope of a variable?Scope refers to the visibility of variables. It is very useful to be able to limit a variable'sscope to a single function. In other words, the variable wil have a limited scope46.What is an interrupt? Interrupt is an asynchronous signal informing a program that an event has occurred. When aprogram receives an interrupt signal, it takes a specified action.

    47.What is user defined exception in Java?The keywords used in java application are try, catch and finally are used in implementingused-defined exceptions. This Exception class inherits all the method from Throwable class.

    48.What is java Applet?Applet is java program that can be embedded into HTML pages. Java applets runs on thejava enables web browsers such as mozila and internet explorer. Applet is designed to runremotely on the client browser, so there are some restrictions on it. Applet can't accesssystem resources on the local computer. Applets are used to make the web site moredynamic and entertaining.

    49.What do you know about the garbage collector?Garbage collection is the systematic recovery of pooled computer storage that is being used bya program when that program no longer needs the storage. This frees the storage for use byother programs (or processes within a program). It also ensures that a program using increasing amounts ofpooled storage does not reach its quota (in which case it may no longer be able to function). Garbage collection is an automatic memory management feature in many modern programminglanguages, such as Java and languages in the .NET framework. Languages that use garbagecollection are often interpreted or run within a virtual machine like the JVM. In each case, theenvironment that runs the code is also responsible for garbage collection.

    50.Write a Binary Search programint binarySearch(int arr[],int size, int item){int left, right, middle;left = 0;right = size-1;while(left arr[middle]){left = middle+1;}else{right = middle-1;}}return(-1);}

    51.What are enumerations?

    converted by Web2PDFConvert.com

    http://www.web2pdfconvert.com?ref=PDFhttp://www.web2pdfconvert.com?ref=PDF

  • Jobs

    JOBS BY CATEGORYIT / Software JobsCore Technical JobsGovernment Sector JobsDefence JobsResearch JobsBPO JobsBank JobsDream Jobs> 5 lpaWalk-ins JobsManpower ConsultantsTeaching Jobs1-3 Years Exp.Jobs

    Archived JobJob ResultsJobs by CompanyJobs by BranchesJobs by RolesJobs by SkillsInternships

    JOBS BY COURSESBE / B.Tech JobsMCA JobsMBA / PGDM JobsME / M.Tech JobsM.Sc JobsB.Com JobsBBA / BBM JobsBCA JobsB.Sc JobsDiploma JobsJOBS BY CITIESJobs in AhmedabadJobs in BangaloreJobs in ChennaiJobs in Delhi / NCRJobs in HyderabadJobs in KolkataJobs in MumbaiJobs in Pune

    Placement Preparation

    SAMPLE PLACEMENT PAPERSPlacement PapersSelection ProcedureCompany ProfilesLatest PapersIT CompaniesNon IT CompaniesBank Papers

    POWER PLACEMENT PREPARATIONAptitude PreparationGeneral KnowledgeInterview PreparationOnline TestsIT Companies PreparationGATE PreparationCAT PreparationBank Exam PreparationPSU Companies Preparation

    1425014106

    Read more

    Interview tips Job interview Interview preparation

    Phone interview Interview preparation Tips Interview Preparation and basic tips

    4 different parts of interview preparation How To Dress For Your Next Job Interview Interview body language

    Bank Interview questions & Answers Group Discussion Topics Group discussion tips

    Types of Group Discussion HR interview questions

    An enumeration is a data type, used to declare variable that store list of names. It is act like adatabase, which will store list of items in the variable. example: enum shapes{triangle,rectangle,...

    52.What is static identifier?The static identifier is used for initializing only once, and the value retains during the life timeof the program / application. A separate memory is allocated for static variables. This valuecan be used between function calls. The default value of an uninitialized static variable iszero. A function can also be defined as a static function, which has the same scope of thestatic variable.

    53.What is Cryptography?Cryptography is the science of enabling secure communications between a sender and oneor more recipients. This is achieved by the sender scrambling a message (with a computerprogram and a secret key) and leaving the recipient to unscramble the message (with thesame computer program and a key, which may or may not be the same as the sender'skey).There are two types of cryptography: Secret/Symmetric Key Cryptography and Public KeyCryptography

    54.What is encryption?Encryption is the transformation of information from readable form into some unreadable form.

    55.What is decryption?Decryption is the reverse of encryption; it's the transformation of encrypted data back intosome intelligible form.56.What exactly is a digital signature?Just as a handwritten signature is affixed to a printed letter for verification that the letteroriginated from its purported sender, digital signature performs the same task for anelectronic message. A digital signature is an encrypted version of a message digest,attached together with a message.

    Found This Useful ? : Yes No >

    Career & Courses

    HIGHER STUDIES IN INDIAM.TechMBAMCATEST PREPARATIONGREGMATCAT / MATIELTS / TOEFLGATEDefenceCivil ServicesSTUDIES ABROADUSAAustraliaUKNew ZealandCanadaSingapore

    TRAINING COURSESJava / J2EEPHP / MySQLSEO / Web DesigningAssembly LanguageAndroid DevelopmentBlackBerry DevelopmentiPhone DevelopmentMobile TestingWireless TechnologyMicroSoft(MS) SQLMicrosoft(MS) AccessHTML / JavaSript / CSS / AjaxJoomla / Drupal / WordpressASPASP.NET / C#CC++

    List your Institute here

    converted by Web2PDFConvert.com

    http://placement.freshersworld.com/power-preparation/list-content/25617http://placement.freshersworld.com/power-preparation/list-content/26403http://placement.freshersworld.com/power-preparation/Interview-Preparation/#interview-tiphttp://placement.freshersworld.com/power-preparation/Job-Interview/Preparation-and-basic-tips-35716http://placement.freshersworld.com/power-preparation/Interview-Preparationhttp://placement.freshersworld.com/power-preparation/phone-interviewhttp://placement.freshersworld.com/power-preparation/Interview/Job-interview-basic-tips-with-interview-questions-answers-35715http://placement.freshersworld.com/power-preparation/Job-Interview/Preparation-and-basic-tips-35716http://placement.freshersworld.com/power-preparation/Job-interview/Different-parts-of-interview-preparation-35719http://placement.freshersworld.com/power-preparation/Interview-dressing-35711http://placement.freshersworld.com/power-preparation/Job-interview/Important-Interview-Body-Language-35717http://placement.freshersworld.com/power-preparation/Bank-Interview-questions-Answershttp://placement.freshersworld.com/power-preparation/gd-preparation/general-gd-topics-with-answers-39728http://placement.freshersworld.com/power-preparation/GD-preparation/basic-GD-tips-469http://placement.freshersworld.com/power-preparation/types-group-discussionhttp://placement.freshersworld.com/power-preparation/hr-interviewhttp://www.freshersworld.com/jobs/categorieshttp://www.freshersworld.com/category/it-software-job-vacancieshttp://www.freshersworld.com/category/Core-Technical-job-vacancieshttp://www.freshersworld.com/category/Govt-Sector-job-vacancieshttp://www.freshersworld.com/jobs/category/Defence-job-vacancieshttp://www.freshersworld.com/jobs/category/Research-job-vacancieshttp://www.freshersworld.com/jobs/category/BPO-job-vacancieshttp://www.freshersworld.com/jobs/category/Bank-job-vacancieshttp://www.freshersworld.com/jobs/category/dreamjobs-job-vacancieshttp://www.freshersworld.com/jobs/category/Walkin-job-vacancieshttp://www.freshersworld.com/jobs/category/Manpower-Consultants-job-vacancieshttp://www.freshersworld.com/jobs/category/Teaching-job-vacancieshttp://www.freshersworld.com/jobs/category/1-to-3-Yr-Exp-job-vacancieshttp://www.freshersworld.com/jobs/archive-jobshttp://www.freshersworld.com/resultshttp://www.freshersworld.com/jobs/companieshttp://www.freshersworld.com/jobs/brancheshttp://www.freshersworld.com/jobs/job-titleshttp://www.freshersworld.com/jobs/skillshttp://www.freshersworld.com/jobs/category/Internship-job-vacancieshttp://www.freshersworld.com/jobs/courseshttp://www.freshersworld.com/jobs/courses/be-btech-job-opportunitieshttp://www.freshersworld.com/jobs/courses/mca-job-opportunitieshttp://www.freshersworld.com/jobs/courses/mba-pgdm-job-opportunitieshttp://www.freshersworld.com/jobs/courses/me-mtech-job-opportunitieshttp://www.freshersworld.com/jobs/courses/msc-job-opportunitieshttp://www.freshersworld.com/jobs/courses/bcom-job-opportunitieshttp://www.freshersworld.com/jobs/courses/bba-bbm-job-opportunitieshttp://www.freshersworld.com/jobs/courses/bca-job-opportunitieshttp://www.freshersworld.com/jobs/courses/bsc-job-opportunitieshttp://www.freshersworld.com/jobs/courses/diploma-job-opportunitieshttp://www.freshersworld.com/jobs/citieshttp://www.freshersworld.com/jobs/cities/jobs-in-ahmedabadhttp://www.freshersworld.com/jobs/cities/jobs-in-bangalorehttp://www.freshersworld.com/jobs/cities/jobs-in-chennaihttp://www.freshersworld.com/jobs/cities/jobs-in-delhihttp://www.freshersworld.com/jobs/cities/jobs-in-hyderabadhttp://www.freshersworld.com/jobs/cities/jobs-in-kolkatahttp://www.freshersworld.com/jobs/cities/jobs-in-mumbaihttp://www.freshersworld.com/jobs/cities/jobs-in-punehttp://placement.freshersworld.com/placement-papers/http://placement.freshersworld.com/placement-papers/view_company_selection_procedurehttp://placement.freshersworld.com/placement-papers/view_company_profileshttp://placement.freshersworld.com/placement-papers/latest_papershttp://placement.freshersworld.com/placement-papers/it-companyhttp://placement.freshersworld.com/placement-papers/nonit-companyhttp://placement.freshersworld.com/placement-papers/bankshttp://placement.freshersworld.com/power-preparation/Aptitude-Preparationhttp://placement.freshersworld.com/power-preparation/General-Knowledgehttp://placement.freshersworld.com/power-preparation/Interview-Preparationhttp://placement.freshersworld.com/power-preparation/online-testshttp://placement.freshersworld.com/power-preparation/Interview-home/#companyhttp://placement.freshersworld.com/power-preparation/GATE-Preparation-2014-27527http://placement.freshersworld.com/power-preparation/cat-2013-exam-preparationhttp://placement.freshersworld.com/power-preparation/bank-exam-preparation-2012-2013http://placement.freshersworld.com/power-preparation/psu-companies-placement-preparationhttp://www.learnof.com/in/colleges/mtech-colleges-in-indiahttp://www.learnof.com/in/colleges/mba-colleges-in-indiahttp://www.learnof.com/in/colleges/mca-colleges-in-indiahttp://www.learnof.com/in/training-institutes/gre-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/gmat-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/cat+mat-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/ielts+toefl-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/gate-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/defence-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/civil+services-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/study+in+usa-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/study-in-australia-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/study+in+uk-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/study-in-new-zealand-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/study+in+canada-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/study-in-singapore-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/java+j2ee-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/php+mysql-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/seo+web+designing-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/assembly+language-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/android+development-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/black+berry+development-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/iphone+development-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/mobile+testing-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/wireless+technology-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/microsoft+sql-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/microsoft+access-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/html+javascript+css+ajax-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/joomla+drupal+wordpress-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/asp-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/asp.net-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/c-training-institutes-in-indiahttp://www.learnof.com/in/training-institutes/c%2B%2B-training-institutes-in-indiahttp://corp.freshersworld.com/instituteshttp://www.web2pdfconvert.com?ref=PDFhttp://www.web2pdfconvert.com?ref=PDF

  • ScholarshipsSuccess Stories

    Jobs in GurgaonJobs in Noida

    Get in Touch

    Candidate Services

    Freshersworld.com : The No.1 Jobsite for Freshers in India

    Freshersworld.com: The No.1 Jobsite for Freshers in India. Get your dream job with us. Top MNC Jobs & GovernmentJobs from all around India. Register and get free job alerts for Govt. Jobs and other Sarkari Naukri jobs every day!

    About Us | Blog | FAQs | Advertise With Us | Recruitment Solutions | Contact Us

    Terms of Use | Privacy Policy | Copyright | Sitemap 2000 - 2015 Freshersworld.com

    converted by Web2PDFConvert.com

    http://www.freshersworld.com/jobs/category/Scholarships-job-vacancieshttp://www.freshersworld.com/success-storieshttp://www.freshersworld.com/jobs/cities/jobs-in-gurgaonhttp://www.freshersworld.com/jobs/cities/jobs-in-noidahttp://www.freshersworld.com/premium-serviceshttp://www.freshersworld.com/ceathttp://www.freshersworld.com/power-resumehttp://placement.freshersworld.com/power-preparation/https://www.facebook.com/freshersworldhttp://twitter.com/freshersworldhttp://www.linkedin.com/company/freshersworld.comhttps://plus.google.com/102536859415473798561/postshttp://www.freshersworld.com/about-ushttp://blog.freshersworld.com/http://www.freshersworld.com/faqhttp://www.freshersworld.com/advertisehttp://corp.freshersworld.com/employershttp://www.freshersworld.com/contactushttp://www.freshersworld.com/terms-of-usehttp://www.freshersworld.com/privacyhttp://www.freshersworld.com/copyrighthttp://www.freshersworld.com/sitemaphttp://www.web2pdfconvert.com?ref=PDFhttp://www.web2pdfconvert.com?ref=PDF