Tip 1 : Project is a must. Try to do some project in Machine Learning so that you can confuse the interviewer as they don't know Machine Learning. They will mostly not ask questions from Machine Learning topics.
Tip 2 : Prepare DSA basics. At least theory.
Tip 3 : At the end when the interviewer asks if you have any questions for them. Then ask what kind of work we will do if I get selected or what technology stack should I learn if I get selected. This gives the impression that the student is eager to learn.
Tip 1: Include a machine learning project.
Tip 2: Include some simple certifications just for namesake.
int main(){
int a=12,b=39;
printf ("%d",a&b);
return 0;}
(a). 468
(b). 0
(c). 4
(d). None of the above.
Find binary of 12 and 39 which is 1100 and 100111 respectively. Apply AND operation on the binary values:
001100
& 100111
-----------------
000100
100 in binary is equivalent to 4. So option (c) is correct.
# include void fun(int x){ x = 30;}
int main(){
int y = 20;
fun(y);
printf("%d", y);
return 0;}
(a) 30
(b) 20
(c) Compiler Error
(d) Runtime Error
Parameters are always passed by value in C. Therefore, in the above code, value of y is not modified using the function fun(). So answer will be option (b).
SELECT dept_name, ID, avg (salary)FROM instructorGROUP BY dept_name;
(a) Dept_id should not be used in group by clause
(b) Group by clause is not valid in this query
(c) Avg(salary) should not be selected
(d) None
Any property that does not occur in the group by clause must only appear in an aggregate function if it also appears in the select clause; otherwise, the query is considered incorrect.
Option (a) is correct.



Let countDer(n) be count of derangements for n elements. Below is the recursive relation to it.
countDer(n) = (n - 1) * [countDer(n - 1) + countDer(n - 2)]
There are n – 1 way for element 0 (this explains multiplication with n – 1).
Let 0 be placed at index i. There are now two possibilities, depending on whether or not element i is placed at 0 in return.
i is placed at 0: This case is equivalent to solving the problem for n-2 elements as two elements have just swapped their positions.
i is not placed at 0: This case is equivalent to solving the problem for n-1 elements as now there are n-1 elements, n-1 positions and every element has n-2 choices
You want to sort the results of a query by specific parts of a string. For example, you want to return employee names and jobs from table EMP and sort by the last twocharacters in the JOB field. The result set should look like the following:ENAME JOB---------- ---------KING PRESIDENTSMITH CLERKADAMS CLERKJAMES CLERKMILLER CLERKJONES MANAGERCLARK MANAGERBLAKE MANAGERALLEN SALESMANMARTIN SALESMANWARD SALESMANTURNER SALESMANSCOTT ANALYSTFORD ANALYST
select ename,job
from emp
order by substring(job,len(job)-1,2)
Using your DBMS’s substring function, you can easily sort by any part of a string. To sort by the last two characters of a string, find the end of the string (which is the length of the string) and subtract two. The start position will be the second to last character in the string. You then take all characters after that start osition. SQL Server’s SUBSTRING is different from the SUBSTR function as it requires a third parameter that specifies how many characters to take. In this example, any number greater than or equal to two will work.



V is the number of vertices present in graph G and vertices are numbered from 0 to V-1.
E is the number of edges present in graph G.
The Graph may not be connected i.e there may exist multiple components in a graph.
Just learn concept and explain.
What is inheritance? What is the difference between multiple inheritance and and multilevel inheritance?
What is abstraction?
Just learn definition and explain.
What are joins and types of joins?
Just learn definition and explain.
You want to find the highest and lowest values in a given column. For example, you
want to find the highest and lowest salaries for all employees, as well as the highest
and lowest salaries for each department.
select deptno, min(sal) as min_sal, max(sal) as max_sal
from emp
group by deptno ;

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?