Add office photos
Coforge logo
Engaged Employer

Coforge

Verified
3.3
based on 4.8k Reviews
Video summary
Filter interviews by
Graduate Engineer Trainee (Get)
Fresher
Clear (1)

20+ Coforge Graduate Engineer Trainee (Get) Interview Questions and Answers

Updated 27 May 2024

Q1. Reverse a String Problem Statement

Given a string STR containing characters from [a-z], [A-Z], [0-9], and special characters, determine the reverse of the string.

Input:

The input starts with a single integer '...read more
Ans.

The task is to reverse a given string containing characters from [a-z], [A-Z], [0-9], and special characters.

  • Iterate through the characters of the string from the end to the beginning and append them to a new string to get the reversed string.

  • Use built-in functions like reverse() or StringBuilder in languages like Java for efficient reversal.

  • Ensure to handle special characters and numbers along with alphabets while reversing the string.

  • Consider edge cases like empty string or...read more

View 1 answer
right arrow
Q2. What are the types of polymorphism in Object-Oriented Programming?
Ans.

Types of polymorphism in OOP include compile-time polymorphism (method overloading) and runtime polymorphism (method overriding).

  • Compile-time polymorphism is achieved through method overloading, where multiple methods have the same name but different parameters.

  • Runtime polymorphism is achieved through method overriding, where a subclass provides a specific implementation of a method that is already defined in its superclass.

  • Polymorphism allows objects of different classes to ...read more

Add your answer
right arrow
Coforge Graduate Engineer Trainee (Get) Interview Questions and Answers for Freshers
illustration image
Q3. What is the difference between checked and unchecked exceptions in Java?
Ans.

Checked exceptions are checked at compile time, while unchecked exceptions are not.

  • Checked exceptions must be either caught or declared in the method signature using 'throws' keyword.

  • Unchecked exceptions do not need to be caught or declared.

  • Examples of checked exceptions include IOException, ClassNotFoundException. Examples of unchecked exceptions include NullPointerException, ArrayIndexOutOfBoundsException.

Add your answer
right arrow
Q4. What is inheritance in object-oriented programming?
Ans.

Inheritance is a concept in object-oriented programming where a class inherits attributes and methods from another class.

  • Allows a class to inherit properties and behaviors from another class

  • Promotes code reusability and reduces redundancy

  • Types of inheritance include single, multiple, multilevel, and hierarchical

  • Example: Class 'Car' can inherit from class 'Vehicle' to access common attributes like 'color' and methods like 'drive()'

Add your answer
right arrow
Discover Coforge interview dos and don'ts from real experiences
Q5. How does garbage collection work in Java?
Ans.

Garbage collection in Java automatically manages memory by reclaiming unused objects.

  • Garbage collection identifies and removes objects that are no longer reachable by the program.

  • It helps prevent memory leaks and allows developers to focus on writing code rather than managing memory.

  • Java uses different garbage collection algorithms like Serial, Parallel, CMS, and G1.

  • Developers can also manually trigger garbage collection using System.gc() method.

Add your answer
right arrow
Q6. What is the Software Development Life Cycle (SDLC)?
Ans.

SDLC is a process used by software development teams to design, develop, and test high-quality software efficiently.

  • SDLC consists of several phases including planning, analysis, design, implementation, testing, and maintenance.

  • Each phase has specific goals and deliverables to ensure the software meets requirements and is of high quality.

  • Examples of SDLC models include Waterfall, Agile, and DevOps.

  • SDLC helps in managing project timelines, costs, and resources effectively.

Add your answer
right arrow
Are these interview questions helpful?
Q7. What is the difference between 32-bit and 64-bit operating systems?
Ans.

32-bit operating systems can only utilize up to 4GB of RAM, while 64-bit operating systems can handle much larger amounts of RAM.

  • 32-bit operating systems can only address up to 4GB of RAM, limiting the amount of memory that can be used by the system and applications.

  • 64-bit operating systems can handle larger amounts of RAM, allowing for better performance and the ability to run more demanding applications.

  • 64-bit operating systems also offer better security features and suppor...read more

Add your answer
right arrow

Q8. What is the difference between 32bit and 64bit processor ?

Ans.

32-bit processors can handle 2^32 bits of data at a time, while 64-bit processors can handle 2^64 bits of data at a time.

  • 32-bit processors can address up to 4GB of RAM, while 64-bit processors can address much more.

  • 64-bit processors are generally faster and more efficient than 32-bit processors.

  • 64-bit processors can run both 32-bit and 64-bit applications, while 32-bit processors can only run 32-bit applications.

  • 64-bit processors are required to run certain software, such as ...read more

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. Code Reverse a String in any programming language of your choice.

Ans.

Reverse a string using built-in function or loop through the string.

  • Use built-in function like reverse() in Python or loop through the string and swap characters.

  • In C++, use swap() function to swap characters in the string.

  • In Java, use StringBuilder class to reverse the string.

  • In JavaScript, use split(), reverse() and join() functions to reverse the string.

Add your answer
right arrow
Q10. What is a bandpass filter?
Ans.

A bandpass filter is a type of electronic filter that allows signals within a certain frequency range to pass through while attenuating signals outside of that range.

  • Bandpass filters are used to selectively filter out unwanted frequencies in electronic circuits.

  • They have a lower cutoff frequency and an upper cutoff frequency that define the range of frequencies that can pass through.

  • Examples of bandpass filters include LC bandpass filters, active bandpass filters, and SAW ban...read more

View 1 answer
right arrow

Q11. Define Polymorphism with real world example

Ans.

Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as if they were of the same class.

  • Polymorphism allows objects to be used in a flexible and dynamic way

  • It enables the use of a single interface to represent multiple types of objects

  • Examples include method overloading, method overriding, and interfaces

  • For example, a shape class can have multiple subclasses such as circle, square, and triangle, all of which can b...read more

Add your answer
right arrow

Q12. Define Inheritance and write syntax in your prefered programming language.

Ans.

Inheritance is a mechanism in OOP where a new class is derived from an existing class.

  • Inheritance allows the new class to inherit the properties and methods of the existing class.

  • The existing class is called the base class or parent class, while the new class is called the derived class or child class.

  • Syntax in Java: class ChildClass extends ParentClass { //class body }

Add your answer
right arrow
Q13. What is the cutoff frequency?
Ans.

Cutoff frequency is the frequency at which the output power is half of the maximum power.

  • Cutoff frequency is commonly used in signal processing and filter design.

  • It is the frequency at which the output power drops to half (-3 dB) of the maximum power.

  • In low-pass filters, cutoff frequency is the frequency at which the output signal is attenuated by 3 dB.

  • In high-pass filters, cutoff frequency is the frequency at which the output signal is attenuated by 3 dB.

Add your answer
right arrow

Q14. What is Data Structures & algorithm.

Ans.

Data structures are ways of organizing and storing data in a computer so that it can be accessed and used efficiently.

  • Data structures are used to manage large amounts of data efficiently.

  • They provide a way to store and organize data in a way that makes it easy to access and manipulate.

  • Examples of data structures include arrays, linked lists, stacks, queues, trees, and graphs.

  • Algorithms are a set of instructions that are used to solve a particular problem.

  • They are often used i...read more

Add your answer
right arrow

Q15. Inheritance in Java and it's implementation

Ans.

Inheritance is a mechanism in Java where a class acquires the properties and methods of another class.

  • A subclass can inherit properties and methods from a superclass

  • The keyword 'extends' is used to create a subclass

  • A subclass can override methods of the superclass

  • Java does not support multiple inheritance, but it can be achieved through interfaces

Add your answer
right arrow

Q16. What is bandpass filter?

Ans.

A bandpass filter is a type of electronic filter that allows a specific range of frequencies to pass through while blocking others.

  • It is used to separate a specific frequency range from a signal.

  • It consists of a combination of low-pass and high-pass filters.

  • It is commonly used in audio and radio frequency applications.

  • Examples include tuning circuits in radios and audio equalizers.

  • Bandwidth and center frequency are important parameters for bandpass filters.

Add your answer
right arrow

Q17. What is cutoff frequency?

Ans.

Cutoff frequency is the frequency at which a filter attenuates a signal by half its power.

  • Cutoff frequency is a characteristic of filters used in signal processing.

  • It is the frequency at which the filter starts to attenuate the signal.

  • For low-pass filters, frequencies below the cutoff frequency are passed through, while frequencies above are attenuated.

  • For high-pass filters, frequencies above the cutoff frequency are passed through, while frequencies below are attenuated.

  • Cuto...read more

Add your answer
right arrow

Q18. Define Excpetion handling, Garbage collector.

Ans.

Exception handling is the process of handling errors that occur during program execution. Garbage collector is a program that automatically frees up memory space.

  • Exception handling is used to prevent program crashes due to errors.

  • It involves catching and handling errors using try-catch blocks.

  • Garbage collector is used to automatically free up memory space that is no longer being used by the program.

  • It helps prevent memory leaks and improves program performance.

  • Examples of pro...read more

Add your answer
right arrow

Q19. Types of tree traversal & their name.

Ans.

Tree traversal is the process of visiting each node in a tree data structure exactly once.

  • There are three types of tree traversal: Inorder, Preorder, and Postorder.

  • Inorder traversal visits the left subtree, then the root, then the right subtree.

  • Preorder traversal visits the root, then the left subtree, then the right subtree.

  • Postorder traversal visits the left subtree, then the right subtree, then the root.

  • Examples: Inorder: (1) Traverse left subtree (2) Visit root (3) Traver...read more

Add your answer
right arrow

Q20. Explain how quick sort algorithm works

Ans.

Quick sort is a divide-and-conquer algorithm that sorts an array by selecting a 'pivot' element and partitioning the other elements into two sub-arrays according to whether they are less than or greater than the pivot.

  • Select a pivot element from the array.

  • Partition the array into two sub-arrays: elements less than the pivot and elements greater than the pivot.

  • Recursively apply the above steps to the sub-arrays.

  • Combine the sorted sub-arrays to get the final sorted array.

Add your answer
right arrow

Q21. What is os and type of os

Ans.

OS stands for Operating System. It is a software that manages computer hardware and software resources.

  • OS is the interface between the user and the computer hardware.

  • It manages memory, processes, and input/output devices.

  • Examples of OS include Windows, macOS, Linux, and Android.

  • Types of OS include single-user, multi-user, real-time, and embedded.

  • OS can be classified based on their architecture, such as 32-bit or 64-bit.

  • OS can also be classified based on their purpose, such as...read more

Add your answer
right arrow

Q22. Define Procedures and functions

Ans.

Procedures and functions are blocks of code that can be called upon to perform specific tasks.

  • Procedures are a set of instructions that perform a specific task and do not return a value.

  • Functions are similar to procedures but return a value.

  • Both procedures and functions can take parameters as inputs.

  • Procedures and functions can be defined and called in various programming languages such as Python, Java, and C++.

Add your answer
right arrow
Ans.

SDLC stands for Software Development Life Cycle, which is a process used to design, develop, and maintain software.

  • SDLC is a structured approach to software development.

  • It involves several stages such as planning, designing, coding, testing, and maintenance.

  • Each stage has its own set of activities and deliverables.

  • The goal of SDLC is to produce high-quality software that meets the customer's requirements.

  • Examples of SDLC models include Waterfall, Agile, and DevOps.

Add your answer
right arrow

Q24. What is Polymorphism ,

Ans.

Polymorphism is the ability of an object to take on many forms.

  • Polymorphism allows objects of different classes to be treated as if they are of the same class.

  • It can be achieved through method overloading or method overriding.

  • Example: A shape class can have different subclasses like circle, square, triangle, etc. and all can be treated as shapes.

  • Polymorphism helps in achieving code reusability and flexibility.

Add your answer
right arrow

Q25. where to go what to know about domain

Ans.

To excel in a domain, one must know where to focus their learning and what specific knowledge is required.

  • Research the current trends and advancements in the domain

  • Understand the key concepts and principles of the domain

  • Identify the important tools and technologies used in the domain

  • Learn from experts and professionals in the field

  • Stay updated with industry news and developments

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

Interview Process at Coforge Graduate Engineer Trainee (Get)

based on 4 interviews
4 Interview rounds
Technical Round
HR Round
Aptitude Test Round
Personal Interview1 Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Recently Viewed
INTERVIEWS
Technique Control Facility Management
No Interviews
INTERVIEWS
Shree Renuka Sugars
No Interviews
INTERVIEWS
IBM
No Interviews
INTERVIEWS
Shree Renuka Sugars
No Interviews
INTERVIEWS
TCS
No Interviews
LIST OF COMPANIES
Discover companies
Find best workplace
INTERVIEWS
QwikCilver Solutions
No Interviews
INTERVIEWS
Shree Renuka Sugars
No Interviews
INTERVIEWS
Shree Renuka Sugars
No Interviews
INTERVIEWS
Infosys
20 top interview questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
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