Jobs in India
Search Jobs
Search Jobs

Read 7 - Technical - C & C++ - 8 September 2005 by Texas

Details of Read 7 - Technical - C & C++ - 8 September 2005 by Texas conducted by Texas for job interview.
Share Us With Others
Texas Instruments Date : 8/9/2005

given an expression tree and asked us to write the in fix of that expression
four choices : 2

global variables in different files are
a:at compiletime
b) loading time
c) linking time
d)execution time

size of(int)
a) always 2 bytes
b) depends on compiler that is being used
c) always 32 bits
d) can,t tell

which one will over flow given two programs
2 prog 1: prog2:
main() main()
{ {
int fact; int fact=0
long int x; for(i=1;i1) return(x*factorial(x-1);
}
a) program 1;
b) program 2;
c) both 1 &2
d) none
}

variables of fuction call are allocated in
a) registers and stack
b) registers and heap
c) stack and heap
d)

avg and worst case time of sorted binary tree

data structure used for proority queue
a) linked list b) double linkedd list c)array d) tree

main(){
char str[5]="hello";
if(str==NULL) printf("string null");
else printf("string not null");
}
what is out put of the program?
a) string is null b) string is not null c) error in program d) it executes but print nothing

There are 0ne 5 pipe line and another 12 pipe line sates are there and flushed time taken to execute five instructions a) 10,17
b) 9,16
c)25,144
d)

for hashing which is best on terms of buckets
a)100 b)50 c)21 d)32 ans 32

void f(int value){
for (i=0;i>1) printf("1")
else printf("0");
}
}
what is printed?
a) bineray value of argument b)bcd value c) hex value d) octal value

void f(int *p){
static val=100;
val=&p;
}
main(){
int a=10;
printf("%d ",a);
f(&a);
printf("%d ",a);
}
what will be out put?
a)10,10

struck a{
int x;
float y;
char c[10];
}
union b{
int x;
float y;
char c[10];
}
which is true?
a) size of(a)!=sizeof(b);
b)
c)
d)

# define f(a,b) a+b
#defiune g(c,d) c*d
find valueof f(4,g(5,6))
a)26 b)51 c) d)

find avg access time of cache
a)tc*h+(1-h)*tm b)tcH+tmH
c) d) tc is time to access cache tm is time to access when miss occure

main()
{
char a[10]="hello";
strcpy(a,,\0,);
printf("%s",a);
}
out put of the program?
a) string is null b) string is not null c) program error d)

simplyfy k map
1 x x 0
1 x 0 1

int f(int a)
{
a=+b;
//some stuff
}
main()
{
x=fn(a);
y=&fn;
what are x & y types
a) x is int y is pointer to afunction which takes integer value

char a[5][15];
int b[5][15];
address of a 0x1000 and b is 0x2000 find address of a[3][4] and b[3][4]
assume char is 8 bits and int is 32 bits
a) b) c) d)
there are 20 questions all in techinical paper and 36 questions in appititude test in appititude thay have given all diagrams and asked to find what comes next thay are quite easy and i hope if u practice r.s aggraval u can do it easily for tecnical thay have given 1 hr for 20 questions and for not technical thay have given only 40 min and 36 questions
this is the paper i have right now for TI aptitude test consist of all pictorial questions. ie in each question he will give 8 diagrams and ask to find th 9,th diagram in that sequence.You go through RS Agarwal. These aptitude questins are
very easy. Just pratice them. In RS Agarwal gothrough SERIES chapter. It is suffient. There are 35 aptitude
questions. First 25 are very easy. Do these questions in just 15 or 20 minutes. Because last questions are
very touch.

TECHNICAL TEST:
3 flipflops are connected so that after 0 to 5 count occured next number is zero. So what is the counter?
Ans: mod 6 counter

simplication of some boolean expression which is simple. Boolean Expression is A+A,B.
Ans:A+B

Given inorder sequence and preorder sequence and asked to find out postorder sequence.

Some question on value of a static variable.

Given an interger in binary form,find the number of ones in that number without counting each bit.(This questin is not multiple choice question. This question carries more marks. So please take care for this question.)

1-way set associative memory is called-----
a)direct b)something c)1-way set associative 4)something
Ans: c

Fastest IPC mechanism is
a)shared memory b)pipes c)named pipes d)semaphores
Ans:c

Some page references are given. You are asked to implement it with Least Frequently Used algorithm.

Some diagram is given. Iam describinmg the diagram. A 2*1 MUX is given. The inputs are A,B. Output is C. C and A are tied together. What is the diagram.?
Ans:Latch.

This paper is for Electrical & Electronics students. There is separate test for computer Science Students. There are 20 questions.


1)Some circuit is given. Iam describing the circuit.A resistor R & a capacitor C are connected in parallel.
To this circuit another circuit which is having a capacitorof capacity 2C & an impedence Z, is connected in series.
You are asked to find out the value of Z? Note that 2C & Zare connected in series.
a)Z=2C
b)Z=2L
c)Z=L/2
d)Z=2R

Some circuit which consist of only resistors R is given. This is a repetative circuit. U have to find the effctive
resistance of the entire circuit.
A)Rin=R
B)Rin=(5+sqrt(3))/7
C)Rin=(19+sqrt(3))/8
D)None.


Two wave forms are given. You are asked to write the cirsuit to get B(second wave form) from A(first wave form).


#define SUM(a,b) a+b
main()
{
a=2;
b=3;
x=SUM(a,b)*2;
printf("x=%d\n",x);
}
Ans:8.

number(int i)
{
number++;
printf("%d\n",number);
}
main()
{
static int i=0;
number(i);
}
Ans: I don,t know.

Some circuit is given. I can,t describe the circuit. There are
3 resistors,3 capacitors & one inverter.. The question is
What is the value of the frequency such that the circuit oscillates.
A)f=RC
B)f=sqrt(3)/(Pi*R*C)
C)f=1/(Pi*R*C)
D)something
Ans:I don,t know the answer.

7)Question on flipflop. So gothrough all flipflops.

8)There are 5 questions on Nmos & Pmos circuits.


This Paper is for Computer Science Students. THis paper is very easy. You can definitely do it in one hour.
The fastest memory is
(i) DRAM, (ii) ROM, (iii) SRAM, (iv) Main memory
Ans : SRAM

Programing exceptions are
(i) Asynchronous, (ii) Synchronous, (iii) None
Ans : Asynchronous

DSP which architecture is used
(i) MIMD, (ii) SIMD, (iii) Nueman, (iv) Harvard Architecture
Ans : Harvard Architecture

C prog. for searching for an element in linked list

main()
{
unsigned char i;
int sum;
for(i=0; i