This is a verified interview question from Texas. Candidates reporting seeing this problem in recent Online Assessments (OAs) and onsite rounds. Mastering "Texas Instruments Online Assessment MCQS NIT Bhopal 24th July SDE Role" covers key patterns like Arrays.
"### MCQ 1 What amount of water must be added to 50 litres of milk at 2 litres for Rs. 30 so as to have a mixture worth Rs. 12 a litre? ### MCQ 2 A student moves from point (0, 0) to point (4, 3) un a grid. in each step, the student can move only one unit right or one unit up. Among all shortest paths, one path is chosen at random, What is the probability that the path passes through point (2, 1) but does not pass through point (3, 2)? ### MCQ 3 Find the missing term in the series.  | Col 1 | Col 2 | Col 3 | Col 4 | |---|---|---|---| | 21 | 1 | 11 | 29 | | 4 | 3 | 5 | ? | | 45 | 6 | 20 | 57 | ### MCQ 4 **Direction:** Study the information given below and answer the question that follows. At a multispecialty hospital's outpatient department (OPD) patient consultations for a particular day are recorded under three departments: General Medicine (G), Pediatrics (P) and Orthopedics (O). Eight doctors are on duty: Dr. Aditi (A), Dr. Bharat (B), Dr. Charan (C), Dr. Divya (D), Dr. Eshan (E), Dr. Farman (F), Dr. Gauri (G) and Dr. Hitesh (H). Each doctor consults patients in only one department for the entire day. For a given department, all doctors in that department charge the same consultation fee per patient, though the fee differs across departments. The following information is known: **The consultation fee per patient:** - General Medicine: Rs. 300 per consultation - Pediatrics: Rs. 380 per consultation - Orthopedics: Rs. 450 per consultation **The total number of patients seen during the day in each department is:** - General Medicine: 106 patients - Pediatrics: 88 patients - Orthopedics: 90 patients 1. Only Dr. Aditi (A), Dr. Bharat (B) and Dr. Charan (C) handled General Medicine. 2. Aditi saw 10 more General Medicine patients than Bharat. 3. Charan saw 4 more General Medicine patients than Aditi. 4. Only Dr. Divya (D) and Dr. Eshan (E) handled Pediatrics. 5. Eshan saw 16 more Pediatric patients than Divya. 6. Only Dr. Farman (F), Dr. Gauri (G) and Dr. Hitesh (H) handled Orthopedics. 7. Gauri saw 8 more Orthopedic patients than Farman. 8. Hitesh saw 12 more Orthopedic patients than Farman. **Question:** How many General Medicine patients did Dr. Charan (C) see? ### MCQ 5 **Direction:** Study the information given below and answer the question that follows. At a multispecialty hospital's outpatient department (OPD) patient consultations for a particular day are recorded under three departments: General Medicine (G), Pediatrics (P) and Orthopedics (O). Eight doctors are on duty: Dr. Aditi (A), Dr. Bharat (B), Dr. Charan (C), Dr. Divya (D), Dr. Eshan (E), Dr. Farman (F), Dr. Gauri (G) and Dr. Hitesh (H). Each doctor consults patients in only one department for the entire day. For a given department, all doctors in that department charge the same consultation fee per patient, though the fee differs across departments. The following information is known: **The consultation fee per patient:** - General Medicine: Rs. 300 per consultation - Pediatrics: Rs. 380 per consultation - Orthopedics: Rs. 450 per consultation **The total number of patients seen during the day in each department is:** - General Medicine: 106 patients - Pediatrics: 88 patients - Orthopedics: 90 patients 1. Only Dr. Aditi (A), Dr. Bharat (B) and Dr. Charan (C) handled General Medicine. 2. Aditi saw 10 more General Medicine patients than Bharat. 3. Charan saw 4 more General Medicine patients than Aditi. 4. Only Dr. Divya (D) and Dr. Eshan (E) handled Pediatrics. 5. Eshan saw 16 more Pediatric patients than Divya. 6. Only Dr. Farman (F), Dr. Gauri (G) and Dr. Hitesh (H) handled Orthopedics. 7. Gauri saw 8 more Orthopedic patients than Farman. 8. Hitesh saw 12 more Orthopedic patients than Farman. **Question:** What was the total consultation revenue from Pediatrics during the day? ### MCQ 6 **Direction:** Study the information given below and answer the question that follows. At a multispecialty hospital's outpatient department (OPD) patient consultations for a particular day are recorded under three departments: General Medicine (G), Pediatrics (P) and Orthopedics (O). Eight doctors are on duty: Dr. Aditi (A), Dr. Bharat (B), Dr. Charan (C), Dr. Divya (D), Dr. Eshan (E), Dr. Farman (F), Dr. Gauri (G) and Dr. Hitesh (H). Each doctor consults patients in only one department for the entire day. For a given department, all doctors in that department charge the same consultation fee per patient, though the fee differs across departments. The following information is known: **The consultation fee per patient:** - General Medicine: Rs. 300 per consultation - Pediatrics: Rs. 380 per consultation - Orthopedics: Rs. 450 per consultation **The total number of patients seen during the day in each department is:** - General Medicine: 106 patients - Pediatrics: 88 patients - Orthopedics: 90 patients 1. Only Dr. Aditi (A), Dr. Bharat (B) and Dr. Charan (C) handled General Medicine. 2. Aditi saw 10 more General Medicine patients than Bharat. 3. Charan saw 4 more General Medicine patients than Aditi. 4. Only Dr. Divya (D) and Dr. Eshan (E) handled Pediatrics. 5. Eshan saw 16 more Pediatric patients than Divya. 6. Only Dr. Farman (F), Dr. Gauri (G) and Dr. Hitesh (H) handled Orthopedics. 7. Gauri saw 8 more Orthopedic patients than Farman. 8. Hitesh saw 12 more Orthopedic patients than Farman. **Question:** What were Dr. Eshar's (E's) total earnings for the day? ### MCQ 7 **Direction:** Study the information given below and answer the question that follows. At a multispecialty hospital's outpatient department (OPD) patient consultations for a particular day are recorded under three departments: General Medicine (G), Pediatrics (P) and Orthopedics (O). Eight doctors are on duty: Dr. Aditi (A), Dr. Bharat (B), Dr. Charan (C), Dr. Divya (D), Dr. Eshan (E), Dr. Farman (F), Dr. Gauri (G) and Dr. Hitesh (H). Each doctor consults patients in only one department for the entire day. For a given department, all doctors in that department charge the same consultation fee per patient, though the fee differs across departments. The following information is known: **The consultation fee per patient:** - General Medicine: Rs. 300 per consultation - Pediatrics: Rs. 380 per consultation - Orthopedics: Rs. 450 per consultation **The total number of patients seen during the day in each department is:** - General Medicine: 106 patients - Pediatrics: 88 patients - Orthopedics: 90 patients 1. Only Dr. Aditi (A), Dr. Bharat (B) and Dr. Charan (C) handled General Medicine. 2. Aditi saw 10 more General Medicine patients than Bharat. 3. Charan saw 4 more General Medicine patients than Aditi. 4. Only Dr. Divya (D) and Dr. Eshan (E) handled Pediatrics. 5. Eshan saw 16 more Pediatric patients than Divya. 6. Only Dr. Farman (F), Dr. Gauri (G) and Dr. Hitesh (H) handled Orthopedics. 7. Gauri saw 8 more Orthopedic patients than Farman. 8. Hitesh saw 12 more Orthopedic patients than Farman. **Question:** Which doctor earned the highest consultation revenue during the day? ### MCQ 8 Two sets A and B satisfy: |A| = 72, |B| = 58, and |A ∆ B| = 46, where A ∆ B denotes the symmetric difference (elements in exactly one of A or B). Find |A ∩ B| ### MCQ 9 A function f is defined on all non-negative integers and satisfies: f(0) = 2 f(n+1) = 2f(n) + 3n for every non-negative integer n What is the value of f(4)? ### MCQ 10 Find the next term in the series: B2, F3, E6, K9, H18, P27, ? ### MCQ 11 **Direction:** Study the information given below and answer the questions that follow The Table given below shows the scores out of 10 of five archers in four rounds in a archery competition. | Name of player | Round 1 | Round 2 | Round 3 | Round 4 | |---|---|---|---|---| | Alice | 10 | | 6 | 10 | | Bob | 9 | 8 | 7 | 10 | | Carol | 6 | | 10 | 10 | | David | 8 | 8 | 10 | | | Elena | 7 | 7 | | 10 | **Question:** What is the difference between the overall scores of Alice and Elena? ### MCQ 12 **Direction:** Study the information given below and answer the questions that follow The Table given below shows the scores out of 10 of five archers in four rounds in a archery competition. | Name of player | Round 1 | Round 2 | Round 3 | Round 4 | |---|---|---|---|---| | Alice | 10 | | 6 | 10 | | Bob | 9 | 8 | 7 | 10 | | Carol | 6 | | 10 | 10 | | David | 8 | 8 | 10 | | | Elena | 7 | 7 | | 10 | **Question:** What is the ratio of the total scores in round 2 and round 4? ### MCQ 13 ```sql create table Test1( id number(2), name varchar(10), marks number(2), constraint pk_test primary key (id) ); insert into test values(12, 'Rahul', 90); insert into test values(34, 'Rahul', 92); insert into test values(34, 'Rahul', 92); insert into test values(112, 'Rahul', 90); insert into test values(112, NULL, NULL); insert into test values(11, 45621, 464); ``` After executions of above queries how many records will be inserted into Test table? ### MCQ 14 A university management system has entities such as Student, Course, Instructor, and Enrollment. Students enroll in multiple courses, and each course can have multiple students. Each course is taught by one instructor, but instructors can teach multiple courses. Which type of attribute would the 'FullName' of a student be in the university management system? **Answer Options:** - Composite attribute - Multi-valued attribute - Derived attribute - Simple attribute ### MCQ 15 When instructions cannot be overlapped in a pipeline due to both needing the same resource, it is also called as: **Answer Options:** - Structural hazard - Control hazard - Both Data and Structural hazard - Data hazard ### MCQ 16 Consider the following code given below: ```c int Search (int arr[], int item, int N) { int r = 0; int l = N - 1; int m; while (m < l) { int x = l - r; m = r + (x / 3); int temp = m; while (m > l) { int i = min(temp + r, N - 1); if (arr[i] < item) { m = 3 * r; l = x; } // [truncated code block...] ``` What is the time complexity of the above given code? ### MCQ 17 ```c int Fun(struct Queue *Q) { return ((Q->rear + 1) % Q->capacity == Q->front); } ``` What does the above function return: **Answer Options:** - Size of the Queue - "1" if the Queue is full - "1" if the Queue is empty - Null ### MCQ 18 Choose the correct statement(s) regarding "Static binding". I) It happens during compile time. II) It occurs during class load time. III) It occures during runtime. **Answer Options:** - Only (I) - Only (I) and (II) - Only (II) and (III) - Only (II) ### MCQ 19 Funtions like "data conversion, data compression and data encryption" is performed at which layer of OSI model? **Answer Options:** - Network layer - Transport layer - Data link layer - Presentation layer ### MCQ 20 What will be the number of rotations required to construct an AVL tree from the elements given below? `45 91 4 82 5 20 58 13 43 38` ### MCQ 21 Consider the table given below: | ID | Name | Description | Price | StockQuantity | Category | |---|---|---|---|---|---| | 10 | iPhone 12 | Apple iPhone 12 | 599.99 | 100 | Electronics | | 20 | Samsung Galaxy S21 | Samsung Galaxy S21 | 899.99 | 150 | Electronics | | 30 | Dell XPS 13 | 13 inch Dell laptop | 1299.99 | 50 | Electronics | Which of the query given below will retrieve the names of products containing the word "Samsung" in their name? **Answer Options:** - `SELECT Name FROM Product WHERE Name LIKE_Samsung_%;` - `SELECT Name FROM Product WHERE Name LIKE Samsung;` - `SELECT Name FROM Product WHERE Name LIKE '%Samsung%';` - `SELECT Name FROM Product WHERE Name LIKE '%Samsung;` ### MCQ 22 What is the output of the program given below? ```cpp #include <iostream> using namespace std; class A { public: virtual void a() { cout << "\na() of A" << " "; } virtual ~A() { cout << "\nInside ~A() of A" << " "; } }; class B: public A { public: void a() { cout << "\na() of B" << " "; } ~B() { cout << "\nInside ~B() of B" << " "; } }; int main(void) { A *x = new B(); delete x; return 0; } ``` ### MCQ 23 Construct a max heap 'S' from the given elements: `8 10 14 20 80 1 6 3` Which of the given options are left and right children of root? **Answer Options:** - 20 and 14 - 6 and 20 - 20 and 10 - 8 and 14 ### MCQ 24 Which of the tags given below are true about the tags that are available in HTML5? I) Telephone II) Mobile III) URL IV) Search V) Address VI) Datetime-global **Answer Options:** - (I), (III), (IV), (V), (VI) - (I), (II), (IV), (VI) - (I), (III), (IV), (V), (VI) - (I), (III), (IV) ### MCQ 25 In a university database, a table includes columns: CourseID, InstructorID, InstructorName, and CourseName. Assume each CourseID determines the CourseName and each InstructorID determines the InstructorName. Which normal form is violated, and how can it be corrected to achieve BCNF? **Answer Options:** - 3NF; separate the instructor and course information - 4NF; separate the instructor and course information - BCNF; separate the instructor and course information - 2NF; separate the instructor and course information ### MCQ 26 Which of the statements given in options are correct? I) Unique indexes can be used for data integrity. II) Data integrity can be handled in a relational database through referential integrity. III) Transactions in two schedules can perform similar actions in a similar manner. **Answer Options:** - Only (II) and (III) - All (I), (II) and (III) - Only (I) and (II) - Only (I) and (III) ### MCQ 27 What will be the return value of the function given below for a=5, b=3, c=4? ```c int ahcf(int a, int b, int c) { int r; if (a > b && a > c) r = a * b * c; else r = 10; return r; } ``` ### MCQ 28 The process of transferring a block of program code or other data into internal memory, replacing what is already stored is know as: **Answer Options:** - Swapping - Paging - Overlaying - Chain loading ### MCQ 29 Consider the statements given below: I) Prevent the overhead caused due to the slow devices. II) Prevent the race conditions in the kernel. III) Synchronize the CPU operation with the power cycle. A computer including the instructions, enables/disables the interrupts. Which of the statement(s) is/are correct with respect to the enabling/disabling the interrupts? **Answer Options:** - Only (II) - Only (III) - Only (I) - Only (I) and (II) ### MCQ 30 ```text Function Add(Int N) BEGIN IF(N<=1) BEGIN RETURN 0; END; ELSE BEGIN RETURN (N+Add(N-1)+Add(N-2)); End; End; ``` What value is returned by the call Add(4)? ### MCQ 31 Which value of the 'display' property allows responsive switching of layout? **Answer Options:** - none - flex - inline - block ### MCQ 32 Which of the following attributes of information confirms that an authenticated user must access all the resources, which he is authorised to access? **Answer Options:** - Integrity - Availability - Redundancy - Confidentiality"
Join thousands of developers practicing for Texas.