BlueBinaries Engineering and Solutions
Lavu Interview Questions and Answers
Q1. What is constructor, destructor, polymorphism, Static function, volatile keyword
Constructor initializes an object, destructor cleans up resources. Polymorphism allows objects to be treated as instances of their parent class. Static function belongs to the class, not instances. Volatile keyword indicates a variable may be changed unexpectedly.
Constructor initializes an object when it is created. Example: 'Car c = new Car();'
Destructor cleans up resources when an object is destroyed. Example: 'delete ptr;'
Polymorphism allows a child class to be treated as ...read more
Q2. Datatype in C++,range and size, Real life example of of Embedded system.
In C++, datatypes have specific ranges and sizes. Embedded systems are real-life examples of using datatypes effectively.
Datatypes in C++ have specific ranges and sizes to store different types of data efficiently.
For example, 'int' datatype in C++ typically has a range of -2,147,483,648 to 2,147,483,647.
Embedded systems use datatypes like 'uint8_t' to efficiently store data in limited memory space.
Real-life example of an embedded system is a smart thermostat that controls th...read more
Q3. Difference between Microcontroller and microprocessor, 8051 microcontroller.
Microcontrollers are integrated circuits designed for specific tasks, while microprocessors are general-purpose CPUs. 8051 is a popular microcontroller.
Microcontrollers are self-contained systems with memory, I/O ports, and timers, designed for specific tasks.
Microprocessors are general-purpose CPUs that require external components for memory, I/O, and timers.
8051 microcontroller is a popular 8-bit microcontroller known for its low power consumption and versatility.
Q4. Difference between Embedded C and Embedded C++.
Embedded C is a subset of C language used for programming embedded systems, while Embedded C++ is a subset of C++ language with additional features for embedded systems.
Embedded C is a subset of C language, with limited features and libraries compared to standard C.
Embedded C++ is a subset of C++ language, with additional features like classes, inheritance, and polymorphism.
Embedded C is commonly used for low-level programming in embedded systems, while Embedded C++ is used f...read more
Q5. Write program for number is prime or not prime
Program to determine if a number is prime or not prime
Create a function to check if a number is prime or not
Iterate from 2 to the square root of the number and check for divisibility
If the number is divisible by any number other than 1 and itself, it is not prime
Return true if the number is prime, false otherwise
Q6. Final year project deep with block diagram
Designed a final year project involving a deep learning model with a block diagram.
Researched various deep learning algorithms and techniques
Implemented the chosen algorithm using Python and TensorFlow
Created a detailed block diagram to illustrate the project workflow
Tested and evaluated the performance of the deep learning model
Presented the project findings and results to faculty and peers
Q7. Write code for fibonacci series
Code to generate Fibonacci series using iterative approach
Initialize an array to store the Fibonacci series
Start with the first two numbers in the series (0 and 1)
Use a loop to calculate the next number by adding the previous two numbers
Continue this process until the desired number of terms is reached
Q8. Pointer in C++,types of pointer.
Pointers in C++ are variables that store memory addresses. They can be used to access and manipulate data directly.
Types of pointers: Null pointer, Void pointer, Wild pointer, Dangling pointer
Example: int *ptr; // pointer to an integer variable
Interview Process at Lavu
Top Graduate Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month