i2 Technologies Placement Question Papers




i2 Technologies Placement Question Papers

Filed under:

i2 Technologies Placement Question Papers

Q1.Convert 0.9375 to binary
a) 0.0111
b) 0.1011
c) 0.1111
d) none
Ans. ©

Q2.( 1a00 * 10b )/ 1010 = 100
a) a=0, b=0
b)a=0, b=1
c) none
Ans. (b)

Q3. In 32 bit memory machine 24 bits for mantissa and 8 bits for exponent. To increase the range of floating point.
a) more than 32 bit is to be there.
b) increase 1 bit for mantissa and decrease 1 bit for exponent
c) increase 1 bit for exponent and decrease one bit for mantissa

Q4.In C, “X ? Y : Z ” is equal to
a) if (X==0) Y ;else Z
b) if (X!=0) Y ;else Z
c) if (X==0) Y ; Z
Ans. (b)

Q5. From the following program
foo()
int foo(int a, int b)
{
if (a&b) return 1;
return 0;
}

a) if either a or b are zero returns always 0
b) if both a & b are non zero returns always 1
c) if both a and b are negative returns 0

Q6. The following function gives some error. What changes have to be made
void ( int a,int b)
{
int t; t=a; a=b; b=t;
}
a) define void as int and write return t
b) change everywhere a to *a and b to *b

Q7. Which of the following is incorrect
a) if a and b are defined as int arrays then (a==b) can never be true
b) parameters are passed to functions only by values
c) defining functions in nested loops

Q8. include
void swap(int*,int*);
main()
{
int arr[8]={36,8,97,0,161,164,3,9}
for (int i=0; i<7; i++)
{
for (int j=i+1; j<8;j++)
if(arr[i] }
}
void swap(int*x,int*y)
{
int temp; static int cnt=0;
temp= *x;
*x=*y;
*y=temp;
cnt++;
}
What is cnt equal to

a) 7
b) 15
c) 1
d) none of these

Q9. int main()
{
FILE *fp;
fp=fopen("test.dat","w");
fprintf(fp,’hellon");
fclose(fp);
fp=fopen ("test.dat","w");
fprintf (fp, “world");
fclose(fp);
return 0;
}

If text.dat file is already present after compiling and execution how many bytes does the file occupy ?

a) 0 bytes
b) 5 bytes
c) 11 bytes
d) data is insufficient

Q10. f1(int*x,intflag)
int *y;
*y=*x+3;
switch(flag)
{
case 0:
*x=*y+1;
break;
case 1:
*x=*y;
break;
case 2:
*x=*y-1;
break;
}
return(*y)

main()
{
*x=5;
i=f1(x,0); j=f1(x,1);
printf("%d %d %d “,i,j,*x);
}

What is the output?

a) 8 8 8
b) 5 8 8
c) 8 5 8
d) none of these

Related Plament Papers and Companies

Lucent Technologies

Lucent Technologies Placement Question Paper The present pattern has 6 sections with each 10 questions . 1)C/C++ . 2)Java . 3)datastructures . 4)OS. 5)Networking . 6) Aptitude . 1, 2 & 3 are compulsary sections, while u can choose any two sections from 4, 5 & 6 .... All are easy questions...In c/c++...some pointer question, then error spotting...In

LCube Technologies Placement Question Papers

LCube Technologies Placement Question Papers BUT IF U FOLLOW THIS PATTTERN U WILL SURELY SUCCEED.PART A CONSISTS OF APTITUDE QUESTIONS. THESE ARE purely from r.s.aggarwal and also direct questions.if u remember the answer u can directly chose the answers.this section consists of 20 questions. the part B is quite tough.but if ur an IT guy,dont worry.most questions are from c,c++,java. "see most questions are asked from pointers only".the other questions are from microcontroller,circuit theory(only 2 ques),digital logic(very easy). they will give a program on the question paper and we should chose the output from the

Ness Technologies Placement Question Papers

Ness Technologies Placement Question Papers NESS Technolgoies Pattern 50 Questions from Aptitude........ 1 hour out of this 50 questions 10 - Analytical reasoning....... 10- Logical reasoning English.... This is tough one prepare well..... 10 - comprehensive (passage reading)...... This is tough one prepare well..... 10- simple Mathematics....... very very easy....... 10-English Grammar......I think u can do ... 60 Questions from Tech.......... 1 hour 10-Data Structures.... read about graphs, tree traversal, stacks, ques, sorting algorithms..... 10- C....they asked from Exploring C ..... so be thorough with all examples and exercises...... 10-C++ Basic Concepts...... From Balagurusamy..... 15- C++ programs.....From Balagurusamy... Concentrate more on inheritence, constructors and virtual functions..... 10- SQL Queries..... Study all basic commands

HCL Technologies Placement Question Papers

HCL Technologies Placement Question Papers 1. How many segment registers are there in the 8086 processor? a) 4 b) 6 c) 8 d) none Ans: a 2. What is the addressing mode of this instruction MOV AL, [BX]; a) direct addressing mode b) register indirect addressing mode ANS: b I am not sure of it. 3. What is the type of file system used in the CD ROM? a) VFAT B) 4) About CPU I think but answer is DMA. 5) If we double the clock speed, then? a) It increases the speed of the processor b) It increases the speed of the system bus c) both of the above D)

Ness Technologies

Ness Technologies Placement Question Paper 1.an algorithm is given on deletion and asked to find whether it is 1.queue2.stack 3.list 2.questions on graphs which sides . r ||el . 3.questions on roots and null branches. A tree containing n nodes has how many null branches. N+1 4.questions on container class. In cpp. 5.client server protocol (what r functions of client and protocol) 6. 2 tables r given and questions are askes on it. Queries r given and answers are given (u should choose the correct one). 7. query is given and 4 queries followed which would lead to the same answer as above. 8.the tales r like: region table: n north s south e

  • Resources













  • Placement Papers Archives