how to present to an interview

Upload: sgurumanickam

Post on 02-Jun-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 How to Present to an Interview

    1/37

    Aricent possible interview questions and tips, Latest Group discussion Tips.Aricent Latest GDTopics, Aricent Latest Technical, HR, Job interview Questions, Aricent possibleJob interviewquestion, Common Techncal, HR Interview Question, Aricent Latest Selectionpattern, Companyprofile, Aricent Latest placement paper 2012, list of skills assessed during a groupdiscussion,Frequently Asked Questions / Doubts on GD,HR Interview Tips for IT company Campus recruitment 2012Most Common HR Interview Questions For IT and Non IT Jobs

    Tell me about yourself: -The most often asked question in interviews. You need to have a short statement prepared in your

    mind. Be

    careful that it does not sound rehearsed. Limit it to work-related items unless instructed otherwise.Talk

    about things you have done and jobs you have held that relate to the position you are interviewing

    for. Start

    with the item farthest back and work up to the present.

    What experience do you have in this field? -Speak about specifics that relate to the position you are applying for. If you do not have specific

    experience,

    get as close as you can.Do you consider yourself successful?You should always answer yes and briefly explain why. A good explanation is that you have set

    goals, and

    you have met some and are on track to achieve the others.

    What do co-workers say about you?Be prepared with a quote or two from co-workers. Either a specific statement or a paraphrase will

    work. Jill

    Clark, a co-worker at Smith Company, always said I was the hardest workers she had ever known.It is aspowerful as Jill having said it at the interview herself.

    What do you know about this organization?This question is one reason to do some research on the organization before the interview. Find out

    where

    they have been and where they are going. What are the current issues and who are the majorplayers?

    What have you done to improve your knowledge in the last year?Try to include improvement activities that relate to the job. A wide variety of activities can bementioned as

    positive self-improvement. Have some good ones handy to mention.

    Are you applying for other jobs? - Be honest but do not spend a lot of time in this area. Keep the

    focus on

  • 8/10/2019 How to Present to an Interview

    2/37

    this job and what you can do for this organization. Anything else is a distraction.

    Why do you want to work for this organization?This may take some thought and certainly, should be based on the research you have done on the

    organization. Sincerity is extremely important here and will easily be sensed. Relate it to yourlong-term

    career goals.

    Do you know anyone who works for us?Be aware of the policy on relatives working for the organization. This can affect your answer even

    though

    they asked about friends not relatives. Be careful to mention a friend only if they are well thought

    of.

    What kind of salary do you need?A loaded question. A nasty little game that you will probably lose if you answer first. So, do not

    answer it.

    Instead, say something like, Thats a tough question. Can you tell me the range for this position? Inmost

    cases, the interviewer, taken off guard, will tell you. If not, say that it can depend on the details ofthe job.

    Then give a wide range.

    Are you a team player?You are, of course, a team player. Be sure to have examples ready. Specifics that show you oftenperform

    for the good of the team rather than for yourself are good evidence of your team attitude. Do not

    brag, just

    say it in a matter-of-fact tone. This is a key point.

    How long would you expect to work for us if hired?Specifics here are not good. Something like this should work: Id like it to be a long time. Or As

    long as weboth feel Im doing a good job.

    Have you ever had to fire anyone? How did you feel about that?This is serious. Do not make light of it or in any way seem like you like to fire people. At the same

    time, youwill do it when it is the right thing to do. When it comes to the organization versus the individual

    who has

    created a harmful situation, you will protect the organization. Remember firing is not the same as

    layoff or

    reduction in force.What is your philosophy towards work?The interviewer is not looking for a long or flowery dissertation here. Do you have strong feelings

    that the

    job gets done? Yes. Thats the type of answer that works best here. Short and positive, showing a

    benefit to

    the organization.

    If you had enough money to retire right now, would you?Answer yes if you would. But since you need to work, this is the type of work you prefer. Do notsay yes if

  • 8/10/2019 How to Present to an Interview

    3/37

    you do not mean it.

    Have you ever been asked to leave a position? - If you have not, say no. If you have, be honest,brief and

    avoid saying negative things about the people or organization involved.

    Explain how you would be an asset to this organization?You should be anxious for this question. It gives you a chance to highlight your best points as they

    relate to

    the position being discussed. Give a little advance thought to this relationship.

    Why should we hire you?Point out how your assets meet what the organization needs. Do not mention any other candidates

    to make

    a comparison.Tell me about a suggestion you have made - Have a good one ready. Be sure and use a suggestion

    that

    was accepted and was then considered successful. One related to the type of work applied for is areal

    plus.

    What is your greatest strength?Numerous answers are good, just stay positive. A few good examples: Your ability to prioritize,

    Your

    problem-solving skills, Your ability to work under pressure, Your ability to focus on projects,Your

    professional expertise, Your leadership skills, Your positive attitude .

    Tell me about your dream job.?Stay away from a specific job. You cannot win. If you say the job you are contending for is it, you

    straincredibility. If you say another job is it, you plant the suspicion that you will be dissatisfied with this

    position ifhired. The best is to stay genetic and say something like: A job where I love the work, like the

    people, can

    contribute and cant wait to get to work.

    Aricent Latest Group discussion Tips. Aricent Latest GD Topics, Aricent Latest Technical, HR,Job interview

    Questions, Aricent possible Job interview question, Common Techncal, HR Interview Question,

    Aricent

    Latest Selection pattern, Company profile, Aricent Latest placement paper 2012, list of skills

    assessedduring a group discussion,Frequently Asked Questions / Doubts on GD,

    GD topics for IT company Campus recruitment 2012HOW TO HANDLE GROUP DISCUSSIONSMany companies conduct group discussion after the written test so as to check on your interactive

    skills

    and how good you are at communicating with other people. The GD is to check how you behave,

    participate and contibute in a group, how much importance do you give to the group objective as

    well asyour own, how well do you listen to viewpoints of others and how open-minded are you in

  • 8/10/2019 How to Present to an Interview

    4/37

    accepting views

    contrary to your own. The aspects which make up a GD are verbal communication, non-verbalbehaviour,

    conformation to norms, decision-making ability and cooperation. You should try to be as true aspossible to

    these aspects.

    Here is a sample list of skills assessed during a group discussion:Leadership skills:

    Example: To be able to initiate the group discussion, or to be able to guide the group especially

    when the

    discussion begins losing relevance or try to encourage all members to participate in the discussion.

    Communication skills:Example: To be able to use simple language and explain concepts clearly so that it is easily

    Interpersonal skills:

    Example: To remain cool even when someone provokes you by with personal comment, ability toremain

    objective, ability to empathize, non-threatening and more of a team player.Persuasive skills:

    Example: While appreciating someone elses point of view, you should be able to effectively

    communicate

    your view without overtly hurting the other person.Problem solving skills:

    Example: While thinking of solutions, dont be afraid to think of novel solutions. This is a high-

    risk highreturn

    strategy.

    Conceptualizing skills:Example: At the end of the discussion, you could probably summarize the findings in a few

    sentences thatpresent the overall perspective. Dont be disheartened if you dont make it after your first group

    discussion.

    The best possible preparation for a group discussion is to learn from ones past mistakes...

    Frequently Asked Questions / Doubts on GDWhat is the normal duration of a GD?

    A GD is generally of 15-20 minutes duration.

    How many panel members are there to evaluate?

    There are usually 3-4 panel members to evaluate.

    Is there time given for preparation after the topic is given and before starting the GD?Usually some time (2-5 minutes) is given to collect ones thoughts, but there could be instances

    when this

    does not happen, so it is best not to bank on this.

    Are the group members supposed to keep track of the time or will the panel keep track?

    It would be good if you are conscious of the time, but not to the point of getting so distracted

    looking at your

    watch that you do not contribute to the discussion.

    Probable GD TopicsAgrarian Economy in India-boon or bane

  • 8/10/2019 How to Present to an Interview

    5/37

    The following points could be discussed under this topic:

    Speaking for the topic one can argue the following- time and again it has made us self reliant infood. This

    increases our bargaining power tremendously in the world economy. Internally also food pricescan be kept

    low and this will have a direct bearing on inflation. This would bolster the economy and provide us

    freedomFrom world bodies and other nations.Against the topic-agrarian economy is at the mercy of climatic conditions. A bad summer ,

    monsoon, or

    winter could bring the nation down. It will have a spiral effect as increased prices will lead to

    inflation and

    problems associated with it. World bodies and other nations will dictate terms..etc....If there were no armies in the world......

    The following points could be discussed under this topic:

    Wishful thinking indeed! It would be the key element for world peace. There will be no instrumentto wage a

    war. It will also remove fear and distrust among various nations. We wont have a defence budget.This

    means more funds channelised into other productive areas. Reduced terrorism and very little

    separatist

    groupsBut the disadvantage could be imposition by one group, anarchy,laissez faire politics,

    lawlessness..etc..

    Do we need a global policeman?

    The role of some countries in "disciplining" others. Assuming on itself to decide what is right and

    what iswrong for the whole world. Bullying others into submission by its sheer economic power.

    Overriding thebrief of world bodies in world politics

    Suggest alternatives like more authority to world bodies like UN etc which is more representative

    of

    everyone's interests. More assertiveness to be shown by other nations to such policing nations .making

    more nations self reliant so that we have less of "Big Brother" Syndrome....etc.....

    US war on Iraq-justified or not.

    Role of UN in peacekeeping.

    Position of Women in India compared to other nations.Environment Management.

    Is China better than India in software.

    Should SONIA gandhi be made the PM

    BPOs in INDIA

    Govt contribution to IT

    Will punch lines rule the Advt

    Prematial sex

    Is China a threat to Indian industryIndia or West , which is the land of opportunities

  • 8/10/2019 How to Present to an Interview

    6/37

    Water resources should be nationalised

    Balance between Professionalism & FamilyEffect of cinema on Youth

    Education in India compared to Foreign nationsIs it necessary to ban COCOCOLA in India.

    What is the effect of movies on youth.(is it good or bad)

    Aricent latest free sample placement for Off and On campus recruitment forfresherengineers and other jobs, Aricent 100 and more technical questions with answers,Aricent C,C++,Databse, Datastructures aptitude reasoning time and work speddistance time average questionswith answers, Aricent latest sample placement paper written test examinationquestions withanswers,Aricent 2010,2011,2012,2013 previous years question , Aricent technical

    and hrinterview procedure, Aricent Group discussion previous years topics Aricentcampus recruitmenttips and tricks to crack Aricent examination, Aricent programming logicalquestions with answershttp://placement.freshersworld.com/placement-/Aricent 100 technical questions with answers1. What does static variable mean?Ans: Static variables are the variables which retain their values between thefunction calls. They areinitialized only once their scope is within the function in which they are defined.

    2. What is a pointer?Ans: Pointers are variables which stores the address of another variable. That variable may be a

    scalar(including another pointer), or an aggregate (array or structure). The pointed-to object may be part

    of a

    larger object, such as a field of a structure or an element in an array.

    3. What are the uses of a pointer?Ans: Pointer is used in the following cases

    i) It is used to access array elements

    ii) It is used for dynamic memory allocation.

    iii) It is used in Call by reference

    iv) It is used in data structures like trees, graph, linked list etc.4. What is a structure?

    Ans: Structure constitutes a super data type which represents several different data types in a single

    unit. A

    structure can be initialized if it is static or global.

    5. What is a union?

    Ans: Union is a collection of heterogeneous data type but it uses efficient memory utilization

    technique by

    allocating enough memory to hold the largest member. Here a single area of memory containsvalues of

  • 8/10/2019 How to Present to an Interview

    7/37

    different types at different time. A union can never be initialized.

    6. What are the differences between structures and union?Ans: A structure variable contains each of the named members, and its size is large enough to hold

    all themembers. Structure elements are of same size. A union contains one of the named members at a

    given

    time and is large enough to hold the largest member. Union element can be of different sizes.

    7. What are the differences between structures and arrays?

    Ans: Structure is a collection of heterogeneous data type but array is a collection of homogeneous

    data

    types.

    Array1-It is a collection of data items of same data type.

    2-It has declaration only

    3-.There is no keyword.4- array name represent the address of the starting element.

    Structure1-It is a collection of data items of different data type.

    2- It has declaration and definition

    3- keyword struct is used

    4-Structure name is known as tag it is the short hand notation of the declaration.8. In header files whether functions are declared or defined?

    Ans: Functions are declared within header file. That is function prototypes exist in a header file,not

    function

    bodies. They are defined in library (lib).

    9. What are the differences between malloc () and calloc ()?Ans: Malloc Calloc 1-Malloc takes one argument Malloc(a);where a number of bytes 2-memory

    allocatedcontains garbage values

    1-Calloc takes two arguments Calloc(b,c) where b no of object and c size of object

    2-It initializes the contains of block of memory to zerosMalloc takes one argument, memory

    allocatedcontains garbage values.

    It allocates contiguous memory locations. Calloc takes two arguments, memory allocated contains

    all

    zeros, and the memory allocated is not contiguous.

    http://placement.freshersworld.com/placement-/10. What are macros? What are its advantages and disadvantages?

    Ans: Macros are abbreviations for lengthy and frequently used statements. When a macro is called

    the

    entire code is substituted by a single line though the macro definition is of several lines. The

    advantage of

    macro is that it reduces the time taken for control transfer as in case of function. The disadvantage

    of it is

    here the entire code is substituted so the program becomes lengthy if a macro is called severaltimes.

  • 8/10/2019 How to Present to an Interview

    8/37

    11. Difference between pass by reference and pass by value?

    Ans: Pass by reference passes a pointer to the value. This allows the callee to modify the variabledirectly.Pass by value gives a copy of the value to the callee. This allows the callee tomodify the

    valuewithout modifying the variable. (In other words, the callee simply cannot modify the variable,

    since it lacks a

    reference to it.)

    12. What is static identifier?

    Ans: A file-scope variable that is declared static is visible only to functions within that file. A

    function-scope

    or block-scope variable that is declared as static is visible only within that scope. Furthermore,

    staticvariables only have a single instance. In the case of function- or block-scope variables, this means

    that the

    variable is not automatic and thus retains its value across function invocations.13. Where is the auto variables stored?

    Ans: Auto variables can be stored anywhere, so long as recursion works. Practically, theyre storedon the

    stack. It is not necessary that always a stack exist. You could theoretically allocate function

    invocation

    records from the heap.14. Where does global, static, and local, register variables, free memory and C Program

    instructions get

    stored?

    Ans: Global: Wherever the linker puts them. Typically the BSS segment on many

    platforms.Static: Again,wherever the linker puts them. Often, theyre intermixed with the globals. Theonly difference

    betweenglobals and statics is whether the linker will resolve the symbols across compilation units.Local:

    Typically

    on the stack, unless the variable gets register allocated and never spills.Register: Nowadays, these

    areequivalent to Local variables. They live on the stackunless they get register-allocated.

    15. Difference between arrays and linked list?

    Ans: An array is a repeated pattern of variables in contiguous storage. A linked list is a set of

    structures

    scattered through memory, held together by pointers in each element that point to the next element.With

    an array, we can (on most architectures) move from one element to the nextby adding a fixed

    constant to

    the integer value of the pointer. With a linked list, there is a next

    pointer in each structure which says what element comes next.

    16. What are enumerations?

    Ans: They are a list of named integer-valued constants. Example:enum color { black , orange=4,

    yellow,

    green, blue, violet };This declaration defines the symbols black orange yellow etc. to have

  • 8/10/2019 How to Present to an Interview

    9/37

    the values

    1,4,5, etc. The difference between an enumeration and a macro is that the enum actuallydeclares

    a type, and therefore can be type checked.

    http://placement.freshersworld.com/placement-/17. Describe about storage allocation and scope of global, extern, static, local and register

    variables?

    Ans:

    Globals have application-scope. Theyre available in any compilation unit that includes an

    appropriate

    declaration (usually brought from a header file). Theyre stored wherever the linker puts them,

    usually aplace called the BSS segment Extern?

    This is essentially global.Static: Stored the same place as globals, typically, but only available to

    thecompilation unit that contains them. If they are block-scope global, only available within that

    block and itssubblocks.

    Local: Stored on the stack, typically. Only available in that block and its subblocks. (Although

    pointers to

    locals can be passed to functions invoked from within a scope where that local is valid.)Register: See tirade above on local vs. register.The only difference is that the C compiler will

    not let

    you take the address of something youve declared as register

    18. What are register variables? What are the advantages of using register variables?

    Ans: If a variable is declared with a register storage class,it is known as register variable.Theregister

    variable is stored in the cpu register instead of main memory.Frequently used variables aredeclared as

    register variable as its access time is faster.

    19. What is the use of typedef?

    Ans: The typedef help in easier modification when the programs are ported to another machine. Adescriptive new name given to the existing data type may be easier to understand the code.

    20. Can we specify variable field width in a scanf() format string? If possible how?

    Ans: All field widths are variable with scanf(). You can specify a maximum field width for a given

    field by

    placing an integer value between the% and the field type specifier. (e.g. %64s). Such aspecifierwill still

    accept a narrower field width. The one exception is %#c (where # is an integer). This reads

    EXACTLY #

    characters, and it is the only way to specify a fixed field width with scanf().

    21. Out of fgets() and gets() which function is safe to use and why?

    Ans: fgets() is safer than gets(), because we can specify a maximum input length. Neither one is

    completely

    safe, because the compiler cant prove that programmer wont overflow the buffer he pass to fgets().

  • 8/10/2019 How to Present to an Interview

    10/37

    22. Difference between strdup and strcpy?

    Ans: Both copy a string. strcpy wants a buffer to copy into. strdup allocates a buffer usingmalloc(). Unlike

    strcpy(), strdup() is not specified by ANSI .23. What is recursion?

    Ans: A recursion function is one which calls itself either directly or indirectly it must halt at a

    definite point to

    avoid infinite recursion.

    24. Differentiate between for loop and a while loop? What are it uses?

    Ans: For executing a set of statements fixed number of times we use for loop while when the

    number of

    iterations to be performed is not known in advance we use while loop.

    http://placement.freshersworld.com/placement-/25. What is storage class? What are the different storage classes in C?

    Ans: Storage class is an attribute that changes the behavior of a variable. It controls the lifetime,scope and

    linkage. The storage classes in c are auto, register, and extern, static, typedef.26. What the advantages of using Unions?

    Ans: When the C compiler is allocating memory for unions it will always reserve enough room for

    the

    largest member.27. What is the difference between Strings and Arrays?

    Ans: String is a sequence of characters ending with NULL .it can be treated as a one dimensional

    array of

    characters terminated by a NULL character.

    28. What is a far pointer? Where we use it?Ans: In large data model (compact, large, huge) the address B0008000 is acceptable because in

    thesemodel all pointers to data are 32bits long. If we use small data model(tiny, small, medium) the

    above address wont work since in these model each pointer is 16bits long. If we are working in a

    small

    data model and want to access the address B0008000 then we use far pointer. Far pointer is alwaystreated as a 32bit pointer and contains a segment address and offset address both of 16bits each.

    Thus the

    address is represented using segment : offset format B000h:8000h. For any given memory address

    there

    are many possible far address segment : offset pair. The segment register contains the addresswhere the

    segment begins and offset register contains the offset of data/code from where segment begins.

    http://placement.freshersworld.com/placement-/29. What is a huge pointer?

    Ans: Huge pointer is 32bit long containing segment address and offset address. Huge pointers are

    normalized pointers so for any given memory address there is only one possible huge address

    segment:

    offset pair. Huge pointer arithmetic is doe with calls to special subroutines so its arithmetic slowerthan any

  • 8/10/2019 How to Present to an Interview

    11/37

    other pointers.

    30. What is a normalized pointer, how do we normalize a pointer?Ans: It is a 32bit pointer, which has as much of its value in the segment register as possible.Since a

    segment can start every 16bytes so the offset will have a value from 0 to F. for normalizationconvert the

    address into 20bit address then use the 16bit for segment address and 4bit for the offset address.

    Given a

    pointer 500D: 9407,we convert it to a 20bitabsolute address549D7,Which then normalized to

    549D:0007.

    31. What is near pointer?

    Ans: A near pointer is 16 bits long. It uses the current content of the CS (code segment) register(if

    thepointer is pointing to code) or current contents of DS (data segment) register (if the pointer is

    pointing to

    data) for the segment part, the offset part is stored in a 16 bit near pointer. Using near pointer limitsthe

    data/code to 64kb segment.32. In C, why is the void pointer useful? When would you use it?

    Ans: The void pointer is useful because it is a generic pointer that any pointer can be cast into and

    back

    again without loss of information.33. What is a NULL Pointer? Whether it is same as an uninitialized pointer?

    Ans: Null pointer is a pointer which points to nothing but uninitialized pointer may point to

    anywhere.

    34. Are pointers integer?

    Ans: No, pointers are not integers. A pointer is an address. It is a positive number.35. What does the error Null Pointer Assignment means and what causes this error?

    Ans: As null pointer points to nothing so accessing a uninitialized pointer or invalid location maycause an

    error.

    36. What is generic pointer in C?

    Ans: In C void* acts as a generic pointer. When other pointer types are assigned to generic pointer,conversions are applied automatically (implicit conversion).

    37. Are the expressions arr and &arr same for an array of integers?

    Ans: Yes for array of integers they are same.

    38. IMP>How pointer variables are initialized?

    Ans: Pointer variables are initialized by one of the following ways.I. Static memory allocation

    II. Dynamic memory allocation

    39. What is static memory allocation?

    Ans: Compiler allocates memory space for a declared variable. By using the address of operator,

    the

    reserved address is obtained and this address is assigned to a pointer variable. This way of

    assigning

    pointer value to a pointer variable at compilation time is known as static memory allocation.

    http://placement.freshersworld.com/placement-/

  • 8/10/2019 How to Present to an Interview

    12/37

    40. What is dynamic memory allocation?

    Ans: A dynamic memory allocation uses functions such as malloc() or calloc() to get memorydynamically. If

    these functions are used to get memory dynamically and the values returned by these function areassigned to pointer variables, such a way of allocating memory at run time is known as dynamic

    memory

    allocation.

    41. What is the purpose of realloc?

    Ans: It increases or decreases the size of dynamically allocated array. The function realloc (ptr,n)

    uses two

    arguments. The first argument ptr is a pointer to a block of memory for which the size is to be

    altered. Thesecond argument specifies the new size. The size may be increased or decreased. If sufficient space

    is not

    available to the old region the function may create a new region.42. What is pointer to a pointer?

    Ans: If a pointer variable points another pointer value. Such a situation is known as a pointer to apointer.

    Example:

    int *p1,**p2,v=10;

    P1=&v; p2=&p1;Here p2 is a pointer to a pointer.

    43. What is an array of pointers?

    Ans: if the elements of an array are addresses, such an array is called an array of pointers.

    44. Difference between linker and linkage?

    Ans: Linker converts an object code into an executable code by linking together the necessary builtin

    functions. The form and place of declaration where the variable is declared in a program determinethe

    linkage of variable.

    http://placement.freshersworld.com/placement-/45. Is it possible to have negative index in an array?Ans: Yes it is possible to index with negative value provided there are data stored in this location.

    Even if it

    is illegal to refer to the elements that are out of array bounds, the compiler will not produce error

    because C

    has no check on the bounds of an array.46. Why is it necessary to give the size of an array in an array declaration?

    Ans: When an array is declared, the compiler allocates a base address and reserves enough space in

    memory for all the elements of the array. The size is required to allocate the required space and

    hence size

    must be mentioned.

    47. What modular programming?

    Ans: If a program is large, it is subdivided into a number of smaller programs that are called

    modules orsubprograms. If a complex problem is solved using more modules, this approach is known as

  • 8/10/2019 How to Present to an Interview

    13/37

    modular

    programming.48. What is a function?

    Ans: A large program is subdivided into a number of smaller programs or subprograms. Eachsubprogram

    specifies one or more actions to be performed for the larger program. Such sub programs are called

    functions.

    49. What is an argument?

    Ans: An argument is an entity used to pass data from the calling to a called function.

    50. What are built in functions?

    Ans: The functions that are predefined and supplied along with the compiler are known as builtin

    functions.Theyarealsoknown aslibrary functions.

    http://placement.freshersworld.com/placement-/51. Difference between formal argument and actual argument?

    Ans: Formal arguments are the arguments available in the function definition. They are precededby their

    own data type. Actual arguments are available in the function call. These arguments are given asconstants

    or variables or expressions to pass the values to the function.

    52. Is it possible to have more than one main() function in a C program ?

    Ans: The function main() can appear only once. The program execution starts from main.53. What is the difference between an enumeration and a set of pre-processor # defines?

    Ans: There is hardly any difference between the two, except that #defines has a global

    effect(throughout

    the file) whereas an enumeration can have an effect local to the block if desired.Some advantages

    ofenumeration are that the numeric values are automatically assigned whereasin #define we have to

    explicitly define them. A disadvantage is that we have no control over the size of enumerationvariables.

    54. How are Structure passing and returning implemented by the complier?

    Ans: When structures are passed as argument to functions, the entire structure is typically pushed

    on thestack. To avoid this overhead many programmer often prefer to pass pointers to structure instead

    of actual

    structures. Structures are often returned from functions in a location pointed to by an extra,

    compilersupported

    hidden argument to the function.http://placement.freshersworld.com/placement-/55. IMP>what is the similarity between a Structure, Union and enumeration?

    Ans: All of them let the programmer to define new data type.

    56. Can a Structure contain a Pointer to itself?

    Ans: Yes such structures are called self-referential structures.

    57. How can we read/write Structures from/to data files?

    Ans: To write out a structure we can use fwrite() as Fwrite( &e, sizeof(e),1,fp);Where e is a

    structurevariable. A corresponding fread() invocation can read the structure back from file. calling fwrite()

  • 8/10/2019 How to Present to an Interview

    14/37

    it writes out

    sizeof(e) bytes from the address &e. Data files written as memory images with fwrite(),however,will not be

    portable, particularly if they contain floating point fields or Pointers. This is because memorylayout of

    structures is machine and compiler dependent. Therefore, structures written as memory images

    cannot

    necessarily be read back by programs running on other machine, and this is the important concern

    if the

    data files youre writing will ever be interchanged between machines.

    58. Write a program which employs Recursion?

    Ans: int fact(int n) { return n > 1 ? n * fact(n 1) : 1; }59.Write a program which uses Command Line Arguments?

    Ans:

    #includevoid main(int argc,char *argv[])

    {int i;

    clrscr();

    for(i=0;i

    printf(\n%d ,argv[i]);

    }

    60. Difference between array and pointer?

    Ans: array

    1- Array allocates space automatically

    2- It cannot be resized3- It cannot be reassigned4- sizeof (arrayname) gives the number of bytes occupied by the array.

    Pointer

    1-Explicitly assigned to point to an allocated space.

    2-It can be sized using realloc()

    3-pointer can be reassigned.

    4-sizeof (p) returns the number of bytes used to store the pointer variable p.

    http://placement.freshersworld.com/placement-/61. What do the c and v in argc and argv stand for?Ans: The c in argc(argument count) stands for the number of command line argument the

    program isinvoked with and v in argv(argument vector) is a pointer to an array of character string that

    contain the

    arguments.

    62. IMP>what are C tokens?

    Ans: There are six classes of tokens: identifier, keywords, constants, string literals, operators andother

    separators.63. What are C identifiers?

    Ans: These are names given to various programming element such as variables, function,

  • 8/10/2019 How to Present to an Interview

    15/37

  • 8/10/2019 How to Present to an Interview

    16/37

    3-conditional compilation

    http://placement.freshersworld.com/placement-/71. What are the two forms of #include directive?

    Ans:

    1.#include filename

    2.#include the first form is used to search the directory that contains the source file.If the search

    fails in the

    home directory it searches the implementation defined locations.In the second form ,the

    preprocessor searches the file only in the implementation defined locations.72. How would you use the functions randomize() and random()?

    Ans:Randomize() initiates random number generation with a random value.

    Random() generates random number between 0 and n-1;

    http://placement.freshersworld.com/placement-/73. What do the functions atoi(), itoa() and gcvt() do?

    Ans: atoi() is a macro that converts integer to character.

    itoa() It converts an integer to string

    gcvt() It converts a floating point number to string74. How would you use the functions fseek(), freed(), fwrite() and ftell()?

    Ans:fseek(f,1,i) Move the pointer for file f a distance 1 byte from location i. fread(s,i1,i2,f) Enter

    i2dataitems,each of size i1 bytes,from file f to string s.fwrite(s,i1,i2,f) send i2 data items,each of

    size i1 bytes

    from string s to file f.

    ftell(f) Return the current pointer position within file f. The data type returned for functions

    fread,fseek andfwrite is int and ftell is long int.75. What is the difference between the functions memmove() and memcpy()?

    Ans: The arguments of memmove() can overlap in memory. The arguments of memcpy()cannot.

    76. What is a file?

    Ans: A file is a region of storage in hard disks or in auxiliary storage devices.It contains bytes of

    information .It is not a data type.

    77. IMP>what are the types of file?

    Ans: Files are of two types

    1-high level files (stream oriented files) :These files are accessed using library functions2-low level files(system oriented files) :These files are accessed using system calls

    78. IMP>what is a stream?Ans: A stream is a source of data or destination of data that may be associated with a disk or

    other I/O

    device. The source stream provides data to a program and it is known as input stream. The

    destination

    stream eceives the output from the program and is known as output stream.79. What is meant by file opening?

    Ans: The action of connecting a program to a file is called opening of a file. This requirescreating an I/O

    stream before reading or writing the data.

  • 8/10/2019 How to Present to an Interview

    17/37

    http://placement.freshersworld.com/placement-/80. What is FILE?Ans: FILE is a predefined data type. It is defined in stdio.h file.

    81. What is a file pointer?Ans: The pointer to a FILE data type is called as a stream pointer or a file pointer. A file pointer

    points to the

    block of information of the stream that had just been opened.

    82. How is fopen()used ?

    83How is a file closed ?

    Ans: A file is closed using fclose() function Egfclose(fp); Where fp is a file pointer.

    84. What is a random access file?

    Ans: File can be accessed at random using fseek() function fseek(fp,position,origin); fp filepointer position

    number of bytes offset from origin origin 0,1 or 2 denote the beginning ,current position or end

    of filerespectively.

    85. What is the purpose of ftell ?Ans: The function ftell() is used to get the current file represented by the file pointer. ftell(fp);

    returns a long

    integer value representing the current file position of the file pointed by the file pointer fp.If an

    error occurs ,-1 is returned.

    86. What is the purpose of rewind() ?

    Ans: The function rewind is used to bring the file pointer to the beginning of the

    file.Rewind(fp);Where fp is

    a file pointer.Also we can get the same effect byfeek(fp,0,0);87. Difference between a array name and a pointer variable?

    Ans: A pointer variable is a variable where as an array name is a fixed address and is not avariable. A

    pointer variable must be initialized but an array name cannot be initialized. An array name being

    a constant value , ++ and operators cannot be applied to it.

    88. Represent a two-dimensional array using pointer?89. Difference between an array of pointers and a pointer to an array?

    Ans:

    Array of pointers

    1- Declaration is: data_type *array_name[size];

    2-Size represents the row size.3- The space for columns may be dynamically

    Pointers to an array

    1-Declaration is data_type ( *array_name)[size];

    2-Size represents the column size.

    http://placement.freshersworld.com/placement-/90. Can we use any name in place of argv and argc as command line arguments ?

    Ans: yes we can use any user defined name in place of argc and argv;

    91. What are the pointer declarations used in C?Ans:

  • 8/10/2019 How to Present to an Interview

    18/37

    1- Array of pointers, e.g , int *a[10]; Array of pointers to integer

    2-Pointers to an array,e.g , int (*a)[10]; Pointer to an array of into3-Function returning a pointer,e.g, float *f( ) ; Function returning a pointer to float

    4-Pointer to a pointer ,e.g, int **x; Pointer to apointer to int5-pointer to a data type ,e.g, char *p; pointer to char

    92. Differentiate between a constant pointer and pointer to a constant?

    Ans:

    const char *p; //pointer to a const character.

    char const *p; //pointer to a const character.

    char * const p; //const pointer to a char variable.

    const char * const p; // const pointer to a const character.

    http://placement.freshersworld.com/placement-/93. Is the allocated space within a function automatically deallocated when the function returns?

    Ans: No pointer is different from what it points to .Local variables including local pointers

    variables in afunction are deallocated automatically when function returns.,But in case of a local pointer

    variable,deallocation means that the pointer is deallocated and not the block of memory allocated to it.

    Memory

    dynamically allocated always persists until the allocation is freed or the program terminates.

    94. Discuss on pointer arithmetic?Ans:

    1- Assignment of pointers to the same type of pointers.

    2- Adding or subtracting a pointer and an integer.

    3-subtracting or comparing two pointer.

    4-incrementing or decrementing the pointers pointing to the elements of an array. When a pointerto an

    integer is incremented by one , the address is incremented by two. It is done automatically by thecompiler.

    5-Assigning the value 0 to the pointer variable and comparing 0 with the pointer. The pointer

    having

    address 0 points to nowhere at all.

    http://placement.freshersworld.com/placement-/95. What is the invalid pointer arithmetic?

    Ans:

    i) adding ,multiplying and dividing two pointers.

    ii) Shifting or masking pointer.iii) Addition of float or double to pointer.

    iv) Assignment of a pointer of one type to a pointer of another type

    96. What are the advantages of using array of pointers to string instead of an array of strings?

    Ans:

    i) Efficient use of memory.

    ii) Easier to exchange the strings by moving their pointers while sorting.

    97. Are the expressions *ptr ++ and ++ *ptr same?

    Ans: No,*ptr ++ increments pointer and not the value pointed by it. Whereas ++ *ptr incrementsthe value

  • 8/10/2019 How to Present to an Interview

    19/37

    being pointed to by ptr.

    98. What would be the equivalent pointer expression foe referring the same element as

    http://placement.freshersworld.com/placement-/99. Are the variables argc and argv are always local to main?Ans: Yes they are local to main.

    100. Can main () be called recursively?

    Ans: Yes any function including main () can be called recursively.

    101. IMP>Can we initialize unions?

    102. Whats the difference between these two declarations?

    103. Why doesnt this code: a[i] = i++; work?

    Ans: The subexpression i++ causes a side effect.it modifies is value.which leads to undefined

    behaviorsince i is also referenced elsewhere in the same expression.

    http://placement.freshersworld.com/placement-/104.WHy doesnt struct x { };105. Why cant we compare structures?

    Ans:There is no single, good way for a compiler to implement structure comparison which isconsistent with

    Cs low-level flavor. A simple byte-by-byte comparison could founder on random bits present in

    unused

    holes in the structure (such padding is used to keep the alignment of later fields correct). A

    field-by-field

    comparison might require unacceptable amounts of repetitive code for large structures.

    106. How are structure passing and returning implemented?

    Ans: When structures are passed as arguments to functions, the entire structure is typically

    pushed on thestack, using as many words as are required. Some compilers merely pass a pointer to thestructure, though

    they may have to make a local copy to preserve pass-by-value semantics. Structures are often

    returned

    from functions in a location pointed to by an extra,compilersupplied hidden argument to

    thefunction.Some older

    compilers used a special,static location for structure returns, although this made

    structure-valuedfunctions

    non-reentrant, which ANSI Cdisallows.Aricent latest selection procedure 2010,2011,2012 Aricent latest free solved sampleplacement , Aricent aptitude, reasoning, verbal ability, English written test examinationquestion with answers, Aricent technical and hr interview questions, Aricent off and oncampus recruitment procedure for fresher job, Aricent job interview questions, Aricent latestcompany profile Aricent over viewThe recruitment procedure was1. Written Test2. Group Discussion3. Tech and HR1. Written Test1.Online Written test

    S . . I 6 0 0

  • 8/10/2019 How to Present to an Interview

    20/37

    6 0

    S E C 1 : E ( 2 5 Q 2 5 ) M , , P , .

    S E C 2 : A ( 2 5 Q 3 5 ) , , , , & ,

    I

    .

    S E C 3 : P ( 2 5 Q 2 5 ) C D

    S E C 4 : L ( 2 5 Q 3 5 ) P , , .

    SEC 1: English (25 Ques - 25 min) -- Meanings, opposites, Passages, sentence ordering etc.

    L .

    K . I ,

    , .

    E . H ,

    .

    . L , R ,

    . N , R .

    I

    R

    K ? R

    , K . T I

    .

    K , ,

    .

    S R . S , .

    . I .

    I , R ;

    . , R ,

    , N

    . R .

    N , K . S . H ,

    R , , . H

    K . H

    .

    B K . S

    , ,

    .

    K . Q :

    1 K ?

    A .

  • 8/10/2019 How to Present to an Interview

    21/37

    B. unable to comprehend the decision of her husband

    C .

    D .

    2 A , ?

    A. dumbfounded

    B .

    C .

    D .

    3 I 2 , , H ,

    .

    ?

    A . ,

    B . ,

    C. denotation, characterized by the usage of the literal definition of a wordD . ,

    4 T ?

    A. a pun, where one word has two meanings that are both used at the same time

    B . ,

    C . ,

    D . ,

    5 K

    I . S .

    I I . R .

    I I I . S N .

    A. I only

    B . I I I

    C . I I I I

    D . I , I I , I I I

    6 I K ( 6 ) ,

    ?

    A. "Good idea."

    B . " D ' . "

    C . " I ' . "

    D . " I . " Q ( ) :

    7 K R ?

    A .

    B .

    C. strained

    D .

    8 R ?

    A . H .

    B . H I .

    C. He cares about cultural history.

    D . H .

    9 I 7 , , S R

  • 8/10/2019 How to Present to an Interview

    22/37

    . "

    ?

    A . S R .

    B . S R .

    C. She tried to entice Robert away from the direction he was heading.

    D . S R .

    1 0 A , ?

    A. honor

    B .

    C .

    D .

    1 1 I O P P O S I T E .

    Q U I E S C E N T

    A.ACTIVE B.DormantC.Weak D.UnconcernedA . A

    1 2 ) F R A U D U L E N T

    A.Candid B.DirectC.Forthright D.GenuineA . D

    1 3 ) B U S

    A.Occupied B.EngrossedC.Relaxed D.EngagedA . C

    I . T

    ( A ) , ( B ) , ( C ) ( D ) . O

    . F

    . T . I

    , ( E ) . . A

    .

    14Since petroleum products are taxed ( A ) ( B ) ( C )

    ( D )

    . A ( E )

    15Even though the proposal appearrs ( A ) ( B ) ( C )

    . ( D ) A ( E )

    16The Indian stock market has been one of the well ( A ) ( B ) ( C )

    ( D ) . A ( E )

    17Had the scheme been allowed ( A ) ( B ) ( C ) ( D )

    . A ( E )

    18People should constantly ( A ) ( B ) ( C )

    . ( D )

    A ( E )

    Aptitude (25 Ques - 35 min) -- logarithms, work, distance, discount, profit & loss, Interests

  • 8/10/2019 How to Present to an Interview

    23/37

    etc.

    1 I R . 5 , 5 R .

    3 0 0 . T

    ( 1 ) R . 1 5 ( 2 ) R . 2 0 ( 3 ) R . 2 5 ( 4 ) R . 3 0

    2 I 1 2 0 . I 6 0 4 0

    ?

    A : 4 8

    3 O D G . D

    . T , ,

    " " ( D , ) . T

    6 , 9 , 2 0 .

    ?

    4 8 2 1 4 6 1 1 ? 1 4 6 1 8 1 2

    6 ?

    ) 8 ) 9 ) 7 ) 5

    5 I 1 5 , 7 L , 8 G , 3 . H

    L G

    A . 0

    6 A , B , C , D E . A B , " I ,

    E I , D . " A B

    1 0 D E . I B C

    1 3 3 , B ?

    Ans-25

    7 I A + B A B ; A B A B A B A

    B . C M ?

    A . M N C + F

    B . F C + N M

    C . N + M F C

    D . M N C + F

    8 P , D , " H ' " .

    H D ?

    A . F

    B . G

    C . U

    D . B

    Ans-C

    9 T 5 , , , , .

  • 8/10/2019 How to Present to an Interview

    24/37

    4 ' .

    .

    ) 3 1

    ) 4

    ) 4

    ) 3 1 .

    , , ,

    1 0 .

    A . 3 0

    .

    3 0 .

    A .

    B . 3 0 .

    C . A .

    Ans-A,C

    1 1 A 3 . M . B 6 M . B

    8 M . B 1 2 . A 8 M . B M . B

    6 . H M . B

    ?

    A . 7

    B . 8

    C . 1 1

    D . 1 2

    A . C

    1 2 . 2 D

    1 6 / . A 4

    . T ?

    A . 3 0

    B . 4 0

    C . 5 8

    D . 6 0

    A . B

    1 3 . I 9 3 = 1 2 3 5 = 7 6 2 = ?

    A . 5

    B . 4

    C . 2

    D . 8

    A . D

    1 4 4

    ( 2 . = 1 . 4 . = 1 )

  • 8/10/2019 How to Present to an Interview

    25/37

    A . 1 6

    B . 2 4

    C . 3 0

    D . 6 4

    A . D

    1 5 I , = 2 + ,

    2 = 3

    A . 0

    B . 1

    C . 1

    D . 4

    A . B

    1 6 A 2 , 2 3 3 . . 1

    2 4 .

    . I 1 3 3 . . 2

    ,

    1 0 0 .

    A . R . 9 0

    B . R . 1 . 0 0

    C . R . 3 . 0 0

    D . R . 8 . 0 0

    A . C

    1 7 ) ?

    A.log10 10 = 1B.log (2 + 3) = log (2 x 3)

    C.log10 1 = 0D.log (1 + 2 + 3) = log 1 + log 2 + log 3A . B

    log8is equal to:log81 8 )

    A.1

    8B.14C.12D.18A . C

  • 8/10/2019 How to Present to an Interview

    26/37

    1 9

    If loga

    +logb= log (a + b), then:b aA.a + b = 1 B.a - b = 1C.a = b D.a2 - b2 = 1A . A

    2 0

    If log10 7 = a, then log101is equal to: 70

    A. - (1 + a) B. (1 + a)-1C.a10D.110aA . A

    2 1 ) I 2 = 0 . 3 0 1 0 , 8 0 :

    A.1.6020 B.1.9030

    C.3.9030 D.None of theseA . B

    2 6 ) F 4 3 , 9 1 1 8 3

    .

    A.4 B.7C.9 D.13A . A

    2 7 ) T H . C . F . 2 3 L . C . M . 1 3 1 4 .

    T

    :

    A.276 B.299C.322 D.345A . C

    2 8 ) S 2 , 4 , 6 , 8 1 0 1 2

    . I 3 0 , ?

    A.4 B.10C.15 D.162 9 ) S 2 , 4 , 6 , 8 1 0 1 2

    . I 3 0 , ?

    A.4 B.10C.15 D.16

  • 8/10/2019 How to Present to an Interview

    27/37

    A . D

    3 0 ) I 2 = 0 . 3 0 1 0 3 , 2 :

    A.18 B.19

    C.20 D.21A . C

    3 0 ) I x y = 1 0 0 x = 1 0 , y :

    A.210 B.2100C.21000 D.210000A . C

    Data structure

    1 .

    . * . & . . ?

    2 .

    . * . ! . & . ?

    3 . '

    . O ( ) . O ( ) . O ( 2 ) . O ( 2 )

    4 . 3 . . . . O ( 2 )

    . O ( ) . O ( ) . O ( 2 ) . O ( 2 )

    5 . &

    . A N D . O R . A N D . O R

    6 . ?

    . . . .

    7 . I 2 , 3

    ( ) ( )

    ( )

    ( )

    ( )

    1 ( )

    ?

    8 . ?

    L 4

    H : $

    M : * , /

    L : +

    H : * , /

    M : $

    L : +

    9 . ?

    1 0 . 4 , ?

    . 1 2 . 1 4 . 1 5 . 1 3

    C Questions

    1 . ( )

    = 3 2 ;

    ;

    ( = 0 ; < 5 ; I + + )

  • 8/10/2019 How to Present to an Interview

    28/37

    . . . . . . .

    ( % , ) ;

    . 5 . . . 3 2

    2 . ( )

    = 5 , = 6 , = 1 0 ;

    = = = ;

    ( 5 , ) ;

    . 0 . . 1 . 1 0

    3 . , ;

    ( )

    I ( )

    . ?

    . . . .

    4 . ( )

    = 1 ;

    ( % , + + ) ;

    ( )

    , ;

    ( = 0 , = 5 ; < 5 ; + + , )

    ( ) ;

    ( % % , , ) ;

    ?

    5 . T : H O

    6 . T

    7 . ' C ' ,

    )

    )

    ) .

    ) .

    ) .

  • 8/10/2019 How to Present to an Interview

    29/37

    A : ( )

    8 . 3 5 = 1 , 2 , 3 , 4 , 5 , 2 , 3 , 4 , 5 , 6 , 1 0 , 1 1 , 1 2 , 1 3 , 1 4 ;

    * = & ;

    ( % , * ( * ( + 1 ) + 3 ) ) ;

    9 . = 0 ;

    = ;

    ( % , ) ;

    .

    ) ) ) 0 )

    1 0 . A C N 3 C S M A / C D C S M A / C A .

    1 1 . ( ) .

    1 2 . ( )

    ( % , 1 ( 1 0 , 1 0 ) ;

    1 ( , )

    1 ( , )

    . G

    1 4 . ( )

    = 5 ;

    ( = 1 )

    ( , ) ;

    1

    1 5 . O . 1 0 1 1 1 0 0 0

    O 8 .

    1 6 . G

    = = 1 , = 4 , ,

    ?

    ( ) 4

    ( ) 5

    ( ) 6

    ( ) 1 1

    ( ) N

    1 7 . F C

    , , ;

    = = 6 ; = 2 ;

    = * ;

    ( " % " , ) ;

    1 8 . F C

    ( )

    ( < = 0 )

    ;

  • 8/10/2019 How to Present to an Interview

    30/37

    ( 1 ) + ;

    1 9 . F C

    = 2 0 , = 0 ;

    ( = 1 ; < ; = 1 + 4 * ( / ) )

    + = < 1 0 ? 4 : 3 ;

    ( " % " , ) ;

    2 0 . F C

    = 1 0

    ( )

    = 2 0 , ;

    ( = 0 ; < = ; )

    = 1 0 ;

    + + ;

    ( " % " , ) ;

    1 . ?

    2 . ?

    3 . Q ?

    4 . R S ?

    5 . . . O

    ?

    6 . , ?

    7 . T ?

    8 . . T ?

    9 , ?

    1 0 . S . E .

    1 1 . .

    1 2 . S ?

    1 3 . . E .

    1 4 . H I P 4 I P 6 .

    1 5 . D U D P T C P / I P .

    1 6 T ?

    1 7 D O S ?

    1 8 ?

    1 9 I P C ?

    2 0 ?

    2 1 D O S I ?

    2 2 I ?

    2 3 D ?

    2 4 ?

    A O S I ( I P , U D P , H T T P ,

    I G P ,

    T C P ) .

    T D .

  • 8/10/2019 How to Present to an Interview

    31/37

    2 5 D S ?

    2 6 D S ?

    2 7 H , Q ?

    2 8 Q ?

    2 9 A ( ) .

    3 0 Q J .

    ;

    P 1 ,

    Aricent latest selection procedure 2010,2011,2012 Aricent latest free solved sampleplacement, Aricent aptitude, reasoning, verbal ability, English written test examination question withanswers, Aricent technical and hr interview questions, Aricent off and on campusrecruitmentprocedure for fresher job, Aricent job interview questions, Aricent latest company profile

    Aricentover viewAricent recruitment process consists Writtent test, Group Discussion,Tehnical and HRInterviews1. enum number { a=-1, b=4, c,d,e,} what is the value of e?(A) 7 (B) 4 (C) 5 (D) 32. which of the following correctly declares My_var as a pointer to a function thatreturns anintegera. int*My_Var();b. int*(My_Var());

    c. int(*)My_Var();d. int(*My_Var)();3. There are 76 persons. 53 can read hindu,46 can read times,39 can read deccan and15 can readall.if 22 can read hindu and deccan and 23 can read deccan and times then what is thenumber ofpersons who read only times and hindu???Ans 184. in pure milk if 20% replaced by water and in this again 20% is replaced by water andagain20% is replaced by water then what is the praportion of milk in that mixture

    5. after 10 years A will be twice the age of B before 10 years.and now if the difference is9 yearsbetween them then what is the age of B after 10 yearsAns 496. What is the Result of the following 'VIK'||NULL||'RAM' ?a] Errorb] VIK RAMc] VIKRAMd] NULLAns : C7. What SYSTEM VARIABLE is used to refer DATABASE TIME ?

  • 8/10/2019 How to Present to an Interview

    32/37

    a] $$dbtime$$b] $$time$$c] $$datetime$$d] None of the aboveAns : A8. If m:n = 2:3,the value of 3m+5n/6m-n is(A) 7/3 (B) 3/7 (C) 5/3 (D) 3/59. A dog taken four leaps for every five leaps of hare but three leaps of the dog is equalto fourleaps of the hare. Compare speed?(A) 12:16 (B) 19:20 (C) 16:15 (D) 10:1210. What is true about the following C functions?(A) Need not return any value. (B) Should always return an integer.(C) Should always return a float. (D) Should always return more than one value.

    11.In simple interest what sum amounts of Rs.1120/- in 4 years and Rs.1200/- in 5 years?(A) Rs. 500(B) Rs. 600(C) Rs. 800(D) Rs. 90012. If a sum of money compound annually amounts of thrice itself in 3 years. In howmany yearswill it become 9 times itself.(A) 6(B) 8

    (C) 10(D) 1213. Two trains move in the same direction at 50 kmph and 32 kmph respectively. A manin theslower train observes the 15 seconds elapse before the faster train completely passes byhim.What is the length of faster train ?(A) 100m(B) 75m(C) 120m(D) 50m

    14. How many mashes are there in 1 square meter of wire gauge if each mesh is 8mmlong and5mm wide ?(A) 2500(B) 25000(C) 250(D) 25000015. void main(){ int i,j,k;for(i=0;i

  • 8/10/2019 How to Present to an Interview

    33/37

    k=sum(i,i);printf("\n%d",k);getch();}sum(s,t){static int m;m+=s+t;return m;}Ans: 616. What is the output of the programvoid main(){ int i,j,k,n=5;

    clrscr();for(i=5;i>0;i--){j=1j&2;printf("%d\n",k);if(++k && ++i

  • 8/10/2019 How to Present to an Interview

    34/37

    x=0;x

  • 8/10/2019 How to Present to an Interview

    35/37

    to thepost office i forgot how many of stamps of each type were to be brought . My mother hadgivenme rupees 3 . So i had no problem in finding out the exact amount of each one . Can youtell mewhich stamps were 5 in number , n whic were 6 in numberAns . 5 stamps each of 2paisa, 7 paisa, 15 paisa26. If all the picture cards are removed from a pack of cards, the sum of the values of theremaining isa) 55 b) 220 c) 54 d) 21627.One monkey climbs a poll at the rate of 6mts/min and fell down 3mts in thealternately.Length of the poll is 60 mtrs , how much time it will take to reach the top?a. 31 b.33 c.37 d.40 (ans: 37)

    28. Find the approximate value of the following equation. 6.23% of 258.43 - ? + 3.11% of127 =13.871) 22) 43) 84) 65) 1029. A train overtakes 2 persons walking at 3 km/hr and 5 km/hr respectively in the samedirectionand completely passes them in 8 seconds and 10 seconds respectively. Find the speed

    of the train.1) 15 km/hr2) 13 km/hr3) 10 km/hr4) 10 km/hr5) None of these30. The sum of a number and its square is 1406. What is the number?1) 382) 393) 374) 29

    5) None of these31. A man spends half of his salary on household expenses, 1/4th for rent, 1/5th fortravelexpenses, the man deposits the rest in a bank. If his monthly deposits in the bankamount 50,what is his monthly salary ?(A) Rs.500(B) Rs.1500(C) Rs.1000(D) Rs. 900

  • 8/10/2019 How to Present to an Interview

    36/37

  • 8/10/2019 How to Present to an Interview

    37/37

    printf("%d\n",k);if(++k && ++i