Assistant System Engineer
200+ Assistant System Engineer Interview Questions and Answers
Given a matrix ‘UNIVERSE’ with 3 rows and ‘N’ columns, with the characters { # , * , . } and these characters represent a cluster of stars and galaxies in space. Stars are represented by ‘*’ symbol...read more
Ninja is in space with his super spaceship having unlimited fuel. Ninja initially has a health level ‘H’ and his spaceship has an armour ‘A’. He decides to play a game, where at any instant he can ...read more
Assistant System Engineer Interview Questions and Answers for Freshers
Q3. Given a string S(input consisting) of ‘*’ and ‘#’. The length of the string is variable. The task is to find the minimum number of ‘*’ or ‘#’ to make it a valid string. The string is considered ...
read moreFind minimum number of * or # to make a string valid with equal number of * and #.
Count the number of * and # in the string.
Find the absolute difference between the counts.
Return the difference as the minimum number of characters to add.
If the counts are already equal, return 0.
You have been given two integers ‘DAY_HOURS’ and ‘PARTS’. Where ‘DAY_HOURS’ is the number of hours in a day and a day can be divided into ‘PARTS’ equal parts. Your task is to find total instance...read more
You are given two sorted arrays of distinct integers, ‘ARR1’ and ‘ARR2’. If you find a common element in both arrays, you can switch from one array to another.
Your task is to find a path throug...read more
You are given an array 'ARR' of 'N' integers and two integers 'K' and 'M'.
You need to return true if the given array can be divided into pairs such that the sum of every pair gives remainder 'M' whe...read more
Share interview questions and help millions of jobseekers 🌟
You are given an integer array ‘ARR’ of size ‘N’, where ‘ARR[i]’ denotes the number of balls in the ‘i-th’ bag. You are also given an integer ‘M’, denoting the maximum number of o...read more
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
Assistant System Engineer Jobs
0A thief wants to loot houses. He knows the amount of money in each house. He cannot loot two consecutive houses. Find the maximum amount of money he can loot.
Input Format :
The first line of input c...read more
Implement a Stack Data Structure specifically to store integer data using two Queues.
There should be two data members, both being Queues to store the data internally. You may use the inbuilt Q...read more
You are given an array ‘ARR’ consisting of 'N' integers, and your task is to sort the given array in non-decreasing order using the Heap sort algorithm.
Input Format:
The first line of the input contai...read more
There is a person named Bob who is the mayor of a state. He wants to find the maximise number of vehicles that can be registered in his state.
A vehicle normally has a registration number like...read more
Yogesh is a very intelligent student and is interested in research in Machine Learning domain. His college has only one professor, Mr. Peter working in that field. He approaches the professor f...read more
Q14. What are the functions used in a particular code.
The functions used in the code are calculateSum, displayResult, and validateInput.
calculateSum - calculates the sum of two numbers
displayResult - displays the result of the calculation
validateInput - checks the validity of user input
You are given an array/list 'ARR' consisting of N integers, which contains elements only in the range 0 to N - 1. Some of the elements may be repeated in 'ARR'. Your task is to find all ...read more
You are given 2D array/list 'POINTS' containing N distinct points on a 2D coordinate system where 'POINTS[i] = [Xi, Yi]. You have to find the maximum area of the triangle that can be f...read more
Ninja is given an integer ‘N’. Ninja wants to find whether the binary representation of integer ‘N’ is palindrome or not.
A palindrome is a sequence of characters that reads the same backward as...read more
What is the difference between margin and padding ? (CSS)
What is the difference between "LET" and "VAR" keywords ?(JavaScript)
What is the Architecture used in Django ? (Django)
Q19. What is the difference between soap and rest ? Parts of WSDL, REST methods, how do you handle erros ?
SOAP is a protocol while REST is an architectural style. SOAP uses XML while REST uses JSON or XML.
SOAP is a protocol while REST is an architectural style
SOAP uses XML while REST uses JSON or XML
SOAP requires WSDL while REST does not
SOAP supports only POST method while REST supports GET, POST, PUT, DELETE, etc.
SOAP has built-in error handling while REST relies on HTTP error codes
In SOAP, errors are handled using Fault element while in REST, errors are handled using HTTP statu...read more
Q20. What is linklist ? Write a code to insert a node at the beginning of list ?
A linked list is a data structure that consists of a sequence of nodes, where each node contains a reference to the next node.
A linked list is a dynamic data structure that can grow or shrink as needed.
Each node in a linked list contains two parts: data and a reference to the next node.
To insert a node at the beginning of a linked list, we create a new node, set its data, and update the reference of the new node to point to the current head of the list.
Q21. What is the difference between c and c++?
C++ is an extension of C with object-oriented programming features.
C++ supports classes and objects while C does not.
C++ has better support for polymorphism and inheritance.
C++ has a standard template library (STL) while C does not.
C++ is more complex and has more features than C.
C++ is often used for developing large-scale software projects.
C is often used for system programming and embedded systems.
Q22. What are local variable and global variables? and their default values and program
Local variables are declared within a specific function or block, while global variables are declared outside of any function or block.
Local variables have a limited scope and are only accessible within the function or block where they are declared.
Global variables can be accessed from anywhere in the program.
Local variables are created when a function is called and destroyed when the function ends.
Global variables are created when the program starts and exist until the progr...read more
Q23. What is arraylist ? Advantage over generic arrays ?
ArrayList is a dynamic array that can grow or shrink in size. It provides advantages like dynamic resizing and built-in methods.
ArrayList is a resizable array implementation of the List interface in Java.
It can store elements of any type, including objects and primitives.
Advantages over generic arrays include dynamic resizing, automatic memory management, and built-in methods like add(), remove(), etc.
Example: ArrayList
names = new ArrayList (); names.add("John"); names.add("Ja...read more
Q24. Did you participate in any program offered by tcs like codevita etc..?
Yes, I have participated in TCS CodeVita.
I participated in TCS CodeVita in 2020 and 2021.
I was able to solve several coding problems during the competition.
Participating in CodeVita helped me improve my coding skills and problem-solving abilities.
Q25. Why is your handwriting bad ? And what steps you take to improve it
My handwriting is bad due to lack of practice and poor motor skills. I am taking steps to improve it.
I have started practicing writing regularly to improve my motor skills.
I am using handwriting improvement books and online resources to learn proper techniques.
I am also seeking feedback from others to identify areas of improvement.
I am using tools like grip aids and ergonomic pens to make writing more comfortable.
I am committed to improving my handwriting and am open to any s...read more
Q26. What is asymptotic notation ?
Asymptotic notation is a way to describe the performance of an algorithm by analyzing its behavior as the input size approaches infinity.
Asymptotic notation is used to analyze the efficiency and scalability of algorithms.
It provides a way to compare algorithms based on their growth rates.
Commonly used asymptotic notations include Big O, Big Omega, and Big Theta.
Big O notation represents the upper bound or worst-case scenario of an algorithm's time complexity.
For example, an a...read more
Q27. What is the difference between unions and joins? What is the difference between primary and unique keys?
Unions and joins are used to combine data from multiple tables. Primary keys are unique identifiers for a table, while unique keys ensure uniqueness of a column.
Unions combine data from two or more tables into a single result set, while joins combine data from two or more tables based on a common column.
Primary keys are used to uniquely identify each row in a table and cannot contain null values. Unique keys ensure that a column has unique values, but can contain null values....read more
Normalization
What is indexing in db?
What are different oops concepts?
Q29. What are the advantage and disadvantages of an array over Linked List?
Arrays offer constant time access and efficient memory usage, but have fixed size. Linked lists have dynamic size but slower access.
Arrays provide constant time access to elements using index
Arrays have efficient memory usage as they store elements in contiguous memory locations
Arrays have a fixed size and cannot be easily resized
Linked lists have dynamic size and can grow or shrink as needed
Linked lists allow efficient insertion and deletion of elements
Linked lists require e...read more
Q30. Will you sign the service bonds?
Yes, I am willing to sign the service bonds.
I understand the importance of service bonds in ensuring job security and commitment to the company.
I am willing to commit to the terms and conditions of the bond.
I believe in the company's vision and goals and am excited to contribute to its growth.
I have signed service bonds in the past and have fulfilled my obligations.
I am open to discussing the terms of the bond before signing.
Q31. What is join (Database) ?inner join ,outer join ?
Join is a database operation that combines rows from two or more tables based on a related column between them.
Inner join returns only the matching rows from both tables.
Outer join returns all the rows from one table and the matching rows from the other table.
There are different types of outer joins: left outer join, right outer join, and full outer join.
Joining tables can be done using the JOIN keyword in SQL.
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column =...read more
What is Normalization? Difference between 2NF and 3NF .
Q33. What is the use of python programming language on real problem ?
Python is a versatile programming language used for solving real-world problems in various fields.
Python is used for web development, data analysis, machine learning, and artificial intelligence.
It is used in scientific computing, finance, and gaming industries.
Python is used for automation, scripting, and building desktop applications.
It is also used for creating chatbots, web crawlers, and data visualization tools.
Python's simplicity, readability, and vast libraries make it...read more
Q34. What is the difference between Delete and Truncate commands?
Delete command removes rows from a table, while Truncate command removes all rows from a table.
Delete command is a DML (Data Manipulation Language) command, while Truncate command is a DDL (Data Definition Language) command.
Delete command can be rolled back, while Truncate command cannot be rolled back.
Delete command fires triggers, while Truncate command does not fire triggers.
Delete command is slower as it maintains logs, while Truncate command is faster as it does not main...read more
Q35. 2. What is an array? How to define an array? how to assign value to an array index?
An array is a collection of similar data types. It can be defined and values can be assigned to its indices.
Arrays can be defined using square brackets [] and specifying the size or leaving it empty for dynamic sizing.
Values can be assigned to array indices using the assignment operator = and specifying the index number.
Example: int arr[5]; arr[0] = 1; arr[1] = 2; arr[2] = 3; arr[3] = 4; arr[4] = 5;
Arrays can also be initialized during declaration like int arr[] = {1, 2, 3, 4...read more
Q36. What is difference between truncate, drop and delete?
Truncate, drop, and delete are SQL commands used to remove data from a table, but they differ in their functionality.
Truncate is a DDL command that removes all rows from a table, but keeps the structure intact.
Drop is a DDL command that removes an entire table, including its structure and data.
Delete is a DML command that removes specific rows from a table based on a condition.
Truncate is faster than delete as it doesn't generate any transaction logs.
Drop is irreversible and ...read more
Q37. What is static variable in C? with program
A static variable in C is a variable that retains its value between function calls.
Static variables are declared using the 'static' keyword.
They are initialized only once, at the start of the program.
Their value persists even after the function call ends.
Static variables have a default initial value of 0.
They are useful for maintaining state across function calls.
Q38. Which programming languages are you comfortable in?
I am comfortable in multiple programming languages including Java, Python, and C++.
Proficient in Java with experience in developing web applications using Spring framework
Skilled in Python with experience in data analysis and machine learning using libraries like NumPy and Pandas
Familiar with C++ and its object-oriented programming concepts
Also comfortable in languages like JavaScript and SQL
Q39. Given a maximum of 100 digit numbers as input, find the difference between the sum of odd and even position digits
Find the difference between the sum of odd and even position digits in a maximum of 100 digit number.
Iterate through the digits of the number and add the digits at odd positions to a variable for odd position digits and even positions to a variable for even position digits.
Calculate the difference between the two variables.
Return the difference.
Example: For the number 123456, the sum of digits at odd positions is 1+3+5=9 and the sum of digits at even positions is 2+4+6=12. Th...read more
Q40. Given an array Arr[] of N integers and a positive integer K. The task is to cycally rotate the array clockwise by K.
Cyclically rotate an array of N integers clockwise by K.
Create a temporary array of size K and copy the last K elements of the original array into it.
Shift the remaining elements of the original array K positions to the right.
Copy the elements from the temporary array to the beginning of the original array.
Time complexity: O(N)
Space complexity: O(K)
What is virtual memory?
Scheduling algos
Deadlock and its conditions
Q42. write a program for swapping 2 numbers without the 3rd variable.
Swapping 2 numbers without a third variable in a program.
Use arithmetic operations to swap the values of the variables.
Add the values of both variables and store the result in one variable.
Subtract the value of the second variable from the sum and store the result in the second variable.
Subtract the value of the first variable from the sum and store the result in the first variable.
What is Primary key, Foreign key?
Can Foreign key be null?
Write query to insert data in the table.
Q44. What is call by value and call by reference?
Call by value and call by reference are two ways of passing arguments to a function.
Call by value passes a copy of the argument's value to the function.
Call by reference passes a reference to the argument's memory location to the function.
Call by value is used for simple data types like int, float, etc.
Call by reference is used for complex data types like arrays, structures, etc.
Q45. Write the program to check if a string is a palindrome or not
This program checks if a given string is a palindrome or not.
A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward.
To check if a string is a palindrome, we can compare the characters from the beginning and end of the string.
If the characters match for all positions, the string is a palindrome.
We can ignore spaces, punctuation, and letter case while checking for palindromes.
Q46. Tell me 5 differences between 8085 and 8086?
8085 and 8086 are two different microprocessors with distinct features.
8085 is an 8-bit microprocessor while 8086 is a 16-bit microprocessor.
8085 has a maximum clock frequency of 3 MHz while 8086 has a maximum clock frequency of 10 MHz.
8085 has a 16-bit address bus and an 8-bit data bus while 8086 has a 20-bit address bus and a 16-bit data bus.
8085 has a simple architecture with fewer instructions while 8086 has a complex architecture with more instructions.
8085 has a lower p...read more
Q47. Write a query to select the highest salary from employee table.
Query to select highest salary from employee table.
Use SELECT statement to retrieve data from employee table.
Use MAX function to find the highest salary.
Combine both using the syntax: SELECT MAX(salary) FROM employee;
Ensure that the column name is correct and matches the table schema.
Q48. what are scale up and scale down operations?
Scale up and scale down operations refer to increasing or decreasing the resources allocated to a system or application.
Scale up involves adding more resources to a system to handle increased demand or workload.
Examples of scale up include adding more RAM, CPU, or storage to a server.
Scale down involves reducing the resources allocated to a system when demand or workload decreases.
Examples of scale down include removing unused resources or shutting down servers that are no lo...read more
Q49. What is the difference between C and C++? What is the difference between c++ and java?
C is a procedural programming language while C++ is an object-oriented programming language. C++ is an extension of C with additional features.
C is a procedural programming language, while C++ is an object-oriented programming language.
C++ supports features like classes, inheritance, polymorphism, and operator overloading which are not present in C.
C++ is an extension of C, so C code can be easily integrated into C++ programs.
Java is also an object-oriented programming langua...read more
Q50. Is multiple inheritance is possible in Java, If not what is best possible way for this kind of implementation
Multiple inheritance is not possible in Java due to the Diamond Problem. The best way to achieve similar functionality is through interfaces or using composition.
Java does not support multiple inheritance of classes to avoid the Diamond Problem
Instead, Java supports multiple inheritance of interfaces, allowing a class to implement multiple interfaces
Composition can also be used to achieve similar functionality by creating objects of other classes within a class
Interview Questions of Similar Designations
Top Interview Questions for Assistant System Engineer Related Skills
Interview experiences of popular companies
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/Month