CS-Interview Questions with Solutions

This thread contains solutions to interview questions discussed in the thread

#-Link-Snipped-#

Hope this thread will helps to a New members of CE and those who is preparing for interview.


PS:
this thread will contains the questions with corresponding correct
solutions. no more discussions here about the questions.

here the question with solution , will be updated only after the question at the thread #-Link-Snipped-# is answered

Replies

  • ms_cs
    ms_cs
    No-1
    [ java ]
    ++i+ ++j is equivalent to
    (a)i+j+1
    (b)i+j+2
    (c)i+j
    (d)can't be compiled

    Answer d

    No-2
    will be updated

    No-3
    Randomization is good for which algorithm(quick sort, heap sort, selection sort, hashed table, ….

    Answer : quicksort


    No-4
    find legal statements [ java]
    (a)int a=30;
    (b)float f=1.4;
    (c)double d=34.5;
    (d)byte b=128;

    Answer : a & c
  • ms_cs
    ms_cs
    No-5

    the sorting method which don't generally use recursion
    (a)heap sort
    (b)bubble sort
    (c)quick sort
    (d)strand sort

    Answer : bubblesort

You are reading an archived discussion.

Related Posts

hey CEans from chennai lets organise a CE meet in chennai for the first time.... all the CEans from chennai count on.... waiting for your replies...
CCFL 2.0 "The Ashes" Australia @ England​Hi all crazy CEans across the world! Welcome to another fantastic & crazy season of * Crazy Cricket Fantasy League - CCFL 2.0* This...
Hi! I'm on my last semester as a Mechanical Engineering undergrad and I'm looking for a nice topic for my thesis. We have 3 months to finish it doing simulations...
Please , if anyone could suggest anytopic for the final year project in automobile stream. I request to suggest something new and wiyhin a low budget. Thanks
wat r the softwares used by electronics and communication students