Software Trainee Interview Questions
- 0of 0 votes
AnswersSynonym of ACCORD
- vinithajamu October 09, 2017 in India for Technical
a) Confer
b) Refusal
c) Dissension
d) Opposition| Report Duplicate | Flag | PURGE
Surya Informatics solution Pvt. Ltd. Software Trainee test - 0of 0 votes
AnswersRaju age after 15 years will be 5 times his age 5 years back, what is the present age of Raju?
- vinithajamu October 09, 2017 in India for Technical
a) 14
b) 15
c) 10
d) 8| Report Duplicate | Flag | PURGE
Surya Informatics solution Pvt. Ltd. Software Trainee test - 0of 0 votes
AnswersComplete the series, 1, 4, 9, 16, 25,_______
- vinithajamu October 09, 2017 in India for Technical
a) 36
b) 38
c) 42
d) 52| Report Duplicate | Flag | PURGE
Surya Informatics solution Pvt. Ltd. Software Trainee test - 0of 0 votes
AnswersIn a certain code, MENTION is written as LNEITNO. How is PATTERN written in that code?
- vinithajamu October 09, 2017 in India for Technical
a) ATAETNR
b) OTAETNR
c) OTAESNR
d) STAETNR| Report Duplicate | Flag | PURGE
Surya Informatics solution Pvt. Ltd. Software Trainee test - 0of 0 votes
AnswersChoose the word which is least like the other words.
- vinithajamu October 09, 2017 in India for Technical
a) Book
b) Paper
c) Pencil
d) Pen| Report Duplicate | Flag | PURGE
Surya Informatics solution Pvt. Ltd. Software Trainee test - 0of 0 votes
AnswersPointing to a girl in photograph Amar said, "Her mother's brother is the only son of my mothers’ father." How the girl's mother related to Amar?
- vinithajamu October 09, 2017 in India for Technical
a) Mother
b) Sister
c) Aunt
d) Grandmother| Report Duplicate | Flag | PURGE
Surya Informatics solution Pvt. Ltd. Software Trainee test - 0of 0 votes
AnswersMoon : Satellite :: Earth : ?
- vinithajamu October 09, 2017 in India for Technical
a) Sun
b) Planet
c) Solar System
d) Asteroid| Report Duplicate | Flag | PURGE
Surya Informatics solution Pvt. Ltd. Software Trainee test - 0of 0 votes
AnswersSimplify 586645 * 9999
- vinithajamu October 09, 2017 in India for Technical
a) 5865863355
b) 5665863355
c) 4865863355
d) 4665863355| Report Duplicate | Flag | PURGE
Surya Informatics solution Pvt. Ltd. Software Trainee test - 0of 0 votes
AnswersProblem Statement
- pradeepkumsi July 11, 2017 in India
Jane's two little cousins are visiting her for the holidays. As you may know, children love candy, so Jane has bought several boxes of sweets for them. Each box contained an assorted collection of candy of different types.
At some point Jane realized that giving each child some of the boxes is not a good idea: if they receive different candies, it will certainly cause a quarrel. Therefore, Jane decided to open all the boxes, take out all the sweets and distribute them evenly into two plastic bags.
Of course, distributing a pile of assorted candies evenly may not always be possible. Sometimes it happens that the number of pieces of some particular type of candy is odd. In that case Jane will eat one of those sweets and only then will she distribute the rest of them evenly into the bags.
You are given the String[] boxes. Each element of boxes describes the contents of one of the boxes Jane bought. Each character in each element of boxes represents one piece of candy. Equal characters are candies of the same type: e.g., all 'B's are identical bonbons and all 'L's are identical lollipops.
Compute and return the number of candies each child will receive.
Definition
Class: JanesCandyBags
Method: getSize
Parameters: String[]
Returns: int
Method signature: int getSize(String[] packets)
(be sure your method is public)
Constraints
- boxes will contain between 1 and 50 elements, inclusive.
- Each element of boxes will contain between 1 and 50 characters, inclusive.
- Each character in boxes will be an uppercase letter of the English alphabet ('A'-'Z').
Examples / Test cases
0)
{"FOO", "BAR", "BAZ", "TOPCODER"}
Returns: 5
In this case Jane will eat the 7 candies that only occur once in the entire collection. The remaining 10 candies can be split evenly: each bag will contain two 'O's, one 'A', one 'B', and one 'R'. Thus, each child will receive 5 candies.
1)
{"X"}
Returns: 0
Jane will eat the only piece of candy. Then she will give each child an empty bag.
2)
{"GIVING", "CANDY", "TO", "CHILDREN", "CANNOT", "BE", "CHALLENGING", "RIGHT"}
Returns: 17
The candies in each bag here are: ACCDEGGHIILNNNORT
3)
{"WITHOUT", "IT", "IM", "JUST", "ESPR"}
Returns: 5
4)
{"PHQGHUMEAYLNLFDXFIRCVSCXGGBWKFNQDUXWFNFOZVSRTKJPRE",
"PGGXRPNRVYSTMWCYSYYCQPEVIKEFFMZNIMKKASVWSRENZKYCXF",
"XTLSGYPSFADPOOEFXZBCOEJUVPVABOYGPOEYLFPBNPLJVRVIPY",
"AMYEHWQNQRQPMXUJJLOOVAOWUXWHMSNCBXCOKSFZKVATXDKNLY",
"JYHFIXJSWNKKUFNUXXZRZBMNMGQOOKETLYHNKOAUGZQRCDDIUT",
"EIOJWAYYZPVSCMPSAJLFVGUBFAAOVLZYLNTRKDCPWSRTESJWHD",
"IZCOBZCNFWLQIJTVDWVXHRCBLDVGYLWGBUSBMBORXTLHCSMPXO",
"HGMGNKEUFDXOTOGBGXPEYANFETCUKEPZSHKLJUGGGEKJDQZJEN",
"PEVQGXIEPJSRDZJAZUJL"}
Returns: 203| Report Duplicate | Flag | PURGE
Student Software Trainee - -1of 3 votes
Answershow to print this pattern
- premnath.velmurugan March 08, 2014 in India
input N=4
output :
4444444
4333334
4322234
4321234
4322234
4333334
4444444
input N=3
output :
33333
32223
32123
32223
33333| Report Duplicate | Flag | PURGE
Software Trainee Algorithm C# Data Structures Applications Developer Java - 0of 0 votes
Answershow do we compare two objects in java.
- gautam October 25, 2013 in India| Report Duplicate | Flag | PURGE
Software Trainee Java - 0of 0 votes
AnswersSherlock wants to recollect all the clues in his clue box. The clue box is very heavy and cannot be moved. Sherlock doesnt like much burden at once and therefore he will not carry more than two clues at any time. Thus after picking at most two clues, he will need to put them back in his clue box.
- ram188490 September 25, 2013 in India
Also, if he has taken a clue, he cannot put it anywhere except his Clue box (clues are too important for him to do so).
You are given the coordinates of the "Clue box" and the coordinates of the "clues" in cartesian
coordinate system. Sherlock covers the distance between any two points in the time
equal to the square of the euclidean distance between the points. Also, Sherlock is initially at the same position as his clue box.
Now being a brilliant programmer, you want to help Sherlock. Help him find the minimum time in which he can gather all the clues in his clue box.
Input :
First line contains t, the number of test cases.
First line of each test case contains two space separated integers Xb and Yb, the position of Sherlock's clue box.
Second line of each test case contains N, the number of clues.
This is followed by N lines each containing two space separated integers Xi, Yi which is the position of the ith clue.
Output :
For each test case, output in one line the minimum time required by Sherlock to gather all his clues.
Constraints :
1 <= T <= 100
1 <= N <= 24
-100 <= Xi, Yi <= 100
Sample Input :
2
-3 4
1
2 2
1 1
3
4 3
3 4
0 0
Sample Output :
58
32| Report Duplicate | Flag | PURGE
Software Trainee Algorithm - 0of 0 votes
Answerneeded to turn a sequential Actions into parallel implementation
static string FlNm = Environment.CurrentDirectory, URL = "", TmpHtm = ""; enum Act { dolar, ValidateTimeOut } void Execute(Act Exc) { switch (Exc) { case Act.dolar: URL = "http://www.boi.org.il/he/Markets/ForeignCurrencyMarket/Pages/Default.aspx"; FlNm += "\\TempHtm.htm"; TmpHtm = AgilityPacDocExtraction(URL).GetElementbyId("Dv_Main").InnerHtml; File.WriteAllText(FlNm, TmpHtm); break; case Act.ValidateTimeOut: URL = "http://hm.hental.co.il/timeclock/tcreportall/WorkDaysPerMonth.aspx?Cstate=Link"; FlNm += "\\TempHtm.htm"; TmpHtm = AgilityPacDocExtraction(URL).GetElementbyId("anyId").InnerHtml; File.WriteAllText(FlNm, TmpHtm); break; } } public HtmlAgilityPack.HtmlDocument AgilityPacDocExtraction(string URL) { using (WC = new WebClient()) { WC.Proxy = null; WC.Encoding = Encoding.GetEncoding("UTF-8"); tmpExtractedPageValue = WC.DownloadString(URL); retAglPacHtmDoc.LoadHtml(tmpExtractedPageValue); return retAglPacHtmDoc; }
}
- rbanay2 November 22, 2012 in israel for C#| Report Duplicate | Flag | PURGE
RightC Software Trainee C# - 1of 1 vote
Answers4)Input a number. Convert the number into words using return functions and regular expressions in Perl. Do not use parse functions.(15 => one five)
- ashwint87 August 29, 2012 in India for dsfgfds| Report Duplicate | Flag | PURGE
Ittiam Systems Software Trainee Perl - 0of 0 votes
Answers3)Input email address. Check if it is valid using return functions and regular expressions in Perl. Do not use parse functions.
- ashwint87 August 29, 2012 in India for dsfgfds| Report Duplicate | Flag | PURGE
Ittiam Systems Software Trainee Perl - 0of 0 votes
Answers2)Input a name. Check if it is valid (has atleast 3 letters and one vowel) using return functions and regular expressions in Perl. Do not use parse functions.
- ashwint87 August 29, 2012 in India for dsfgfds| Report Duplicate | Flag | PURGE
Ittiam Systems Software Trainee Perl - 0of 0 votes
Answers1)Input ip address. Check if it is in the range 172.125.1.0 and 172.125.25.0 using return functions and regular expressions in Perl. Do not use parse functions.
- ashwint87 August 29, 2012 in India for dsfgfds| Report Duplicate | Flag | PURGE
Ittiam Systems Software Trainee Perl