Tech Mahindra
Digiaccel Interview Questions and Answers
Q1. Which programming language you are comfortable with?
I am comfortable with multiple programming languages including Java, Python, and JavaScript.
Proficient in Java for backend development
Experienced in Python for data analysis and machine learning
Skilled in JavaScript for frontend development
Familiar with SQL for database management
Comfortable with C++ for competitive programming
Q2. Test cases for login
Test cases for login
Verify successful login with valid credentials
Verify error message with invalid credentials
Verify password field is masked
Verify session timeout after inactivity
Verify login page is accessible from any page
Verify login page is not accessible after logout
Q3. Object-oriented programming with example
Object-oriented programming is a programming paradigm that organizes code into objects.
Encapsulation: bundling data and methods together in a class
Inheritance: creating new classes from existing ones
Polymorphism: using a single interface to represent different types
Abstraction: hiding complex implementation details
Example: Creating a class 'Car' with properties like 'color' and methods like 'startEngine'
Q4. what is inheritance, encapsulation, access modifiers
Inheritance, encapsulation, and access modifiers are key concepts in object-oriented programming.
Inheritance allows a class to inherit properties and behaviors from another class.
Encapsulation is the concept of bundling data and methods that operate on the data within a single unit.
Access modifiers control the visibility and accessibility of class members.
Examples: public, private, protected
Inheritance example: class Dog extends Animal
Encapsulation example: private int age; p...read more
Q5. What is method overloading, method overiding
Method overloading is when multiple methods have the same name but different parameters. Method overriding is when a subclass provides a specific implementation of a method that is already provided by its superclass.
Method overloading allows a class to have multiple methods with the same name but different parameters.
Method overriding occurs in a subclass when a method has the same name and parameters as a method in its superclass.
Example of method overloading: void print(int...read more
Q6. What is agile?and explain it
Agile is a project management methodology that emphasizes flexibility, collaboration, and continuous improvement.
Agile involves breaking down projects into smaller tasks called sprints
It prioritizes customer feedback and adapting to changes quickly
Common frameworks include Scrum, Kanban, and Lean
Daily stand-up meetings and retrospectives are common practices in Agile
Q7. What is class, object
Class is a blueprint for creating objects, while object is an instance of a class.
A class defines the properties and behaviors of objects.
An object is a specific instance of a class.
Classes can inherit properties and behaviors from other classes.
Objects can interact with each other by calling methods on each other.
Example: Class 'Car' may have properties like 'color' and 'model', while an object of class 'Car' could be 'myCar' with color 'red' and model 'Toyota'.
Q8. explain OOPS concept
OOPS (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.
OOPS focuses on creating objects that interact with each other to solve problems.
It involves concepts like encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation refers to bundling data and methods that operate on the data into a single unit.
Inheritance allows a class to inherit properties and behavior from another class.
Polymorphism a...read more
Interview Process at Digiaccel
Top Intern Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month