CS Interview Questions
Hello CEans,
I am wondering and π, In CE we don't have a specific thread to have the discussions on CS Technical Interview Questions.
This thread is all about the CS interview questions. Any can post question here, irrespective of their department. In general, The interview questions are somewhat twisted like puzzles,so it will be interesting to solve those questions.
Expecting masterminds awesome answers and lightning questions:twisted:π
PS:
After the question is answered here, also it is updated in the following thread
#-Link-Snipped-#
You can refer it here easily
I am wondering and π, In CE we don't have a specific thread to have the discussions on CS Technical Interview Questions.
This thread is all about the CS interview questions. Any can post question here, irrespective of their department. In general, The interview questions are somewhat twisted like puzzles,so it will be interesting to solve those questions.
Expecting masterminds awesome answers and lightning questions:twisted:π
PS:
After the question is answered here, also it is updated in the following thread
#-Link-Snipped-#
You can refer it here easily
Replies
-
Kaustubh KatdareCool. Thread moved to jobs/careers section
-
ms_csLet me first post the simple question..(Agile Software Corporation)
No-1
[ java ]
++i+ ++j is equivalent to
(a)i+j+1
(b)i+j+2
(c)i+j
(d)can't be compiled -
ms_csNo-2(Agile Software Corporation)
What is the output
#!/bin/perl
kill β0 pid -
ms_csNo-3
Randomization is good for which algorithm(quick sort, heap sort, selection sort, hashed table, β¦. -
Kaustubh KatdareAlso contribute solutions along with the questions. [Don't have questions & answers in separate posts in this thread]
-
ms_cs
Nice idea , But that will not be interesting I think,The_Big_KAlso contribute solutions along with the questions. [Don't have questions & answers in separate posts in this thread]
We can request CEans to answer with quoting that question. What do you say Big_K -
shalini_goel14
Which language?ms_csLet me first post the simple question..(Agile Software Corporation)
No-1
++i+++j is equivalent to
(a)i+j+1
(b)i+j+2
(c)i+j
(d)can't be compiled(correct)
Heapsort is the answer ?ms_csNo-3
Randomization is good for which algorithm(quick sort, heap sort, selection sort, hashed table, β¦. -
kashish0711ms_csLet me first post the simple question..(Agile Software Corporation)
No-1
++i+++j is equivalent to
(a)i+j+1
(b)i+j+2
(c)i+j
(d)can't be compiled(correct)
d) i++; j++;
I saw this in my book 2 years earlier haha
idk if I am correct
but havent seen any thing like ++i+++j π
I am very weak in languages thx to my teacher.π‘ -
ms_cs@shalini: The Question is updated now
-
ms_cs
Heap sort is not andshalini_goel14No-3
Heapsort is the answer ?
Randomization is good for which algorithm(quick sort, heap sort, selection sort, hashed table, β¦.
Answer: Quicksort -
kashish0711was my correct, was my correct?? π
haha I am going crazy for result. π -
ms_cs
You are really crazyπ..kashish0711was my correct, was my correct?? π
haha I am going crazy for result. π
Here post answers or tech questions -
ms_csNo-4
find legal statements [ java]
(a)int a=30;
(b)float f=1.4;
(c)double d=34.5;
(d)byte b=128; -
kashish0711
lolz kms_csYou are really crazyπ..
Here post answers or tech questions
Ok tell this one,
1. We say current flows in wire, then when we give electricity to one end of cable, and other is kept in a tub, then the current should fall from that end is inside the tub? If yes, then why? If No, then why?
2. Who was the man who invented the famous A.C. motor?
3. Are we looking for any new system from electric transmission for long routes other than with cables?
4. What role does frequency plays in electric transmission?
Good Luck everyone. π
These are the easiest I could think. π
expecting very quick answers from Big K π -
CEMember
Following are legal statements : (a) and (c)ms_csNo-4
find legal statements [ java]
(a)int a=30;
(b)float f=1.4;
(c)double d=34.5;
(d)byte b=128;
int a =30;
&
double d=34.5
float f=1.4f;
&
byte b= (byte) 128; -
ms_csthat is correct answer CEMember.
We have two unanswered questions CEans π
No-1
[ java ]
++i+ ++j is equivalent to
(a)i+j+1
(b)i+j+2
(c)i+j
(d)can't be compiled
No-2(Agile Software Corporation)
What is the output
#!/bin/perl
kill β0 pid -
ms_csNo-5
the sorting method which don't generally use recursion
(a)heap sort
(b)bubble sort
(c)quick sort
(d)strand sort -
shalini_goel14
Well, if I assume semicolon is placed after it, then answer is (a) else answer is (d)ms_csNo-1
[ java ]
++i+ ++j is equivalent to
(a)i+j+1
(b)i+j+2
(c)i+j
(d)can't be compiled
Bubble sort ?ms_csNo-5
the sorting method which don't generally use recursion
(a)heap sort
(b)bubble sort
(c)quick sort
(d)strand sort -
ms_cs@shalini: you are very correct
No -5
Yes it is bubble sort
No -1
Answer is 'can't be compiled' -
kashish0711
see I was right πms_csNo -1
Answer is 'can't be compiled'
edit: where are other engineers?
this is supposed to be a universal thread, featuring interview questions from all trades, right?
where is everybody? -
ms_csNo-6 :
[ Oracle DBA]
SNAPSHOT is used for
a. Synonym, b. Table space, c System server, d Dynamic data replication -
ms_cs
π dude...kashish0711see I was right π -
ms_csNo-7
[ Oracle ]
LGWR process writes information into
a Database files, b Control files, c Redolog files, d All the above. -
ms_csNo -8
[ Oracle ]
The packaged procedure that makes data in form permanent in the Database is
a Post
b Post form
c Commit form
d None of the above -
shalini_goel14
(c) - Redo log files?ms_csNo-7
[ Oracle ]
LGWR process writes information into
a Database files, b Control files, c Redolog files, d All the above. -
ms_cs@shalini: C is correct answer,
-
silverscorpionms_cs@shalini: you are very correct
No -1
Answer is 'can't be compiled'
Why can't it be compiled??
I thought i+j+2 was the correct answer. At least. that's how it would work in C.
++i + ++j;
I do think this equals i+j+2; only..
PS : I dunno how this works n Java!! -
shalini_goel14
Because it was not ended with semicolon . All statements in java must end with semicolon. πsilverscorpionWhy can't it be compiled??
And yes regarding ++i + ++j - you are right it is equivalent to i+j+2[as per Java also π] . I considered it wrong in hurry as ++i + j++ -
hamburg113Hi
I found that a member asked same question in this forum some months ago.
Pls use search box to find this questions with comments
If you want to get more materials that related to this topic, you can visit: #-Link-Snipped-#
Best regards.
You are reading an archived discussion.
Related Posts
Wish happy birthday to our Cean Safwan
NOTE: These Stats are not Official Neither are Sure to be Correct.
β
Stats collected from: Value My Web | Free Website Valuation Report. How Much Is My Website Worth?...
Make a confession here.
Here's mine:
In the initial days of CE, I had created an ID to post responses to my own queries. :sshhh:
Is Your EGO an Asset or Liability?
By: Dr. Doug
Let's be careful about making generalizations in the workplace. Don't conclude that co-workers, employees, or even managers who have been...
hello,i m abhinav agarwal doing 3rd sem in electronics and communication in pilani.i need some project to work upon.could u guide me out.can u give the name of the sites.