Add office photos
Employer?
Claim Account for FREE

AllGoVision Technologies

3.2
based on 13 Reviews
Filter interviews by

HBSS Interview Questions and Answers

Updated 10 Mar 2024

Q1. Define Dynamic memory allocation and the syntax in C. Explain the Memory map in C. Usage of Structures and Unions.

Ans.

Dynamic memory allocation in C allows for allocating memory at runtime. Memory map in C shows how memory is organized. Structures and unions are used to group related data.

  • Dynamic memory allocation in C is done using functions like malloc(), calloc(), realloc().

  • Memory map in C shows the layout of memory segments like stack, heap, data, and code.

  • Structures in C allow grouping related data under a single name. Example: struct Person { char name[50]; int age; };

  • Unions in C allow...read more

Add your answer

Q2. Define the classification performance metrics. ROC-AUC curve. What is the Precision-Recall tradeoff, when will there be no tradeoff.

Ans.

Classification performance metrics evaluate the performance of a machine learning model in predicting categorical outcomes.

  • ROC-AUC curve measures the tradeoff between true positive rate and false positive rate at various thresholds.

  • Precision-Recall tradeoff involves balancing the precision and recall of a model. Higher precision typically means lower recall and vice versa.

  • There will be no tradeoff in Precision-Recall when the model achieves perfect precision and recall simult...read more

Add your answer

Q3. Define Linked list, add, delete and traverse a Linked list. Difference between Singly and Doubly LL.

Ans.

A linked list is a data structure where each element points to the next element in the sequence. Adding, deleting, and traversing a linked list involves manipulating these pointers.

  • Linked list: a data structure where each element (node) has a reference to the next element

  • Add to linked list: create a new node and update the pointer of the last node to point to the new node

  • Delete from linked list: update the pointer of the previous node to skip the node to be deleted

  • Traverse li...read more

Add your answer

Q4. Define and write a program for Heap using List. (Python)

Ans.

A Heap is a binary tree data structure where the key at each node is greater than or equal to the keys at its children.

  • Create a class for Heap with methods like insert, delete, and heapify.

  • Use a list to store the elements of the heap.

  • Implement the heapify function to maintain the heap property after insertions and deletions.

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

Q5. Why we should not assign uniform weights in neural network

Ans.

Uniform weights in neural network can lead to overfitting and slow learning.

  • Uniform weights can cause all neurons to behave similarly, leading to redundancy and lack of diversity.

  • It can also cause overfitting, where the network becomes too specialized to the training data and performs poorly on new data.

  • Non-uniform weights allow the network to learn more efficiently and effectively by assigning different importance to different features.

  • For example, in image recognition, edge...read more

Add your answer

Q6. Implement stack as a list (Python).

Ans.

Implement stack using list in Python

  • Create a list to store the elements of the stack

  • Use append() to push elements onto the stack

  • Use pop() to remove elements from the stack

Add your answer

Q7. Finding an element in an array. (Python)

Ans.

Use Python's built-in 'in' keyword to find an element in an array of strings.

  • Iterate through the array and check if the element is present using 'in' keyword.

  • Return True if element is found, False otherwise.

  • Example: array = ['apple', 'banana', 'cherry'], element = 'banana', return True.

Add your answer

Q8. Difference between overfitting and underfitting

Ans.

Overfitting is when a model is too complex and fits the training data too well, while underfitting is when a model is too simple and cannot capture the underlying patterns in the data.

  • Overfitting occurs when a model is trained too well on the training data and cannot generalize well to new data

  • Underfitting occurs when a model is too simple and cannot capture the underlying patterns in the data

  • Overfitting can be detected by comparing the performance of the model on the trainin...read more

Add your answer

Q9. Singly Linked List

Ans.

A singly linked list is a data structure where each element points to the next element in the list.

  • Each element in a singly linked list contains a value and a pointer to the next element.

  • Traversal in a singly linked list is done sequentially from the head to the tail.

  • Insertion and deletion operations are efficient in a singly linked list compared to an array.

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

Interview Process at HBSS

based on 4 interviews
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

2.7
 • 40 Interview Questions
4.9
 • 21 Interview Questions
4.2
 • 21 Interview Questions
3.8
 • 13 Interview Questions
3.9
 • 13 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

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