CoverPhoto
Onward Technologies Inc logo
Premium Employer

Onward Technologies Inc

Verified
3.1
based on 930 Reviews
Filter interviews by
Software Engineer
Clear (1)

Onward Technologies Inc Software Engineer Interview Questions and Answers

Updated 5 Feb 2024

Q1. write few simple programs related to class and oop

Ans.

Programs related to class and OOP

  • Create a class with attributes and methods

  • Implement inheritance and polymorphism

  • Use encapsulation to hide data

  • Demonstrate the concept of abstraction

  • Create objects and call their methods

View 1 answer
right arrow

Q2. What's static and runtime polymorphism

Ans.

Static polymorphism is resolved at compile-time, while runtime polymorphism is resolved at runtime.

  • Static polymorphism is achieved through function overloading and operator overloading.

  • Runtime polymorphism is achieved through virtual functions and function overriding.

  • Static polymorphism is faster as it is resolved at compile-time, while runtime polymorphism incurs overhead at runtime.

  • Static polymorphism is also known as early binding, while runtime polymorphism is also known ...read more

Add your answer
right arrow

Q3. what's new and delete operator

Ans.

New and delete operators are used for dynamic memory allocation in C++.

  • New operator is used to allocate memory dynamically for an object or an array.

  • Delete operator is used to deallocate the memory allocated by new operator.

  • New operator returns a pointer to the allocated memory.

  • Delete operator takes a pointer to the memory to be deallocated.

  • If delete is called on a null pointer, no action is taken.

Add your answer
right arrow

Q4. what are smart pointers

Ans.

Smart pointers are objects that manage the lifetime of dynamically allocated memory in C++.

  • Smart pointers automatically deallocate memory when it is no longer needed.

  • They prevent memory leaks and dangling pointers.

  • Examples of smart pointers in C++ are unique_ptr, shared_ptr, and weak_ptr.

Add your answer
right arrow
Discover Onward Technologies Inc interview dos and don'ts from real experiences

Q5. Data storage classes in C++

Ans.

Data storage classes in C++

  • C++ provides several data storage classes, including 'auto', 'register', 'static', 'extern', and 'mutable'.

  • The 'auto' storage class is the default and is used for local variables.

  • The 'register' storage class is used to define local variables that should be stored in CPU registers for faster access.

  • The 'static' storage class is used for variables that retain their values across function calls.

  • The 'extern' storage class is used to declare variables th...read more

Add your answer
right arrow

Q6. Explain Basic OOP's Concepts

Ans.

OOP's concepts include encapsulation, inheritance, and polymorphism.

  • Encapsulation: Bundling data and methods together in a class.

  • Inheritance: Creating new classes from existing ones, inheriting their properties and behaviors.

  • Polymorphism: Objects of different classes can be treated as objects of a common superclass.

  • Example: A class 'Car' encapsulates data like 'color' and methods like 'startEngine'.

  • Example: Class 'SUV' can inherit from 'Car' and add additional properties like...read more

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 Onward Technologies Inc Software Engineer

based on 3 interviews
Interview experience
3.7
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

Infosys Logo
3.6
 • 184 Interview Questions
CGI Group Logo
4.0
 • 42 Interview Questions
Synopsys Logo
3.8
 • 10 Interview Questions
View all
Recently Viewed
SALARIES
Onward Technologies Inc
SALARIES
Concentrix Corporation
SALARIES
Concentrix Corporation
SALARIES
Concentrix Corporation
INTERVIEWS
Onward Technologies Inc
No Interviews
SALARIES
Concentrix Corporation
SALARIES
Onward Technologies Inc
SALARIES
Concentrix Corporation
SALARIES
Concentrix Corporation
SALARIES
Concentrix Corporation
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