Subscribe:Posts Comments | Read Articles on Various Topics - Pro Articles

You Are Here: Home » Sample Placement Papers, Texas Instruments Test Papers » Texas Instruments Technical Test Paper MCQ

1.which code executes faster?
code1:- for(i=0;i for(j=0;j large_array[i][j]=0;

code2:- for(j=0;j for(i=0;i large_array[i][j]=0;
ans:code1

2.void fn (int *ptr)
{
static int val=100;
ptr=&val;
}
main()
{
int i=10;
printf(“%d”, i);
fn(&i);
printf(“%d”, i);
}
ans:prints 10,10

3. C supports – call by value only.

4.main()
{
int i=1;
fork();
fork();
printf(“%d”,i+1);
}
ans :- prints 2 four times

5.#define max(a,b) (a>b)?a:b
main()
{
int m,n;
m=3+max(2,3);
n=2*max(3,2);
printf(“%d,%d”,m,n);
}
ans:-m=2,n=3

6.int fn()
{
int x=2;
return x;
}
char * g()
{
char x[4];
strcpy(x,”hello”);
return x;
}
main()
{
char *s;
s=g();
fn();
printf(“%s\n”,s);
}

7. Representation of -0.375 — 111.101

8. 1-way set assosiated memory —– mapped
Answer:-direct

9. Translation look aside buffers used in______
ans:- cache memory probably

10. DSP

11. Faster IPC mechanism
ans:- shared memory

12. Some question on gates(figure)
ans:- c or d

13. A+(barA)B= A+B

14. Time page
1 1
2 2
3 1
4 3
5 4
6 stop
What are the pages in memory. C memory page table size=21

15. Write swap methods with out using temp variables.

16. count no. of 1′s in a word with out counting individaul bits.

17.complexity of binary search tree.

Computer science cse, electrical branch ee, electronics ece, information technology it b.tech engineering branch questions for Texas Instruments Placement Technical Test Paper. See more IT and engineering branches latest sample placement papers and technical hr interview questions by real candidates.

Related Posts

    Leave a Reply

    © Copyright 2010 Latestexams. All Rights Reserved | Privacy Policy | Terms & Conditions