Interview Questions
Interview Questions
-how to find the projection of a vector onto another vector. -how to solve a simple separable ode, integration by parts, limits (what a limit is) -what is a virtual destructor (i had no idea), how c++ handles exceptions (no idea either) -how to load mat files, how to output to command window -difference between fourier transform and fourier series -finite and infinite impulse response filters, convolution
How does C++ handle exceptions? What is an FIR and IIR filter?
Math concepts : What is an integral? What is a derivative? Relation between two. What is the difference between definite and indefinite integral? If the limits are -inf to inf, is it a definite integral or an indefinite ? (Ans : Definite) What is a linear differential equation? What is a partial differential equation? Do a dot product of given two 3-D vectors. What is a singular matrix? What is a symmetric matrix ? What are eigen values and eigen vectors? What is the probability that you get 2 aces when you are dealt two cards? What is continuous time system? What is a discrete time system? How do you convert one to the other? What is an LTI system? What is causality? Relationship between Z transform and Fourier transform Z transform of a given impulse response? Is it casual? Given a Z transform, is it stable? Given an impluse response, is the system stable? What are random processes? What is a PSD? What does PSD of white noise look like? What is local scope and global scope? What is # include ? Difference between using # include <stdio.h> and "stdio.h" What is a recursion? Give an example? How does it terminate? How does the system handle recursion calls? What is a malloc function? What is the difference between malloc and other memory allocation functions in C? How do you preserve MATLAB settings across sessions? What is the difference between a script and a function? In terms of their workspace? What does A' do? How do you take transpose of a matrix in MATLAB? What is the difference between * and .* ? How do you take inverse of a Matrix in MATLAB? What is malloc function in C?
Matlab section was irritating: What are mex functions? Where are global and persistent variables stored? Give 2 different ways to access an element in ma trix. What command would you use to get 2 different axes on the same figure? What are cell arrays? Is matlab column specific or row specific? .... Math consisted of first order ODE, integrals, functions, linear algebra etc... I guess the question: 'what are eigen values' is a popular one. Programming Q's were a lot focused on virtual constructors/destructors and classes, polymorphism etc... Matlab section was irritating: What are mex functions? Where are global and persistent variables stored? Give 2 different ways to access an element in ma trix. What command would you use to get 2 different axes on the same figure? What are cell arrays? Is matlab column specific or row specific? .... What would be called if you have a variable 'x' in your workspace in MATLAB and a function 'x' stored in the MATLAB directory when you type 'x' in the command window? She sent me a list of topics that I had to prepare for intrvw. It consisted of Signal Processing(FFT,Z-transform,ROC, DFT,Stability), C or C++, programming Concepts, MATLAB, Mathematics. The intrvw was real easy and I was able to answer atleast 80% of them right. Unfortunately I dint hear from them back what is recursive function?
Basic math (linear algebra, differential equations and calculus) Programming concepts (understand syntax and how languages work) One programming language (C, C++, or Java) (if C++ is selected, understand syntax and structure, compilation and OOP concepts) MATLAB (basic MATLAB syntax, programming and data concepts) Signals Processing (z-transforms, region of convergence, filter design, stability, noise, elementary system theory, the frequency domain, the response of systems, and the time domain)
Basic math What is a derivative? What is an integral? What is the relationship between integral and derivative? What is an eigenvalues? What is an eigenvector? Having this matrix: A= [[2 1];[-1 2]], what are the eigenvalues? what are the eigenvectors? How did you calculate these? What is a linear differential equation? Why? Explain? What is a singular matrix?? What is a symmetric matrix? What is an identity matrix? Having A=[ 2a 3g 4k] and B=[3a 2g -1k], what is the dot product? How did you do it? Factorize your answer. If A and B are matrices, what properties should these have to can be multiplied?
Programming concepts What is a virtual statement? What is a break statement? What is the difference between break/continue statements? What is a destructor do? What it is important? If you have a virtual statement, do you need to assign your destructor as a virtual? Why? What is a recursive function? Give an example. One programming language (C++) What this line of code does? # define alpha beta What this line of code does? # define alpha 100 What these lines of code do? # if def alpha # end if what is the difference between malloc and calloc? MATLAB How you save a variable in a mat file? How you save some specific variables in a mat file? How you open these data? How can you see the type of a variable? How can you do the inverse of a matrix? How you do the transpose of a matrix? What A.*B does? What A*B does? What A. does? What A.^-1 does? What A does? How you find help in MATLAB? How you plot a variable? What is a script? What is a function? Is a script the same that a function? If you type A=1 the answer is A=1 if you type 1 the answer is ans=1 How you do to dont see the answer?? Using ; Signals Processing What is z transform? What's the expression? What is the region of convergence? If you have a pole in the unit circle (exactly in 1), is the system stable? If you have a pole outside the unit circle, is the system stable? What is a causal system? What is a linear time invariant (LTI) system? Why? Explain? How it works? What is a LVR system? Why? Explain? How it works? If h[n]=[ 1 2 3 0 1], where the value of 0 is in n=3, what is the Z transform? If x[n]=n and y[n]=delta[n-3], what is x multiplied by y
What's the difference between Continuous-time and Discrete-time systems? Can you convert a continuous system in a discrete system? How? Explain? Now, Can you convert a discrete system in a continuous system? How? Explain? What's the Power spectral Density? How to compute it?
What is JVM and fully qualified name? View Answers (1) What are the precautionary steps taken while using pointers what is # include, what is the significance of angular brackets< >
took the technical phone interview amost 2 weeks back and havent received a call from them yet. I got questions from basic math, programming concepts, MATLAB and DSP. Has anybody got a call for an on site interview recently like in the past 1 week. What is the difference between MATLAB function and MATLAB script? Difference between Sub function and nested function multi threading, parallel computing What are cell arrays? Asked basic math and algorithm theory . I was given a summation of infinite series . The series formed a GP, basic sets /unions, a set of theorems like the triangular ineuality , max-min flow theorem, four color problem, I was asked what is N and P ( NP complete problems), then complexity of matrix multiplication,Big O notation. if two functions of o(n) complexity were multiplied/added what is the complexity of the resultant function. no eigen vectors and nothing on probability though. Then embedded systems was easy- what is rtos ,its applications, interrupt latency, thread vs process , ISR, virtual memory , semaphore vs mutex, types of semaphores , thread safe, priority inversion C union vs structure, volatile , reentrant code,static , header files, linking, memory section ,bit fields structure and its uses, call by value call by reference , null pointer, typedef vs #define java - access specifiers, abstract class vs interface Calculate circular convolution. What is type cast? about C header files What are java beans? Can you perform arithmetic operations on void pointers? If you were writing a function in a calculator to compute sine/cosine/tangent, and all you had was basic math operations (+, -, *, /) how would you do it? You cannot use lookup tables what is a mutex?