Upload Button Icon Add office photos

Filter interviews by

Petrus Technologies Software Developer Trainee Interview Questions and Answers

Updated 22 Jan 2024

Petrus Technologies Software Developer Trainee Interview Experiences

1 interview found

Software Developer Trainee Interview Questions & Answers

user image SRI HARIESH K.G 20CSR206

posted on 22 Jan 2024

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Basic and easy questions

Round 2 - Technical 

(2 Questions)

  • Q1. Data structure-stack and queue
  • Q2. Css box model,sql quries,sql injection,project works

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Coding Test 

There was an OA on hackerearth of an hour. In that there were 20 MCQs and two DSA questions easy to medium on Heap, Hashmap and Subarray

Round 2 - Technical 

(3 Questions)

  • Q1. Asked about previous worked project in last company
  • Q2. Asked one medium DSA question (DNA sequencing) and asked to design some schema
  • Q3. Asked one puzzle If there are 1000 bottles and one is poisonous, a rat will diw after one hour of drinking and you have only one hour to find out which bottle is poisonous, How many minimum rats you need ?
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Aug 2024. There were 2 interview rounds.

Round 1 - Coding Test 

C and Golang related questions, 2 Hours assement, The test involved writing code by hand in paper in the office (Bengaluru)

Round 2 - Technical 

(9 Questions)

  • Q1. Write a go code to remove duplicate elements from a slice.
  • Ans. 

    Go code to remove duplicate elements from a slice of strings

    • Use a map to keep track of unique elements

    • Iterate over the slice and add elements to the map

    • Create a new slice with unique elements from the map

  • Answered by AI
  • Q2. Difference between array and slice in Go.
  • Ans. 

    Arrays have fixed length, slices are dynamic and can grow/shrink. Slices are references to arrays.

    • Arrays have fixed length, specified at compile time.

    • Slices are dynamic, can grow or shrink at runtime.

    • Slices are references to arrays, allowing for more flexibility.

    • Example: var arr [3]string // array with fixed length of 3

    • Example: slice := make([]string, 0) // slice with dynamic length

  • Answered by AI
  • Q3. Explain struct and interface
  • Ans. 

    Struct is a user-defined data type that groups related data fields together. Interface defines a set of methods that a type must implement.

    • Struct is used to create complex data structures by grouping related data fields together.

    • Interface defines a set of methods that a type must implement. It allows for polymorphism in Go.

    • Example: type Person struct { Name string; Age int }

    • Example: type Shape interface { Area() float6...

  • Answered by AI
  • Q4. What is containerization.
  • Ans. 

    Containerization is a method of packaging, distributing, and running applications in isolated environments called containers.

    • Containers are lightweight, portable, and can run on any platform that supports containerization.

    • They include everything needed to run the application, such as code, runtime, system tools, libraries, and settings.

    • Popular containerization tools include Docker, Kubernetes, and Podman.

    • Containerizati...

  • Answered by AI
  • Q5. Write a go code to implement struct.
  • Ans. 

    Implementing a struct in Go code

    • Define a struct using the 'type' keyword

    • Add fields to the struct with their respective data types

    • Access struct fields using dot notation

  • Answered by AI
  • Q6. Explain goroutine.
  • Ans. 

    Goroutine is a lightweight thread managed by Go runtime, allowing concurrent execution of functions.

    • Goroutines are created using the 'go' keyword in Go programming language.

    • They are more lightweight than threads and are managed by the Go runtime.

    • Goroutines allow for concurrent execution of functions without the need for manual thread management.

    • Example: go myFunction()

    • Example: go func() { // code here }

  • Answered by AI
  • Q7. How do you achieve concurrency in Go?
  • Ans. 

    Concurrency in Go is achieved using goroutines and channels.

    • Use goroutines to run functions concurrently

    • Communicate between goroutines using channels

    • Avoid using shared memory for synchronization

  • Answered by AI
  • Q8. What is channel in Go? What are the differences between buffered and unbuffered channel?
  • Ans. 

    A channel in Go is a communication mechanism that allows goroutines to communicate with each other.

    • Buffered channels have a specific capacity and can send multiple values without the need for a corresponding receive operation immediately.

    • Unbuffered channels have no capacity and require both a send and receive operation to be ready at the same time for communication to occur.

  • Answered by AI
  • Q9. What is scaling? Horizontal and vertical scaling.
  • Ans. 

    Scaling refers to the ability of a system to handle increasing amounts of work or its potential to accommodate growth.

    • Horizontal scaling involves adding more machines to distribute the load, while vertical scaling involves increasing the resources of a single machine.

    • Horizontal scaling is more cost-effective and provides better fault tolerance, but can be more complex to implement.

    • Vertical scaling is simpler to impleme...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Study basic DSA. Learn C properly (Including deep concepts in pointer). Practice Golang. Also try to write solve some basic dsa problem in Go.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Nov 2024. There were 3 interview rounds.

Round 1 - Coding Test 

Coding round is related to DSA

Round 2 - Technical 

(2 Questions)

  • Q1. Java related questions
  • Q2. Explain about your project
Round 3 - HR 

(2 Questions)

  • Q1. Salary negotiation
  • Q2. Why you want to join us?
Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in Jun 2024. There were 3 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. REST API for User CRUD
  • Ans. 

    Design a RESTful API for CRUD operations on user resources.

    • Use HTTP methods like GET, POST, PUT, DELETE for CRUD operations

    • Create endpoints like /users for listing all users, /users/{id} for specific user

    • Use status codes like 200 for success, 404 for not found, 400 for bad request

    • Implement authentication and authorization mechanisms for security

    • Include request and response body formats like JSON or XML

  • Answered by AI
  • Q2. Two Sum Leetcode problem
  • Q3. Basic questions based on the candidate technical skills
Round 2 - Technical 

(2 Questions)

  • Q1. Basics to Intermediate level of questions based on the skills mentioned in the resume
  • Q2. Projects related discussions
Round 3 - Document Verification 

(1 Question)

  • Q1. I was informed to upload the supporting documents. ( They rejected me after this eventhough all my documents are genuine )

Interview Preparation Tips

Interview preparation tips for other job seekers - The interviewer's are friendly. Be prepared as per your resume.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed in Sep 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

Aptitude questions with some basic coding questions

Round 2 - Coding Test 

They have given 3 coding questions and some pseudo codings

Round 3 - Technical 

(2 Questions)

  • Q1. Tell about your self
  • Q2. Some coding questions

Interview Preparation Tips

Interview preparation tips for other job seekers - be confident
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Was asked 30 mcq technical questions and one dsa question which as basic string based.

Round 2 - Technical 

(2 Questions)

  • Q1. Remove a loop in linked list
  • Ans. 

    To remove a loop in a linked list, we can use Floyd's Cycle Detection Algorithm.

    • Use Floyd's Cycle Detection Algorithm to find the loop in the linked list.

    • Once the loop is detected, find the starting point of the loop using Floyd's algorithm.

    • Break the loop by setting the next pointer of the node before the starting point of the loop to null.

  • Answered by AI
  • Q2. Implement stack using queues
  • Ans. 

    Implement a stack using two queues

    • Use two queues to simulate stack operations

    • Push operation: Enqueue the element to queue 1

    • Pop operation: Dequeue all elements from queue 1 to queue 2, dequeue the last element from queue 1, then swap the queues

    • Top operation: Return the front element of queue 1

    • Empty operation: Check if both queues are empty

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Coding Test 

Dsa problems dp and tress problem

Round 2 - Technical 

(2 Questions)

  • Q1. Tell me about your self
  • Ans. 

    I am a passionate software engineer with 5 years of experience in developing web applications using various technologies.

    • 5 years of experience in software development

    • Proficient in developing web applications

    • Skilled in using various technologies

    • Passionate about software engineering

  • Answered by AI
  • Q2. Projects and intership

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn DSA
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - HR 

(2 Questions)

  • Q1. What id oops and its advantages
  • Ans. 

    OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.

    • Advantages of OOPs include code reusability, modularity, flexibility, and easier maintenance.

    • Encapsulation allows data hiding and protection, reducing complexity and increasing security.

    • Inheritance enables code reuse and promotes the creation of hierarchical relationships between classes.

    • Polymorphism allows objects...

  • Answered by AI
  • Q2. What is jquery and JavaScript
  • Ans. 

    jQuery is a JavaScript library that simplifies HTML document traversal and manipulation, event handling, and animation.

    • jQuery is a fast, small, and feature-rich JavaScript library.

    • It makes things like HTML document traversal and manipulation, event handling, and animation much simpler with an easy-to-use API.

    • jQuery simplifies common tasks like AJAX calls and DOM manipulation.

    • JavaScript is a programming language that en...

  • Answered by AI
Round 2 - Coding Test 

Ecom is core platform

Round 3 - One-on-one 

(2 Questions)

  • Q1. What is php and its advantages
  • Ans. 

    PHP is a server-side scripting language used for web development.

    • PHP stands for Hypertext Preprocessor.

    • It is open source and widely used for creating dynamic web pages.

    • Advantages include easy integration with HTML, support for various databases, and compatibility with different operating systems.

    • PHP code can be embedded within HTML code, making it easy to work with web content.

    • Popular websites like Facebook and WordPre

  • Answered by AI
  • Q2. How are you hope you doing well

Interview Preparation Tips

Interview preparation tips for other job seekers - Good job

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

1. Coin change
2. Valid Parenthesis
3. Bipartite graph question

Round 2 - Technical 

(1 Question)

  • Q1. Resume based. Find duplicate. Valid Parenthesis. Generate Random id Find max no of random id can be generated
  • Ans. 

    The question involves finding duplicates in an array, validating parentheses, generating random IDs, and determining the maximum number of random IDs that can be generated.

    • To find duplicates in an array, you can use a hash set to store unique elements and check for duplicates as you iterate through the array.

    • To validate parentheses, you can use a stack data structure to keep track of opening and closing parentheses.

    • To ...

  • Answered by AI
Round 3 - Technical 

(1 Question)

  • Q1. Core questions. LRU cache. Validate invalid BST
Round 4 - Technical 

(1 Question)

  • Q1. DP problem which I was unable to solve so rejected.

Skills evaluated in this interview

Petrus Technologies Interview FAQs

How many rounds are there in Petrus Technologies Software Developer Trainee interview?
Petrus Technologies interview process usually has 2 rounds. The most common rounds in the Petrus Technologies interview process are Aptitude Test and Technical.
What are the top questions asked in Petrus Technologies Software Developer Trainee interview?

Some of the top questions asked at the Petrus Technologies Software Developer Trainee interview -

  1. css box model,sql quries,sql injection,project wo...read more
  2. data structure-stack and qu...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.2k Interviews
Infosys Interview Questions
3.7
 • 7.5k Interviews
Wipro Interview Questions
3.7
 • 5.5k Interviews
Tech Mahindra Interview Questions
3.6
 • 3.7k Interviews
HCLTech Interview Questions
3.5
 • 3.7k Interviews
LTIMindtree Interview Questions
3.9
 • 2.8k Interviews
Mphasis Interview Questions
3.4
 • 782 Interviews
Cyient Interview Questions
3.7
 • 278 Interviews
View all
Design Engineer
60 salaries
unlock blur

₹2.5 L/yr - ₹6 L/yr

Engineer
27 salaries
unlock blur

₹2.8 L/yr - ₹6.7 L/yr

Senior Engineer
15 salaries
unlock blur

₹3.2 L/yr - ₹7.3 L/yr

Software Engineer
11 salaries
unlock blur

₹5.7 L/yr - ₹6 L/yr

Senior Design Engineer
9 salaries
unlock blur

₹3.5 L/yr - ₹7.5 L/yr

Explore more salaries
Compare Petrus Technologies with

TCS

3.7
Compare

Infosys

3.7
Compare

Wipro

3.7
Compare

HCLTech

3.5
Compare

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
Did you find this page helpful?
Yes No
write
Share an Interview