Showing posts with label Texas Instruments Latest Placement Papers. Show all posts
Showing posts with label Texas Instruments Latest Placement Papers. Show all posts

Wednesday, March 12, 2008

Texas Instruments Placement Paper 2

Latest Style Texas Instruments Placement Papers

1. if a 5-stage pipe-line is flushed and then we have to execute 5 and 12
instructions respectively then no. of cycles will be
a. 5 and 12
b. 6 and 13
c. 9 and 16
d.none

2. k-map
ab
----------
c 1 x 0 0
1 x 0 x
solve it

a. A.B
B. ~A
C. ~B
D. A+B

3.CHAR A[10][15] AND INT B[10][15] IS DEFINED WHAT'S THE ADDRESS OF A[3][4] AND B[3][4] IF ADDRESS OD A IS OX1000 AND B IS 0X2000

A. 0X1030 AND 0X20C3
B. OX1031 AND OX20C4
AND SOME OTHERS..

4. int f(int *a)
{
int b=5;
a=&b;
}

main()
{
int i;
printf("\n %d",i);
f(&i);
printf("\n %d",i);
}

what's the output .

1.10,5
2,10,10
c.5,5
d. none

5. main()
{
int i;
fork();
fork();
fork();
printf("----");
}

how many times the printf will be executed .
a.3
b. 6
c.5
d. 8

6.
void f(int i)
{
int j;
for (j=0;j<16;j++)
{
if (i & (0x8000>>j))
printf("1");
else
printf("0");
}
}
what's the purpose of the program

a. its output is hex representation of i
b. bcd
c. binary
d. decimal

7.#define f(a,b) a+b
#define g(a,b) a*b

main()
{
int m;
m=2*f(3,g(4,5));
printf("\n m is %d",m);
}

what's the value of m
a.70
b.50
c.26
d. 69

8.
main()
{
char a[10];
strcpy(a,"\0");
if (a==NULL)
printf("\a is null");
else
printf("\n a is not null");}

what happens with it .
a. compile time error.
b. run-time error.
c. a is null
d. a is not null.

9. char a[5]="hello"

a. in array we can't do the operation .
b. size of a is too large
c. size of a is too small
d. nothing wrong with it .

10. local variables can be store by compiler
a. in register or heap
b. in register or stack
c .in stack or heap .
d. global memory.

11. average and worst time complexity in a sorted binary tree is

12. a tree is given and ask to find its meaning (parse-tree)
(expression tree)
ans. ((a+b)-(c*d)) ( not confirmed)

13. convert 40.xxxx into binary .

14. global variable conflicts due to multiple file occurance
is resolved during
a. compile-time
b. run-time
c. link-time
d. load-time

15.
two program is given of factorial.
one with recursion and one without recursion .
question was which program won't run for very big no. input because
of stack overfow .
a. i only (ans.)
b. ii only
c. i& ii both .
c. none

16.
struct a
{
int a;
char b;
int c;
}

union b
{
char a;
int b;
int c;
};
which is correct .
a. size of a is always diff. form size of b.(ans.)
b. size of a is always same form size of b.
c. we can't say anything because of not-homogeneous (not in ordered)
d. size of a can be same if ...

Here is Texas paper for you.
in this paper there was 20 questions as follows in 60 minutes .
second part consists of 36 que. in 30 minutes all questions are
diagramatical.(figurs)..

1. if a 5-stage pipe-line is flushed and then we have to execute 5 and
12
instructions respectively then no. of cycles will be
a. 5 and 12
b. 6 and 13
c. 9 and 16
d.none

2. k-map

ab
----------
c 1 x 0 0
1 x 0 x

solve it

a. A.B
B. ~A
C. ~B
D. A+B

3.CHAR A[10][15] AND INT B[10][15] IS DEFINED
WHAT'S THE ADDRESS OF A[3][4] AND B[3][4]
IF ADDRESS OD A IS OX1000 AND B IS 0X2000

A. 0X1030 AND 0X20C3
B. OX1031 AND OX20C4
AND SOME OTHERS..

4. int f(int *a)
{
int b=5;
a=&b;
}

main()
{
int i;
printf("\n %d",i);
f(&i);
printf("\n %d",i);
}

what's the output .

1.10,5
2,10,10
c.5,5
d. none

5. main()
{
int i;
fork();
fork();
fork();
printf("----");
}

how many times the printf will be executed .
a.3
b. 6
c.5
d. 8

6
void f(int i)
{
int j;
for (j=0;j<16;j++)
{
if (i & (0x8000>>j))
printf("1");
else
printf("0");
}
}
what's the purpose of the program

a. its output is hex representation of i
b. bcd
c. binary
d. decimal

7.#define f(a,b) a+b
#define g(a,b) a*b

main()
{

int m;
m=2*f(3,g(4,5));
printf("\n m is %d",m);
}

what's the value of m
a.70
b.50
c.26
d. 69

8
main()
{
char a[10];
strcpy(a,"\0");
if (a==NULL)
printf("\a is null");
else
printf("\n a is not null");}

what happens with it .
a. compile time error.
b. run-time error.
c. a is null
d. a is not null.

9. char a[5]="hello"

a. in array we can't do the operation .
b. size of a is too large
c. size of a is too small
d. nothing wrong with it .

10. local variables can be store by compiler
a. in register or heap
b. in register or stack
c .in stack or heap .
d. global memory.

11. average and worst time complexity in a sorted binary tree is

12. a tree is given and ask to find its meaning (parse-tree)
(expression tree)
ans. ((a+b)-(c*d)) ( not confirmed)
13. convert 40.xxxx into binary .

14. global variable conflicts due to multiple file occurance
is resolved during
a. compile-time
b. run-time
c. link-time
d. load-time

15
two program is given of factorial.
one with recursion and one without recursion .
question was which program won't run for very big no. input because
of stack overfow .
a. i only (ans.)
b. ii only
c. i& ii both .
c. none

16
struct a
{
int a;
char b;
int c;
}

union b
{
char a;
int b;
int c;
};
which is correct .
a. size of a is always diff. form size of b.(ans.)
b. size of a is always same form size of b.
c. we can't say anything because of not-homogeneous (not in ordered)
d. size of a can be same if ...

Free Download Texas Insutruments January, February, March, April, May, June, July, August, September, October, November and December 2006, 2007 and 2008 Texas INsutruments Recruitment Papers and Free Download other IT Companies Latest & Previous solved placement online question papers held at IITs, Universities, Colleges in Punjab (Chandigarh), Haryana, Delhi, Karnataka (Bangalore), West Bengal, Tamil Nadu (Chennai), Andhra Pradesh (Hyderabad), Maharashtra (Mumbai). Also the HR - Technical or Tech Interview questions and GD Topics & Tips.. Only at previouspapers.blogspot.com

Texas Instruments Placement Paper 1

Texas Instruments Latest Placement Papers -1 Technical Test

Contains three sections (Data Structures and Algorithms, Analog Circuits, Digital Circuits) you have to choose any two sections among the three. Each section has 10 questions each and the total time for the two sections is 45 minutes. There is negative marking.

Aptitude Test
75 questions ? 1 hour ? Negative marking is there
Technical Interview

Behavioral Interview

Here is some sample Questions


int fact(int n) int fact_ii(int n)
{ {
if (n >0)
int fact_val = 1, i = 0;
return n*fact (n-1); for (i = 1; i <= n ; i++)
else fact_val = fact_val*i;
return 1; return fact_val;
} }
(a) (i) only
(b) (ii) only
(c) both
(d) None of these

(2) Which of the following is a semantic error?
(a) Division by zero
(b) Missing of a semicolon at the end of a statement
(c) Assigning a single precision real value to a long integer
(d) All the above

for(i=0, count=0;i<16;i++)
if(CONDITION)
count++;
a. (x & (1 << i))
b. (x & (1 << i))
c. (x && (1 << i))
d. None of the above.

int i, count, x;
(3) If the following code segment is to count the no of zero?s in the given integer ?x? in its binary representation, what is to replaced by CONDITION?
(a) 1
(b) 2
(c) 3
(d) The graph can?t be colored
A graph was given and asked to find out the minimum no of colors required to color the graph?

(6) Which is not an advantage of using subroutines?
(a) Easier maintenance
(b) Runtime reduces
(c) Storage space reduces
(d) Modularity

Inorder traversal of a binary tree is d c e b a and preorder traversal of a binary tree is b c d e a. Find out the post order traversal?
(a) n*(n-k-1)/2
(b) n*(n-1) ? (n-k)(n-k-2)
(c) n*(n-1) ? (n-k)(n-k-2)
(d) n*n ? (n-k-1)

A k-diagonal matrix is a n *n square matrix in which the elements on the principal diagonal and k diagonals above the principal diagonal and k diagonals below the principal diagonal only have none zero elements. Other elements are zero?s. In order to save the space, the non zero elements are stored in a one dimensional array. The no of locations in this array are:
(a) O (N/P)
(b) O (P)
(c) O ( log (N/P))
(d) O ( log (N/P)) + O (P log P)

A 1D - array A whose size is N is given and is divided into P partitions and an element x is to be searched in the array. Each partition is given to one processor. The elements are searched with in the partition using a binary search. What is the time complexity of the algorithm?
Ans:
p.next = q.next;
q.next = p;

Write the code segment to insert an element p into the linked list after an element q? Make necessary pointer adjustments?
(a) 9
(b) 5
(c) 4
(d) 6

Given a matrix A. What is the minimum no of multiplications do u need to compute A10 ?