Add office photos
Employer?
Claim Account for FREE

NatWest Group

4.1
based on 2.6k Reviews
Filter interviews by

Horizon Aerospace Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Explain the Constructor, Destructor, Generators

Ans.

Constructor creates and initializes an object, Destructor destroys an object, Generators are functions that return iterators.

  • Constructor is a special method that is called when an object is created. It initializes the object's properties and allocates memory.

  • Destructor is a special method that is called when an object is destroyed. It frees up any resources that the object was using.

  • Generators are functions that use the yield keyword to return an iterator. They allow for lazy...read more

Add your answer

Q2. How does Python handle memory

Ans.

Python uses automatic memory management through garbage collection.

  • Python uses reference counting to keep track of objects in memory.

  • When an object's reference count reaches zero, it is immediately deleted.

  • Python also uses a garbage collector to clean up circular references.

  • Memory allocation is handled by the Python memory manager.

  • Python provides tools like sys.getsizeof() to monitor memory usage.

Add your answer

Q3. Write a program for Binary Search

Ans.

Program for Binary Search

  • Binary search is an efficient algorithm for finding an element in a sorted array.

  • It works by repeatedly dividing the search space in half.

  • The array must be sorted in ascending order for binary search to work.

  • The algorithm compares the target value with the middle element of the array.

  • If they are equal, the search is successful. If not, the search continues in the left or right half of the array.

Add your answer

Q4. Bsics of python and spark

Ans.

Python is a high-level programming language used for various applications. Spark is a distributed computing framework for big data processing.

  • Python is easy to learn and has a large community for support.

  • Spark is used for processing large datasets and can handle data from various sources.

  • Python can be used with Spark to perform data analysis and machine learning tasks.

  • Spark provides APIs for programming in Java, Scala, and Python.

  • Python has libraries like NumPy, Pandas, and M...read more

Add your answer
Discover Horizon Aerospace interview dos and don'ts from real experiences

Q5. Explain Java code compile process

Ans.

Java code compile process involves several steps including preprocessing, compilation, and bytecode generation.

  • Java code is first preprocessed to handle import statements and macros.

  • The code is then compiled into bytecode using the Java compiler (javac).

  • The bytecode is platform-independent and can be executed on any Java Virtual Machine (JVM).

  • During compilation, the code is checked for syntax errors and type safety.

  • The compiled bytecode is stored in .class files.

  • At runtime, t...read more

Add your answer

Q6. 2. What is OOPs

Ans.

OOPs stands for Object-Oriented Programming. It is a programming paradigm that uses objects to represent and manipulate data.

  • OOPs focuses on creating reusable code by organizing data and behavior into objects.

  • It emphasizes the concepts of encapsulation, inheritance, and polymorphism.

  • Objects are instances of classes, which define their properties (attributes) and behaviors (methods).

  • Inheritance allows classes to inherit properties and behaviors from other classes.

  • Polymorphism ...read more

Add your answer

Q7. Current task in currents organisation

Ans.

Developing a new feature for the company's website to improve user experience.

  • Implementing front-end changes using React.js

  • Collaborating with UX designers to ensure design consistency

  • Testing the feature for bugs and performance issues

Add your answer

Q8. Explain JVM, JRE, JDK

Ans.

JVM is a virtual machine that executes Java bytecode. JRE is a runtime environment that includes JVM and libraries. JDK is a development kit that includes JRE and tools for developing Java applications.

  • JVM stands for Java Virtual Machine and is responsible for executing Java bytecode.

  • JRE stands for Java Runtime Environment and includes JVM, libraries, and other components required to run Java applications.

  • JDK stands for Java Development Kit and includes JRE along with tools a...read more

Add your answer

Q9. Reverse a link list

Ans.

Reverse a linked list

  • Iterate through the list and reverse the pointers

  • Use three pointers to keep track of current, previous, and next nodes

  • Update the head of the list to point to the last node

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

Interview Process at Horizon Aerospace

based on 4 interviews in the last 1 year
Interview experience
4.5
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

4.4
 • 21 Interview Questions
4.2
 • 17 Interview Questions
3.4
 • 14 Interview Questions
2.7
 • 12 Interview Questions
4.2
 • 11 Interview Questions
3.1
 • 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