i
Choice Techlab
Filter interviews by
I applied via LinkedIn and was interviewed in Sep 2024. There were 2 interview rounds.
Go supports object-oriented programming principles through struct types and methods.
Go uses struct types to define objects with fields and methods.
Methods can be defined on struct types to provide behavior to objects.
Go does not have classes like traditional OOP languages, but it supports encapsulation, inheritance, and polymorphism through struct embedding and interfaces.
Arrays are fixed-size collections of elements of the same type, while slices are dynamic arrays with a flexible size.
Arrays have a fixed size determined at compile time.
Slices are dynamic arrays that can grow or shrink.
Arrays and slices are both zero-indexed.
Arrays are passed by value, while slices are passed by reference.
Example: var arr [3]string = [3]string{"apple", "banana", "orange"}
Example: var slice []string = [
Goroutines are lightweight threads managed by Go runtime, allowing concurrent execution of functions.
Goroutines are created using the 'go' keyword followed by a function call.
They are multiplexed onto multiple OS threads by the Go runtime.
Goroutines communicate using channels to share data safely.
They are more efficient than traditional threads due to their lightweight nature.
Go is simpler, more efficient, and easier to learn compared to C++.
Go has a simpler syntax and is easier to read and write compared to C++.
Go has built-in concurrency support with goroutines and channels, making it easier to write concurrent programs.
Go has a garbage collector, which simplifies memory management compared to manual memory management in C++.
Go compiles faster than C++ due to its simpler type system and l...
Efficiently process large amounts of data by using parallel processing, optimizing algorithms, and utilizing data structures.
Utilize parallel processing techniques such as goroutines in Golang to process data concurrently.
Optimize algorithms to reduce time complexity and improve processing speed.
Use efficient data structures like maps, slices, and channels to store and manipulate data.
Consider using caching mechanisms ...
Assignment to make a employee data management software and enter lakhs of employeee data efficiently.
Practical application developmemt
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Jan 2023. There were 2 interview rounds.
Life cycle hooks are functions that get called at specific stages of a component's life cycle.
Angular provides several life cycle hooks that allow you to tap into specific moments in a component's life cycle.
Some common life cycle hooks include ngOnInit, ngOnChanges, and ngOnDestroy.
ngOnInit is called after the component has been initialized and its inputs have been bound.
ngOnChanges is called whenever one or more of t...
Routing in Angular is the process of navigating between different components and views based on the URL.
Routing is defined in the app-routing.module.ts file
Routes are defined using the RouterModule.forRoot() method
Each route maps a URL path to a component
RouterLink directive is used to navigate between routes in HTML
Router.navigate() method is used to navigate programmatically
Child routes can be defined for nested comp
Choice Techlab interview questions for popular designations
I applied via Indeed and was interviewed before Oct 2021. There were 4 interview rounds.
Basic Logical Reasoning Questions
2 tasks will be given for 3 hrs. 2nd task might take longer time.
Top trending discussions
I applied via Recruitment Consulltant and was interviewed before Oct 2023. There were 2 interview rounds.
Golang interview technical task
How you have worked in previous company
GOROOT is the root directory where Go is installed, while GOPATH is the workspace directory where Go projects are stored.
GOROOT is where Go's standard library and tools are located
GOPATH is where your own Go projects and their dependencies are stored
You can have multiple GOPATHs to organize different projects
Use go routines and channels to print numbers 1 to 10
Create a channel to communicate between go routines
Use a for loop to create 10 go routines, each printing a number
Send the numbers through the channel and print them in the main routine
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Use regex pattern to extract IP addresses from a string.
Use the regex pattern '\b(?:\d{1,3}\.){3}\d{1,3}\b' to match IP addresses.
Make sure to escape special characters like '.' and '\' in the regex pattern.
Use tools like regex101.com to test and refine your regex pattern.
Example: '192.168.1.1' will be matched by the regex pattern.
I was interviewed in Sep 2023.
Using Go routines to generate Fibonacci series
Create a function to generate Fibonacci numbers using recursion
Use Go routines to generate Fibonacci numbers concurrently
Use channels to communicate between Go routines
Concurrency is about dealing with multiple tasks at the same time, while parallelism is about executing multiple tasks simultaneously.
Concurrency is about structure, while parallelism is about execution.
Concurrency can be achieved with a single core processor, while parallelism requires multiple cores.
An example of concurrency is a single-threaded program that switches between tasks, while an example of parallelism is ...
Reverse a string using Golang
Use the 'strings' package in Golang to convert the string to a slice of runes
Iterate over the slice of runes in reverse order to build the reversed string
Convert the reversed slice of runes back to a string
I was interviewed in Sep 2024.
They given me one code snipet of gorutine and i have to fix problem in this code.
based on 8 interviews
Interview experience
based on 31 reviews
Rating in categories
Associate Software Engineer
34
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
19
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
18
salaries
| ₹0 L/yr - ₹0 L/yr |
QA Engineer
8
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
7
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech