IBM
40+ Paytm First Games Interview Questions and Answers
Q1. Tell me how to write ansible playbooks and how would you define a CI/CD pipeline. What tools can you use for pipeline creation and how it works.
Ansible playbooks automate configuration management. CI/CD pipeline automates software delivery. Tools include Jenkins, GitLab, and Travis CI.
Ansible playbooks are written in YAML format and define tasks to be executed on remote hosts.
CI/CD pipeline automates the software delivery process from code commit to production deployment.
Tools for pipeline creation include Jenkins, GitLab, Travis CI, and CircleCI.
Pipeline creation involves defining stages, jobs, and triggers to autom...read more
Q2. how to get distinct data without using distinct keyword
To get distinct data without using distinct keyword, use GROUP BY clause.
Use GROUP BY clause with the column name to group the data by that column.
Use aggregate functions like COUNT, SUM, AVG, etc. to get the desired result.
Example: SELECT column_name FROM table_name GROUP BY column_name;
Example: SELECT column_name, COUNT(*) FROM table_name GROUP BY column_name;
Q3. What is your knowledge on devops tools. Explain me the most challenging use case that you have done.
I have knowledge on various devops tools and have worked on challenging use cases such as implementing continuous integration and deployment pipelines using Jenkins and Docker.
Proficient in using Jenkins, Docker, Git, Ansible, and Kubernetes
Implemented CI/CD pipelines for multiple projects
Automated deployment process using Ansible and Kubernetes
Implemented containerization using Docker and Kubernetes
Implemented infrastructure as code using Terraform
Challenging use case: Setti...read more
Q4. Difference between final, finalize and finally ?
final, finalize and finally are three different keywords in Java with different meanings.
final is a keyword used to declare a constant variable.
finalize is a method used for garbage collection.
finally is a block used in exception handling to execute code regardless of whether an exception is thrown or not.
final and finally are not related in any way.
Q5. What is protocols ? what's difference between protocol & closure ?
Protocols are a set of rules or guidelines for communication between different objects. Closures are blocks of code that can be passed around and executed later.
Protocols define a blueprint of methods, properties, and other requirements that a class or structure must implement.
Closures capture and store references to any constants and variables from the context in which they are defined.
Protocols are used to define a set of methods that can be implemented by any class, struct...read more
Q6. How will respond when you are the only one available on weekend , whenever there are client pings or user pings
I will prioritize urgent client or user pings and respond promptly to address their needs.
Prioritize urgent client or user pings over non-urgent ones
Respond promptly to address their needs
Communicate with the client or user to understand the issue and provide assistance
Document the issue and resolution for future reference
Q7. How the process flow in Restful service
Restful service process flow involves client sending requests to server, which responds with data in a standardized format.
Client sends HTTP request to server
Server processes request and sends back HTTP response
Response is in a standardized format such as JSON or XML
Client can then use the response data as needed
Q8. LinkedList implementation, Difference between double & single linkedlist on the basis of efficiency and implementation.
Double linked list has pointers to both next and previous nodes, while single linked list only has pointer to next node.
Double linked list allows for traversal in both directions, while single linked list only allows traversal in one direction.
Insertions and deletions are more efficient in double linked list as compared to single linked list.
Double linked list requires more memory as compared to single linked list due to the additional pointer for previous node.
Q9. Ways of data passing from one view controller to another view controller?
Data passing between view controllers can be done using properties, delegates, notifications, segues, or user defaults.
Use properties to directly pass data between view controllers
Implement delegates to establish communication between view controllers
Post notifications to broadcast data to multiple view controllers
Pass data through segues when transitioning between view controllers
Store data in user defaults for persistent data sharing
Q10. What is optional chaining, optional binding ?
Optional chaining and optional binding are techniques used in Swift programming language to safely unwrap optional values.
Optional chaining allows you to access properties, methods, and subscripts of an optional that might currently be nil.
Optional binding is a way to find out if an optional contains a value, and if so, to make that value available as a temporary constant or variable.
Optional chaining uses '?' while optional binding uses 'if let' or 'guard let'.
Q11. What is difference between MVC, MVVM and VIPER?
MVC, MVVM, and VIPER are design patterns used in software development to separate concerns and improve code maintainability.
MVC stands for Model-View-Controller and separates an application into three components: Model (data), View (UI), and Controller (logic).
MVVM stands for Model-View-ViewModel and adds a ViewModel layer between the View and Model to handle user interactions and update the UI.
VIPER is an application architecture pattern that stands for View-Interactor-Prese...read more
Q12. What is main key strength that add values ?
The main key strength that adds value is problem-solving skills.
Ability to analyze complex problems and come up with effective solutions
Critical thinking and logical reasoning skills
Creativity in finding innovative solutions
Adaptability to new technologies and frameworks
Strong communication skills to collaborate with team members and stakeholders
Q13. Have you worked on CDS, steps to implement CDS view?
Yes, I have worked on CDS views and implemented them in SAP systems.
Define CDS view in ABAP Dictionary using DDL source code
Activate CDS view using ABAP Development Tools (ADT)
Use CDS view in ABAP programs for data retrieval and manipulation
Q14. Which Cloud you have worked on
I have worked on Microsoft Azure and Amazon Web Services (AWS) clouds.
Microsoft Azure
Amazon Web Services (AWS)
Q15. what is hash table on java
Hash table in Java is a data structure that stores key-value pairs and allows for fast retrieval of values based on keys.
Hash table uses hashing function to map keys to indexes in an array.
It provides constant time complexity O(1) for insertion, deletion, and retrieval operations.
Example: HashMap and HashTable classes in Java implement hash tables.
Q16. SQL query to find max salary in different areas of employee
Use SQL query to find max salary in different areas of employee
Use GROUP BY clause to group employees by area
Use MAX() function to find the maximum salary in each group
Combine GROUP BY and MAX() to get the desired result
Q17. How do you deal with a long running queries
I optimize queries by analyzing indexes, rewriting queries, using stored procedures, and monitoring performance.
Analyze indexes to ensure they are being utilized efficiently
Rewrite queries to improve performance by reducing complexity or optimizing joins
Use stored procedures to encapsulate complex logic and reduce query execution time
Monitor query performance using tools like SQL Profiler or database management systems
Q18. 1. what do we use spring boot 2. Microservice design pattern
Spring Boot is used for developing stand-alone, production-grade Spring-based applications.
Spring Boot simplifies the development process by providing auto-configuration and opinionated defaults.
It allows developers to quickly create and deploy applications with minimal configuration.
Spring Boot provides a range of features like embedded servers, metrics, health checks, and security.
It supports various technologies and frameworks, making it easy to integrate with existing sys...read more
Q19. How to compare 2 files(file handling)
To compare 2 files in file handling, read both files line by line and compare each line.
Read both files line by line
Compare each line of the files
Handle cases where files have different number of lines
Use file handling functions like fopen, fgets, and fclose
Q20. how did you implement the algorithm
I implemented the algorithm using a combination of data structures and logic to efficiently solve the problem.
Used arrays and loops to iterate through data
Implemented conditional statements to make decisions
Utilized functions to modularize code and improve readability
Q21. what is Vector in Java
Vector in Java is a dynamic array that can grow or shrink in size as needed.
Vector is a part of the Java Collections Framework.
It is synchronized, meaning it is thread-safe.
Elements can be accessed using indexes like arrays.
Example: Vector
v = new Vector ();
Q22. What type of language is python
Python is a high-level, interpreted programming language known for its simplicity and readability.
Python is an interpreted language, meaning it does not need to be compiled before running.
It is a high-level language, making it easier to read and write compared to low-level languages like C.
Python is dynamically typed, allowing for flexibility in variable types.
It is known for its extensive standard library, which provides ready-to-use modules and packages.
Python is widely use...read more
Q23. Application performance improvement in angular.
Angular application performance can be improved by optimizing code, reducing HTTP requests, and using lazy loading.
Optimize code by using trackBy in ngFor loops, avoiding unnecessary watchers, and using pure pipes.
Reduce HTTP requests by caching data, using server-side rendering, and bundling assets.
Use lazy loading to load only necessary components and modules on demand.
Consider using AOT compilation and tree shaking to reduce bundle size.
Use performance profiling tools like...read more
Q24. Aws cloud services name a few
AWS offers a wide range of cloud services for various purposes.
Compute services: EC2, Lambda
Storage services: S3, EBS
Database services: RDS, DynamoDB
Networking services: VPC, Route 53
Security services: IAM, KMS
Analytics services: Redshift, EMR
AI/ML services: SageMaker, Rekognition
Q25. I describe the microservice architecture in detail
Microservice architecture is an architectural style that structures an application as a collection of loosely coupled services.
Microservices are small, independent services that work together to form a complete application.
Each microservice is responsible for a specific business function and can be developed, deployed, and scaled independently.
Communication between microservices is typically done through APIs.
Microservices promote flexibility, scalability, and resilience in s...read more
Q26. How Code quality maintained.
Code quality is maintained through various techniques and tools.
Code reviews by peers and seniors
Automated testing and continuous integration
Adherence to coding standards and best practices
Regular refactoring and optimization
Use of static code analysis tools
Documentation and comments
Training and knowledge sharing
Code profiling and performance monitoring
Q27. How exactly function pointer works
Function pointers are pointers that point to the memory address of a function.
Function pointers can be used to pass functions as arguments to other functions.
Function pointers can be used to create callback functions.
Function pointers can be used to implement polymorphism in C.
Function pointers can be used to create function tables.
Function pointers can be used to implement function pointers in C++.
Function pointers can be used to implement virtual functions in C++.
Q28. Aws cloud pillars name a few
AWS cloud pillars are the foundation of AWS cloud computing services.
Security - ensuring data protection and privacy
Reliability - ensuring system availability and fault tolerance
Performance Efficiency - optimizing resource utilization and scalability
Cost Optimization - minimizing costs while maximizing benefits
Q29. Difference between IBM & other mainframe companies
IBM is a mainframe company that offers a wide range of products and services, while other mainframe companies may have a more limited scope.
IBM has a long history in the mainframe market and is considered a leader in the industry.
IBM mainframes are known for their reliability, scalability, and security features.
IBM offers a comprehensive suite of software and hardware solutions for mainframe computing, including operating systems, databases, and development tools.
Other mainfr...read more
Q30. Difference between cmd and entry point
Cmd is used to specify the default command to run when a container is started, while entry point is used to specify the executable that will run when the container starts.
Cmd is optional and can be overridden at runtime, while entry point is required and cannot be overridden.
Cmd is used to provide default arguments for the entry point command.
Example: CMD ["python", "app.py"] - specifies the default command to run the Python script app.py
Example: ENTRYPOINT ["java", "-jar", "...read more
Q31. Css properties for page alignments.
CSS properties for page alignments
text-align: center/left/right/justify
margin: auto (for centering block elements)
float: left/right (for aligning elements side by side)
display: flex (for flexible box layout)
position: absolute/relative (for precise positioning)
Q32. How to stop container
To stop a container, use the 'docker stop' command followed by the container ID or name.
Use 'docker ps' command to list all running containers
Identify the container ID or name of the container you want to stop
Run 'docker stop
' to stop the container
Q33. Difference between CASE and Decode
CASE and Decode are SQL functions used to manipulate data. CASE is more flexible while Decode is simpler.
CASE allows for multiple conditions and expressions while Decode only allows for one condition and multiple values
CASE can be used in any SQL statement while Decode is specific to Oracle databases
CASE is more readable and easier to maintain than Decode
Example: CASE WHEN condition1 THEN result1 WHEN condition2 THEN result2 ELSE result3 END
Example: Decode(column, value1, res...read more
Q34. Reverse the string (code in java )
Reverse a string in Java using StringBuilder or character array.
Use StringBuilder's reverse() method to reverse the string.
Alternatively, convert the string to a character array, swap characters from start and end, then convert back to string.
Q35. how to tackle conflict
Address conflict by actively listening, seeking common ground, and finding a mutually beneficial solution.
Listen actively to understand the other person's perspective
Seek common ground and areas of agreement
Collaborate to find a mutually beneficial solution
Communicate openly and respectfully
Q36. explain about routing in angular
Routing in Angular is the process of navigating between different components or views based on the URL.
Routing allows users to navigate between different parts of an Angular application without a full page reload.
Routes are defined in the app-routing.module.ts file using RouterModule.forRoot() method.
Each route maps a URL path to a component, which is then displayed when the URL matches the path.
Angular Router provides features like route guards, lazy loading, and nested rout...read more
Q37. Telephonic in office. Medium difficulty
Telephonic in-office interview question.
Listen carefully to the interviewer's questions.
Speak clearly and concisely.
Be prepared to discuss your experience and skills.
Ask questions about the company and position.
Thank the interviewer for their time.
Q38. What is LINQ ?
LINQ (Language Integrated Query) is a feature in C# that allows for querying data from different data sources using a SQL-like syntax.
LINQ allows for querying data from collections, databases, XML, and more.
It provides a uniform way to query different types of data sources.
LINQ queries are written in C# and can be used to filter, sort, group, and manipulate data.
Example: var result = from num in numbers where num % 2 == 0 select num;
Q39. what is DML/DDL
DML stands for Data Manipulation Language and DDL stands for Data Definition Language.
DML is used for manipulating data in a database, such as inserting, updating, deleting records.
DDL is used for defining the structure of the database, such as creating tables, altering table structures, defining constraints.
Examples of DML statements include INSERT, UPDATE, DELETE. Examples of DDL statements include CREATE, ALTER, DROP.
Q40. Explain Ansible architecture
Ansible architecture is based on a client-server model where the control machine communicates with managed nodes using SSH.
Ansible control machine: where playbooks are written and executed
Managed nodes: machines that are being managed by Ansible
Inventory: list of managed nodes
Playbooks: automation scripts written in YAML format
Modules: reusable units of code that perform specific tasks on managed nodes
Q41. Explain exception handling
Exception handling is a mechanism to handle errors or exceptional situations in a program.
It allows the program to gracefully handle errors without crashing.
Exceptions can be caught and handled using try-catch blocks.
Common exceptions include NullPointerException, ArrayIndexOutOfBoundsException, and IOException.
Exception handling helps in debugging and maintaining code.
It separates error-handling code from normal code execution.
Q42. hashmap working in collections
HashMap is a data structure in Java that stores key-value pairs and provides fast retrieval of values based on keys.
HashMap is part of the Java Collections framework.
It allows null keys and values.
HashMap uses hashing to store and retrieve elements efficiently.
Example: HashMap
map = new HashMap<>();
Q43. collections in java
Collections in Java are data structures that store and manipulate groups of objects.
Collections framework provides interfaces (List, Set, Map) and classes (ArrayList, HashSet, HashMap) for storing and manipulating data.
Collections offer methods for adding, removing, and accessing elements in a structured manner.
Collections can be used to store objects of any type, including custom objects.
Example: ArrayList
names = new ArrayList<>(); names.add("Alice"); names.add("Bob"); Examp...read more
More about working at IBM
Top HR Questions asked in Paytm First Games
Interview Process at Paytm First Games
Top Application Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month