C++ supports pointers there comes the concept of smart and naked pointer.Apart from C++ pointers are also used in game programming to dynamically allocate and deallocate memory and for pointing game world objects.
These are basically pointers to the object and are declared using new operator.
They are often referred to dumb or raw pointers.
The objects pointed by these pointers are declared on the heap region of memory.
Also it is necessary that objects are referenced by atleast one other object.
Otherwise, this can lead to memory leak.
Because in absence of additional referencing object it is not possible to free the resources allocated to object.
This memory leak can lead to application crashes.
This situation is more possible in case of Large Application programming.
This could be better understood by an example, lets dive into an example of ship.
Imagine a ship object that owns everything on the ship. When the ship sinks, everything else is destroyed along with it. If you use naked pointers to create these relationships you have to remember who owns who. This can be a confusing or even impossible task. You’ll find that using naked pointers will quickly paint you into a corner.
It is common for an object on the heap to be referred multiple times by other objects in the code. So there comes the need for using additional objects to refer the existing object. A Example of this is a game object like a clock. A pointer to the clock will exist in the game object, in collision system, animation system, and even in the sound system. If you use naked pointers you must remember which objects implicitly own other objects. An object that owns other objects controls their existence.
On the other hand, Smart Pointers hold additional information along with the address of the distant object.
This information could be regarding count of references, record permanence or temporary ownership, or information to perform other useful tasks.
In a sense an object controlled by a smart pointer “knows” about every reference to itself.
The horrible nest of naked pointers evaporates, leaving a simple and foolproof mechanism for handling your dynamic objects.
Hey all stay tuned to conceptsimplified.com. We at ConceptSimplified are eager to hear from you. Please give comments or feedback. Waiting for the opportunity to improve and cater to your needs.
OOPS (Object Oriented Programming) Meaning SIMPLIFIED:
We tend to consider the three Conjoined Letters “OOP” as our Biggest Difficulty in programming. But simplifying the difficulty I wanna add the point that “OOP” is actually brought into the picture as a simple solution to the complex problems existing before its introduction.So,lets SIMPLIFY OOPS!!!
OOPS-(Object Oriented programming)
What it is??? ……. It is a method/process in simpler terms way of Programming and Language Design.
What it means???……..To design a s/w so that the various types of data it manipulates are combined together with their relevant operations.
Still Simplifying: Object can be assumed as a bundle, where it consists of Behavior (CODE) and state(DATA)..
The principle is to separate the things that change from the things that stay the same; often, a change to some data structure requires a corresponding change to the code that operates on that data, or vice versa. This separation into coherent objects provides a more stable foundation for a software system’s design. The intent is to make large software projects easier to manage, thus improving quality and reducing the number of failed projects.
Another Importance of OOP:
To create more generic s/w as they might be more usable or rather Reusable between different software projects.(GENERICISM can be achieved by making pluggable components)
“Hoping this article to be useful, do comment/review below”
Interview experience in L&t was superb, After being rejected by companies like TCS, IGATE, TECHM, my confidence level had been totally drained out. But as i started clearing different levels my confidence started building up. The different levels were as follows Round 1: Technical Aptitude (they had about 4 sets (A,B,C,D))
Each set had three section each of 20 questions therefore a total of 60 questions to be solved in 60 minutes.
The set which i got, had distribution like, quants, logical reasoning and verbal.
I was pleased to hear when my name was announced among the list of students who had cleared the aptitude.
Round 2:Group Discussion
There were total 10 students in each room for group discussion. There were only two panelist from l&t and they gave us two topics from which we had to choose one. This round was quite easy and if you put forth few valid points, u can easily clear the round. Same was my case. I cleared it with ease and proceeded for next round
Round 3:Technical Interview
The Interviewer asked questions based on my mini project which i had mentioned in the resume. As i explained it flawlessly, i got cleared from that round too.
Round 4: HR Interview
Here basic questions like,describe about yourself, how are u feeling, will u be able to relocate are asked. I answered them perfectly.
And after few days was finally happy to see that i was one of those few students who got selected for L&T.
I Hope This Helps You !!
Best of luck !! Have Funn!
Contributed By: Rajat Acharya
In l&t InfoTech interview process proceeds in this fashion 1st is technical round and 2nd one is HR round. In Technical round Interviewer asked me about my mini project and she also asked about the working of my final year project.Then she asked me about oops concept and its implementation .I got selected in that round. If you are selected in Technical round means you are through. Last HR round is just a formality. In HR round she asked me about my family, n some questions like have you any problem to relocate, are you fine with travelling. Everyone who sits for placement of any company should first have knowledge about the company’s background, what are the frequent technical questions asked by that company in other college or you can ask your seniors who are placed in that company . The important thing during interview is confidence. “Everything happens for a good sake” even though u get rejected from any of the company’s placement process please don’t lose confidence.
Contributed By: Anonymous
L&T Recruitment Process
The L&T InfoTech recruitment is similar to any other placement process; it includes the aptitude test, group discussion, passage writing, and technical interview and HR interview.The aptitude test is a written OMR sheet test including Quant, Logical and Verbal Questions. The questions are more or less similar to the questions present in aptitude books such as RS Agarwal.
Group discussion is a very well organized selection process in L&T InfoTech where candidates are judged on the basis of their speaking skills, thought process, perspective and your overall lookout to the topic. During a GD you may be even asked to speak for or against the topic so be prepared with your thoughts and jot down points both for and against. You can take help or support someone else with their points but make sure you say something from your side as well.
Passage writing is not for elimination but still it tests your writing skills and your capacity to convey your thoughts on paper. In any campus placement never take any task lightly, after all everything is there for a cause, if not for elimination then just to understand how careless you are for things that are not important or you are been told as if it is not important, if you know what I mean.
Technical interview will test all your fundamentals of programming. Be confident while answering and gather enough knowledge about Object oriented programming. If you have mentioned your interest in networking in your resume then be prepared for questions on OSI Layers, routing etc. You might be asked to write a program on any of the very basic concepts like Fibonacci series, Armstrong number, sorting etc.
HR Interview will be your final round, “Tell me something about yourself “make no mistake in this one. The final round is to check your accountability to your work. You must have some knowledge about the company to be on the safer side. It is good to discuss about your achievements, volunteering and participation in extracurricular activities.
A great person has said “Company does not need intelligent people, it needs good people”, so dear aspirant there is always a room at the top, have loyalty and honesty within you, you will find a place where you are supposed to be. All the Best.
Thankyou guyz for supporting and providing the invaluable source of Information and experience. These are the placement and interview experiences of L&T campus recruitment batch-2015. All of these experiences are genuine and this has been only possible through the support of the contributors.
Guys if anyone wishes to provide their L&T interview experiences can do so by clicking the following Click here. This would be of great help.
Anyone wanting to use or copy these experiences in their websites or forums need to take prior permission from the conceptsimplified.Failing to adhere would lead to legal contempt.