Add office photos
Employer?
Claim Account for FREE

Yamaha Motors Solutions

3.5
based on 88 Reviews
Filter interviews by

Awign Enterprises Interview Questions and Answers

Updated 5 Feb 2025

Q1. describe pure virtual functions

Ans.

Pure virtual functions are functions in a base class that have no implementation and must be overridden by derived classes.

  • Pure virtual functions are declared with 'virtual' keyword and '= 0' at the end of the function declaration.

  • Classes containing pure virtual functions are abstract classes and cannot be instantiated.

  • Derived classes must provide implementation for pure virtual functions to become concrete classes.

  • Pure virtual functions are used to create a common interface ...read more

View 1 answer

Q2. what is jvm utilised for?

Ans.

JVM is utilized for running Java applications by converting Java bytecode into machine code.

  • JVM stands for Java Virtual Machine.

  • It is responsible for executing Java programs by converting Java bytecode into machine code.

  • JVM provides platform independence as it can run on any operating system that has a compatible JVM implementation.

  • Examples of JVM implementations include Oracle HotSpot, OpenJ9, and GraalVM.

Add your answer

Q3. pillars of inheritance

Ans.

Pillars of inheritance refer to the four key concepts of object-oriented programming: encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation: 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: ability for objects to be treated as instances of their parent class

  • Abstraction: hiding the implementation details and showing only the necessary features

Add your answer

Q4. Do you know about binary search

Ans.

Binary search is a search algorithm that finds the position of a target value within a sorted array.

  • It works by repeatedly dividing in half the portion of the array that could contain the target value.

  • It has a time complexity of O(log n).

  • It is more efficient than linear search for large arrays.

  • Example: Searching for the number 7 in the sorted array [1, 3, 4, 5, 7, 9, 10] would return index 4.

Add your answer
Discover Awign Enterprises interview dos and don'ts from real experiences

Q5. Do you know about Quick Sort

Ans.

Quick Sort is a sorting algorithm that uses divide and conquer approach to sort elements in an array.

  • It is a recursive algorithm

  • It selects a pivot element and partitions the array around the pivot

  • It has an average time complexity of O(nlogn)

  • It is widely used in practice due to its efficiency

Add your answer

Q6. Write a program of Insertion sort

Ans.

Insertion sort is a simple sorting algorithm that builds the final sorted array one item at a time.

  • Start with the second element and compare it with the first element, swap if necessary

  • Move to the third element and compare it with the second and first element, swap if necessary

  • Repeat until all elements are sorted

Add your answer

Q7. Bina for loop k 100 tak print kro

Ans.

Use recursion to print numbers from 1 to 100 without using a loop.

  • Create a recursive function that takes a number as input and prints it.

  • Call the function with 1 as the initial input.

  • In the function, check if the input number is less than or equal to 100, if yes, print the number and call the function with the next number as input.

  • Repeat the above step until the input number reaches 100.

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

Interview Process at Awign Enterprises

based on 20 interviews
Interview experience
4.1
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.0
 • 575 Interview Questions
3.8
 • 489 Interview Questions
4.4
 • 218 Interview Questions
4.0
 • 158 Interview Questions
4.0
 • 139 Interview Questions
3.8
 • 135 Interview Questions
View all
Top Yamaha Motors Solutions Interview Questions And Answers
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
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