Premium Employer

Infosys

3.7
based on 37.2k Reviews
Filter interviews by

600+ Emtec Technologies Interview Questions and Answers

Updated 7 Jan 2025
Popular Designations
Q1. Pair Sum

You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to return the list of all pairs of elements such that each sum of elements of each pair equals 'S'.

Note:

Each pair shou...read more
View 6 more answers

Q2. Khaled has an array A of N elements. It is guaranteed that N is even. He wants to choose at most N/2 elements from array A. It is not necessary to choose consecutive elements. Khaled is interested in XOR of all...

read more
Ans.

Choose at most N/2 elements from an array A of N elements and find XOR of all the chosen elements.

  • Choose the N/2 largest elements to maximize the XOR value.

  • Use a priority queue to efficiently select the largest elements.

  • If N is small, brute force all possible combinations of N/2 elements.

View 1 answer
Q3. Quick Sort

You are given an array of integers. You need to sort the array in ascending order using quick sort.

Quick sort is a divide and conquer algorithm in which we choose a pivot point and partition the arra...read more

View 4 more answers
Q4. Generate all parenthesis

You are given an integer ‘N’, your task is to generate all combinations of well-formed parenthesis having ‘N’ pairs. You are task is to generate all possible valid sets of parenthesis th...read more

View 2 more answers
Discover Emtec Technologies interview dos and don'ts from real experiences
Q5. Compress the String

Ninja has been given a program to do basic string compression. For a character that is consecutively repeated more than once, he needs to replace the consecutive duplicate occurrences with th...read more

View 2 more answers

Q6. What are OOP concepts? Tell me about the pillars of Object Oriented Programming.

Ans.

OOP concepts are the building blocks of Object Oriented Programming. The four pillars of OOP are Abstraction, Encapsulation, Inheritance, and Polymorphism.

  • Abstraction: Hiding implementation details and showing only necessary information to the user.

  • Encapsulation: Binding data and functions together to protect data from outside interference.

  • Inheritance: Creating new classes from existing ones, inheriting properties and methods.

  • Polymorphism: Ability of objects to take on multip...read more

Add your answer
Are these interview questions helpful?
Q7. OOPS Question

What is Early Binding and Late Binding in C++ ?

Add your answer

Q8. Can you tell me the difference between C and C++ ?

Ans.

C is a procedural programming language while C++ is an extension of C with added features of object-oriented programming.

  • C is a procedural language, while C++ supports both procedural and object-oriented programming.

  • C++ has additional features like classes, objects, inheritance, and polymorphism.

  • C++ supports function overloading and exception handling, which are not present in C.

  • C++ has a standard template library (STL) that provides useful data structures and algorithms.

  • C++ ...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. As your major is mechanical, explain how turbine works and its parts?

Ans.

A turbine is a mechanical device that converts the energy from a fluid flow into useful work.

  • Turbines are commonly used in power generation, aviation, and marine applications.

  • They consist of several key parts including the rotor, stator, blades, and shaft.

  • The rotor is the rotating part of the turbine, while the stator is the stationary part.

  • Blades are attached to the rotor and are designed to capture the energy of the fluid flow.

  • The shaft connects the rotor to the external lo...read more

Add your answer

Q10. 1)what is constructor. 2)Difference between method overriding and overloading 3) Write a program for print prime number between two given ranges 4)What is dangling pointer

Ans.

Interview questions for System Engineer position

  • Constructor is a special method that is used to initialize an object

  • Method overriding is when a subclass provides its own implementation of a method that is already present in the parent class, while method overloading is when multiple methods have the same name but different parameters

  • Program to print prime numbers between two given ranges can be achieved using nested loops and checking for prime numbers using modulus operator

  • A...read more

Add your answer

Q11. You belong to mechanical domain, why do you want to switch it.

Ans.

I want to switch to system engineering as it aligns with my interests and skills.

  • I have always been interested in technology and how systems work

  • I have gained experience in programming and software development

  • I believe my skills in problem-solving and critical thinking will be valuable in system engineering

  • I am excited about the opportunity to work on complex systems and contribute to their design and development

Add your answer

Q12. Why you use Java, What are the features of java, How it is different with others?

Ans.

Java is a popular programming language known for its platform independence, object-oriented approach, and robustness.

  • Java is platform independent, meaning it can run on any platform that has a Java Virtual Machine (JVM).

  • It is object-oriented, allowing for modular and reusable code.

  • Java is known for its robustness and reliability, with features like automatic memory management and exception handling.

  • Java has a rich set of APIs and libraries, making it versatile for various app...read more

Add your answer
Q13. C++ Question

What is Diamond Problem in C++ and how do we fix it?

Add your answer

Q14. What are the different types of loops used in C++?

Ans.

C++ has three types of loops: for, while, and do-while.

  • For loop is used when the number of iterations is known beforehand.

  • While loop is used when the number of iterations is not known beforehand.

  • Do-while loop is similar to while loop, but it executes at least once before checking the condition.

View 1 answer

Q15. What you know about Machine and its function?

Ans.

A machine is a device that performs a specific task using power and mechanisms.

  • Machines can be simple or complex, ranging from a simple lever to a complex computer.

  • Machines use energy to perform work, such as lifting, moving, or transforming materials.

  • Examples of machines include cars, airplanes, washing machines, and robots.

  • Machines can be classified into six types: lever, pulley, wheel and axle, inclined plane, wedge, and screw.

Add your answer
Q16. DBMS Question

Explain the difference between the DELETE and TRUNCATE command in a DBMS.

Add your answer

Q17. Explain about basic gating logic 'And' 'Or' 'Nand' 'Nor'? How to build Nand from other gates?

Ans.

Basic gating logic includes And, Or, Nand, and Nor gates. Nand gate can be built using other gates.

  • And gate outputs true only when all inputs are true.

  • Or gate outputs true when at least one input is true.

  • Nand gate outputs the negation of the And gate.

  • Nor gate outputs the negation of the Or gate.

  • Nand gate can be built by combining an And gate followed by a Not gate.

View 1 answer

Q18. As I am Non CS, why are you switching from Non IT to IT Industry?

Ans.

I am passionate about technology and have always been interested in IT. I believe my skills and experience can be better utilized in the IT industry.

  • I have always had a strong interest in technology and IT

  • I enjoy problem-solving and working with computers

  • I believe my skills and experience align well with the demands of the IT industry

Add your answer

Q19. Which language do you use in programming?

Ans.

I primarily use Python for programming.

  • Python is versatile and easy to read, making it great for system engineering tasks.

  • I also have experience with languages like Java, C++, and Bash scripting.

  • Python's extensive libraries and frameworks make it ideal for automation and scripting tasks.

View 1 answer

Q20. What is call by reference and why is it different from call by value?

Ans.

Call by reference passes the memory address of a variable, while call by value passes a copy of the variable's value.

  • Call by reference allows the function to modify the original variable

  • Call by value does not affect the original variable

  • Example: int x = 5; function(x); //call by reference modifies x

  • Example: int y = 10; function(y); //call by value does not modify y

Add your answer

Q21. What software you can make from c language?

Ans.

C language can be used to develop various software applications.

  • Operating systems like Unix, Linux, and Windows are written in C

  • Database systems like MySQL and PostgreSQL are written in C

  • Networking protocols like TCP/IP are implemented in C

  • Graphics and game engines like OpenGL and Unity are written in C

  • System utilities like compilers, debuggers, and interpreters are written in C

View 1 answer
Q22. OOPS Question

Explain the difference b/w Dangling Pointer and Void Pointer

Add your answer
Q23. C++ Question

Difference b/w Call by Value and Call by Reference in C++

Add your answer
Q24. DBMS Question

Explain different languages present in DBMS.

Add your answer

Q25. What is truncate and delete command?

Ans.

Truncate and delete are SQL commands used to remove data from a table.

  • Truncate removes all data from a table and resets the identity column

  • Delete removes specific rows from a table based on a condition

  • Truncate is faster than delete as it doesn't log individual row deletions

  • Delete can be rolled back, but truncate cannot

  • Example: TRUNCATE TABLE myTable; DELETE FROM myTable WHERE id = 1;

View 1 answer

Q26. What is Oops and Explain the Four Pillars?

Ans.

Oops stands for Object-Oriented Programming System. The four pillars are Inheritance, Encapsulation, Abstraction, and Polymorphism.

  • Oops stands for Object-Oriented Programming System

  • The four pillars are Inheritance, Encapsulation, Abstraction, and Polymorphism

  • Inheritance allows a class to inherit properties and behavior from another class

  • Encapsulation refers to the bundling of data with the methods that operate on that data

  • Abstraction focuses on hiding the implementation detai...read more

Add your answer

Q27. One of the pseudocodes that came was this: #include int main() { int a = 100; printf("%0 %x", a); } Find the output.

Ans.

This question tests the candidate's knowledge of C programming language and output formatting.

  • The code initializes an integer variable 'a' with value 100.

  • The printf statement uses two format specifiers: '%0' and '%x'.

  • The '%0' specifier is invalid and will not print anything.

  • The '%x' specifier prints the value of 'a' in hexadecimal format.

  • The output will be '64' in hexadecimal format.

Add your answer

Q28. Differentiate between C++ and Java? What are programming principles and pointers

Ans.

C++ is a compiled language with pointers, while Java is interpreted with garbage collection.

  • C++ is faster and more efficient than Java due to its compiled nature.

  • Java is more secure and portable than C++ due to its interpreted nature.

  • C++ uses pointers to directly access memory, while Java uses references to objects.

  • Programming principles include encapsulation, inheritance, and polymorphism.

  • Pointers are variables that store memory addresses, used for direct memory access and m...read more

Add your answer

Q29. OOPS concepts. What is are the different access modifiers with examples? Explain your project. And more, I don't remember rest.

Ans.

Access modifiers in OOPS and project explanation

  • Access modifiers control the visibility of class members

  • Public: accessible from anywhere

  • Private: accessible only within the class

  • Protected: accessible within the class and its subclasses

  • Project: accessible within the same package

  • Example: public class Car { private int speed; protected String model; }

  • My project involved developing a web application for managing inventory

  • Used Java, Spring framework, and MySQL database

  • Implemented C...read more

Add your answer

Q30. How to Delete a Table in SQL?

Ans.

To delete a table in SQL, use the DROP TABLE statement.

  • Use the DROP TABLE statement followed by the table name.

  • Make sure to use the correct database and schema if necessary.

  • Be careful when deleting tables as it will permanently remove all data.

  • Example: DROP TABLE my_table;

Add your answer

Q31. What do you mean by DDL and DML?

Ans.

DDL stands for Data Definition Language and DML stands for Data Manipulation Language.

  • DDL is used to define the structure of a database, including tables, columns, and constraints.

  • DML is used to manipulate the data within the database, including inserting, updating, and deleting records.

  • Examples of DDL commands include CREATE TABLE, ALTER TABLE, and DROP TABLE.

  • Examples of DML commands include INSERT, UPDATE, and DELETE.

  • DDL is used less frequently than DML in day-to-day operat...read more

Add your answer

Q32. Do you have knowledge of any programming languages?

Ans.

Yes, I have knowledge of multiple programming languages.

  • I am proficient in Java and Python.

  • I also have experience with C++, JavaScript, and SQL.

  • I am constantly learning and expanding my knowledge of programming languages.

Add your answer

Q33. what is pre increment and post increment

Ans.

Pre increment and post increment are unary operators used to increment the value of a variable by 1.

  • Pre increment (++x) increments the value of x and then returns the new value.

  • Post increment (x++) returns the value of x and then increments it.

  • Both operators are commonly used in loops and can also be used with other arithmetic operations.

  • Pre increment is faster than post increment as it does not require a temporary variable to store the original value.

Add your answer

Q34. Wha is constructor overloading? (Technical Question)

Ans.

Constructor overloading is creating multiple constructors with different parameters in a class.

  • It allows creating objects with different initializations.

  • Constructors can have different number or types of parameters.

  • Example: class Person { Person(){} Person(String name){}}

  • Example: class Rectangle { Rectangle(){} Rectangle(int length){} Rectangle(int length, int width){}}

View 2 more answers

Q35. what is call by value and call by reference

Ans.

Call by value and call by reference are two ways of passing arguments to a function in programming.

  • Call by value passes a copy of the value to the function.

  • Call by reference passes the memory address of the value to the function.

  • In call by value, changes made to the parameter inside the function do not affect the original value.

  • In call by reference, changes made to the parameter inside the function affect the original value.

  • Call by value is used for simple data types, while c...read more

View 1 answer

Q36. Explain me the pillars of OOP? Write a recursion program for factorial in any language you like.

Ans.

OOP pillars are encapsulation, inheritance, and polymorphism. Recursion program for factorial can be written in any language.

  • Encapsulation: bundling of data and methods that manipulate the data within a single unit

  • Inheritance: ability of a class to inherit properties and methods from a parent class

  • Polymorphism: ability of objects to take on multiple forms or have multiple behaviors

  • Example recursion program for factorial in Python: def factorial(n): return 1 if n == 1 else n *...read more

Add your answer

Q37. What is Exceptional Handling in Java? Types of exceptions.

Ans.

Exception handling in Java is a mechanism to handle runtime errors and prevent program termination.

  • Types of exceptions in Java include checked exceptions, unchecked exceptions, and errors.

  • Checked exceptions are checked at compile time and must be handled by the programmer.

  • Unchecked exceptions are not checked at compile time and can be handled using try-catch blocks.

  • Errors are serious issues that cannot be handled by the programmer and usually result in program termination.

Add your answer

Q38. Explain inheritance and tell about multiple inheritance in Java

Ans.

Inheritance is a mechanism in Java where a class acquires the properties of another class.

  • Inheritance allows code reusability and promotes the concept of hierarchical classification.

  • The class that is being inherited is called the superclass or parent class, while the class that inherits is called the subclass or child class.

  • Java supports single inheritance, where a subclass can inherit properties from only one superclass.

  • Multiple inheritance is not supported in Java, but it c...read more

View 1 answer

Q39. What is a dangling pointer?

Ans.

A dangling pointer is a pointer that points to a memory location that has been deallocated or freed.

  • Dangling pointers occur when memory is freed or deallocated but the pointer is not updated.

  • Accessing a dangling pointer can lead to undefined behavior or crashes.

  • Dangling pointers can be caused by freeing memory and not setting the pointer to NULL.

  • Example: int* ptr = new int; delete ptr; // ptr is now a dangling pointer.

View 2 more answers

Q40. What is a null pointer?

Ans.

A null pointer is a pointer that does not point to any memory address.

  • A null pointer is represented by the value 0 or nullptr in C++.

  • Dereferencing a null pointer leads to undefined behavior.

  • Null pointers are commonly used to indicate the absence of a valid object or memory location.

View 2 more answers

Q41. What is OOP concepts specially Abstraction, Polymorphism and Inheritance

Ans.

OOP concepts like Abstraction, Polymorphism, and Inheritance are fundamental principles in object-oriented programming.

  • Abstraction: Hides complex implementation details and only shows the necessary features. Example: Car class with start() and stop() methods.

  • Polymorphism: Allows objects of different classes to be treated as objects of a common superclass. Example: Animal superclass with Dog and Cat subclasses.

  • Inheritance: Enables a new class to inherit attributes and methods ...read more

Add your answer

Q42. What's binary search tree and the different traversals

Ans.

Binary search tree is a data structure where each node has at most two children and the left child is smaller than the parent while the right child is greater.

  • Binary search tree is used for searching, sorting and indexing data.

  • The three different traversals are: Inorder (left-root-right), Preorder (root-left-right) and Postorder (left-right-root).

  • Inorder traversal of a binary search tree gives the nodes in ascending order.

  • Preorder traversal is used to create a copy of the tre...read more

Add your answer

Q43. What is the difference between java and python

Ans.

Java is statically typed and compiled while Python is dynamically typed and interpreted.

  • Java is better for large-scale projects while Python is better for small-scale projects.

  • Java is more verbose and requires more code to accomplish tasks than Python.

  • Python has a simpler syntax and is easier to learn than Java.

  • Java is better for performance-critical applications while Python is better for rapid prototyping.

  • Java is used for Android app development while Python is used for web...read more

Add your answer

Q44. Explain real life example of oops concepts?

Ans.

OOPs concepts are used in real life to model complex systems. For example, a car can be modeled using OOPs concepts.

  • Inheritance: A car can inherit properties from a vehicle class.

  • Polymorphism: A car can have different behaviors based on its type, such as a sports car or a sedan.

  • Encapsulation: The internal workings of a car are hidden from the user, who only interacts with the interface.

  • Abstraction: A car can be abstracted to a higher level, such as a transportation system.

  • Exa...read more

Add your answer

Q45. Tell me the logic of finding Primary numbers?

Ans.

Prime numbers are those that are only divisible by 1 and themselves.

  • Start with 2 and check if it is divisible by any number between 2 and itself-1

  • If not, it is a prime number

  • Continue checking for all numbers greater than 2

  • Use Sieve of Eratosthenes for finding prime numbers in a range

Add your answer

Q46. Steps that are involved in SDLC.

Ans.

SDLC involves planning, designing, building, testing, deploying, and maintaining software.

  • Planning: Define project scope, requirements, and objectives.

  • Designing: Create a detailed plan for the software architecture and user interface.

  • Building: Develop the software using programming languages and tools.

  • Testing: Verify that the software meets the requirements and is free of bugs.

  • Deploying: Release the software to users or customers.

  • Maintaining: Provide ongoing support and updat...read more

Add your answer

Q47. 3) Explain oop's concepts. define Array, Pointer.

Ans.

OOP concepts include encapsulation, inheritance, and polymorphism. An array is a collection of similar data types, and a pointer is a variable that stores the memory address of another variable.

  • Encapsulation is the concept of hiding implementation details and exposing only necessary information.

  • Inheritance allows a class to inherit properties and methods from a parent class.

  • Polymorphism allows objects to take on multiple forms or behaviors.

  • An array is a data structure that st...read more

Add your answer

Q48. Explain with example about access specifiers.

Ans.

Access specifiers determine the level of access to class members.

  • Access specifiers are public, private, and protected.

  • Public members can be accessed from anywhere.

  • Private members can only be accessed within the class.

  • Protected members can be accessed within the class and its subclasses.

  • Example: class Car { private int speed; public void setSpeed(int s) { speed = s; } }

Add your answer

Q49. What is class and object?

Ans.

Class is a blueprint or template for creating objects. An object is an instance of a class.

  • A class defines the properties and behaviors of objects.

  • An object is created from a class and has its own unique set of values for the properties defined in the class.

  • Classes can inherit properties and behaviors from other classes.

  • Objects can interact with each other through methods and properties.

  • Example: A class 'Car' can have properties like 'make', 'model', 'year', and behaviors lik...read more

Add your answer

Q50. What is quality assurance?

Ans.

Quality assurance is the process of ensuring that a product or service meets the desired level of quality.

  • It involves creating and implementing quality standards and procedures.

  • It includes testing and inspecting products or services to ensure they meet the standards.

  • It also involves identifying and addressing any issues or defects in the product or service.

  • Quality assurance is important in industries such as manufacturing, software development, and healthcare.

  • Examples of qual...read more

Add your answer

Q51. 1 coding questions Print prime number between 1-100

Ans.

Print prime numbers between 1-100

  • Iterate through numbers 1-100

  • Check if each number is prime

  • Print prime numbers

Add your answer

Q52. How do you define artificial intelligence

Ans.

Artificial intelligence is the simulation of human intelligence processes by machines, especially computer systems.

  • AI involves machines performing tasks that typically require human intelligence, such as visual perception, speech recognition, decision-making, and language translation.

  • It encompasses various technologies like machine learning, natural language processing, computer vision, and robotics.

  • Examples of AI applications include virtual assistants like Siri and Alexa, s...read more

Add your answer

Q53. Pointer and unions Linear ds vs non linear ds Palindrome logic malloc vs calloc

Ans.

Questions on pointers, unions, linear and non-linear data structures, palindrome logic, and malloc vs calloc.

  • Pointers are variables that store the memory address of another variable.

  • Unions are similar to structures but can only hold one value at a time.

  • Linear data structures have a sequential order, like arrays and linked lists.

  • Non-linear data structures do not have a sequential order, like trees and graphs.

  • Palindrome logic involves checking if a word or phrase reads the same...read more

Add your answer

Q54. What is sorting in array merge sort as quick sort?

Ans.

Merge sort and quick sort are both sorting algorithms used to sort arrays.

  • Merge sort divides the array into two halves, recursively sorts them, and then merges them.

  • Quick sort selects a pivot element, partitions the array around the pivot, and recursively sorts the sub-arrays.

  • Both algorithms have a time complexity of O(n log n) in the average case.

  • Merge sort is stable, while quick sort is not.

  • Merge sort requires additional space for merging, while quick sort is an in-place so...read more

Add your answer

Q55. What are data types in C and C++

Ans.

Data types in C and C++ are used to define variables and functions.

  • Data types specify the type of data that a variable can hold.

  • C and C++ have basic data types like int, float, char, etc.

  • They also have derived data types like arrays, pointers, structures, etc.

  • Data types are important for memory allocation and type checking.

  • Example: int num = 10; char letter = 'a'; float decimal = 3.14;

Add your answer

Q56. Tell me the logic of reverse the number?

Ans.

Reverse the number means to get the digits in the opposite order.

  • Extract the digits of the number using modulo operator

  • Multiply the reversed number by 10 and add the next digit

  • Repeat until all digits are processed

Add your answer

Q57. Do you know about OOPS concepts?

Ans.

Yes, Object-Oriented Programming (OOP) concepts are fundamental principles in software development.

  • OOP concepts include encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation involves bundling data and methods that operate on the data into a single unit.

  • Inheritance allows a class to inherit properties and behavior from another class.

  • Polymorphism enables objects to be treated as instances of their parent class.

  • Abstraction involves hiding the complex implementa...read more

Add your answer

Q58. what is virtual dom in react js?

Ans.

Virtual DOM is a lightweight copy of the actual DOM, used for efficient updates in React JS.

  • Virtual DOM is a concept in React JS that allows for efficient updates to the actual DOM.

  • It is a lightweight copy of the actual DOM that React uses to keep track of changes.

  • When a change is made to the virtual DOM, React compares it to the previous version and only updates the necessary changes to the actual DOM.

  • This results in faster and more efficient updates to the UI.

  • Example: When ...read more

Add your answer

Q59. What is C language? project details

Ans.

C is a high-level programming language used for system programming, embedded systems, and game development.

  • C was developed by Dennis Ritchie at Bell Labs in 1972.

  • It is a compiled language and is known for its efficiency and low-level memory manipulation capabilities.

  • C is used in operating systems, device drivers, and firmware.

  • Popular software written in C includes the Linux kernel, MySQL, and Adobe Photoshop.

  • C is also commonly used in game development, with popular game engin...read more

Add your answer

Q60. Difference between inner join and left join

Ans.

Inner join returns only matching rows from both tables while left join returns all rows from left table and matching rows from right table.

  • Inner join only returns rows where the join condition is true

  • Left join returns all rows from the left table and matching rows from the right table

  • Inner join is used to retrieve data from two or more tables with matching data

  • Left join is used to retrieve data from two or more tables with non-matching data

  • Example: SELECT * FROM table1 INNER ...read more

Add your answer

Q61. What is Encapsulation?

Ans.

Encapsulation is the process of hiding implementation details and exposing only necessary information to the user.

  • Encapsulation is a fundamental concept in object-oriented programming.

  • It helps in achieving data abstraction and information hiding.

  • It allows for better control over the data and prevents unauthorized access.

  • Encapsulation is implemented using access modifiers such as public, private, and protected.

  • For example, a class may have private variables and public methods ...read more

Add your answer

Q62. Difference between interface and Abstraction.

Ans.

Interface defines the contract between two entities while Abstraction hides the implementation details.

  • Interface is a blueprint of a class that defines the methods and properties that a class must implement.

  • Abstraction is a way of hiding the implementation details of a class and exposing only the necessary details to the user.

  • Interface is used for achieving multiple inheritance in Java.

  • Abstraction is used for achieving loose coupling and modularity in software design.

  • Interfac...read more

Add your answer

Q63. Difference between pass by value pass by references

Ans.

Pass by value copies the value of a variable, while pass by reference passes the memory address of the variable.

  • Pass by value creates a new copy of the variable, while pass by reference uses the original variable.

  • Pass by value is used for simple data types like integers and floats, while pass by reference is used for complex data types like arrays and objects.

  • Pass by value is faster but less flexible, while pass by reference is slower but more flexible.

  • Pass by value can lead ...read more

Add your answer

Q64. main pillars of oops ,constructors,difference b/w c/c++/java.

Ans.

Main pillars of OOPs are encapsulation, inheritance, polymorphism, and abstraction. Constructors are special methods used to initialize objects.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit.

  • Inheritance: Ability of a class to inherit properties and behavior from another class.

  • Polymorphism: Ability to present the same interface for different data types.

  • Abstraction: Hiding the complex implementation details and showing only the necessary fe...read more

Add your answer

Q65. brief of sdlc what is oops concept

Ans.

SDLC is a process of developing software while OOPs is a programming paradigm based on objects.

  • SDLC stands for Software Development Life Cycle and includes phases like planning, designing, coding, testing, and maintenance.

  • OOPs stands for Object-Oriented Programming and focuses on creating objects that interact with each other to solve a problem.

  • OOPs concepts include encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation is the process of hiding data and metho...read more

Add your answer

Q66. What is normalization

Ans.

Normalization is the process of organizing data in a database to eliminate redundancy and improve data integrity.

  • Normalization helps in reducing data redundancy by breaking down a database into multiple tables.

  • It ensures that each piece of data is stored only once, reducing storage space.

  • Normalization also improves data integrity by preventing anomalies like update, insert, and delete anomalies.

  • There are different levels of normalization, such as first normal form (1NF), seco...read more

View 1 answer

Q67. What is pass in python, explain oops

Ans.

Pass in Python is a null operation that does nothing. OOPs is a programming paradigm based on the concept of objects.

  • Pass is a keyword in Python that is used as a placeholder for an empty block of code.

  • It is used when a statement is required syntactically but you do not want any command or code to execute.

  • OOPs is a programming paradigm that focuses on the use of objects to design applications.

  • It is based on the concepts of encapsulation, inheritance, and polymorphism.

  • Encapsul...read more

Add your answer

Q68. Tell me about class and objects

Ans.

Classes are blueprints for creating objects in object-oriented programming. Objects are instances of classes with their own unique attributes and behaviors.

  • Classes define the properties and behaviors that objects of that class will have.

  • Objects are instances of classes that can store data and perform actions.

  • Classes can inherit properties and behaviors from other classes through inheritance.

  • Objects can interact with each other by sending messages and calling methods.

  • Example: ...read more

Add your answer

Q69. What is Dailect in Hibernate?

Ans.

Dialect in Hibernate is a configuration setting that defines the type of database used.

  • Dialect is responsible for generating SQL statements specific to the database.

  • It handles the differences in SQL syntax and data types between different databases.

  • Examples of dialects include MySQLDialect, OracleDialect, and PostgreSQLDialect.

Add your answer

Q70. Write a program to find the factorial of given number

Ans.

Program to find factorial of a given number

  • Create a function that takes an integer input

  • Initialize a variable to store the factorial value

  • Use a loop to multiply the factorial value by each number from 1 to the input number

  • Return the factorial value

Add your answer

Q71. What is oops. Why it is used

Ans.

OOPs stands for Object-Oriented Programming. It is used to create modular and reusable code.

  • OOPs is a programming paradigm that focuses on objects and their interactions.

  • It allows for encapsulation, inheritance, and polymorphism.

  • Encapsulation helps to hide the implementation details of an object from the outside world.

  • Inheritance allows for the creation of new classes based on existing ones.

  • Polymorphism allows for the use of a single interface to represent multiple types of o...read more

Add your answer

Q72. Why C++?

Ans.

C++ is a powerful and versatile programming language widely used in system engineering.

  • C++ offers high performance and low-level control, making it suitable for system-level programming.

  • It supports object-oriented programming, allowing for modular and reusable code.

  • C++ has a large standard library and a vast ecosystem of third-party libraries and frameworks.

  • It provides features like templates, exception handling, and memory management.

  • C++ is used in various domains such as op...read more

View 1 answer

Q73. Difference between two stroke and four stroke engine

Ans.

Two stroke engines have a power stroke every revolution, while four stroke engines have a power stroke every other revolution.

  • Two stroke engines have a simpler design and are lighter than four stroke engines.

  • Four stroke engines are more fuel efficient and produce less emissions than two stroke engines.

  • Examples of two stroke engines include chainsaws and dirt bikes, while examples of four stroke engines include cars and motorcycles.

  • Two stroke engines require a mixture of oil a...read more

Add your answer

Q74. What is null value pointer?

Ans.

A null value pointer is a pointer that does not point to any memory location.

  • A null value pointer is often used to indicate that a pointer is not currently pointing to a valid memory location.

  • Attempting to dereference a null value pointer will result in a segmentation fault or access violation.

  • Null value pointers can be assigned to pointers of any data type.

  • Example: int *ptr = NULL; // ptr is a null value pointer

Add your answer

Q75. Explain any oops concepts in python

Ans.

Python supports object-oriented programming (OOP) concepts such as classes, objects, inheritance, encapsulation, and polymorphism.

  • Classes: Define blueprints for creating objects with attributes and methods.

  • Objects: Instances of classes that can store data and perform actions.

  • Inheritance: Allows creating a new class by inheriting properties and methods from a parent class.

  • Encapsulation: Hides the internal details of an object and provides access through methods.

  • Polymorphism: O...read more

View 1 answer

Q76. n power n without using inbuilt function?

Ans.

Calculate n power n without using inbuilt function

  • Use a loop to multiply n with itself n times

  • Store the result in a variable and return it

  • Handle edge cases like n=0 and n=1 separately

Add your answer

Q77. Fibonacci series algorithm

Ans.

The Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.

  • The Fibonacci series starts with 0 and 1.

  • Each subsequent number is the sum of the two preceding numbers.

  • The series continues indefinitely.

  • Example: 0, 1, 1, 2, 3, 5, 8, 13, 21, ...

View 1 answer

Q78. 1)tuple vs list in python 2) pickling and unpicking in python

Ans.

Tuple is immutable and faster than list. Pickling is a way to convert Python objects into a byte stream.

  • Tuple is defined using parentheses while list is defined using square brackets

  • Tuple is immutable while list is mutable

  • Tuple is faster than list for accessing elements

  • Pickling is used to serialize and store Python objects in a file or database

  • Unpickling is used to deserialize and retrieve Python objects from a file or database

Add your answer

Q79. what is sorting

Ans.

Sorting is the process of arranging elements in a specific order.

  • Sorting is used to organize data in a meaningful way.

  • It can be done in ascending or descending order.

  • Common sorting algorithms include bubble sort, insertion sort, and quicksort.

View 1 answer

Q80. what is exception handling

Ans.

Exception handling is the process of handling errors and unexpected events in a program.

  • It allows a program to gracefully handle errors and prevent crashes.

  • It involves catching and handling exceptions that occur during program execution.

  • Common techniques include try-catch blocks and throwing custom exceptions.

  • Examples of exceptions include null pointer exceptions and divide by zero errors.

Add your answer

Q81. what is SDLC

Ans.

SDLC stands for Software Development Life Cycle.

  • It is a process used to design, develop, and test software.

  • It includes phases such as planning, analysis, design, implementation, and maintenance.

  • Each phase has its own set of deliverables and goals.

  • It helps ensure that software is developed efficiently and meets user requirements.

  • Examples of SDLC models include Waterfall, Agile, and DevOps.

Add your answer

Q82. what is ACID properties

Ans.

ACID properties are a set of properties that ensure database transactions are processed reliably.

  • ACID stands for Atomicity, Consistency, Isolation, and Durability.

  • Atomicity ensures that a transaction is treated as a single, indivisible unit of work.

  • Consistency ensures that a transaction brings the database from one valid state to another.

  • Isolation ensures that concurrent transactions do not interfere with each other.

  • Durability ensures that once a transaction is committed, it ...read more

Add your answer

Q83. Oops concept and collections in java?

Ans.

Oops concept and collections are important in Java programming.

  • Oops concept is a programming paradigm that focuses on objects and their interactions.

  • Collections are used to store and manipulate groups of objects.

  • Java provides built-in classes for collections such as ArrayList, LinkedList, HashSet, etc.

  • Inheritance, polymorphism, encapsulation, and abstraction are the four main concepts of Oops.

  • Collections framework provides interfaces like List, Set, Map, etc. for different ty...read more

Add your answer

Q84. Difference between java and c++

Ans.

Java is a high-level, object-oriented language while C++ is a low-level, object-oriented language.

  • Java is platform-independent while C++ is platform-dependent.

  • Java has automatic garbage collection while C++ requires manual memory management.

  • Java has a simpler syntax than C++.

  • Java has a larger standard library than C++.

  • C++ allows for direct memory manipulation while Java does not.

  • Java is used for web development, mobile development, and enterprise applications while C++ is use...read more

Add your answer

Q85. College Project explanation

Ans.

Developed a real-time monitoring system for a college campus using IoT devices.

  • Researched different IoT devices available in the market

  • Designed the system architecture for data collection and analysis

  • Implemented the system using Raspberry Pi and sensors

  • Tested the system in a real-world environment

  • Presented the project to faculty and peers

Add your answer

Q86. 1. Introduce ur self

Ans.

I am a System Engineer with expertise in designing and implementing complex IT infrastructure solutions.

  • Experienced in managing and maintaining server systems, network infrastructure, and storage solutions.

  • Proficient in virtualization technologies such as VMware and Hyper-V.

  • Skilled in scripting and automation using PowerShell and Bash.

  • Strong knowledge of networking protocols, security measures, and troubleshooting techniques.

  • Familiar with cloud computing platforms like AWS an...read more

View 1 answer

Q87. What is the steps in sdlc?

Ans.

SDLC stands for Software Development Life Cycle, which is a process used by software engineers to design, develop, and test software.

  • Planning: Define project scope, requirements, and create a project plan.

  • Analysis: Gather and analyze requirements to understand the problem.

  • Design: Create a detailed design of the software based on requirements.

  • Implementation: Develop the software according to the design.

  • Testing: Test the software to ensure it meets requirements and is bug-free....read more

Add your answer

Q88. Could you please explain SDLC?

Ans.

SDLC stands for Software Development Life Cycle, which is a process used by software engineers to design, develop, and test software.

  • SDLC is a structured process that divides software development into different phases such as planning, design, implementation, testing, and maintenance.

  • Each phase has its own set of activities and deliverables that must be completed before moving on to the next phase.

  • Examples of SDLC models include Waterfall, Agile, and DevOps.

  • SDLC helps ensure ...read more

Add your answer

Q89. Write a code to implement A* algorithm

Ans.

A* algorithm is a pathfinding algorithm that uses heuristics to find the shortest path between two points.

  • Create a priority queue to store nodes to be explored

  • Calculate the heuristic value for each node

  • Expand the node with the lowest f-value (g-value + heuristic value)

  • Repeat until goal node is reached or queue is empty

Add your answer

Q90. Write a program to print star pattern.

Ans.

Program to print star pattern using nested loops.

  • Use nested loops to print the desired pattern

  • Outer loop controls the number of rows

  • Inner loop controls the number of stars in each row

  • Example: for a pattern of 5 rows - 1st row: 1 star, 2nd row: 2 stars, and so on

Add your answer

Q91. Write program to print fibonacci series.

Ans.

Program to print fibonacci series using iterative approach.

  • Initialize variables for first two numbers in series

  • Use a loop to calculate and print the next number in series by adding previous two numbers

  • Repeat until desired number of terms are printed

Add your answer

Q92. Project in final year.

Ans.

Developed a smart irrigation system using IoT technology.

  • Designed and implemented a sensor network to monitor soil moisture levels.

  • Developed a web application to control the irrigation system remotely.

  • Used Raspberry Pi and Arduino boards to collect and transmit data.

  • Conducted field tests to validate the system's effectiveness.

  • Received positive feedback from local farmers and agricultural experts.

Add your answer

Q93. Introduction about overself

Ans.

Overself is a concept in psychology and philosophy referring to a higher self or higher consciousness.

  • Overself is believed to be a deeper, more spiritual aspect of oneself beyond the ego.

  • It is often associated with self-realization, enlightenment, and inner peace.

  • Practices such as meditation, mindfulness, and introspection are often used to connect with the overself.

Add your answer

Q94. Explain class and object?

Ans.

Class is a blueprint for creating objects. Objects are instances of a class that have their own properties and methods.

  • A class is a template or blueprint for creating objects

  • An object is an instance of a class that has its own properties and methods

  • Classes define the properties and methods that objects of that class will have

  • Objects can interact with each other through their methods

  • Example: A class 'Car' can have properties like 'make', 'model', 'year' and methods like 'start...read more

Add your answer

Q95. Life cycle of software.

Ans.

Software life cycle refers to the stages of software development from conception to retirement.

  • The software life cycle includes planning, design, development, testing, deployment, and maintenance.

  • Each stage has its own set of activities and deliverables.

  • The life cycle model can be iterative, incremental, or sequential.

  • Examples of life cycle models include Waterfall, Agile, and DevOps.

  • The life cycle is important for ensuring software quality and managing project risks.

Add your answer

Q96. What are benifits of Python?

Ans.

Python is a versatile language with a wide range of applications and benefits.

  • Easy to learn and use

  • Large standard library

  • Cross-platform compatibility

  • Supports multiple programming paradigms

  • Great for data analysis and scientific computing

  • Used in web development, machine learning, and automation

  • Open-source community with many resources and modules

  • Readable and maintainable code

  • Highly customizable and extensible

Add your answer

Q97. What is Oops in Python?

Ans.

Oops in Python refers to Object-Oriented Programming concepts and principles.

  • Oops is a programming paradigm that focuses on objects and their interactions.

  • Python supports Oops concepts such as inheritance, encapsulation, and polymorphism.

  • Classes and objects are the building blocks of Oops in Python.

  • Example: class Car: def __init__(self, make, model): self.make = make self.model = model

  • Example: my_car = Car('Toyota', 'Corolla')

  • Example: my_car.make returns 'Toyota'

Add your answer

Q98. What is normalisation

Ans.

Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.

  • Normalization involves breaking down a database into smaller, more manageable tables.

  • Each table should have a primary key that uniquely identifies each record.

  • Data should be stored in the smallest possible parts to avoid redundancy.

  • Normalization helps to prevent data inconsistencies and anomalies.

  • There are different levels of normalization, with each level building on...read more

Add your answer

Q99. What is static in java?

Ans.

Static in Java is a keyword used to create variables and methods that belong to the class itself, rather than instances of the class.

  • Static variables are shared among all instances of a class.

  • Static methods can be called without creating an instance of the class.

  • Static blocks are used to initialize static variables.

  • Example: public static int count = 0;

Add your answer

Q100. oops concepts in python

Ans.

Oops concepts in Python refer to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.

  • Python supports Object-Oriented Programming (OOP) concepts like classes and objects.

  • Inheritance allows a class to inherit attributes and methods from another class.

  • Encapsulation restricts access to certain components of an object.

  • Polymorphism allows objects to be treated as instances of their parent class.

  • Abstraction hides complex implementati...read more

Add your answer
1
2
3
4
5
6
7
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Emtec Technologies

based on 2.9k interviews in the last 1 year
Interview experience
4.1
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.0
 • 269 Interview Questions
3.6
 • 228 Interview Questions
3.9
 • 208 Interview Questions
3.9
 • 180 Interview Questions
3.7
 • 150 Interview Questions
View all
Top Infosys Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter