explain about pointers

Upload: ranjith-reddy

Post on 09-Apr-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 Explain about pointers

    1/3

    Explain about pointers?

    What is an array?

    What is a structure?

    Difference between array and structure?

    Difference between structure and union?

    what are Command line arguments?

    what do you mean by Files?

    Program to find all the primes which are les than 100?

    What is a linked list?

    Difference between structure and linked list?

    what is Doubled linked list?

    Routine for inserting node?

    something about the Different types of sortings?

    Different types of searching methods?

    Questions on "C++":

    Explain about OOPS concepts?

    what are the different Access specifiers?

    what is Inhertance and its use?

    Polymorphism and its use?

    Abstraction and its use?

    Difference between over loading and over ridingQuestions on "DBMS" :

    What is a dbms?

    What is a primary key?

    Difference between primary and foreign key?

    what is a Trigger?

    what are Stored procedures?

    What are the different types of DML and DDL commands?

    what are the different types of Joins?

    what do you expect from TCS?

    Me: as a fresher madamm I need good training which helps me to grow

    gradually and help for the development of my companyand a very good

    working environment

    Founded

    1968

    Employees:160,429 (As on 31 March 2010)Tcs ranked 5th in BLOOMBERG BUISNESSWEEKS TECH 100

    Tell Me Something About Yourself.Try to introduce some of your most important employment-oriented skills as well as your education andaccomplishments to the interviewer. Answer to this question is very important because it positions you forthe rest of the interview. That's why this statement is often called the " Positioning Statement".One should take the opportunity to show his/her communication skills by speaking clearly and concisely inan organized manner. Since there is no right or wrong answer for this question hence it is importantto appear friendlyThe answers can be:1) I am a person with strong interpersonal skills and have the ability to get along well with people. I enjoychallenges and looking for creative solutions to problems. Besides the details given in my resume, I believein character values, vision and action. I am quick in learning from mistakes. I am confident that thevarious tests that you have conducted will corroborate my competencies aptitude and right attitude for the

    job. I attendedG.I.E.T where I majored in Electronics and Communication Engineering. My hobbies includebasketball, reading novels and hiking. Im an easy going person that works well with everyone. I enjoybeing around different types of people and I always like to challenge myself to improve at everything I do.4) I went to GIET, Gunupurwhere I majored in Electronics & CommunicationEngineering. Afterwards, Istarted my career at Mumbai as asoftware engineerinLnT Infotech. Ive been there for 3 years now. I lovesolving riddles and puzzles and I also enjoy jogging, reading and watching movies.

    What Are Your Strengths?This is a simple and popular interview question. Generally people answer it in two ways. There are people whosimply state their strength like I am Young, Dynamic, Intelligent, Smart and so on. Such answer is neither right

    nor wrong but does not help u in any way also.Secondly there are peoples who state their strengths and explain themhow he can use his strength for the job and industry.Do not simply state your strength. Everyone has some

    http://en.wikipedia.org/wiki/Employmenthttp://uttambpt.blogspot.com/2008/07/hr2-what-are-your-strengths.htmlhttp://uttambpt.blogspot.com/2008/07/hr1-tell-something-about-yourself.html#%23http://www.giet.edu/http://www.giet.edu/http://www.giet.edu/http://uttambpt.blogspot.com/2008/07/hr1-tell-something-about-yourself.html#%23http://uttambpt.blogspot.com/2008/07/hr1-tell-something-about-yourself.html#%23http://uttambpt.blogspot.com/2008/07/hr1-tell-something-about-yourself.html#%23http://uttambpt.blogspot.com/2008/07/hr1-tell-something-about-yourself.html#%23http://uttambpt.blogspot.com/2008/07/hr1-tell-something-about-yourself.html#%23http://uttambpt.blogspot.com/2008/07/hr1-tell-something-about-yourself.html#%23http://www.lntinfotech.com/http://www.lntinfotech.com/http://www.lntinfotech.com/http://uttambpt.blogspot.com/2008/07/interview-hr-questions.htmlhttp://en.wikipedia.org/wiki/Employmenthttp://uttambpt.blogspot.com/2008/07/hr2-what-are-your-strengths.htmlhttp://uttambpt.blogspot.com/2008/07/hr1-tell-something-about-yourself.html#%23http://www.giet.edu/http://www.giet.edu/http://uttambpt.blogspot.com/2008/07/hr1-tell-something-about-yourself.html#%23http://uttambpt.blogspot.com/2008/07/hr1-tell-something-about-yourself.html#%23http://www.lntinfotech.com/http://uttambpt.blogspot.com/2008/07/interview-hr-questions.html
  • 8/8/2019 Explain about pointers

    2/3

    strength, all you need is to convert them into benefits. In short, try to advertise yourself by converting your features

    into strengths.Your answers can be : -1) I am a hard worker and because of this ability I can work for additional hours to accomplish

    my tasks.I am commitment oriented and hence I always enjoy the trust and confidence of my team mates whichenables me to perform my duties very easily.

    2) I am adaptable, so I can handle any type of people and situations and also bring out the best from them in spite ofconflicting situations or opinions. I am a quick learner, so I can any subject quickly and analyze my job and add

    value to it as well as I can identify the problem and solve them faster and better.3) My strength is that I have very strong values and ethics and a very good eye for detail. I believe in strong

    relationships and have a very supportive family and very good friends.4) Ive always been a great team player and therefore I can work efficiently to produce quality work in a teamenvironment.I can accomplish a large amount of work within a short period of time hence I get things done on time.

    Difference between Smart Worker and Hard Worker:"A hard worker always do right things but a smartworker always put things right."- If you are interviewed for a managerial position or for an admission ina MBA College,

    Your answer can be:Well, I believe I am good at planning and execution, and working with people. Ive always been goodat detailing all the steps too. Even in college, I used to spend time organizing my week and planning astrategy to tackle each class and assignment. I love working in a team environment where I try to usestrengths of each individual in a team and hence produce the best results.EVERYONE CLAIM THEY ARE HONEST, HARDWORKING, SMART AND SO ON.. BUT

    WITH AN EXAMPLE IT IS MUCH MORE BELIEVABLE.Tell me on the basis on which strength shouldwe select you?As an individual, I am a package of all my strengths that I have stated to you and I strongly believe that ifyou have to select me, you have to do so forall my strengths put togetherand not for one strength inisolation. However if you still insist that you would like to select me for a specific strength than theprerogative is yours sirCan You Work well Under Pressure?The best answer to this question is Yes.Working well under pressure is a good strength to have. But saying yes is not enough; you need toexplain how you can handle pressure situation to bring the best out of it. Tell the interviewer that you workthe same with pressure and without pressure.

    Your answers can be:1) Sir, I can handle pressure of work. Whenever there is pressure of work, we need to tackle it from themental and physical stand-point. Mental stand-point would mean being in a state of relaxation andcomposure so that I do not feel stressed out during the course of my work and from physical stand-point; Ialways prioritize myjobin their exact order of merit and importance so that I can dispose them off quicklyand effectively.2) I work well under pressure because I dont panic. I use the pressure to help me work more efficiently.I maintain self control and work as efficiently as possible. At times, I try to prioritize and plan as much as Ican.3) Working under pressure has always been a learning experience for me because it helps me grow. Ihave always worked well during deadline, and I always learned how to work more efficiently afterward.4) Well I believe I work the same if theres pressure or not. I try and take the emotional factors and workhard regardless of down time. I always prioritize and organize myworkand hence that gives me aPsychological advantage over pressure. At times whenever time becomes a constraint I put extra effort andtime to meet the deadline. So pressure has nothing to do with my work.SHORT TERM GOALS:My short term goal is to find a position where I can use the knowledge andstrength I have. I want to participate in the growth and success of the company I work for.I want to seemyself as a softwaredeveloperin your esteemed organization where by with all my skills and enhancedlearning I shall be able to make valuable and meaningful contribution to your organizationLONG TERM GOAL: My long term goal is to be an instructor. I have always loved to teach and hence I

    would like to grow newer employees and help co-workers where ever I can.FIVE YEARS FROM NOW: I see myself as a SeniorSoftware Engineerin your esteemed organizationwhere by with all my enhanced learning and skill, I shall be able to make up a valuable and meaningfulcontribution to your organization.2) Although I really enjoy working as a Software Engineer, I want toeventually become a manager. I want to continue gaining experience, and after learning many differentaspects, I see myself in management

    3)WHY SHOULD I HIRE YOU?There are two reasons I should be hired. Firstly, my qualifications match your needs perfectly. SecondlyIm excited and passionate about this industry and the position and will always give my 100%.

    Serial Communication using C#

    http://uttambpt.blogspot.com/2008/07/interview-hr-questions.htmlhttp://uttambpt.blogspot.com/2008/07/interview-hr-questions.htmlhttp://uttambpt.blogspot.com/2008/07/can-you-work-well-under-pressure.html#%23http://uttambpt.blogspot.com/2008/07/can-you-work-well-under-pressure.html#%23http://uttambpt.blogspot.com/2008/07/can-you-work-well-under-pressure.html#%23http://uttambpt.blogspot.com/2008/07/can-you-work-well-under-pressure.html#%23http://uttambpt.blogspot.com/2008/07/can-you-work-well-under-pressure.html#%23http://uttambpt.blogspot.com/2008/07/what-are-your-short-term-goals.html#%23http://uttambpt.blogspot.com/2008/07/what-are-your-short-term-goals.html#%23http://uttambpt.blogspot.com/2008/07/hr7-where-do-you-see-yourself-five.html#%23http://uttambpt.blogspot.com/2008/07/interview-hr-questions.htmlhttp://uttambpt.blogspot.com/2008/07/can-you-work-well-under-pressure.html#%23http://uttambpt.blogspot.com/2008/07/can-you-work-well-under-pressure.html#%23http://uttambpt.blogspot.com/2008/07/what-are-your-short-term-goals.html#%23http://uttambpt.blogspot.com/2008/07/hr7-where-do-you-see-yourself-five.html#%23
  • 8/8/2019 Explain about pointers

    3/3

    Introduction

    In this article, I will give you an introduction on how to do serial port communication on .NET platform using C#.

    The .NET framework version 2.0 (beta) provides features for serial communication. The framework providesSystem.IO.Ports namespace. The new framework provides classes with the ability to access the serial ports on a

    computer, and to communicate with serial I/O devices. We will be using RS 232 C standard for communication

    between PCs. In full duplex mode, here I am not going to use any handshaking or flow control, I will use null modemconnection for communication.

    The Namespace

    The System.IO.Ports namespace contains classes for controlling serial ports. The most important class is the

    SerialPort class.

    The SerialPort Class

    SerialPort class provides a framework for synchronous and event-driven I/O, access to pin and break states, and

    access to serial driver properties. It can be used to wrap Stream objects, allowing the serial port to be accessed byclasses that use streams. That is, SerialPort class represents a serial port resource.

    Creating SerialPort Object

    By creating an object of this type, we will be able to programmatically control all aspects of serial communication.

    The methods ofSerialPort class that we will use are:

    ReadLine(): Reads up to the NewLine value in the input buffer. If a New Line is not

    found before timeout, this method returns a null value.

    WriteLine(string): Writes the specified string and the New Line value to the output

    buffer. The written output includes the New Line string.

    Open(): Opens a new serial port connection.

    Close(): Closes the port connection.

    To create a SerialPort object, all we need to do is:

    Collapse | Copy Code

    //create a Serial Port object

    SerialPort sp = new SerialPort ();

    In all, there are seven public constructors for creating SerialPort. But I am using the parameter less constructor, the

    constructor uses default property values. For example, the value ofDataBits defaults to 8, and StopBits defaults

    to 1. The default communication port will be COM1.

    The public properties ofSerialPort class that we will use are:

    BaudRate: Gets or sets the serial baud rate.

    StopBits: Gets or sets the standard number of stopbits per byte.

    ReadTimeout: Gets or sets the number of milliseconds before a timeout occurs

    when a read operation does not finish.

    http://www.codeproject.com/KB/cs/serialcommunication.aspx#%23http://www.codeproject.com/KB/cs/serialcommunication.aspx#%23