System Engineer
1500+ System Engineer Interview Questions and Answers

Asked in Intuit

Q. Count Pairs with Given Sum
Given an integer array/list arr
and an integer 'Sum', determine the total number of unique pairs in the array whose elements sum up to the given 'Sum'.
Input:
The first line contains ...read more
Count the total number of unique pairs in an array whose elements sum up to a given value.
Iterate through the array and for each element, check if the complement (Sum - current element) exists in a hash set.
If the complement exists, increment the count of pairs and add the current element to the hash set.
Return the total count of pairs at the end.

Asked in Amazon

Q. Loot Houses Problem Statement
A thief is planning to steal from several houses along a street. Each house has a certain amount of money stashed. However, the thief cannot loot two adjacent houses. Determine the...read more
Determine the maximum amount of money a thief can steal from houses without looting two consecutive houses.
Create an array 'dp' to store the maximum money that can be stolen up to the i-th house.
Iterate through the houses and update 'dp' based on whether the current house is looted or not.
Return the maximum value in 'dp' as the answer.

Asked in Oyo Rooms

Q. Maximum Profit Problem Statement
Ninja has a rod of length 'N' units and wants to earn the maximum money by cutting and selling the rod into pieces. Each possible cut size has a specific cost associated with it...read more
The problem involves maximizing profit by cutting a rod into pieces with different costs associated with each length.
Iterate through all possible cuts and calculate the maximum profit for each length
Use dynamic programming to store and reuse subproblem solutions
Choose the cut that maximizes profit at each step
Return the maximum profit obtained by selling the pieces

Asked in Amazon

Q. Minimum Cost to Connect All Points Problem Statement
Given an array COORDINATES
representing the integer coordinates of some points on a 2D plane, determine the minimum cost required to connect all points. The ...read more
Calculate the minimum cost to connect all points on a 2D plane using Manhattan distance.
Iterate through all pairs of points and calculate Manhattan distance between them
Use a minimum spanning tree algorithm like Kruskal's or Prim's to find the minimum cost
Ensure all points are connected with one simple path only

Asked in Infosys

Q. Ninja And Divisible Array Problem Statement
Ninja is tasked with dividing an array ARR
of even size N
and an integer K
into N/2
pairs such that the sum of each pair is divisible by K
.
Your goal is to determine ...read more
The task is to determine if an array can be divided into pairs such that the sum of each pair is divisible by a given integer.
Iterate through the array and calculate the remainder of each element when divided by K.
Store the remainders in a hashmap with their frequencies.
Check if the frequencies of remainders are even and if the sum of each pair of remainders is divisible by K.

Asked in TCS

Q. Space Survival Game Challenge
Ninja is in space with unlimited fuel in his super spaceship. He starts with a health level H
and his spaceship has an armour A
. Ninja can be on only one of the three planets at a ...read more
Determine the maximum time Ninja can survive in a space survival game challenge with different planet effects on health and armour.
Create a function that takes initial health and armour as input for each test case
Simulate Ninja's movement between planets and update health and armour accordingly
Keep track of the maximum time Ninja can survive before health or armour reaches 0
System Engineer Jobs




Asked in Urban Company

Q. How can you cut a cake into 8 equal pieces using only 3 cuts?
Cut the cake horizontally twice and then vertically once.
Cut the cake horizontally into two equal halves.
Stack the two halves and cut horizontally again to get four equal pieces.
Finally, cut vertically through the center to get eight equal pieces.

Asked in Goldman Sachs

Q. Problem Statement: Minimize the Maximum
You are given an array of integers and an integer K
. For each array element, you can adjust it by increasing or decreasing it by a value of K
. Your goal is to minimize th...read more
The goal is to minimize the difference between the maximum and minimum elements of an array by adjusting each element by a given value.
Iterate through the array and for each element, calculate the minimum and maximum possible values after adjusting by K
Find the minimum and maximum values after adjustments for all elements
Calculate the difference between the maximum and minimum values to get the final result
Share interview questions and help millions of jobseekers 🌟

Asked in SAP

Q. Remove Duplicates Problem Statement
You are given an array of integers. The task is to remove all duplicate elements and return the array while maintaining the order in which the elements were provided.
Example...read more
Remove duplicates from an array of integers while maintaining the order.
Use a set to keep track of unique elements while iterating through the array.
Add elements to the set if they are not already present.
Convert the set back to an array to maintain order.

Asked in Amdocs

Constructor is a special method used to initialize an object, while a method is a function that performs a specific task within a class.
Constructors are called automatically when an object is created, while methods need to be called explicitly.
Constructors have the same name as the class, while methods have unique names.
Constructors do not have a return type, while methods can have a return type.
Example: Constructor - public ClassName() { // initialization code }, Method - pu...read more

Asked in Infosys

Q. What is SQL? Explain it in detail.
SQL is a programming language used to manage and manipulate relational databases.
SQL stands for Structured Query Language.
It is used to create, modify, and query databases.
SQL is used in various industries such as finance, healthcare, and e-commerce.
Examples of SQL commands include SELECT, INSERT, UPDATE, and DELETE.
SQL is used to retrieve specific data from a database using queries.

Asked in Microdynamic Software

Q. What is Matlab, which tools you have used to perform development and Testing sides, Which type of data types available in Matlab and Embedded C, Difference between Automic Subsystem and Non Automatic Subsystem,...
read moreMatlab is a programming language and environment used for numerical computation, data analysis, and visualization.
Matlab is used for development and testing in various fields such as engineering, finance, and scientific research.
Some tools commonly used in Matlab development and testing are Simulink, MATLAB Compiler, and MATLAB Coder.
Matlab supports various data types including numeric, logical, character, and cell arrays.
Embedded C is a subset of the C programming language u...read more

Asked in Infosys

The relationship between a train's speed passing through a platform and the relative speed of two trains is influenced by their individual speeds and direction.
The relative speed of two trains passing each other is the sum of their individual speeds in opposite directions.
When a train passes through a platform, its speed relative to the platform is the difference between its speed and the platform's speed.
The relative speed of two trains passing through a platform can be calc...read more

Asked in Samsung

Multitasking refers to the ability of an operating system to run multiple tasks concurrently, while multithreading involves executing multiple threads within a single process.
Multitasking allows multiple programs to run simultaneously on a single processor, switching between them quickly.
Multithreading enables a single program to perform multiple tasks concurrently by dividing it into smaller threads that can be executed independently.
Multitasking is at the process level, whi...read more

Asked in iOPEX Technologies

Q. What is IPSEC VPN? Different between phase 1 and Phase 2
IPSEC VPN is a secure network connection that uses encryption and authentication protocols. Phase 1 establishes a secure channel, while Phase 2 sets up the actual VPN tunnel.
IPSEC VPN provides secure communication over an untrusted network.
Phase 1 negotiates the security parameters and establishes a secure channel.
Phase 2 sets up the actual VPN tunnel for data transmission.
Phase 1 uses the Internet Key Exchange (IKE) protocol for authentication and key exchange.
Phase 2 uses t...read more

Asked in TCS

Q. Binary Palindrome Check
Given an integer N
, determine whether its binary representation is a palindrome.
Input:
The first line contains an integer 'T' representing the number of test cases.
The next 'T' lines e...read more
Check if the binary representation of a given integer is a palindrome.
Convert the integer to binary representation.
Check if the binary representation is a palindrome by comparing it with its reverse.
Return true if it is a palindrome, false otherwise.

Asked in TCS

Q. Find Position of First One
Given a sorted array of integers of size N, consisting only of 0's and 1's, identify the position of the first occurrence of '1', using 1-based indexing.
If the array contains only 0'...read more
Find the position of the first occurrence of '1' in a sorted array of 0's and 1's.
Iterate through the array and find the index of the first '1'.
Return the index + 1 as the position (1-based indexing).
If no '1' is found, return -1.

Asked in Infosys

Q. How do you select a record from a table?
To select a record from a table, use the SELECT statement with appropriate conditions.
Use the SELECT statement with the appropriate columns to retrieve data from the table.
Specify the table name in the FROM clause.
Use the WHERE clause to specify the conditions for selecting the record.
Example: SELECT * FROM table_name WHERE column_name = 'value';

Asked in TCS

Q. What is the difference b/w Procedural Programming and OOP Concept? What are the problems with C in this context?
Procedural programming focuses on procedures and functions, while OOP emphasizes objects and classes.
Procedural programming uses a top-down approach, while OOP uses a bottom-up approach.
In procedural programming, data and functions are separate, while in OOP, they are encapsulated within objects.
Procedural programming is more suitable for small-scale programs, while OOP is better for large-scale projects.
C is a procedural programming language, lacking the features of OOP like...read more

Asked in Oracle Cerner

List of 15 Linux commands with their functions
ls - list directory contents
pwd - print working directory
cd - change directory
mkdir - make a new directory
rm - remove files or directories
cp - copy files and directories
mv - move or rename files and directories
grep - search for patterns in files
chmod - change file permissions
ps - display information about running processes
top - display and update sorted information about processes
kill - send signals to processes
tar - create or ext...read more

Asked in TCS

Q. Find Duplicates in an Array
Given an array ARR
of size 'N', where each integer is in the range from 0 to N - 1, identify all elements that appear more than once.
Return the duplicate elements in any order. If n...read more
Find duplicates in an array of integers within a specified range.
Iterate through the array and keep track of the count of each element using a hashmap.
Return elements with count greater than 1 as duplicates.
Time complexity can be optimized to O(N) using a set to store duplicates.

Asked in TCS

Q. Explain the difference between a constructor and a method, and provide code examples to illustrate the difference.
A constructor is a special method used to initialize an object, while a method is a function that performs a specific task.
Constructors are called automatically when an object is created, while methods need to be called explicitly.
Constructors have the same name as the class, while methods can have any valid name.
Constructors do not have a return type, while methods can have a return type.
Constructors are used to set initial values of instance variables, while methods are use...read more

Asked in Infosys

Q. What are OOP concepts? Tell me about the pillars of Object Oriented Programming.
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

Asked in Siemens

Q. What are the disadvantages or drawbacks of the S7 controller?
The S7 controller has limited scalability and flexibility compared to other controllers.
Limited number of I/O points
Limited memory capacity
Limited processing power
Limited communication options
Limited support for advanced programming languages
Limited compatibility with third-party devices
Limited ability to handle complex control algorithms
Limited fault diagnostics capabilities

Asked in Infosys

Q. What do you mean by SDLC?
SDLC stands for Software Development Life Cycle.
SDLC is a process used by software development teams to design, develop, and test high-quality software.
It consists of several phases including planning, analysis, 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.
SDLC helps ensure that software is developed efficiently, on time, and within budget.
Examples of SDLC m...read more

Asked in Wipro

Q. If you were assigned to a domain different from your preferred one, would you be willing to work on it?
Yes, I am open to working on different domains as it will broaden my knowledge and skills.
I am always eager to learn new things and take on new challenges.
Working on a different domain will give me the opportunity to expand my knowledge and skills.
I am confident that I can adapt quickly and efficiently to a new domain.
Examples: If I have experience in software engineering and I am asked to work on a networking project, I will be willing to learn and work on it.
Examples: If I ...read more

Asked in Infosys

Q. Can you tell me the difference between C and C++?
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

Asked in Salesforce

Early binding is resolved at compile time while late binding is resolved at runtime in C++.
Early binding is also known as static binding, where the function call is resolved at compile time based on the type of the object.
Late binding is also known as dynamic binding, where the function call is resolved at runtime based on the actual type of the object.
Early binding is faster as the function call is directly linked during compilation.
Late binding allows for more flexibility a...read more

Asked in Infosys

Different languages used in DBMS include SQL, PL/SQL, T-SQL, and NoSQL.
SQL (Structured Query Language) is the standard language for relational database management systems.
PL/SQL (Procedural Language/SQL) is Oracle Corporation's procedural extension for SQL.
T-SQL (Transact-SQL) is Microsoft's proprietary extension to SQL.
NoSQL encompasses a wide range of database technologies that can store unstructured, semi-structured, or structured data.

Asked in TCS

Q. Model an upsetting (metal forming) operation. Explain the process parameters and how you would relate them.
Modeling an upsetting operation involves understanding process parameters and their relationships.
Upsetting is a metal forming process that involves compressing a metal workpiece to reduce its length and increase its diameter.
Process parameters include temperature, pressure, and deformation rate.
Temperature affects the material's flow stress and ductility, while pressure and deformation rate affect the material's strain hardening behavior.
The relationship between these parame...read more
Interview Questions of Similar Designations
Interview Experiences of Popular Companies





Top Interview Questions for System Engineer Related Skills

Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary


Reviews
Interviews
Salaries
Users

