Skip to main content

Duta software India Pvt. Ltd

Date of visit: 10.9.2018

Online test
  It consisted of 15 technical aptitude questions ( easy level )
4 programming questions using arrays and strings

1) Given a string print characters whose number of occurrences is prime
Ex:
Input AABBBGHHGHHHGGGHB
Output AG

2) Given a keypad structure
1 2 3
4 5 6
7 8 9
   0
You can start with any number but can only move left or down.
Numbers to be choosen(1-200)
Now for a given input if it is not a valid traversal print the smallest valid sequence
Ex 183 is not a valid traversal(from 8 you can't move up to reach 3)
     Output should be 180

If it is valid print the smallest possible number
Ex : 89 starting with 8 you can press 9 or 0
Since 80 is smaller than 89 the expected
Output is 80

3) Given a sequence of words correspond to the noises made by different elements, find the noises made by the given animal provided the noises of others animals in the format <animal> goes <noise>

Sample input:
wah how krr krr heee haah tm
Dog goes wah
Lion goes krr
Rhino goes haah
What does the fox say?

Output:
how heee tm


Interview

Round-1 coding
Write a program to implement grep function
ie)given the search pattern and files in the command line ..print the line number and the entire text of the matching line
Ex: java mygrep a@b.com /test1.txt /a/test2.txt
Output:
/test1.text:Line 5:How are you a@b.com
/test1.text:Line 110:a@b.com,the contributor
/a/test2.txt:Line 12:you are cool! a@b.com


Round-2 Face to face
Asked to explain the projects and asked to explain some concepts related to the projects

Round-3 Face to Face
Questions asked were
1)Explain
    Interthread communication
    Interprocess communication
2)Identify and mention process,threads and communication in some of the windows utilities.
3)Write a simple program to implement interprocess communication using fork.

Subjective ques like :
If you input a text file with 5gb text without a new line character and your RAM size is 2gb,how will your grep function works




Comments

Popular posts from this blog

Sahaj - Online Test and Coding Round

Date of visit : 29/08/2018 Criteria        :  7.5 above First Round Duration : 40 minutes. The first round was a online test that had 50 multiple choice questions. The questions were very standard and covered everything like java, C, C++, Python, CSS, DBMS, OOPs, Networks, OS etc. After the first round 20 people were shortlisted for the second round. Second round Duration : 45 minutes  The second round was a coding round where we were given only one question. The objective of the round was not only to check whether the logic and code was correct but whether the students have used paradigms of the programming language they chose. for example, if we choose java to write our code we must have used OOPs principles. The question was to encode the given string in a format specified. Input : this is a secret procedure : 1. remove the spaces, s = thisisasecret 2. find the length of s, l  = 13 3. find w which is the ceil of sqrt of l,...

Thorogood Associates - online test and Interview experience

Date of Visit : 18.08.2018 Criteria: CGPA 7.5 above, No current arrear First Round Duration: 1 hr This is an online round which had two parts,one is about essay writing,other one is about aptitude. Essay Writing Part had two questions,out of these 2 questions we have to write an essay on any one of the topic within 15 minutes. Question: What do you know about Thorogood and what will you do in your first year of Thorogood? Aptitude Part covered Data Interpretation,Logical Reasoning,Profit-Loss problem and other basics aptitude topics which are in R.S Agarwal Book ( link ) or else in IndiaBix ( link ) and this part lasted for next 45 minutes. Second Round Duration: 30 Minutes In this round,our communication,presentation skills and confidence level were tested. They asked us to explain any one of the projects that we mentioned in our resume. They checked whether we can present the project that we did in a professional way.

Ninjacart - coding round

Platform: Hackerrank     The challenge comprised of three questions which were based on arrays and strings .. It may seem easy but the problems were little tricky to solve.. If one is strong enuf in those concepts, then solving them becomes piece of cake😋. I listed two problems(I ve forgot the third one) asked below: Question 1: Buy stocks .. problem link Question 2: Find the number of smooth pairs problem link