
Coforge


20+ Coforge Graduate Engineer Trainee (Get) Interview Questions and Answers
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
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
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
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.
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()'
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.
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.
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
Q8. What is the difference between 32bit and 64bit processor ?
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
Q9. Code Reverse a String in any programming language of your choice.
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.
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
Q11. Define Polymorphism with real world example
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
Q12. Define Inheritance and write syntax in your prefered programming language.
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 }
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.
Q14. What is Data Structures & algorithm.
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
Q15. Inheritance in Java and it's implementation
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
Q16. What is bandpass filter?
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.
Q17. What is cutoff frequency?
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
Q18. Define Excpetion handling, Garbage collector.
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
Q19. Types of tree traversal & their name.
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
Q20. Explain how quick sort algorithm works
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.
Q21. What is os and type of os
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
Q22. Define Procedures and functions
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++.
Q23. What is SDLC
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.
Q24. What is Polymorphism ,
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.
Q25. where to go what to know about domain
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
Top HR Questions asked in Coforge Graduate Engineer Trainee (Get)
Interview Process at Coforge Graduate Engineer Trainee (Get)

Top Graduate Engineer Trainee (Get) Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

