Infosys
20+ San Printech Interview Questions and Answers
Q1. What languages do you know? rate yourself out of 10 for each of them
I know Java, Python, and C++. I rate myself 8/10 for Java, 7/10 for Python, and 6/10 for C++.
I have experience in developing Java applications using Spring framework
I have worked on Python projects involving data analysis and machine learning
I have basic knowledge of C++ programming language
Q2. Tell how significant are they in the current market
System engineers are highly significant in the current market.
System engineers play a crucial role in designing, implementing, and maintaining complex computer systems.
They ensure the smooth operation of networks, servers, and software applications.
System engineers are in high demand due to the increasing reliance on technology in various industries.
They are responsible for troubleshooting and resolving technical issues to minimize downtime and improve efficiency.
System engin...read more
Q3. Why mongo db instead of mysql. What is the bot commands you have used in your automation project using Python. Questions around the projects you have done in college.
MongoDB is preferred over MySQL due to its scalability and flexibility. Used bot commands in Python automation project.
MongoDB is a NoSQL database that allows for easy scalability and flexible data modeling.
MySQL is a relational database that can be more rigid in its data structure.
Bot commands used in Python automation project include 'send_message', 'get_message', and 'search'.
Projects done in college include a web application for managing student grades and a mobile app fo...read more
Q4. What is join, Polymorphism in java, Exception handling in java, Difference between array list and list linked list, some SQL queries based on count,Max,sum function.
Join is used to combine rows from two or more tables based on a related column. Polymorphism allows objects of different classes to be treated as objects of a common superclass. Exception handling is used to handle errors and exceptions in Java. ArrayList and LinkedList are both implementations of the List interface in Java, with differences in performance and usage. SQL queries can be used to perform operations like counting, finding maximum values, and calculating sums.
Join...read more
Q5. Why do you want to start your career in IT? Which programming language do you know? Explain OOPs concept? What is difference between method overloading and overriding? What is final key word? Explain your proje...
read moreI want to start my career in IT because I am passionate about technology and enjoy problem-solving.
Passionate about technology and enjoy problem-solving
Opportunity to work with cutting-edge technologies
Desire to contribute to the advancement of IT industry
Excitement for continuous learning and growth
Interest in exploring various domains within IT
Q6. Find sum of letters of your name: A-1 B-2 C-3. Ex: CAB = 1+2+3 = 6
The question asks to find the sum of letters in your name based on their alphabetical position.
Assign each letter in your name a numerical value based on its position in the alphabet
Add up the numerical values of each letter in your name
Ex: John = 10+15+8+14 = 47
Q7. What is the code for swapping two numbers?
The code for swapping two numbers involves using a temporary variable to store one of the numbers before swapping them.
Declare three variables: a, b, and temp.
Assign values to a and b.
Store the value of a in temp.
Assign the value of b to a.
Assign the value of temp to b.
Q8. What are access Specifiers
Access specifiers are keywords in object-oriented programming languages that determine the visibility of class members.
Access specifiers are used to restrict access to class members.
There are three access specifiers: public, private, and protected.
Public members can be accessed from anywhere in the program.
Private members can only be accessed within the class.
Protected members can be accessed within the class and its subclasses.
Example: class MyClass { private int x; public v...read more
Q9. Write a program to swap numbers without third variable.
Program to swap numbers without third variable
Use arithmetic operations to swap the values
Add the two numbers and store the result in the first variable
Subtract the second number from the result and store it in the second variable
Subtract the second variable from the first variable to get the original value of the second variable
The values of the two variables are now swapped
Q10. For loop explanation with example
For loop is a programming construct used to repeat a block of code for a specified number of times.
For loop has three parts: initialization, condition, and increment/decrement
Example: for(int i=0; i<5; i++) { //code to be repeated }
For loop can also be used with arrays and collections
Q11. Difference between interfaces and abstract method.
Interfaces define a contract for classes to implement while abstract methods provide a template for subclasses to follow.
Interfaces can have multiple methods while abstract classes can have multiple abstract methods.
Interfaces cannot have method implementations while abstract classes can have non-abstract methods.
Classes can implement multiple interfaces but can only extend one abstract class.
An example of an interface is the Comparable interface in Java while an example of a...read more
Q12. Write a code to reverse a string.
Code to reverse a string
Create an empty string to store the reversed string
Loop through the original string from the end to the beginning
Add each character to the empty string
Return the reversed string
Q13. Write a code in the language you prefer.
Code example in preferred language
Choose a language
Write a simple code snippet
Ensure code is readable and efficient
Q14. Difference between classes and objects.
Classes are blueprints for objects, while objects are instances of classes.
Classes define the properties and behaviors of objects
Objects are created from classes and can have unique values for their properties
Classes can be used to create multiple objects with similar properties and behaviors
Objects can interact with each other through their methods and properties
Q15. Difference between var and varchar.
var is a data type used to store variable-length character strings, while varchar is a data type used to store variable-length character strings with a maximum length.
var is used in programming languages like C# and Java, while varchar is used in database management systems like MySQL and SQL Server.
var does not require a maximum length to be specified, while varchar requires a maximum length to be specified.
var is more flexible than varchar, as it can store any type of data,...read more
Q16. What is OOPS concept ?
OOPS (Object-Oriented Programming) concept is a programming paradigm based on the concept of objects, which can contain data and code.
OOPS focuses on creating objects that interact with each other to solve a problem
It involves concepts like inheritance, encapsulation, polymorphism, and abstraction
Example: Inheritance allows a class to inherit properties and methods from another class
Q17. How to define a string?
A string is a sequence of characters, typically used to represent text.
A string is enclosed in quotation marks, either single ('') or double ("").
Strings can contain letters, numbers, symbols, and spaces.
Examples: 'hello', "12345", 'special characters: !@#$%^&*'
Q18. Write a program for recursive fibonacci.
Program for recursive fibonacci
Define a function that takes an integer as input
If the input is 0 or 1, return the input
Else, return the sum of the previous two fibonacci numbers
Call the function recursively with the previous two numbers as input
Q19. 1) Software Development Life Cycle
Software Development Life Cycle (SDLC) is a process followed by software development teams to design, develop, test, and deploy high-quality software.
SDLC consists of several phases including planning, analysis, design, development, testing, deployment, and maintenance.
Each phase has its own set of activities and deliverables.
SDLC models include Waterfall, Agile, and DevOps.
SDLC helps ensure that software is developed efficiently, meets user requirements, and is of high quali...read more
Q20. what is quick sort algorithm
Quick sort is a popular sorting algorithm that uses a divide-and-conquer approach to sort an array efficiently.
Divides the array into two sub-arrays based on a pivot element
Recursively sorts the sub-arrays
Combines the sorted sub-arrays to produce the final sorted array
Example: [3, 6, 8, 10, 1, 2, 1] -> [1, 1, 2, 3, 6, 8, 10]
Q21. Constructors and their types.
Constructors are special methods used to initialize objects. There are three types of constructors: default, parameterized, and copy.
Default constructor is used to create an object with default values.
Parameterized constructor is used to create an object with user-defined values.
Copy constructor is used to create a new object by copying the values of an existing object.
Constructors have the same name as the class and do not have a return type.
Constructors can be overloaded to...read more
Q22. Java version and its features.
Java is a popular programming language with various versions. The latest version is Java 16.
Java 16 was released in March 2021
It introduced features like Records, Pattern Matching for instanceof, and Sealed Classes
Java 8 introduced features like Lambda Expressions, Streams, and Date/Time API
Q23. Logic to check power of 3
To check if a number is a power of 3, we can use logarithms or divide the number by 3 until it becomes 1.
Use logarithms to check if the number is a power of 3
Divide the number by 3 until it becomes 1
If the number is a power of 3, it will only have factors of 3
Q24. Details about education backgroud
I have a Bachelor's degree in Computer Science from XYZ University.
Bachelor's degree in Computer Science
Graduated from XYZ University
Specialized in system engineering courses
Q25. OOPS concepts in detail
OOPS concepts are fundamental to object-oriented programming. It includes encapsulation, inheritance, and polymorphism.
Encapsulation is the process of hiding implementation details and exposing only the necessary information.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects to take on multiple forms or behaviors.
Abstraction is the process of hiding complex implementation details and providing a simplified interface for...read more
Q26. 2) Oops Concepts in java
Oops concepts are fundamental concepts in Java programming language.
Encapsulation - wrapping data and methods into a single unit
Inheritance - acquiring properties and behavior of parent class
Polymorphism - ability of an object to take many forms
Abstraction - hiding implementation details and showing only necessary information
Q27. Python code for Fibonacci
Python code to generate Fibonacci sequence
Use a loop to generate Fibonacci numbers
Start with 0 and 1 as the first two numbers
Add the previous two numbers to get the next number
Repeat until desired number of Fibonacci numbers are generated
Q28. Current location
I am currently located in New York City.
New York City
East Coast
USA
Top HR Questions asked in San Printech
Interview Process at San Printech
Reviews
Interviews
Salaries
Users/Month