Hewlett Packard Enterprise
Oerlikon Graziano Transmission Interview Questions and Answers
Q1. How to copy slice element and reflect the new changes done in original slice to new slice
Use copy() function to create a new slice and reflect changes in original slice to the new slice.
Use the copy() function to create a new slice with the same length as the original slice.
Make changes to the original slice.
The changes made to the original slice will automatically reflect in the new slice as well.
Q2. Print all the possible subsets from a given slice of integers
Print all possible subsets from a given slice of integers
Use recursion to generate all possible subsets
For each element in the slice, include or exclude it in the subset
Keep track of the current subset being generated
Q3. Why golang is best compared to other languages
GoLang is best for its simplicity, efficiency, concurrency support, and strong community backing.
Efficient performance due to compiled nature and garbage collection
Concurrency support with goroutines and channels
Strong standard library with built-in support for networking, encoding, and more
Simple and clean syntax that promotes readability and maintainability
Growing community and ecosystem with popular frameworks like Gin and Echo
Q4. What is context package in golanguage
Context package in Go language provides a way to pass around deadlines, cancellation signals, and other request-scoped values.
Context package is used to manage deadlines, cancellation signals, and request-scoped values in Go programs.
It allows passing data between function calls without having to pass them explicitly as arguments.
Context package is commonly used in web servers to manage request-specific data and timeouts.
Example: context.WithTimeout() creates a new context wi...read more
Q5. Explain Kubertnetes Architecture
Kubernetes is an open-source container orchestration platform for automating deployment, scaling, and management of containerized applications.
Kubernetes follows a master-slave architecture with a master node controlling multiple worker nodes.
Master node components include API server, scheduler, controller manager, and etcd.
Worker node components include kubelet, kube-proxy, and container runtime (e.g. Docker).
Kubernetes uses Pods as the smallest deployable units, which can c...read more
Q6. Http1.1 vs 2.0 vs 3.0
HTTP/1.1 is the older version with persistent connections, HTTP/2.0 introduces multiplexing and server push, and HTTP/3.0 uses QUIC protocol for faster performance.
HTTP/1.1 uses persistent connections for each request/response, leading to potential performance issues.
HTTP/2.0 introduces multiplexing, allowing multiple requests/responses to be sent over a single connection simultaneously.
HTTP/2.0 also supports server push, where the server can send resources to the client befo...read more
Q7. RestApi vs GRPC
REST API is a standard protocol for web services using HTTP, while gRPC is a high-performance, open-source RPC framework.
REST API uses HTTP for communication, making it easy to implement and widely supported.
gRPC is a modern, high-performance RPC framework that uses HTTP/2 for transport and Protocol Buffers for serialization.
gRPC is more efficient in terms of performance and supports features like bidirectional streaming and authentication.
REST API is simpler to understand an...read more
More about working at Hewlett Packard Enterprise
Interview Process at Oerlikon Graziano Transmission
Top Senior Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month