Ingenuity Gaming
ITC Limited Foods Division Interview Questions and Answers
Q1. How can we achieve inheritance in go?
In Go, inheritance is achieved through embedding structs.
Inheritance in Go is achieved by embedding one struct into another.
The embedded struct acts as a base class, providing its fields and methods to the embedding struct.
The embedding struct can then override or extend the behavior of the embedded struct.
Go does not support traditional class-based inheritance like other languages.
Instead, it promotes composition and interface implementation for code reuse.
Q2. 1. Write a program for Fibonacci series using recursion. 2. Write a function which is taking two arguments i.e template string and json data and you have to return the string using template laterals in javascri...
read moreAnswering two programming questions related to Fibonacci series and template literals in JavaScript.
For Fibonacci series using recursion, create a function that calls itself with the previous two numbers in the series.
For template literals, use backticks (`) to create a string with placeholders for variables, then use ${} syntax to insert the variables.
Q3. Write a program to manipulate the list in a particular given order
Program to manipulate a list in a given order
Use a custom sorting function to manipulate the list in the desired order
Implement different sorting algorithms like bubble sort, merge sort, etc.
Consider using built-in functions like sort() in programming languages
Q4. Write a program to print the first n fibonacci series numbers
Program to print the first n Fibonacci series numbers
Use a loop to iterate through the numbers up to n
Initialize the first two numbers in the series as 0 and 1
Calculate the next number in the series by adding the previous two numbers
Print each number in the series as it is calculated
Q5. Implement go routine
Implementing go routine in Go programming language
Use the 'go' keyword followed by the function call to create a go routine
Go routines are lightweight threads that run concurrently with other go routines
Use channels to communicate between go routines
Example: go myFunction()
Example: c := make(chan int); go myFunction(c)
Q6. Smoke Testing vs Sanity Testing
Smoke testing is a basic test to check if the software is stable for further testing, while sanity testing is a narrow and deep test to check specific functionalities.
Smoke testing is a shallow and wide test to ensure basic functionality works after changes or updates.
Sanity testing is a focused and deep test to check specific functionalities after changes.
Smoke testing is usually done before sanity testing to ensure the software is stable for further testing.
Sanity testing i...read more
Q7. What is SDLC,STLC & Bug life cycle?
SDLC stands for Software Development Life Cycle, STLC stands for Software Testing Life Cycle, and Bug life cycle is the process of a bug from identification to resolution.
SDLC is the process of planning, creating, testing, and deploying software.
STLC involves activities like test planning, test design, test execution, and test closure.
Bug life cycle includes stages like New, Assigned, Open, Fixed, Retest, Verified, and Closed.
Example: In SDLC, a software project goes through ...read more
Q8. Explain Bug Life Cycle
Bug life cycle is the process of a bug from identification to resolution.
Bug is identified by tester
Bug is reported in bug tracking system
Bug is assigned to developer
Developer fixes the bug
Bug is retested by tester
Bug is closed if fixed or reopened if not
Q9. Regression vs Re Testing
Regression testing ensures that new code changes do not adversely affect existing functionality, while retesting focuses on verifying that specific defects have been fixed.
Regression testing is performed to ensure that new code changes do not introduce new defects or negatively impact existing functionality.
Retesting is done to verify that specific defects identified in previous testing cycles have been successfully fixed.
Regression testing is typically automated to cover a w...read more
More about working at Ingenuity Gaming
Interview Process at ITC Limited Foods Division
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month