Junior Software Engineer
80+ Junior Software Engineer Interview Questions and Answers for Freshers

Asked in Cognizant

Q. If there are 10 balls, 2 red, 5 blue, and 3 orange, and one ball is picked randomly, what is the probability that the ball picked is red?
What is the probability of picking a red ball out of 10 balls with 2 red, 5 blue, and 3 orange?
There are 2 red balls out of 10 total balls
The probability of picking a red ball is 2/10 or 1/5
The probability can also be expressed as 20%

Asked in Netcracker Technology

Q. What is RDBMS and SQL query to retrieve data from database.
RDBMS is a relational database management system. SQL query to retrieve data is SELECT * FROM table_name;
RDBMS is a software system used to manage relational databases.
SQL is a programming language used to manage RDBMS.
SELECT statement is used to retrieve data from a table.
The * symbol retrieves all columns from the specified table.
table_name is the name of the table from which data is to be retrieved.
Asked in Vyrazu Labs

Q. What is the difference between stack memory and heap memory?
Stack memory is used for static memory allocation while heap memory is used for dynamic memory allocation.
Stack memory is allocated at compile-time while heap memory is allocated at runtime.
Stack memory is limited in size while heap memory can grow dynamically.
Stack memory is automatically managed by the system while heap memory must be manually managed.
Examples of stack memory include function call stack and local variables while examples of heap memory include objects creat...read more

Asked in People Tech Group

Q. 1. Introduce yourself 2. what is OOP and what are different types 3. HTML tag and null tag (because they saw HTML in my resume) 4. What is SDLC? What are they? 5. Program for printing Pattern in C++ if u can't...
read moreInterview questions for Junior Software Engineer position covering OOP, HTML, SDLC, and programming logic.
OOP stands for Object-Oriented Programming, with types including classes, objects, inheritance, polymorphism, and encapsulation.
HTML tags are used to structure web pages, while null tag is not a valid HTML tag.
SDLC stands for Software Development Life Cycle, with stages like planning, analysis, design, implementation, testing, and maintenance.
Example of printing a pattern...read more

Asked in Cognizant

Q. Given a string, determine whether it is a palindrome.
Check if input string is a palindrome or not.
A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward.
To check if a string is a palindrome, compare the first and last characters, then the second and second-to-last characters, and so on.
If all pairs match, the string is a palindrome. If any pair does not match, the string is not a palindrome.

Asked in Zensar Technologies

Q. What are active and passive transformations?
Active and passive transformations are methods used in data integration to transform data from one format to another.
Active transformations are used to change the number of rows that pass through the transformation, such as filtering or sorting data.
Passive transformations do not change the number of rows that pass through the transformation, such as changing data types or renaming columns.
Examples of active transformations include Filter, Sorter, and Router transformations.
E...read more
Junior Software Engineer Jobs




Asked in Netcracker Technology

Q. what was exception handling , is this concept present in C?
Exception handling is a mechanism to handle runtime errors and prevent program crashes.
It allows the program to gracefully handle errors and continue execution.
C does have a basic form of exception handling using the setjmp() and longjmp() functions.
Examples of exceptions include divide by zero, null pointer dereference, and file not found errors.

Asked in Netcracker Technology

Q. Write a program to count the number of words in a string taken as input from a user.
Count the number of words in a user input string.
Use the split() method to split the string into an array of words.
Get the length of the array to get the number of words.
Handle edge cases like leading/trailing spaces and multiple spaces between words.
Share interview questions and help millions of jobseekers 🌟

Asked in EPAM Systems

Q. Methods in collections and their uses.
Methods in collections are used to manipulate and retrieve data from collections in programming.
Some common methods include add(), remove(), contains(), size(), and clear().
For example, the add() method is used to add an element to a collection, while remove() is used to remove an element.
The contains() method is used to check if a collection contains a specific element, while size() returns the number of elements in the collection.
Finally, the clear() method is used to remov...read more

Asked in Zensar Technologies

Q. How do you visualize data in Tableau?
Visualize data in Tableau using various charts and graphs.
Select appropriate chart type based on data and analysis goal
Use color, size, and shape to encode additional information
Create interactive dashboards for exploration and analysis
Utilize Tableau's built-in features such as filters and parameters
Consider audience and design for effective communication

Asked in WiFi Networks

Q. Are you comfortable with the compensation package?
I am open to discussing the package and would like to know more about the benefits and growth opportunities.
I am willing to negotiate based on the overall package, including benefits and growth opportunities.
I would like to know more about the company culture and values.
I am open to discussing the possibility of performance-based incentives.
I am interested in opportunities for professional development and advancement.
I would like to know more about the specific responsibiliti...read more

Asked in Valens DataLabs

Q. Find three indices in an array where the sum of the values at those indices equals zero.
Find 3 indices whose values sum up to 0.
Use nested loops to compare each index with every other index.
Store the sum of each pair of indices in a hash table.
Check if any three indices have a sum of 0.

Asked in Zensar Technologies

Q. Why did you use Tableau instead of Power BI?
Tableau was preferred due to its ease of use and better visualization capabilities.
Tableau has a more user-friendly interface compared to Power BI.
Tableau offers better visualization options and allows for more customization.
Tableau has a larger community and more resources available for support.
Power BI is more suitable for data modeling and analysis.
The decision to use Tableau over Power BI was based on the specific needs of the project.

Asked in Zensar Technologies

Q. What is Informatica, and why is it used?
Informatica is a data integration tool used for ETL (Extract, Transform, Load) processes.
Used for data integration and ETL processes
Can connect to various data sources and targets
Provides a graphical interface for designing and managing workflows
Supports scheduling and monitoring of workflows
Can handle large volumes of data
Examples of use cases include data warehousing, data migration, and data synchronization

Asked in Encora

Q. Different between let , const,var. Closure in javascript
let, const, and var are used to declare variables in JavaScript. Closures are functions that have access to their outer scope even after the outer function has finished executing.
let: block-scoped variable declaration, can be reassigned
const: block-scoped variable declaration, cannot be reassigned, but its properties can be modified
var: function-scoped variable declaration, can be reassigned
Closure: inner function has access to outer function's variables even after outer func...read more

Asked in e-Procurement Technologies

Q. What are delegates and their advantages in C#?
Delegates are reference types that hold a reference to a method. They provide flexibility and extensibility in C#.
Delegates allow methods to be passed as parameters to other methods.
They can be used to implement callbacks and event handlers.
Delegates can be chained together to create a pipeline of methods to be executed.
They provide a way to decouple the caller from the implementation of a method.
Delegates can be used to implement the observer pattern.
Examples of delegates in...read more

Asked in Amazon

Q. Given an array, remove the duplicate elements and return the array without duplicates.
Remove duplicates from an array of strings using various methods.
Use a Set: Convert the array to a Set to automatically remove duplicates. Example: `const uniqueArray = [...new Set(array)];`
Filter Method: Use `filter()` to keep only unique elements. Example: `const uniqueArray = array.filter((item, index) => array.indexOf(item) === index);`
Reduce Method: Use `reduce()` to build a new array with unique values. Example: `const uniqueArray = array.reduce((acc, item) => acc.inclu...read more

Asked in Cogniter Technologies

Q. How do you bind a model to a controller in MVC?
Model is bound to controller in MVC through data binding techniques.
Use data binding frameworks or libraries provided by the MVC framework.
Define the model class and its properties in the controller.
Map the model properties to the corresponding view elements.
Update the model data in the controller based on user input or other events.
Ensure proper synchronization between the model and the view.
Asked in Tanasvi Technologies

Q. What happens when we use the new keyword?
The new keyword is used in object-oriented programming to create a new instance of a class or struct.
Used to allocate memory for a new object
Invokes the constructor of the class or struct
Returns a reference to the newly created object

Asked in EPAM Systems

Q. Deep dive in Exceptional Handling
Exceptional handling is the process of identifying, catching, and responding to errors in software applications.
Exception handling is used to prevent application crashes and provide a graceful way to handle errors.
It involves using try-catch blocks to catch exceptions and handle them appropriately.
Logging and reporting exceptions is also important for debugging and improving application performance.
Best practices include using specific exception types, avoiding catching gener...read more

Asked in Jekson Vision

Q. What are the OOPS concepts and explain each one of them?
Object-oriented programming concepts focus on data and methods, including inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and showing only the necessary features.
Asked in Tanasvi Technologies

Q. What is the use of the super keyword?
The super keyword is used in Java to refer to the immediate parent class object.
Used to access methods and variables of the parent class
Helps in achieving method overriding in inheritance
Can be used to call the constructor of the parent class
Example: super.methodName();

Asked in SysArc Infomatix

Q. What are joins used for in SQL?
Joins are used in SQL to combine data from two or more tables based on a related column.
Joins are used to retrieve data from multiple tables in a single query
There are different types of joins such as inner join, left join, right join, and full outer join
Joins are based on a related column between the tables
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column

Asked in Zensar Technologies

Q. What are the elements of a design?
Design includes elements such as layout, color, typography, and functionality.
Layout
Color
Typography
Functionality

Asked in Cognizant

Q. What is the difference between an abstract class and a functional interface?
Abstract class can have both abstract and non-abstract methods, while functional interface can have only one abstract method.
Abstract class can have constructors, fields, and methods, while functional interface can only have one abstract method.
Abstract class can have abstract and non-abstract methods, while functional interface can only have one abstract method.
Abstract class can provide default implementations for methods, while functional interface cannot.
Example: Abstract...read more
Asked in Tanasvi Technologies

Q. What is dynamic method dispatch?
Dynamic method dispatch is a mechanism by which a call to an overridden method is resolved at runtime rather than compile time.
In dynamic method dispatch, the actual method called is determined by the type of object at runtime.
It allows for polymorphism in object-oriented programming languages.
Example: Animal class with a method 'makeSound', and subclasses Dog and Cat that override 'makeSound'. Calling 'makeSound' on an Animal reference will execute the appropriate method bas...read more

Asked in Unitedlayer

Q. Write a function to convert a roman numeral to integer.
Function to convert Roman numeral to integer
Create a dictionary mapping Roman numerals to their integer values
Iterate through the input Roman numeral string from right to left
If current numeral value is less than the next numeral value, subtract it from the total
Otherwise, add it to the total
Return the total integer value

Asked in Encora

Q. Explain oops concepts in detail. Difference between Abstraction and interface.
OOPs concepts include encapsulation, inheritance, polymorphism, and abstraction. Abstraction is a concept where only relevant information is shown to the user, while interface is a blueprint for classes.
OOPs concepts: encapsulation, inheritance, polymorphism, abstraction
Abstraction: showing only relevant information to the user
Interface: blueprint for classes, defines methods without implementation
Example: Abstraction - Car dashboard displaying speed without showing internal ...read more

Asked in Zensar Technologies

Q. What are the advantages of Tableau?
Tableau is a powerful data visualization tool that helps in analyzing and presenting complex data in an easy-to-understand format.
Allows creation of interactive dashboards and reports
Enables quick and easy data exploration
Provides real-time collaboration and sharing of insights
Supports integration with various data sources
Offers advanced analytics and predictive modeling capabilities

Asked in Cognizant

Q. How do you reverse an array of numbers?
To reverse an array of numbers, iterate through the array and swap elements from start to end.
Iterate through the array using two pointers, one starting from the beginning and the other from the end.
Swap elements at the two pointers and move the pointers towards the center until they meet.
Example: Input array [1, 2, 3, 4, 5], after reversing becomes [5, 4, 3, 2, 1].
Interview Questions of Similar Designations
Interview Experiences of Popular Companies





Top Interview Questions for Junior Software Engineer Related Skills



Reviews
Interviews
Salaries
Users

