Add office photos
Engaged Employer

Wipro

3.7
based on 47.4k Reviews
Filter interviews by

10+ Assumere Consultants Interview Questions and Answers

Updated 13 Jul 2024
Popular Designations

Q1. what is the difference between overloading and overriding?

Ans.

Overloading is when multiple methods have the same name but different parameters, while overriding is when a subclass provides a specific implementation of a method already defined in its superclass.

  • Overloading is compile-time polymorphism, while overriding is runtime polymorphism.

  • Overloading is achieved within the same class, while overriding occurs between a superclass and its subclass.

  • Overloading is used to provide different ways of calling the same method, while overridin...read more

View 6 more answers

Q2. What is local variable What is global variables What is array What is pointer

Ans.

Local variables are variables declared within a function or block. Global variables are declared outside of any function or block.

  • Local variables have a limited scope and can only be accessed within the function or block they are declared in.

  • Global variables can be accessed from any part of the program.

  • Arrays are a collection of similar data types stored in contiguous memory locations.

  • Pointers are variables that store the memory address of another variable.

Add your answer

Q3. what is the oops concept and explain briefly?

Ans.

OOPs is a programming paradigm based on the concept of objects, which can contain data and code.

  • OOPs stands for Object-Oriented Programming.

  • It focuses on creating objects that interact with each other to solve a problem.

  • It has four main concepts: encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation is the process of hiding data and methods within an object.

  • Inheritance allows a new class to be based on an existing class, inheriting its properties and methods...read more

Add your answer

Q4. What is OOPS in Java? What is meant by Palindrome Number? Write a program on Palindrome Number.

Ans.

OOPS stands for Object-Oriented Programming System in Java. Palindrome number is a number that remains the same when its digits are reversed.

  • OOPS is a programming paradigm that focuses on objects and their interactions.

  • Java is an object-oriented programming language that supports OOPS concepts.

  • Palindrome number examples: 121, 1221, 12321, etc.

  • To check if a number is palindrome, reverse the number and compare it with the original number.

Add your answer
Discover Assumere Consultants interview dos and don'ts from real experiences

Q5. What is Operater overloading and overriding

Ans.

Operator overloading is the ability to redefine operators for user-defined types. Operator overriding is redefining inherited operators.

  • Operator overloading allows operators to be used with user-defined types, such as adding two objects together.

  • Overriding allows a subclass to provide a different implementation of a method that is already defined in its superclass.

  • Examples of overloaded operators include +, -, *, /, and =.

  • Examples of overridden methods include toString(), equ...read more

Add your answer

Q6. What is Oops and explain it’s features?

Ans.

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

  • Oops is based on the concept of classes and objects.

  • It allows for encapsulation, inheritance, and polymorphism.

  • Objects can have attributes (data) and methods (functions).

  • Example: In a car class, attributes could be color and model, and methods could be start() and stop().

Add your answer
Are these interview questions helpful?

Q7. What is Java? Write its features .

Ans.

Java is a popular programming language known for its platform independence and object-oriented features.

  • Java is platform-independent, meaning it can run on any device with a Java Virtual Machine (JVM)

  • It is object-oriented, allowing for modular and reusable code

  • Java is known for its robust standard library, providing a wide range of pre-built functionality

  • It supports multithreading, allowing for concurrent execution of tasks

  • Java is statically typed, catching errors at compile ...read more

Add your answer

Q8. In SQL how to find second largest number?

Ans.

Use the ORDER BY clause with DESC and LIMIT to find the second largest number in SQL.

  • Use the ORDER BY clause to sort the numbers in descending order.

  • Use the LIMIT clause to limit the result to the second row.

  • Example: SELECT column_name FROM table_name ORDER BY column_name DESC LIMIT 1, 1;

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Write a program forgetting reverse of a number .

Ans.

Program to reverse a number

  • Use modulus operator to extract the last digit of the number

  • Multiply the reversed number by 10 and add the extracted digit

  • Repeat until all digits are processed

Add your answer

Q10. What is java and how it is platform independent

Ans.

Java is a high-level programming language known for its platform independence due to its ability to run on any device with a Java Virtual Machine (JVM).

  • Java is a class-based, object-oriented language used for developing applications and software.

  • It is compiled into bytecode that can run on any device with a JVM, making it platform independent.

  • Java programs are written once and can run on any platform without the need for recompilation.

  • Examples of platform independent Java app...read more

Add your answer

Q11. What is pointer to pointer?

Ans.

Pointer to pointer is a variable that stores the address of another pointer variable.

  • It is used to allocate memory dynamically.

  • It is used in multi-level pointer referencing.

  • It is denoted by ** in C/C++.

  • Example: int **ptr;

  • Example: char **names;

Add your answer

Q12. What is loop in c++ language

Ans.

A loop in C++ is a programming structure that repeats a set of instructions until a specific condition is met.

  • There are three types of loops in C++: for, while, and do-while.

  • For loop is used when the number of iterations is known beforehand.

  • While loop is used when the number of iterations is not known beforehand.

  • Do-while loop is similar to while loop, but it executes the code block at least once before checking the condition.

  • Loops can be nested within each other to create com...read more

Add your answer

Q13. Difference between c and python

Ans.

C is a low-level programming language while Python is a high-level programming language.

  • C is compiled while Python is interpreted

  • C is faster and more memory-efficient than Python

  • Python has simpler syntax and is easier to learn than C

  • C is used for system programming, embedded systems, and game development while Python is used for web development, data analysis, and artificial intelligence

  • C requires manual memory management while Python has automatic memory management

Add your answer

Q14. What is encapsulation

Ans.

Encapsulation is the concept of bundling data and methods that operate on the data into a single unit, preventing direct access to the data from outside the unit.

  • Encapsulation helps in data hiding and abstraction

  • It allows for better control over data by restricting access to certain components

  • Example: In object-oriented programming, classes encapsulate data and methods to create objects

Add your answer

Q15. How to create an array

Ans.

An array is a data structure that stores a collection of elements of the same type in a contiguous memory location.

  • Declare an array by specifying the data type of the elements and the size of the array.

  • Initialize the array by assigning values to each element.

  • Access elements in the array using their index, starting from 0.

  • Example: String[] names = new String[3]; names[0] = "Alice"; names[1] = "Bob"; names[2] = "Charlie";

Add your answer

Q16. Explain call by value.

Ans.

Call by value is a method of passing arguments to a function where the actual value of the argument is copied to the formal parameter of the function.

  • The value of the actual parameter is copied to the formal parameter of the function

  • Changes made to the formal parameter inside the function do not affect the actual parameter

  • Primitive data types like int, float, char are passed by value

Add your answer

Q17. What is oops meaning

Ans.

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

  • OOPs focuses on creating objects that contain data and methods to manipulate that data.

  • Encapsulation, inheritance, and polymorphism are key principles of OOPs.

  • Examples of OOPs languages include Java, C++, and Python.

Add your answer

Q18. What is inheritance

Ans.

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

  • Inheritance allows for code reusability and promotes the concept of hierarchy in programming.

  • A subclass can inherit attributes and methods from a superclass, but can also have its own unique attributes and methods.

  • For example, a 'Vehicle' class can be a superclass, with subclasses like 'Car' and 'Truck' inheriting attributes like 'color' and methods like...read more

Add your answer

Q19. Classs in python

Ans.

Classes in Python are used to create new types of objects with their own attributes and methods.

  • Classes are defined using the 'class' keyword followed by the class name.

  • Attributes are variables that belong to the class and are accessed using 'self'.

  • Methods are functions defined within the class and can operate on the class's attributes.

  • Inheritance allows a class to inherit attributes and methods from another class.

  • Encapsulation allows data hiding by restricting access to cert...read more

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

Interview Process at Assumere Consultants

based on 12 interviews in the last 1 year
2 Interview rounds
Aptitude Test Round
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Trainee Interview Questions from Similar Companies

3.7
Β β€’Β 17 Interview Questions
3.8
Β β€’Β 11 Interview Questions
3.8
Β β€’Β 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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