Staff Software Engineer
Software engineeringPosted over 2 months agofrom Hevo Data's own hiring page
- Work type
- On-siteBengaluru
- Experience
- 8+ years
- Pay
- Not listedUsually ₹15 LPASoftware engineering, median at 5–9 years, in India (Payscale)
- Posted
- Over 2 months agoOpen over a year
From the ad
Degree or equivalent experience
Bachelor's degree in Computer Science, Software Engineering, or a related field (or equivalent experience)
Skills it mentions
Add your skills to see which ones you have.
About the job
Interested?Staff Software Engineer at Hevo Data
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on ETL pipelines, Java, Python and 5 more
Interview questions for this job
For the skills the ad mentions: ETL pipelines, Java, Python, Go, C++, SQL, Spark and Kafka.
What is normalisation/denormalisation and what is its purpose?ETL pipelines
Normalization is the technique of dividing the data into multiple tables to reduce data redundancy and inconsistency and to achieve data integrity. On the other hand, Denormalization is the technique of combining the data into a single table to make data retrieval faster.
From Tech Vault (Apache 2.0)
Do objects get passed by reference or valueJava
Do objects get passed by reference or value?
The two most prevalent modes of passing arguments to methods are “passing-by-value” and “passing-by-reference”. Different programming languages use these concepts in different ways. As far as Java is concerned, everything is strictly Pass-by-Value.
The fundamental concepts in any programming language are “values” and “references”. In Java, Primitive variables store the actual values, whereas Non-Primitives store the reference variables which point to the addresses of the objects they're referring to. Both values and references are stored in the stack memory.
Arguments in Java are always passed-by-value. During method invocation, a copy of each argument, whether its a value or reference, is created in stack memory which is then passed to the method.
In case of primitives, the value is simply copied inside stack memory which is then passed to the callee method; in case of non-primitives, a reference in stack memory points to the actual data which resides in the heap. When we pass an object, the reference in stack memory is copied and the new reference is passed to the method.
Passing Primitive Types
The Java Programming Language features eight primitive data types. Primitive variables are directly stored in stack memory. Whenever any variable of primitive data type is passed as an argument, the actual parameters are copied to formal arguments and these formal arguments accumulate their own space in stack memory.
The lifespan of these formal parameters lasts only as long as that method is running, and upon returning, these formal arguments are cleared away from the stack and are discarded.
Example:
public class PrimitiveTypesExample { public void example() { int x1 = 1; int x2 = 2; System.out.println("Before:"); System.out.println("X1 = " + x1); System.out.println("X2 = " + x2); modify(x1, x2); System.out.println("After:"); System.out.println("X1 = " + x1); System.out.println("X2 = " + x2); } private void modify(int x1, int x2) { x1 = x1 + 100; x2 = x2 + 200; } }Output:
Before: X1 = 1 X2 = 2 After: X1 = 1 X2 = 2Passing Object References
In Java, all objects are dynamically stored in Heap space under the hood. These objects are referred from references called reference variables.
Whenever an object is passed as an argument, an exact copy of the reference variable is created which points to the same location of the object in heap memory as the original reference variable.
As a result of this, whenever we make any change in the same object in the method, that change is reflected in the original object. However, if we allocate a new object to the passed reference variable, then it won't be reflected in the original object.
Example:
public class NumberHolder { private int num; NumberHolder(int num) { this.num = num; } public void increment() { num = num++; } public int getValue() { return num; } }Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)
How do I modify a string in place?Python
You can’t, because strings are immutable. In most situations, you should simply construct a new string from the various parts you want to assemble it from. However, if you need an object with the ability to modify in-place Unicode data, try using an
io.StringIOobject or thearraymodule:>>> import io >>> s = "Hello, world" >>> sio = io.StringIO(s) >>> sio.getvalue() 'Hello, world' >>> sio.seek(7) 7 >>> sio.write("there!") 6 >>> sio.getvalue() 'Hello, there!' >>> import array >>> a = array.array('w', s) >>> print(a) array('w', 'Hello, world') >>> a[0] = 'y' >>> print(a) array('w', 'yello, world') >>> a.tounicode() 'yello, world'From Python Frequently Asked Questions (PSF License Version 2)
How do constants work in Go?Go
Although Go is strict about conversion between variables of different numeric types, constants in the language are much more flexible. Literal constants such as
23,3.14159andmath.Pioccupy a sort of ideal number space, with arbitrary precision and no overflow or underflow. For instance, the value ofmath.Piis specified to 63 decimal digits in the source code, and constant expressions involving the value keep precision beyond what afloat64could hold. Only when the constant or constant expression is assigned to a variable—a memory location in the program—does it become a "computer" number with the usual floating-point properties and precision.Also, because they are just numbers, not typed values, constants in Go can be used more freely than variables, thereby softening some of the awkwardness around the strict conversion rules. One can write expressions such as
sqrt2 := math.Sqrt(2)without complaint from the compiler because the ideal number
2can be converted safely and accurately to afloat64for the call tomath.Sqrt.A blog post titled Constants explores this topic in more detail.
From Go Frequently Asked Questions (CC BY 4.0)
What are the basic rules and idioms for operator overloading?C++
Common Operators to Overload
Most of the work in overloading operators is boilerplate code. That is little wonder, since operators are merely syntactic sugar. Their actual work could be done by (and often is forwarded to) plain functions. But it is important that you get this boilerplate code right. If you fail, either your operator’s code won’t compile, your users’ code won’t compile, or your users’ code will behave surprisingly.
Assignment Operator
There's a lot to be said about assignment. However, most of it has already been said in GMan's famous Copy-And-Swap FAQ, so I'll skip most of it here, only listing the perfect assignment operator for reference:
X& X::operator=(X rhs) { swap(rhs); return *this; }Stream Insertion and Extraction
Disclaimer For overloading <<and>>as bitwise shift operators, skip to the section Binary Arithmetic Operators.The bitwise shift operators
<<and>>, although still used in hardware interfacing for the bit-manipulation functions they inherit from C, have become more prevalent as overloaded stream input and output operators in most applications.The stream operators, among the most commonly overloaded operators, are binary infix operators for which the syntax does not specify any restriction on whether they should be members or non-members. However, their left operands are streams from the standard library, and you cannot add member functions to those1, so you need to implement these operators for your own types as non-member functions2. The canonical forms of the two are these:
std::ostream& operator<<(std::ostream& os, const T& obj) { // Write obj to stream return os; } std::istream& operator>>(std::istream& is, T& obj) { // Read obj from stream if( /* no valid object of T found in stream */ ) is.setstate(std::ios::failbit); return is; }When implementing
operator>>, manually setting the stream’s state is only necessary when the reading itself succeeded, but the result is not what would be expected.1 Note that some of the
<<overloads of the standard library are implemented as member functions, and some as free functions. Only the locale-dependent functions are member functions, such asoperator<<(long).2 According to the rules of thumb, the insertion/extraction operators should be member functions because they modify the left operand. However, we cannot follow the rules of thumb here.
Function Call Operator
The function call operator, used to create function objects, also known as functors, must be defined as a member function, so it always has the implicit
thisargument of member functions. Other than this, it can be overloaded to take any number of additional arguments, including zero.Here's an example of the syntax:
struct X { // Overloaded call operator int operator()(const std::string& y) { return /* ... */; } };Usage:
X f; int a = f("hello");Throughout the C++ standard library, function objects are always copied. Your own function objects should therefore be cheap to copy. If a function object absolutely needs to use data which is expensive to copy, it is better to store that data elsewhere and have the function object refer to it.
Comparison Operators
Read the rest at the sourceFrom Stack Overflow: asked by sbi, answered by sbi (CC BY-SA 4.0)
Can you tell us about a personal achievement at work?Behavioural
Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:
- when have you faced a challenging situation?
- can you tell us about a personal achievement at work?
- have you ever taken the initiative?
- have you ever failed at a task?
Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.
If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.
Use the STAR method to help structure your answers.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Principal Engineer, Biocompatibility & ToxicologyBaxter, Bengaluru, on-siteToday
- SWPjMBosch Group, Bengaluru, on-siteYesterday
- Workforce Software Time ConsultantWeekday, Bengaluru, on-siteYesterday
- Member of Technical Staff, Flash Blade (File Data Services)Pure Storage, Bengaluru, on-site2 days ago
More like this: Software engineer jobs in Bengaluru (1,208), Jobs in Bengaluru (10,716) and Software engineer jobs in India (2,828)




