# Placement Papers: Texas Placement Paper

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Pattern Consist of

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;} }
- 1 only
- 2 only
- both
- None of these

- Which of the following is a semantic error?
- Division by zero
- Missing of a semicolon at the end of a statement
- Assigning a single precision real value to a long integer
- All the above

- 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?
- 1
- 2
- 3
- 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?
- 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?
- n ⚹ (n-k − 1) /2
- n ⚹ (n − 1) (n-k) (n-k − 2)
- n ⚹ (n − 1) (n-k) (n-k − 2)
- 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:
- O (N/P)
- O (P)
- O (log (N/P) )
- 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; Question next = p; Write the code segment to insert an element p into the linked list after an element q? Make necessary pointer adjustments?
- 9
- 5
- 4
- 6

- Given a matrix A, What is the minimum no of multiplications do u need to compute A10? Which is not an advantage of using subroutines?
- Easier maintenance
- Runtime reduces
- Storage space reduces
- Modularity