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 applied via Company Website and was interviewed in Mar 2023. There were 3 interview rounds.
A slice is a dynamically-sized, flexible view of elements in an array in Go.
Slices are references to arrays, allowing for efficient manipulation of data.
They have a length and a capacity, with the length being the number of elements in the slice and the capacity being the maximum number of elements that the slice can hold.
Slices can be created using the make() function or by slicing an existing array or slice.
Example:
GOPATH is the workspace for Go projects, while GOROOT is the location where Go is installed.
GOPATH is used to store Go project files and dependencies.
GOROOT is the location where the Go standard library and tools are installed.
GOPATH can have multiple directories, while GOROOT is a single directory.
Example: GOPATH=/home/user/go, GOROOT=/usr/local/go
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
20
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