Ittiam Written Test Questions - GeeksforGeeks

29 Aug, 2018
Round 1(30 mins): Written TestIt was a written round (pen-paper). It started just after the company’s ppt (pre-placement talk). There were a total of 20 Mcqs (with negative marking), 10 from quantitative aptitude and 10 from technical aptitude to be solved in 30 mins.
Quant questions were from time&work, speed-distance(tricky one), few maths quesns viz. related to area of circle, mathematical reasoning (like questions on propositional logic, there exists and for all ->these type of questions can be found in discrete mathematics). Overall it was of average difficulty level.
1) What is the return value of count when the function start() is called with num value of 2017 in the following program:
int start(int num){    int count = 0;    while (num > 0) {        ++count;        num = (num - 1) & num;    }    return count;}}
a)25b)1c)7d)8
Ans) c
2)Global Variables can be shared between :a)Between both two process and two threadsb)By processes only but not between Threadsc)By Threads only but not between processesd)By neither processes nor threads
Ans) c
3)You have 3 baskets, one with apples, one with oranges and one with both apples and oranges mixed. Each basket is closed and is labeled with ‘Apples’, ‘Oranges’ and ‘Apples and Oranges’. However, each of these labels is always placed incorrectly. How many fruits would you pick only one fruit from a basket to place the labels correctly on all the baskets?
a)3b)1c)4d)2
Ans) d
4)
#include<stdio,h>  int main(void){  unsigned int x=10;  unsigned int y=0;  while (x > 0)  {    --x;    ++y;  }  printf("%u", y);} 
a)5b)7c)10d)The function does not return anythingAns) c
5)What is the final state that is been reached after the traversing of the string ‘000100110’:a)bb)fc)ad)e
Ans) b
6)Study the following table and answer the questions based on it.Expenditures of a Company (in Lakh Rupees) per Annum Over the given Years.
Year    Item of Expenditure Salary    Fuel and Transport   
      Bonus    Interest on Loans    Taxes
1998    288    98    3.00    23.4    83
1999    342    112    2.52    32.5    108
2000    324    101    3.84    41.6    74
2001    336    133    3.68    36.4    88
2002    420    142    3.96    49.4    98
What is the average amount of interest per year which the company had to pay during this period?a)Rs. 32.43 lakhsb)Rs. 33.72 lakhsc)Rs. 34.18 lakhsd)Rs. 36.66 lakhsAns) d
7) If a person walks at 14 km/hr instead of 10 km/hr, he would have walked 20 km more. The actual distance traveled by him is:a)50 kmb)56 kmc)70 kmd)80 kmAns) a
8) Which of the following line of code is suitable to start a thread?
class X implements Runnable {     public static void main(String args[])     {        /* Missing code? */    }     public void run() {} }
a)Thread t = new Thread(X);b)Thread t = new Thread(X); t.start();c)X run = new X(); Thread t = new Thread(run); t.start();d)Thread t = new Thread(); x.run();
Ans) c
Ittiam Systems
Interview Experiences
Writing code in comment?
Please use ide.geeksforgeeks.org,
generate link and share the link here.
Amazon Interview Experience for SDE-1 (Off-Campus)
Amazon AWS Interview Experience for SDE-1
Difference between ANN, CNN and RNN
Amazon Interview Experience for SDE-1 (Off-Campus) 2022
Amazon Interview Experience
Amazon Interview Experience for SDE-1
Amazon Interview Experience (Off-Campus) 2022
Freshworks/Freshdesk Interview Experience for Software Developer (On-Campus)
JPMorgan Chase & Co. Code for Good Internship Interview Experience 2021
EPAM Interview Experience (Off-Campus)