30 Basic Easy DBMS aptitude Questions 2019/20

We have added New DBMS Questions so check em out

Here are some great latest 2019 DBMS basic easy questions which will help u greatly in the interviews ahead so boys and girls say thanks to MNCPLACEMENT blog and remember you can get these updates before anyone else.

JUST DROP ur EMAIL ADDRESS IN THE TOP LEFT CORNER for daily updates

Great NEW DBMS QUESTIONS LINK 

2019 DBMS QUESTIONS LINK 1

2019 DBMS QUESTIONS LINK 2

Remember a lotta these questions with detailed explanation can be found At this Website


READ ANSWER and EXPLANATION

Top 3 ways to prepare for Interview

Google uses an internal software known as qDroid and it acts as google`s question generator kinda like the computer on who wants to be a millionaire.This is what sets them apart from other big companies and what sets Google apart. So how do you get prepared for the interview exactly here are 3 hacks to prepare for your interview:

1) Anticipation:

You know what makes footballers great its anticipating which shot will go where.So you can do the same and try to predict where the interviewer is going with his line of questioning and prepare urself beforehand. For example: If an interviewer is asking you about web design and about your project than you can anticipate that the google interviewer will ask you what problems you had in that project and what did you do to make solution to that problem and what was your learning from that project.Similarly if coding interview Google interviewer will ask what was code bugs you encountered and how you came up with solutions. You can try explaining a project, assignment, or situation that best demonstrates your analytical abilities.


READ ANSWER and EXPLANATION

Google Interview Process explained for beginners(Part 2)

Updated for 2026
The current version of this guide — verified for 2026 placement season — is on PapersAdda. Read the latest →
Okay so You got selected in Google and they now call you for an onsite round.Lets see what comes next and in 2016 this is happening in Google hiring for freshers and senior resources:

                                                          Read Part 1 here
So the process starts with usually 3 sometimes four Google interviewers and some functional questions which lasts around 30-50 minutes each so its a long time of grilling.It`s google hiring so you should be patient this is your dream company.

Now for Technical profiles (Engineers) They ask you a lot of questions on the area of your expertise and also test your knowledge on data structures and algorithm based questions.The interviewers are friendly and they just want to test your confidence.The questions have various ways in which they can be answered basically Google is a company which stresses on out of box problem solving so the more creative you are, the more chances of your job in Google.


READ ANSWER and EXPLANATION

Google Interview Process explained for beginners(Part 1)

Updated for 2026
The current version of this guide — verified for 2026 placement season — is on PapersAdda. Read the latest →

Also in 2016 we are witnessing Google using new techniques of hiring and recruiting is done as per a set pattern now:
Phone/Hangout Interviews :
IBM,Accenture,TCS,Cognizant,Genpact,RBS,American express among other companies usually conduct the initial round of interview over the telephone so that they can better gauge the candidate before bringing them in for a face to face at Google location.
 
Now the twist is in a telephonic round Technical(For B.Tech,B.E) hirings usually will last between 30-60 minutes.And the coding is shared via google doc( of course) with the interviewer and its real time so u can imagine its different than other companies.


READ ANSWER and EXPLANATION

8 Top INTERVIEW QUESTIONS

After the SATYAM scandal fiasco we bring you these top most asked interview questions so in case you get a call you should be well prepared for the Job Interview....!

Review these typical interview questions and think about how you would answer them. Read
the questions listed; you will also find some strategy suggestions with it.
1. 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.

2. Why did you leave your last job?

Stay positive regardless of the circumstances. Never refer to a major problem with
management and never speak ill of supervisors, co-workers or the organization. If you do,
you will be the one looking bad. Keep smiling and talk about leaving for a positive reason
such as an opportunity, a chance to do something special or other forward-looking reasons.

3. 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.

4. 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.

5. 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 as powerful as Jill having said it at the interview
herself.

6. 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 major players?

7. 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
be mentioned as positive self-improvement. Have some good ones handy to mention.

8. Are you applying for other jobs?

Be honest but do not spend a lot of time in this area. Keep the focus on this job and what
you can do for this organization. Anything else is a distraction.

Also check these top rated valued -> articles

Remember a lotta these questions with detailed explanation can be found At this Website


READ ANSWER and EXPLANATION

Top 7 resume tips every student must know!!


No single HR  recognises your background and experience best than yourself. Almost all engineers can acquire the fundamentals of their projects and experience  on paper in a thoughtful manner. What virtually all engineers who write their own resumes have trouble with is establishing that trust to the reader. Here are Top 7 killer tips to help you make your engineering resume get u a job....


 


1. Make perfectly certain your written document is error free. Any fault in a resume could frequently represent the killer cost between two closely paired prospects. Engineers are anticipated to be detail-oriented and so an fault in the engineering CV ponders seriously upon potential prospective operation.


2. Choose the most beneficial organisational format. Just about all resumes are composed in chronological  format, but that doesn't mean that the chronological option represents best for you. A compounding format could be best. The compounding format is..... equally well-balanced between skill set description, accomplishments, and employment history, with the reward being that projects could be highlighted for larger affect.


3. Come up with a balance between wordiness and deficiency of detail. Employers ask to see inside information about your work history and engineering experience, but they do not want to know everything. The truth that you were cricket captain in ur school is unsuitable. Keep info relevant to the destination of accomplishing an interview.


4. Think “achievements” instead of “job obligations”. What made you stick out from the herd? How did you bob up with a way to do things finer, more efficiently, or for little price? What gained rewards for you? Data such as these will constitute what makes you snap up attention and frame your engineering CV on the pinnacle of the heap.


5. Keep it positive. Reason for getting out of a job, setbacks, bombed openings, etcetera. Don't bear an position on a engineering resume. Employers are searching people who could chip in, deliver a optimistic attitude, are passionate, and have with success executed related job accomplishments in the bypast. Focus on conveying these issues and ward off any detracting info.


6. Take for granted that your CV will be looked at with an computer CRT screen instead of on a piece of paper. Most CVs are sent, obtained, and handled thru personal computer. That doesn't mean that the written document has to be drab and unworthy, visually. A lot of engineers who feature images or pics of project work have good success with creating a compact disc  portfolio of these images.


7.Remember, resumes don't bring forth jobs – people get jobs. CVs acquire interviews. Almost every 1st time employment interview* is channeled via call instead of personally as they wont to represent. Make certain you're braced oneself for that call once it comes. And make a point you've an engineering resume that will make the phone reverberate tringg tringg!



READ ANSWER and EXPLANATION

Explained C Aptitude Interview Questions Series-3

Here are Third batch of frequently asked C aptitude questions & these questions have proper answers given so mnc team suggest you should go over these Apptitude questions before your job interview


If u haven`t read C aptitude questions#1 & #2 in this excellent series then please do so before continuing


Q How can I implement a variable field width with printf? That is, instead of %8d, I want the width to be specified at run time.


A: printf("%*d", width, x) will do just what you want.


Q How can I print numbers with commas separating the thousands? What about currency formatted numbers?


A: The functions in begin to provide some support for these operations, but there is no standard routine for doing either task. (The only thing printf() does in response to a custom locale setting is to change its decimal-point character.)


Q What is wrong with this code?


char c;


while((c = getchar()) != EOF) ...


A: For one thing, the variable to hold getchar's return value must be an int. getchar() can return all possible character values, as well as EOF. By squeezing getchar's return value into a char, either a normal character might be misinterpreted as EOF, or the EOF might be altered (particularly if type char is unsigned) & so never seen.


Q Why does the code


while(!feof(infp)) {


fgets(buf, MAXLINE, infp);


fputs(buf, outfp);


}


copy the last line twice?


A: In C, end-of-file is only indicated *after* an input routine has tried to read, & failed. (In other words, C's I/O is not like Pascal's.) Usually, you should just check the return value of the input routine (in this case, fgets() will return NULL on end- of-file); often, you don't need to use feof() at all.


Q My program's prompts & intermediate output don't always show up on the screen, especially when I pipe the output through another program.


A: It's best to use an explicit fflush(stdout) whenever output should definitely be visible (& especially if the text does not end with \n). a lot of mechanisms attempt to perform the fflush() for you, at the "right time," but they tend to apply only when stdout is an interactive terminal.


Q How can I print a '%' character in a printf format string? I tried \%, but it didn't work.


A: Simply double the percent sign: %% .


\% can't work, because the backslash \ is the *compiler's* escape character, while here our problem is that the % is essentially printf's escape character.


Q Someone told me it was wrong to use %lf with printf(). How can printf() use %f for type double, if scanf() requires %lf?


A: It's true that printf's %f specifier works with both float & double arguments. Due to the "default argument promotions" (which apply in variable-length argument lists such as printf's, whether or not prototypes are in scope), values of type float are promoted to double, & printf() therefore sees only doubles. (printf() does accept %Lf, for long double.)


Q What printf format should I use for a typedef like size_t when I don't know whether it's long or some other type?


A: Use a cast to convert the value to a known, conservatively- sized type, then use the printf format matching that type. For example, to print the size of a type, you might use


printf("%lu", (unsigned long)sizeof(thetype));


Q Why doesn't the call scanf("%d", i) work?


A: The arguments you pass to scanf() must always be pointers. To fix the fragment above, change it to scanf("%d", &i) .


+Some Great DBMS aptitude Questions


+Exhaustive collection of Operating System Concepts


+All the C apptitude questions You want

Remember a lotta these questions with detailed explanation can be found At this Website


READ ANSWER and EXPLANATION

Latest C aptitude DBMS questions and Quantitative aptitude Questions


Here are some frequently asked C aptitude questions & these questions have proper answers given so mnc team suggest you should go over these Apptitude questions before your job job interview.


 


Q How do you decide that integer type to use?


Q What should the 64-bit type on a machine that can support it?


Q What is the best way to declare & define global variables & functions?


Q What does extern mean in a function declaration?


And Many more Such Questions are available On our Excellent C Aptitude Questions Site


 


We have Featured several C aptitude questions in march & quntitative questions also so do check them out.


Remember a lotta these questions with detailed explanation can be found At this Website


READ ANSWER and EXPLANATION

Excellent Sql Aptitude questions


Sql Apptitude Very neat collection

Q. What will be the output of the following query? SELECT  DECODE(TRANSLATE('A','1234567890','1111111111'), '1','YES', 'NO' );
Answer :    NO.
Explanation : 
The query checks whether a given string is a numerical digit. 


 Q. What command is used to create a table by copying the structure of another table?  Q. What will be the output of the following query? 
 Q. What does the following query do?
Q. What is the difference between TRUNCATE & DELETE commands? For answers Go Here

For more Sql Questions we suggest you come back to the original site(mncplacement)& check out more sql questions asked in 2019/2020.

More C/C++ Aptitude Questions

More Excellent SQL QUESTIONS collection



Remember a lotta these questions with detailed explanation can be found At this Website


READ ANSWER and EXPLANATION

Placement preparation: C aptitude questions


Great C Aptitude Questions for placement preparations



Q Does C have boolean variable type?



Q Where may variables be defined in C?



Q What does the typedef keyword do?



Q What is the difference between constants defined through #define & the constant keyword?



Q What are Trigraph characters?


Q How are floating point numbers stored? Whats the IEEE format?



Q. When should the register modifier be used?



Q. When should a type cast be used?



Q. Can structures be assigned to variables & passed to & from functions?


Q What is the difference between the declaration & the definition of a variable?.


Q Do Global variables start out as zero?




  • Q To what does the term storage class refer? What are auto, static, extern, volatile, const classes?

GET THE ANSWERS to these APTITUDE questions HERE
Remember a lotta these questions with detailed explanation can be found At this Website


READ ANSWER and EXPLANATION

Here`s an sql aptitude questions collection ( quite easy)


Here Are More Sql aptitude questions



as we were asked by several of our readers for Sql related questions for aptitude preparations & sql questions are asked a lot in placement papers so if u have any requests email us (kusumm14@yahoo.com)



Q. What is the use of the DROP option in the ALTER TABLE comm&?


It is used to drop constraints specified on the table.



Q. What is the value of ‘comm’ & ‘sal’ after executing the following query if the initial


value of ‘sal’ is 10000?


UPDATE EMP SET SAL = SAL + 1000, COMM = SAL*0.1;


sal = 11000, comm = 1000 .


Q. Why does the following comm& give a compilation error?


DROP TABLE &TABLE_NAME;


Variable names should start with an alphabet. Here the table name starts with an '&' symbol.



Q. What is the advantage of specifying WITH GRANT OPTION in the GRANT comm& in sql?


The privilege receiver can further grant the privileges he/she has obtained from the owner to any other user.



Q. What is the use of DESC in SQL?


Answer :


DESC has two purposes. It is used to describe a schema as well as to retrieve rows from table in descending order.


Explanation :


The query SELECT * FROM EMP ORDER BY ENAME DESC will display the output sorted on ENAME in descending order.



Q. What is the use of CASCADE CONSTRAINTS?


When this clause is used with the DROP comm&, a parent table can be dropped even when a child table exists.



 


READ ANSWER and EXPLANATION

Great Basic SQL aptitude Questions


Some SQL Aptitude questions


Q  Which  is  the  subset  of  SQL  commands  used  to  manipulate  Oracle  Database
structures, including tables?
Q  What operator performs pattern matching?
Q  What operator tests column for the absence of data?
Q  Which command executes the contents of a specified file?
Q  What is the parameter substitution symbol used with INSERT INTO command?
Q  Which command displays the SQL command in the SQL buffer, and then executes it?.


Q.  What are the wildcards used for pattern matching?
Q  State true or false. EXISTS, SOME, ANY are operators in SQL.
Q  State true or false. !=, <>, ^= all denote the same operation.
Q. What are the privileges that can be granted on a table by a user to others?


For Answers Click HERE
 

Remember a lotta these questions with detailed explanation can be found At this Website


READ ANSWER and EXPLANATION

Top Sorting questions most asked in interviews in 2019

Here are some great Sorting questions which will help u in your interviews

1 .In a selectionsort of n elements, how many times is the swap function called in the complete execution of the algorithm?

A. 1
B. n - 1
C. n log n
D. n^2.

Solution: B. n-1


2 .Selectionsort and quicksort both fall into the same category of sorting algorithms. What is this category?

* A. O(n log n) sorts
* B. Divide-and-conquer sorts
* C. Interchange sorts
* D. Average time is quadratic.

Solution: C.Interchange sorts reason:Selection sort is not O(n log n) and not a Divide-conquer sort too and Average time of quicksort is not quadratic.
3 . Suppose that a selectionsort of 100 items has completed 42 iterations of the main loop. How many items are now guaranteed to be in their final spot (never to be moved again)?

* A. 21
* B. 41
* C. 42
* D. 43


Solution: C. 42

4 .Suppose we are sorting an array of ten integers using a some quadratic sorting algorithm. After four iterations of the algorithm's main loop, the array elements are ordered as shown here:

1 2 3 4 5 0 6 7 8 9

Which statement is correct? (Note: Our selection sort picks largest items first.)

* A. The algorithm might be either selection sort or insertion sort.
* B. The algorithm might be selectionsort, but could not be insertionsort.
* C. The algorithm might be insertionsort, but could not be selectionsort.
* D. The algorithm is neither selectionsort nor insertionsort.

Solution: C. The algorithm might be insertion sort, but could not be selection sort.

5 .Suppose we are sorting an array of eight integers using a some quadratic sorting algorithm. After four iterations of the algorithm's main loop, the array elements are ordered as shown here:

2 4 5 7 8 1 3 6

Which statement is correct? (Note: Our selectionsort picks largest items first.)

* A. The algorithm might be either selectionsort or insertionsort.
* B. The algorithm might be selectionsort, but it is not insertionsort.
* C. The algorithm is not selectionsort, but it might be insertionsort.
* D. The algorithm is neither selectionsort nor insertionsort.

Solution: C. The algorithm is not selectionsort, but it might be insertionsort.

6 .When is insertionsort a good choice for sorting an array?

* A. Each component of the array requires a large amount of memory.
* B. Each component of the array requires a small amount of memory.
* C. The array has only a few items out of place.
* D. The processor speed is fast.

Solution: C. The array has only a few items out of place.

7 What is the worst-case time for mergesort to sort an array of n elements?

* A. O(log n)
* B. O(n)
* C. O(n log n)
* D. O(n^2)

Solution : C. O(n log n)

8 What is the worst-case time for quicksort to sort an array of n elements?

* A. O(log n)
* B. O(n)
* C. O(n log n)
* D. O(n^2)

Solution: D. O(n^2)

9 .Mergesort makes two recursive calls. Which statement is true after these recursive calls finish, but before the merge step?

* A. The array elements form a heap.
* B. Elements in each half of the array are sorted amongst themselves.
* C. Elements in the first half of the array are less than or equal to elements in the second half of the array.
* D. None of the above.

Solution: B. Elements in each half of the array are sorted amongst themselves.

10 .Suppose we are sorting an array of eight integers using quicksort, and we have just finished the first partitioning with the array looking like this:

2 5 1 7 9 12 11 10

Which statement is correct?

* A. The pivot could be either the 7 or the 9.
* B. The pivot could be the 7, but it is not the 9.
* C. The pivot is not the 7, but it could be the 9.
* D. Neither the 7 nor the 9 is the pivot.

Solution: A. The pivot could be either the 7 or the 9.


For More Such Sorting aptitude Questions see this WEBSITE

Remember a lotta these questions with detailed explanation can be found At this Website


READ ANSWER and EXPLANATION

Top 5 BSNL India JTO forthcoming exam placement papers 2019


We bring you unique BSNL India telecom placement papers 2019/20 and BSNL India aptitude questions and BSNL India HR questions for your preparations.Keep checking our site and dont forget to put ur email in top left box for daily updates of BSNL India and other questions.Check these questions as they will help you in other companies technichal rounds as well….. so here are the BSNL India previous test papers links:.
  




  • BSNL placement paper for 2018 preparation chennai



  • Latest BSNL placement paper mumbai 2019 



  • Latest Technical BSNL placement questions 2017 north



  • Selected BSNL placement paper questions bangalore

  • Some TCS papers HERE  

    2020 JTO exam will be conducted by BSNL very soon so if u want to be a bsnl engineer then u should prepare the bsnl jto  exams which we have provided above


    Remember a lotta these questions with detailed explanation can be found At this Website

    Remember a lotta these questions with detailed explanation can be found At this Website


    READ ANSWER and EXPLANATION

    New SAPIENT DBMS Preparation Questions

    Here are some Very easy DBMS placement questions for various papers...

    Q. What is an Entity?
    It is a 'thing' in the real world with an independent existence.

    Q. What is an Entity type?
    It is a collection (set) of entities that have same attributes.


    See the rest of these questions and more great Aptitude questions HERE


    Remember a lotta these questions with detailed explanation can be found At this Website


    READ ANSWER and EXPLANATION

    Some Great DBMS Questions for sapient 2019 interview




    Here are some great DBMS basic easy questions which will help u greatly in the interviews ahead so boys and girls say thanks to MNCPLACEMENT blog and remember you can get these updates before anyone else.

    JUST DROP ur EMAIL ADDRESS IN THE TOP LEFT CORNER for daily updates

    2019 DBMS QUESTIONS LINK 1

    2019 DBMS QUESTIONS LINK 2


    READ ANSWER and EXPLANATION

    21 Easy Ibm aptitude placement Questions for 2020


    Ibm aptitude placement paper



    1. In 1978, a kg of paper was sold at Rs25/-.If the paper rate increases at 1.5% more than the inflation rate which is 6.5% a year, then what wil be the cost of a kg of paper after 2 years?

    (a) 29.12

    (b) 29.72

    (c) 30.12

    (d) 32.65

    (e) none of these



    2. If a car starts from A towards B with some velocity.Due to some problem in the engine after travelling 30km, the car goes with 4/5 th of its actual velocity.The car reaches B 45 min later to the actual time.If the car engine fails ofter travelling 45km, the car reaches the destination B 36 min late to the actual time.What is the initial velocity of car & what is the distance between A & B in km

    Ans. 20 & 130.

    3. In A,B,C are having some marbles with each of them. A has given B & C the same number of marbles each of them already have.Then, B gave C & A the same number of marbles they already have.Then C gave A & B the same number of marbles they already have.At the end A,B,& C have equal number of marbles.

    (i) If x,y,z are the marbles initially with A,B,C respectively.

    Then the number of marbles B have at the end

    (a) 2(x-y-z)

    (b) 4(x-y-z)

    (c) 2(3y-x-z)

    (d) x + y-z

    Ans. (c)



    (ii) If the total number of marbles are 72, then the number of marbles with A at the starting

    (a) 20

    (b) 30

    (c) 32

    (d) 39

    Ans. (d)



    4. A person has Rs 100/- in his pocket, he can as 25 pencils or 15 books.He kept 15% of the money for travelling expenses & purchased 5 pencils.So how many books he can purchase with the remaining money.

    5. 10 Questions on analogies.

    eg: chief : tribe :: governer : state

    epaulette : shoulder :: tiara : head

    guttural : throat :: gastric : stomach

    inept : clever :: languid : active

    knife : butcher ::

    hammer : carpenter ::



    6. The values of shares (in Rs).of A, B & C from January to June are as follows.

    Month


    A


    B


    C

    January


    30


    60


    80

    February


    35


    65


    85

    March


    45


    75


    65

    April


    40


    75


    82

    May


    55


    75


    85

    June


    50


    75


    80

    i) During this period which share has undergone maximium fluctuation?

    ii) In which month it is possible to buy B & C selling A?

    iii) In which month the share values are very low?

    iv) By purchasing one share of A & 4 each of B & C in the beginning of the period, when should these be sold to get maximum profit?



    7. In a computer institute 9 languages can be taught.The module is of 6 months duration & of the six languages only one can be taught each month.In addition to that BASIC is always taught & should be in first month itself.

    WORD PERFECT is to be taught in the preceeding week of WORD STAR.

    FORTRAN can not be taught until COBAL is taught prior to that.

    BINO, FIFO can never be taught in single module.

    Languages are BASIC, WORD STAR, WORD PERFECT, FORTRAN, COBAL, BINO, FIFO, LOTUS, C.

    i) If word star is in 3rd month , what could be in 6th month.

    ii) If COBAL is in the 2nd month & BINO in 6th month. FORTRAN will be taught in which month.



    8. In a class, except 18 all are above 50 years.15 are below 50 years of age. How many people are there?

    (a) 30

    (b) 33

    (c) 36

    (d) none of these.

    Ans. (d)



    9. A square plate of some size is cut at four corners. Equal squares of the same size are cut & is formed as open box.If this open box carries 128 ml of oil. What is the size of the side of the plate?

    (a) 17

    (b) 14

    (c) 13

    (d) None of these



    10. In a square, all the mid points are joined. The inner square is shaded.

    If the area of the square is A, what is the area of the shaded area?

    11. Two questions on basic angles i.e given a circle, a few chords or diameter is drawn etc.



    12. If the follwoing statements are given

    @(a,b)= (a+b)/2

    /(a,b)= a/b

    *(a,b)= ab

    If a=1, b=2 then find

    i) /(a,(@(a,b),*(a,b)))

    ii) */(a,@(*(a,b)))

    16. In UNIX a files i-node ......?

    Ans. Is a data structure that defines all specifications of a file like the file size, number of lines to a file, permissions etc.



    17. The UNIX shell ....

    a) does not come with the rest of the system

    b) forms the interface between the user & the kernal

    c) does not give any scope for programming

    d) deos not allow calling one program from with in another

    e) all of the above

    Ans. (b)



    18. enum number { a=-1, b= 4,c,d,e}

    What is the value of e ?

    (a) 7

    (b) 4

    (c) 5

    (d) 15

    (e) 3



    19. The very first process created by the kernal that runs till the kernal process is halts is

    a) init

    b) getty

    c) both (a) & (b)

    d) none of these

    Ans. (a)



    20. Output of the following program is

    main()

    {int i=0;

    for(i=0;i<20;i++)

    {switch(i)

    case 0:i+=5;

    case 1:i+=2;

    case 5:i+=5;

    default i+=4;

    break;}

    printf("%d,",i);

    }

    }

    a) 0,5,9,13,17

    b) 5,9,13,17

    c) 12,17,22

    d) 16,21

    e) Syntax error

    Ans. (d)



    21. What is the ouptut in the following program?

    main()

    {char c=-64;

    int i=-32

    unsigned int u =-16;

    if(c>i)

    {printf("pass1,");

    if(c

    printf("pass2");

    else

    printf("Fail2");

    }

    else

    printf("Fail1);

    if(i

    printf("pass2");

    else

    printf("Fail2")

    }

    a) Pass1,Pass2

    b) Pass1,Fail2

    c) Fail1,Pass2

    d) Fail1,Fail2

    e) None of these

    Ans. (c)

    Remember a lotta these questions with detailed explanation can be found At this Website


    READ ANSWER and EXPLANATION

    Easy Hcl C Programming Aptitude Questions for 2020 preparation

    Today we bring you some interesting as well as very very easy C programming questions which have been selected from various tests around the country which HCL company conducted in 2017 and which will help u prepare for 2018 papers

    Here are the Aptitude QUESTIONS link
    Easy Hcl C Programming Aptitude Questions


    READ ANSWER and EXPLANATION

    How to multiply the success rate in Interviews (MUST READ 2020)


    What is your success rate in interviews? Have you ever noticed that your friends, colleagues who have been underperforming than you somehow manage to get a job smoothly. But even though your academic and technical qualification are far better than many people, you just keep on struggling to get your dream jobs, Here are few interview tips to help you smoothen your job search, make use of it.

    1.Relax and appear prepared

    You should give your interviewer the impression that you are well prepared for the interview and the only way to look prepared is to be prepared. Do not look or feel nervous, stay relaxed and focused.

    2. Be spontaneous

    Be comfortable with yourself. Your answers to interview questions should always come out well prepared but not to the point of sounding scripted.

    3. Set your objectives

    At the end of the interview, you should let your interviewer know your work experience, talents, skills, capabilities and the things you can offer for the company.


    4. Get the logic of every question

    In general, all interview questions boil down to as to why a company should hire you. All your responses should reflect the answer to the question "why would we hire you for this specific job?"

    5. Thank you letter

    It would be a good idea to write a thank you letter, this would help market yourself and to stand out among other applicants.

    6. Have an idea of the agenda of your interviewer

    You should justify why a company should hire you. Most interviews are designed to see if you are equipped for the job and can work harmoniously with a team.

    7. Create a quick list of possible interview questions

    Most interviews would begin with "tell me more about yourself". You should be prepared to answer this simple question as well as other common interview questions you can think of.

    8. Watch your body language

    Body movements and facial expression count a lot during interviews. Make eye contact and be conscious of your body language all the time.

    9. Be aware of trap questions

    There are a lot of trick questions that can arise during interviews. One of which is the salary issue. It would be wise not to give a figure, but a broad estimate of your work value. It would be a good idea to let them know that your fee would immensely depend on the nature of the project at hand.

    10. Keep yourself in a positive frame of mind

    Always be positive in all your answers. If you are asked why you quit your previous job, let them know that you are looking for career growth. Never badmouth the management, your superiors or co-workers from your recent company


    these tips will help u lots in the job interview  process Aptitude Preparation Website

    Remember a lotta these questions with detailed explanation can be found At this Website


    READ ANSWER and EXPLANATION

    Here, At Last…C C++ Satyam Aptitude questions frequently asked

     Most FAQ C C++ Satyam Aptitude questions








    1. Different types of polymorphism?


      1. types related by inheritance as polymorphic types because we can use many forms of a derived or base type interchangeably

      2. only applies to ref or ptr to types related by inheritance.

      3. Inheritance - lets us define classes that model relationships among types, sharing what is common and specializing only that which is inherently different


      4. derived classes


        1. can use w/o change those operations that dont depend on the specifics of the derived type

        2. redefine those member functions that do depend on its type

        3. derived class may define additional members beyond those it inherits from its base class.

      5. Dynamic Binding - lets us write programs that use objects of any type in an inheritance hierarchy w/o caring about the objects specific types

      6. happens when a virtual function is called through a reference || ptr to a base class

      7. The fact that a reference or ptr might refer to either a base or derived class object is the key to dynamic binding

      8. calls to virtual functions made though a reference/ptr resolved @ runtime

      9. the function that is called is the one defined by the actual type of the object to which ref/ptr refers

    2. How to implement virtual functions in C - keep function pointers in function and use those function ptrs to perform the operation


    3. What are the different type of Storage classes?


      1. automatic storage: stack memory - static storage: for namespace scope objects and local statics

      2. free store: or heap for dynamically allocated objects == design patterns


    4. What is a namespace?


      1. every name defined in a global scope must be unique w/in that scope

      2. name collisions: same name used in our own code or code supplied to us by indie producers == namespace pollution

      3. name clashing - namespace provides controlled mechanism for preventing name collisions

      4. allows us to group a set of global classes/obj/funcs

      5. in order to access variables from outside namespace have to use scope :: operator

      6. using namespace serves to assoc the present nesting level with a certain namespace so that objectand funcs of that namespace can be accessible directly as if they were defined in the global scope

    5. Types of STL containers - containers are objects that store other objects and that has methods for accessing its elements - has iterator - vector

    6. Difference between vector and array - -array: data structure used dto store a group of objects of the same type sequentially in memory - vector: container class from STL - holds objects of various types - resize, shrinks grows as elements added - bugs such as accessing out of bounds of an array are avoided

    7. Write a program that will delete itself after execution. Int main(int argc, char **argv) { remove(argv[0]);return 0;}


    8. What are inline functions?


      1. treated like macro definitions by C++ compiler

      2. meant to be used if there's a need to repetitively execute a small block if code which is smaller

      3. always evaluates every argument once

      4. defined in header file

      5. avoids function call overload because calling a function is slower than evaluating the equivalent expression

      6. it's a request to the compiler, the compiler can ignore the request

    9. What is strstream? defines classes that support iostreams, array of char obj


    10. Passing by ptr/val/refArg?


      1. passing by val/refvoid c::f(int arg) – by value arg is a new int existing only in function. Its initial value is copied from i. modifications to arg wont affect the I in the main function

      2. void c::f(const int arg) – by value (i.e. copied) the const keyword means that arg cant be changed, but even if it could it wouldnt affect the I in the main function

      3. void c::f(int& arg) - -by reference, arg is an alias for I. no copying is done. More efficient than methods that use copy. Change in arg == change in I in the calling function

      4. void c::f(const int& arg) - -by reference, int provided in main call cant be changed, read only. Combines safety with efficacy.

      5. void c::f(const int& arg) const – like previous but final const that in addition the function f cant change member variables of cArg passing using pointers

      6. void c::f(int *arg) – by reference changing *arg will change the I in the calling function

      7. void c::f(const int *arg) – by reference but this time the I int in the main function cant be changed – read only

      8. void c::f(int * const arg) – by reference the pointer arg cant be changed but what it points to (namely I of the calling function) can

      9. void c::f(const int * const arg) by reference the pointer arg cant be changed neither can what it points to


    READ ANSWER and EXPLANATION
    Take Advantage Of 25 of the finest Articles to help u prepare for the Placement Papers and Interview questions
    You’d Never Guess How easy it is to get a job after reading these placement preparation articles

    Here are 25 Placement Preparation Articles


    "IMPORTANT NOTE"
    We Update our site frequently and we want to keep you guys informed so enter your email in the top left hand box and click subscribe,so that whenever we post new papers it gets delivered right to your mail.



     

    © New Placement papers | Latest Placement Papers