FIS
Nat Habit Interview Questions and Answers
Q1. What would be the code to sort an array containing both letters and numbers, such as {a, 1, 2, v, w, e, 3, 6, 7, 9}, so that all letters are on the left side and all numbers are on the right side?
Sort an array of strings containing both letters and numbers, with letters on the left and numbers on the right.
Create two separate arrays for letters and numbers
Iterate through the original array and separate letters and numbers into their respective arrays
Combine the two arrays with letters first and numbers next
Q2. What is the method to cut a cake into 8 pieces using only 3 cuts?
To cut a cake into 8 pieces with 3 cuts, make two perpendicular cuts through the center of the cake.
Make the first cut horizontally through the center of the cake, dividing it into two equal halves.
Make the second cut vertically through the center of the cake, dividing it into four quarters.
Make the third cut horizontally through the center of the cake, dividing it into eight equal pieces.
Q3. What scenarios are typically classified as high severity but low priority?
High severity but low priority scenarios are those that have a significant impact but can be addressed at a later stage.
User interface issues that do not affect critical functionality
Minor spelling or grammar errors
Non-critical performance issues
Low impact cosmetic defects
Q4. What is your framework, and can you provide an explanation of it?
Our framework is a hybrid framework combining data-driven and keyword-driven approaches for efficient and scalable testing.
Combines data-driven and keyword-driven testing
Allows for reusable test scripts and data separation
Supports automation of test cases with minimal coding
Enhances test coverage and scalability
Example: Using Excel sheets for test data and keywords for test actions
Q5. What is the role of API testing, and how should one report the results of API testing?
API testing is essential to ensure the functionality, reliability, performance, and security of APIs. Results should be reported clearly and comprehensively.
API testing involves testing the functionality, reliability, performance, and security of APIs by sending requests and validating responses.
Results of API testing should be reported in a clear and detailed manner, including information on test cases, test data, expected outcomes, actual outcomes, and any deviations or iss...read more
Q6. What are the different types of project frameworks?
Project frameworks are structures that provide guidelines and best practices for managing projects.
Waterfall model
Agile framework
Scrum methodology
Kanban method
Lean approach
Q7. What classes do we utilize while coding?
We utilize various classes while coding to organize and structure our code.
Classes help in organizing code into logical units
Classes can be used for creating objects with properties and methods
Inheritance allows classes to inherit properties and methods from other classes
Examples: String, Integer, List, HashMap
More about working at FIS
Interview Process at Nat Habit
Reviews
Interviews
Salaries
Users/Month