Add office photos
Employer?
Claim Account for FREE

PK Global Software Technologies

2.8
based on 5 Reviews
Filter interviews by

10+ Pinion Infotech Services Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. What the digin pattern implemented for sting pool?

Ans.

The digin pattern implemented for string pool is a technique to reuse string objects to optimize memory usage.

  • String pool is a cache of string objects stored in memory.

  • When a string is created, it is first checked if it already exists in the pool.

  • If it does, a reference to the existing string object is returned instead of creating a new one.

  • This helps in reducing memory consumption and improving performance.

  • Examples: String s1 = "Hello"; String s2 = "Hello"; Here, s1 and s2 w...read more

View 1 answer

Q2. Find the number is even or odd with out using mod(%) operator

Ans.

Check if a number is even or odd without using mod operator.

  • Use bitwise AND operator with 1 to check the last bit of the number.

  • If the last bit is 0, the number is even. If it's 1, the number is odd.

  • Example: (num & 1) == 0 for even, (num & 1) == 1 for odd.

Add your answer

Q3. What is the agreement between hashcode and equals menthod

Ans.

Hashcode and equals method are related to object comparison in Java.

  • Hashcode is used to identify the object and equals method is used to compare two objects.

  • If two objects are equal, their hashcode values must be the same.

  • If two objects have the same hashcode value, it doesn't necessarily mean that they are equal.

  • It is recommended to override both hashcode and equals method when creating custom classes.

Add your answer

Q4. What is hashmap and its internal implementation

Ans.

HashMap is a data structure that stores key-value pairs and provides constant time complexity for basic operations.

  • HashMap uses hashing to store and retrieve elements

  • It uses an array of linked lists to handle collisions

  • The hash function is used to map the key to an index in the array

  • The internal implementation includes methods like put(), get(), and resize()

Add your answer
Discover Pinion Infotech Services interview dos and don'ts from real experiences

Q5. Write a program to find the distinct characters in the given string sentence

Ans.

Program to find distinct characters in a given string sentence

  • Create a set to store unique characters

  • Iterate through the string and add each character to the set

  • Return the set of distinct characters

Add your answer

Q6. What are the features of java 8

Ans.

Java 8 introduced several new features including lambda expressions, streams, and default methods.

  • Lambda expressions for functional programming

  • Streams for processing large data sets

  • Default methods for backward compatibility

  • Date and Time API improvements

  • Nashorn JavaScript engine

  • Parallel array sorting

  • Type annotations

  • Repeatable annotations

  • Optional class for null checks

  • Base64 encoding and decoding

  • PermGen space replaced with Metaspace

  • Improved security with TLS 1.2 enabled by defau...read more

Add your answer

Q7. How dou you achieve security to microservices

Ans.

Security to microservices can be achieved through various measures.

  • Implementing authentication and authorization mechanisms

  • Using SSL/TLS for secure communication

  • Implementing rate limiting and throttling to prevent DDoS attacks

  • Implementing input validation and output encoding to prevent injection attacks

  • Implementing logging and monitoring to detect and respond to security incidents

  • Using containerization and orchestration tools like Kubernetes to manage and secure microservices...read more

Add your answer

Q8. What is Apigee gateway

Ans.

Apigee gateway is a platform for managing and securing APIs.

  • It acts as a mediator between the client and the backend services.

  • It provides features like authentication, rate limiting, caching, and analytics.

  • It can be deployed on-premises or in the cloud.

  • It supports various protocols like REST, SOAP, and GraphQL.

  • It helps in API versioning and documentation.

Add your answer

Q9. Where do you deploy microservices

Ans.

Microservices can be deployed on cloud platforms, containers, or on-premise servers.

  • Cloud platforms like AWS, Azure, and Google Cloud provide managed services for deploying microservices.

  • Containers like Docker and Kubernetes can be used to deploy and manage microservices.

  • On-premise servers can also be used to deploy microservices, but require more maintenance and management.

  • The choice of deployment platform depends on factors like scalability, security, and cost.

  • For example, ...read more

Add your answer

Q10. How do you create proxies

Ans.

Proxies can be created using various programming languages and frameworks.

  • In Java, proxies can be created using the java.lang.reflect.Proxy class.

  • In Python, proxies can be created using the built-in library 'socketserver'.

  • In Node.js, proxies can be created using the 'http-proxy' module.

  • Proxies can be used for load balancing, caching, security, and more.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Pinion Infotech Services

based on 1 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer Interview Questions from Similar Companies

3.8
 • 30 Interview Questions
4.1
 • 22 Interview Questions
4.0
 • 21 Interview Questions
3.8
 • 20 Interview Questions
4.0
 • 17 Interview Questions
3.1
 • 12 Interview Questions
View all
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
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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