20+ Technical Interview Questions with answers for Engineering students

Hello everyone, I hope that you all are doing good in your lives. Today we are going to continue our discussion regarding the interviews. However today we are mainly going to focus on the technical interview questions for engineering students. But if you haven’t been through the last preparation blogs then check out the link below;


20 basic job interview questions with answers for ECE students


Technical Interview questions for engineering

Explain Polymorphism?

The words polymorphism is a combination of two words poly (Many) + morphism (Faces). In simple words, we can say that it is a feature by which we can use or display or use the same message or symbol for a different context.

For example, as we know that “+” symbol is used for addition but by using polymorphism we can the meaning f the symbol and use it either multiplication or subtraction.

Create a C program to check that the string is palindrome or not

#include stdio.h
#include string.h

int main()
{
char L1[50], L2[50];

printf("Enter the string:-");
gets(L1);

strcpy(L2,L1);
strrev(L2);

if (!strcmp(L1,L2))
    printf("the string Is Palindrome");
else:
    printf("The string is not Palindrome");

return 0;
}

Explain What is Loop statement and its types available

Certainly, a loop statement is use for interaction or for conditional statements. the basic structure of a loop statement is ;

Basic Loop Structure

The statements are either entry control (condition is first tested and then the body is executed) or exit control (Body is executed first and then the condition is checked). There are basically 4 types of loops:- For, while, do…..while, and nested. If else statement can also be a conditional statement.

What is Time invariant system?

A Time invariant system is a system in which the values of the input and output parameters do not change with the changing time. In such systems, so if there is any delay in the input signal them it directly corresponds to the changes in the output.

Explain the term Data Science

It is a complete set of different technical processes such as preparation of data, cleaning, sorting, analyzing, and much more. However, this process is use to find a pattern or similarity in the given raw material to transform it into insights. For this transformation mathematical and graphical means is use.

What is bubble sort? Explain with code

Bubble sort is the simplest among sorting techniques. This algorithm is based on the comparison of the neighboring elements and if the elements are not in the correct order then they are swapped. However, this method is only suitable for a small list of arrays because of its time complexity i.e O(n).

Algorithm 

Start Bubble sort

  for all elements of the list
    if (list[j] > list[j+1])
      swap (list[j], list[j+1])
    end if
  end for

  return list
  
  swap(a,b)
    c=a
    a=b
    b=c
  end swap

Stop Bubble Sort

Bubble sort algorithm question for technical interview of engineering

Code for bubble sort

# Python program for execution of a Bubble Sort
  
def bubble_Sort(arra_y):
    n = len(arra_y)
  
    for i in range(n):
  
        # Last i elements of the array are already in place because after the completing of outer for loop the highest element of the array gets to its place.
        for j in range(0, n-i-1):
  
            # traverse the array from 0 to n-i-1 because the element that is to compared has moved to the next index
            # Swaping function
            if arra_y[j] > arra_y[j+1] :
                arra_y[j], arra_y[j+1] = arra_y[j+1], arra_y[j]
  
# sample code to test above
arra_y = [76, 32, 45, 12, 26, 1, 99]
bubble_Sort(arra_y)
  
print ("Sorted array is:")
for i in range(len(arra_y)):
    print ("%d" %arra_y[i]),

What are the different layouts available in java to organize elements on a web page

There are five main layouts available in java language for handling the elements of a webpage.

  1. Border layout
  2. Card Layout
  3. Grid layout
  4. Flow Layout
  5. Lastly Box Layout

Explain the life cycle of multi threading

Certainly, a thread goes through various stages in its life. A life cycle of a thread begins with the birth of the thread it is the foremost stage of the cycle. Basically, the thread remains in this state until the program (thread) goes into execution.

As the thread starts with execution it moves to the next state i.e Runnable state. However, sometimes the runnable thread can transmit into a waiting thread (A waiting thread is a state in which the thread puts itself on hold and waits for the other thread to complete its task). The waiting can also be timed i.e a runnable thread can move to a timed waiting state for the time period.

However, the last state of the thread life cycle is its termination. Once the thread completes its assign task it moves to the termination state.

What are the features of 8051 microcontroller?

  1. It is a 8 bit microcontroller, manufacture by using HMOS technology.
  2. It has 128 bytes of RAM and 4K of ROM.
  3. There are 32 general purpose register each of 8 bit (i.e 4 Banks) along with registers A and B.
  4. Besides the general-purpose registers, there are 21 special function registers.
  5. It has a 16-bit program counter along with 8 bit stack pointer.
  6. It is a 40 pin IC with 6 interrupts (including the RESET pin).
  7. Lastly, it operates on a clock frequency of 11.09 MHz.

Explain the pin diagram of 8051 microcontroller

However, the pin diagram for the 8051 microcontrollers is;8051 pin diagram question for technical interview of engineering

Intel 8051 follows which architecture? What is the difference between harvard architecture and Von-Neumann Architecture.

8051 follows Harvard architecture. The difference between them is;

Von-Neumann Architecture Harvard Architecture
1. Uses a common memory space for program and data instructions1. It has separate memory space for both code and data memory
2. limits the available bandwidth2. However, it improves the bandwidth
3. Code and data execution takes place sequentially3. However, here both the code and data can be executed simultaneously
4. Reduces the speed4. Improves the speed

List out the available modes of addressing

There are basically six main modes of addressing;

  1. Register Addressing for example:- mov a, ro
  2. Register Indirect Addressing for example:- mov [email protected]
  3. Immediate Addressing for example:- mov a, #20h
  4. Implicit Addressing for example:- CPL A
  5. Relative Addressing for example:- movx a, [email protected]
  6. Lastly directly addressing for example:- mov a, 40h

Conclusion

However here we are at the end of the blog. I hope that you liked it and have got a rough idea about the types of questions in a technical interview of Engineering. These questions are collected from different company interviews. It is a balance of both types of questions i.e. hardware + software-based. I hope that you like the content. And if you do happen to have any doubt then please feel free to mention them down below or to contact us. Besides if there’s any suggestion that you would like to make then will be more than happy to have one.

Regards;

Have a nice day 🙂

Read More

  1. 5 Astounding Mini Project Ideas- For ECE Students
  2. Ardent Gate Exam Preparation:- Reference Questions
  3. 20 basic job interview questions with answers for ECE students
  4. Top 10 Exclusive Reference Books for Feedback Control System
  5. Stability Analysis and 4 of the Significant Natures In Control System
  6. Semiconductor Diode and 4 of its bizarre Switching Operation
  7. What are Random Variables Probability And Stochastic Process?

No Comments

Leave a Comment