# 67457315 Thought Works Placement Paper

August 3, 2017 | Author: Priyanka Gupta | Category: Test (Assessment), Inventory, C++, Rail Transport, Sales

#### Short Description

Thought Works Placement Paper...

#### Description

Job Interview Placement Paper Interview Questions Asked: THOUGHT WORKS INTERVIEW QUESTIONS Round One: 11 logical (flow charts) questions were given. Time limit was 1 and a half hours. Round Two: The given program should be coded in one hour. The evaluation is done based on the output, logic and the Object Orientation concept followed. There were three batches. Different programs were given to each. The questions are as follows Batch One: Hotel Management A well renowned hotel has three branches in Miami. Namely x,y and z (Actually they gave names) .Each has two types of customers. Regular and Rewardee. Also each branch has its own ratings x is given a 3 star rating while y has 5 star rating and z has 4 star rating. Each hotel has specific rates for weekend and weekdays. x charges \$100 for regular customers on weekdays and \$120 on weekends While it is \$90 for rewardee on weekdays and \$95 on weekends. While z charges \$195 for regular customers on weekdays and \$150 on weekends. While its \$120 for rewardee on weekdays and \$90 on weekends. Now when the customer requests for a particular detail you need to find which hotel would yield the customer profit. In case of tie between hotels compare the ratings and provide the result. Input format: Regular: 16Mar2010(sun), 19Mar2010(wed), 21Mar2010(Fri) Answer: (This is the format of the question but not sure about the values). Batch Two: Inventory Management System A company sells Ipods online. There are 100 stocks maintained at Argentina and Brazil. A single ipod costs \$100 in Brazil and \$50 in Argentina. The cost of exporting stocks from one country to the other will cost \$400 per 10 blocks. The transportation is always done in the multiples of 10. Calculate the minimum cost for purchasing the given no of units. Assume that for each transaction, the available stock in each country is maintained to be 100. Input and Output Format: The country from which the order is being placed: No of units Minimum Costs: No of stock left in brazil:No of stock left at Argentina Sample Input and output: Brazil: 5:500:95:100 Brazil: 50:4500:100:50 Batch three: There is a rail road to different towns from one town. It is considered that the rail road is a one way because of budgetary issues. If there is city A and it has cities B and C cities connected by rail roads, it is not mandatory that A has direct rail road to both B and C. The route to C from A can be A to B and then B to C. The above scenario is depicted as a graph. The nodes are the towns and edges are the distances between them. The input given will be a graph and also the route to towns. The output must be the total rail road distance between the towns and if no route exists, it must say 'No Route exists'. Input: AB5, BC2, CD3, BE4 Input: A-B-E Input: A-C-E Output: 9

Output: No Route Exists (Similar to Dijkistra’s algorithm in the form of railway stations and tracks). Round Three: Technical Interview1: Questions were asked based on the area of interest mentioned in the resume. 1. The purpose of Normalization. (all forms and the dependencies avoided in each). 2. Design a database for a workshop (car wash)  A workshop maintains the details of cars arriving.  There are mechanics and supervisor at the workshop.  A supervisor is assigned for each car.  The car goes through various levels of cleaning or service.  In each of these levels, a mechanic is assigned to a car.  In and out time at each level and the over all time taken to deliver the car must be recorded.  Find the mechanics assigned to a car at each level. 3. Draw the class diagram for the above. (While I was answering, their main focus was on table design. I started with the car table and mechanic table. Lots of suggestions and changes were made as the table increases.) 4. Some queries using group by clause. Example: Find the no of students in each dept using group by clause. 5. Relation between where group by and having clause. 6. Find the person who has scored third rank. 7. Sorting techniques available(the best and worst). 8. The order of complexity and how it was arrived at. 9. How can you sort a data of size 4GB.The possible answer is by using external and internal sorts.  Breaking the data into smaller chunks and using two phases like sort and merge. 10. How is memory assigned to an object made. 11. If it is assigned while giving “new class name() “, what happens if one of its member grows dynamically and reaches the assigned memory limit. Technical Interview 1 :  What is the difference between free and delete function(c & c++)  Difference between C++ & Java (They wanted 5-6 points. Not the obvious ones.)  What is composite primary key  What is Normalization and why we use normalization ,is it necessary to have normalized tables  State any three normal forms..  Some queries. Technical Interview 1 :  How to create and host a site in internet..  How to create and host a site in internet with your pc as sever for hosting..  Normalization(1,2,3)  What type of language is JAVASCRIPT.  Difference between c++ and java?  What is destructor?  How destructor is called?  Write a program to explain purpose of destructor?  What all things are done inside a destructor?

What does free() function do? What does delete() function do? Difference between free() and delete()? Write a simple program to explain the difference between free() and delete()? What is Pointer? Use of Pointer? How does the Pointers work? If you are given 8 coins each weights 10grams except one and you are given a weight scale. how will you find the odd one in minimum number of weights. Technical interview 2 : The questions will be from a topic of interviewer’s choice. 1. Draw the binary search tree for the given set of number and write a program to find the height of the formed tree. A. One possible function int max=0; void func(struct node * node1, int len) { If(node1->left != null) Func(node1->left,len+1); If(node1->right!=null) Func(node1->right,len+1); If(max { Max = len; return; }        

} (I just gave one sample trace which happened to work.) 2. Given two binary tree, find whether one is the mirror image of the other. Int flg = 1; void func(struct node * n1, struct node* n2) { If(n1!=null && n2!=null) { If(n1->data==n2->data) { Func(n1->left,n2->right); Func(n1->right,n2->left); } Else { Flg = 0; return; }} } 3. Find the possible class and the methods in it for “Snakes and ladders game”. 4. Given a singly linked list and the address of one of its node. Delete that particular node. The address of the head node is unknown. a. One possible solution Copy the contents of the following node into the current node and delete the node whose data has been copied. HR Round (non elimination Round):  Tell me about yourself and strength.  What do you feel about our company?  What is your drive that makes you do anything at all?  Anything you want to know about our company?

If you were given three months off with salary, what work would you involve yourself in? Aptitude and Psychometric Tests (non elimination round): 1. 50 questions must be answered in 12 min. 2. At least 30 must be answered. 3. The questions were based on general math, verbal and logical. A. Sample verbal question: i. ITS IT’S have 1. Same meaning , Contradictory meaning, neither same nor different B. Sample logical question i. Say whether statement 3 is true or false 1. All students take test. There are some students in the room. Some people in room take test. C. Sample math i. A bulb flickers for every 6 seconds. How many times will it flicker in given amount of time? D. Find missing no i. 8 4 2 1 ½ ¼ ? The order of difficulty increases as you move from 1 – 50. 4. A sheet contains list of characteristics like loyal , easy going , reserved , obedient , generous , worried etc  You are asked to tick those characteristics that others want you to have.  In the next page, tick those characteristics that you think you possess. Company Name: ThoughtWorks No of Rounds: Technical Round-1 Exam/Interview Date: 18-Aug-2011 

Thought Works Job Interview, Question Paper First Round: Consisted Of Logic Assessment Where You Will Be Given A Set Of Test Input , And A Flowchart . Using The Flowchart Of An Algorithm The Input Value You Have To Find The Final Outcome Of The Algorithm . Round 2: Was A Technical Round Where A Few C/C++ Codes Were Given And We Were Asked To Debug The Code. Round 3 : Was The Code Pairing Round Where Each One Was Given A Problem Statement . We Had To Code It In A Duration Of 60 Minutes Maximum. Round 4: Two Rounds Of Technical Interview Were Conducted Based Upon Your Area Of Interest And Also A Few Questions On Subjects Like Data Structures, OS, DBMS Etc. Round 5: HR Round Where Simple Questions About Yourself And Your HobbiesAnd Several Other Personal Details Were Covered. Note: Each Round Is A Elimination Round.

Company: Thought Works Location : Other Type : Fresher Exam/Interview Date : 17-Aug-2011 No of Rounds: Aptitude Test, Technical Round-1, Technical Round-2 Contributor Name : Ashwin

ThoughtWorks Placement Paper 2 Sample test paper conducted on 14th JULY 2007 AT COIMBATORE. THOUGHTWORKS PAPER ON 14th JULY AT COIMBATORE Thought Works one of a good company to work with and its not a big company. TW visited campus at PSG Tech – Coimbatore 14-7-07. The pay package was around 5 Lacs pa. Almost 400 people attended the written test, around 18 short listed for second round and 10 around for interview round-1 and 8 for interview round-2 and 6 got it finally. Let me provide some info on written test and interview. Round-1 : [ Written Test ] The written test is not a technical one and not like logical reasoning on, it was little different. They will give just 10 questions – 1 mark for each [totally 10 marks]. The questions are flow chart kind of: 5 2 0 3 4 1 2 3 START ADD box 2 and box 4, Put result in box1 ADD box whose no is in box 3 with box 4, put result in box 4 Subtract 3 from box1

Whats the value in Box4 : ?? B1 B2 B3 B4

ThoughtWorks Placement Process Thoughtworks selected three people from my college(Pune Institute Of Computer Technology) during the placement process in July 2009. (I was one of them :)) They had 6 rounds:

1. Aptitude- which had flow chart based questions. You just have to be really, really careful while solving these- the maximum you can score is 12 and their selection cutoff can be as high as 10-11 2. Group Activity- Groups of 8-12 people are told to design a software system. We had to design an intranet for a second-hand car dealership. Other systems asked were pizza delivery, online airline reservation, online advertising, etc. They selected 3-4 people from each group. 3. Coding round(Read the next post) 4. Technical interview round 1- 16 people reached this round. Each of us was drilled for an hour or so on C, OOP, Data Structures, Java, Puzzles and DBMS by a panel of 2 people. 5. Technical interview round 2- 8 people reached this round. Each of us was interviewed for almost 3 hours. Our concepts and problem solving skills were tested in detail. 6. HR- 3 of us reached this round and all of us got selected. However, Thoughtworks does end up rejecting people from this round too, so do not take it lightly :) Basically Thoughtworks wants people who: 1. Have strong technical skills 2. Have good communication skills 3. Who are passionate about what they do 4. Who enjoy learning 5. Who are confident, (but not overly so) 6. Who are great team-workers So if you are going to be appearing for the ThoughtWorks selection process, just keep your cool and be confident. The whole thing is also really grueling- you will need high levels of energy, patience and mental stamina. All the best!

ThoughtWorks is a privetely owned global IT consultancy. The Best Place To work. No uniform & No timing for work.

They deliver custom applications and provide no-nonsense consulting & They help organizations become agile.

But They have the toughest Interview Rounds. Round 1 : Aptitude Test ( technical & analytical ). Round 2 : Again aptitude. Round 3 : They checks a Team Work. Round 4 : Coding Round. Round 5 : Group Discussion. Round 6 : HR interview. They Gives 5.7 lacks as starting package for freshers. If you are selected here then you are future is really good. Technical Questions : 1) What Will be output of the given c program ? void main(){ int i=320; char *ptr=(char *)&i; printf("%d",*ptr); } Ans : 64 2) What is wrong in a call fopen(”c:\newdir\file.dat”, “r”) ? 3) Write a program which print output as the same program Ans : #include #include void main() { FILE *fp; char ch; fp = fopen(”filename.c”,”r”); while((ch=getc(fp))!=EOF) { printf(”%c”,ch); } fclose(fp); } 4) will the given program will execute or not why ?

#include 123; main() { 34; return 0; } 5) How Can we find the Day of the week if the date is given ? 6) What will be the o/p of the following program main() { char *str="c-pointer"; printf("%*.*s",10,7,str); return 0; } Ans : c-point

Paper Type : Whole Testpaper Test Date : 14 July 2007 Test Location : VIT University, Vellore Posted By : Guest

1st round: 1and half hour Logical aptitude.I have attached the paper. 2nd round: 1and half hour Lab. given a application; have to build the application and later optimize; one of the student got: inventory control system. ipod is available in two countries brazil and argentina. in brazil it costs \$100 and in argentina it costs \$50. also in case if one countary imports from other extra \$400 has to be paid per 10 units. the inventory of ipod availabe in each country is 100 units each. so you have to develop a program that show the optimized cost. for ex: you palce order for 10 ipods in brazil - it costs 100x10=\$1000. in case u import from argentina it costs 10x\$50+\$400=\$600. or if order is placed for eg.120 units 100 can be sold from the same country and the rest 20 has to be imported. that way u haveto check all the possible combination and show only the best one also the output should be in the format as

::; once u complete the program, one of the representative of the company comes to you, verifies the result, asks you to optimize the program further, etc. 3rd round: subject based technical interview: inside out. 1on1 or 2on1; 4th round: technical interview. resume based. inside out. package: Rs5.85lakhs. a company. around the world has 1200 to 1600 employees (in 9 to 10 countries). in india has 4 branches.

n Interview with Thoughtworks Recently I had been in a job search mode, got interviewed by Thoughtworks and Microsoft(when I was in US). I was keen in focusing on the “fundu” companies if you know what I mean. Lots of people know how Microsoft Seattle interview process goes, I would certainly like to belabor on Thoughtworks India process. I would say it was a fascinating experience where I learnt quite a few things like test driven development, pair programming and no cubicle culture. Also it did refreshed my old school problem solving techniques, white boarding etc. So it all started by receiving an email from an HR person about an opportunity at Thoughtworks. Since I already followed Martin Fowler’s blog I knew quite a bit about them. They set up a informal like conversation with a HR person that week. We discussed a lot about what I do, I want to do, about my blog, projects on my resume. It was really a conversation about me marketing myself and the HR person doing his part for Thoughtworks. It went for about one and half hour which ended with he asking about my salary expectations.

insight on improving the design. So let me know if any of you guys need any more “up close” insight on the interview process. Best of Luck!

ThoughtWorks Did any of you have a technical interview with Thoughtworks? What kind of questions did they ask? I'd love to work there, but I'm kind of scared of the interview. Those guys seems to be very good and their selection process is very tough . Boris Bergman Monday, December 01, 2003

A friend interviewed for them. They'll assign you a code problem you have a week to complete. Walter Rumsby Monday, December 01, 2003

Did that. Now it's the next step - actual technical interview. Would appreciate any info about it. Boris Bergman Tuesday, December 02, 2003

I heard that it's pretty thorough - working through programming problems on a whiteboard in front of a panel of developers, etc. It's not a process that suits those who aren't confident. By the way - I couldn't help but notice that most of the people they are hiring are for their Banglore office. Yes folks - bodyshop type software jobs - even the ones with the "elite" software development firms are slowly but surely slipping away. If you're a code-monkey working in a western country for a consulting/bodyshop outfit (PWC, Deloitte, Accenture, EDS, etc) you should be very, very scared.

Burninator Tuesday, December 02, 2003

or if you work for an 'elite' software company such as microsoft or oracle you should also be worried. i Tuesday, December 02, 2003

Also be prepared for two written tests: 1) A very interesting "logic" test that is programming language independent; it will require some pretty good programming skills to finish this 2) A standard intelligence test (can't remember the name) Fun stuff if you like problem-solving but it can be intimidating if you don't have a great deal of confidence, IMO. Doug BadBlue com Wednesday, December 03, 2003

I worked there for a couple of years. The intelligence tests consists of a test with something like 60 multiple choice questions that you are given 8 minutes to complete. Answering all questions is not expected and is very rare. The logic test is a language independent test with 12 questions (some of which have multiple parts). Really all you do is trace a flow of logic based on rules and getting a register in a proper state. Then it is just random interviews with whoever they can find. Expect a lot of discussion about process. Be informed about agile processes, in particular XP. Oren Miller Wednesday, December 03, 2003

How did you like working there? Is it as good as it seems? ;) Boris Bergman Wednesday, December 03, 2003

That depends on who you are and where you are in life. Keep in mind that it is a consulting firm that gets work wherever it can. So you will need to be prepared to travel and not always to galmorous places, sometimes for extended periods of time. Other occasions you will go to great places with very cool people (they have some big project in London, for instance). Working at

client sites is very common, so athmosphere can vary depending on the type of client you work for. An earlier person correctly pointed out that much of the highering is in Bangalore. This has been true for the past year. Much of the focus at the company is to offshore much of the software development (they say per clients requests), and have the so called architects and business analysts operate out of the U.S. This is mostly experimental and its expansion hinges on the sucess of this model. I personally this model is more beffiting a company like Accenture than TW, but there are parts of TW that would like to be more like Accenture. Other parts of TW are more favorable to gelled teams that work in close physical proximity (which is also what I favor) There are really many great things about the company, and some annoyances. In general it is a fun athmosphere with lots of young really technical people, although the company is a little older now and hiring more traditional business types in an effort to grow the company. I think overall you will find the work environment considerably better than most, with many opportunities to express yourself. There is also a burgeoning open source community there which TW ecourages and supports. Oren Miller Thursday, December 04, 2003

My recent experience interviewing with Thoughtworks established that most of the advice on this topic is correct. Sadly I was unsuccessful getting past the first face-to-face interview and logic tests. :( I first had a telephone interview with someone from their HR department. It was fairly standard stuff - why do I want to work for TW, dev tools / IDEs I've used, what was the most important thing I learnt from my last job etc. Second came the coding exercise (sent out to me straight after the telephone interview). I had a choice of three relatively easy problems to solve; all were algorithmically oriented but still anchored in real life problems. My advice to anyone embarking on the coding exercise is that simplicity is king (as you'd expect from an Agile company). For those who missed it the first time: simplicity is king. Really, I can't stress it enough. I was shot down for my use of abstractions because my interviewers disagreed that the problem warranted the complexity they introduced (not much IMHO) - and we're not even talking about throwing GoF design patterns at them either - just partitioning responsibility, a couple of classes where they though there should