National Instruments

National Instruments Interview Questions and Tips


National Instruments Software engineer internship interview

PC GowthamFresherSelected
I was interviewed on-campus at JSS Mahavidyapeetha Sri Jayachamarajendra College of Engineering, Mysore for Software engineer role at National Instruments
Interview Process
Test Coding Round Technical Interview
Round 1


90 Minutes
No. of Questions
10 questions
Interview Experience
• 1 question was on time complexity of searching an unsorted array.
• 2 questions were on recursion, ie, number of recursive calls.
• 1 question on analysing given function on string.
• 1 question was on probability(Two hotels, say A and B. Probability of moving from A to B is 2/3, staying at A is 1/3. Probability of moving from B to A and staying at B is 1/2. If they make decisions each hour, and if they were at A at 7:00 pm, what is the probability that they will be at B at 10:00 pm).
• If a set has elements {1,2,3,4 .... n}. Then what is the sum of elements of it's power set. (Ex: S = {1,2}. Then power set is {{},{1},{2},{1,2}}. The sum is 6.
• If a set has elements {1,2,3,4,5,6,7,8,9,10}. Then how many subsets of 3 elements has no consecutive elements.
• 1 question was on designing a DFA for a string starting with a and ending with c and has at least b in it.
• 1 question had machine instructions. We had to find out minimum number of cycles needed to execute the given set of instructions. (a) If the instructions are executed in the given order. (b) If the instructions are executed in random order.
• 1 puzzle on bridges.
Interview Tips
In this round they not only see the answer. They also verify how you approached(So, give correct explanation to your answers).
Round 2

Coding Round

Interview Experience
Two questions were there. 3 hours duration.

1. Long question, I don't remember fully. I'll just give input/output examples. It was basically on string decoding. If jon2snow3 is there the decoded string will be jonjonsnowjonjonsnowjonjonsnow. Given a string and an integer k we have print the kth character in the decoded string

2. Given an array and an integer k return the number of contiguous sub arrays whose sum is divisible by k.
input format:
n k
<n elements of the array>
4 5
10 0 4 5


explaination: {10},{0},{10,0},{5} are the sub arrays with sum divisible by 5.

Interview Tips
You will have lots of time, so try to optimise the solution if you can. Remember here also they review each individual's code.
Round 3

Technical Interview

Interview Questions
  • Question 1: They asked me optimise the code I had written for the first question
  • Question 2: Given a binary tree, find out the maximum sum path from root to leaf. This problem, but they said tree has only positive integers. . To store the path I had used global array. They asked me alternative to global array, I said passing array as parameter. Then they asked me about disadvantages of using global variables.
  • Question 3: Given a list of words. Given three operations find out the minimum steps to reach from source string to destination string. Basically, this is the problem with some modification. For this question I said I will use graph traversal techniques. So, they started asking about BFS and DFS, when to use them.
Interview Experience
They will help you a lot if you are stuck at some point in the question. You have to be smart enough to grasp the clue.
Interview Tips
They only ask questions only on data structures and algorithms.

Skills Tested

Skill Tips
You have to be strong in coding. Algorithm questions will be mostly on dynamic programming. Data structures questions are mostly on trees.

Preparation materials

  • C Aptitude:Test Your C Skills By Yeshvant Kanetkar,
  • Coding Interview Questions : Narasimha Karumanchi,
Read Full post...

National Instruments Software Engineer profile interview questions

  • Question 1: Optimize Second round code. - asked on Jul, 2016 in Bengaluru
  • Question 1: I was asked to decode a code which they gave. It was predominantly pointer based. - asked on Aug, 2016 in Bengaluru
  • Question 1: Gave me an arith expression, asked me to fit it into a DS. - asked on Jul, 2016 in Mysore
  • Question 1: they asked about over project - asked on Jun, 2015 in Mysore

National Instruments Intern profile interview questions

  • Question 1: Why the transformer voltage is always in the multiple of 11? - asked on Nov, 2015 in
  • Question 1: The topic of GD was "Sustainable energy solutions" - asked in
  • Question 1: self introduction - asked on Nov, 2015 in Bengaluru
  • Question 1: At the HR level, they spoke a lot about what NI is doing, how it is trying to contribute to the global technological process, which was very good for us to know what kind of work we are working towards. - asked on Feb, 2014 in Bengaluru

National Instruments Technical Sales Representative profile interview questions

  • Question 1: Explain how a FM Radio works - asked on Aug, 2014 in Bengaluru

National Instruments Software Developer Internship profile interview questions

  • Question 1: Given a character array, calculate the minimum no. of jumps from 1st alphabet to reach the last alphabet.CRITERION: From a given character, you can either:1. Jump to the adjacent character2. Jump to the same character positioned in a different place - asked on Aug, 2015 in Bengaluru

National Instruments Software Technician profile interview questions

  • Question 1: Best sorting methods - asked on May, 2013 in Bengaluru

National Instruments Applications Engineer profile interview questions

  • Question 1: subjective question- draw automatic toll system which take input on the basis of weight of the vehicle - asked on Mar, 2017 in Bengaluru

National Instruments Field Technical Consultant profile interview questions

  • Question 1: More on my previous work profile and what do i know about electronics in detail - asked on Oct, 2015 in Bengaluru
1-Step Login | Get unlimited access!