Bosch Global Software Technologies
Relaxo Footwear Interview Questions and Answers
Q1. What is your current ctc and its expectation
My current CTC is $80,000 and I am looking for a 10-15% increase in my next role.
Current CTC is $80,000
Expecting a 10-15% increase in next role
Open to negotiation based on job responsibilities and benefits
Q2. Authentication mechanism of the project
The project uses JSON Web Tokens (JWT) for authentication.
JWT is used to securely transmit information between parties as a JSON object.
JWTs are signed using a secret (with HMAC algorithm) or a public/private key pair (using RSA or ECDSA).
JWTs consist of three parts: header, payload, and signature.
Example: Upon successful login, a JWT is generated and sent to the client for subsequent API requests.
Q3. Sets find elements in set
Sets are data structures that store unique elements and can be used to efficiently find elements in the set.
Sets do not allow duplicate elements, so each element in a set is unique.
To find elements in a set, you can use the 'has' method to check if a specific element is present in the set.
Sets are commonly used in programming for tasks like removing duplicates from a list or checking for the presence of specific elements.
Q4. struct vs enumerations
Structs are used to define a data structure with multiple fields, while enumerations are used to define a set of named constants.
Structs are used to group related data together, while enumerations are used to define a set of named constants.
Structs can have multiple fields of different data types, while enumerations can only have a fixed set of named values.
Example: struct Person { string name; int age; } vs enum Days { Monday, Tuesday, Wednesday }
Q5. paging in Operating systems
Paging in operating systems is a memory management scheme that allows the operating system to use disk space as an extension of RAM.
Paging divides physical memory into fixed-size blocks called pages.
Virtual memory is divided into fixed-size blocks called frames.
The operating system keeps track of which pages are in RAM and which are on disk using a page table.
When a process needs a page that is not in RAM, a page fault occurs and the operating system swaps a page from disk in...read more
Q6. Map unique elements
Map unique elements in an array of strings
Create a map to store unique elements
Iterate through the array and add each element to the map as a key
Retrieve the keys of the map to get the unique elements
More about working at Bosch Global Software Technologies
Interview Process at Relaxo Footwear
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month