i
Onward Technologies Inc
Filter interviews by
I applied via Naukri.com and was interviewed in Aug 2022. There was 1 interview round.
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.
...
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'...
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 a...
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.
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.
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
I applied via Naukri.com and was interviewed before Apr 2021. There were 2 interview rounds.
I applied via Naukri.com and was interviewed before Nov 2021. There were 3 interview rounds.
Top trending discussions
Data structure was more and it was difficult round
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
A program to check the occurrence of words in a paragraph.
Split the paragraph into words using space as delimiter
Create a hashmap to store word frequencies
Iterate through the words and update the hashmap accordingly
Display the word frequencies
Use git bisect command to find the commit that caused the build failure
Use 'git bisect start' to start the bisect process
Mark the current commit as bad with 'git bisect bad'
Mark a known good commit with 'git bisect good
Git will automatically checkout commits for testing, mark them as good or bad until the culprit commit is found
I applied via Job Portal and was interviewed in Oct 2024. There was 1 interview round.
posted on 10 Aug 2024
I was interviewed in Jul 2024.
posted on 28 Sep 2023
I applied via Job Portal
Binary search is a divide and conquer algorithm that efficiently finds the target value within a sorted array.
Start by defining the low and high indices of the array.
Calculate the middle index and compare the target value with the middle element.
If the target value is less than the middle element, search the left subarray. If greater, search the right subarray.
Repeat the process until the target value is found or the s
CI/CD flow stands for Continuous Integration/Continuous Deployment flow, which is a software development practice where code changes are automatically built, tested, and deployed.
CI/CD flow involves automating the process of integrating code changes into a shared repository, running automated tests, and deploying the changes to production.
Continuous Integration (CI) focuses on automating the build and testing of code c...
Enums are a feature in programming languages that allow you to define a set of named constants.
Enums can be used to improve code readability by giving meaningful names to values
Enums can be used in switch statements to handle different cases
Enums can have associated values or raw values for more flexibility
Yes, Singleton handles synchronization by ensuring only one instance of a class is created and providing global access to that instance.
Singleton pattern restricts the instantiation of a class to one object.
It provides a global point of access to the instance.
Synchronization can be implemented in the Singleton pattern to ensure thread safety.
Example: Singleton pattern is commonly used in database connections to ensure
External libraries are pre-written code that can be imported and used in a project to provide additional functionality.
External libraries help in reducing development time by providing ready-made solutions for common tasks.
Examples include React for front-end development, NumPy for scientific computing in Python, and Retrofit for making network calls in Android apps.
posted on 22 Apr 2024
based on 3 interviews
Interview experience
based on 27 reviews
Rating in categories
5-8 Yrs
Not Disclosed
Design Engineer
659
salaries
| ₹2.2 L/yr - ₹9.2 L/yr |
Senior Design Engineer
329
salaries
| ₹4 L/yr - ₹12.5 L/yr |
Software Engineer
216
salaries
| ₹2 L/yr - ₹12 L/yr |
Project Lead
175
salaries
| ₹4.9 L/yr - ₹14.9 L/yr |
Senior Software Engineer
154
salaries
| ₹5.7 L/yr - ₹20.9 L/yr |
TCS
Infosys
Wipro
HCLTech