Filter interviews by
I applied via Campus Placement and was interviewed in Mar 2024. There was 1 interview round.
Simple 20 questions basic questions and c questions in 40 minutes 40 questions
I applied via LinkedIn and was interviewed in Sep 2023. There were 2 interview rounds.
HDD stands for Hard Disk Drive, a data storage device used in computers to store and retrieve digital information.
HDDs use magnetic storage to store data on spinning disks called platters.
They have read/write heads that move across the platters to access and modify data.
HDDs are typically used for long-term storage of large amounts of data in desktops, laptops, servers, and other devices.
Examples of HDD manufacturers i
I was interviewed in Apr 2023.
I applied via campus placement at Sardar Vallabhbhai National Institute of Technology (NIT), Surat and was interviewed in Oct 2022. There were 5 interview rounds.
Western Digital interview questions for designations
I applied via campus placement at National Institute of Technology, (NIT), Sikkim and was interviewed in Jun 2022. There were 5 interview rounds.
Aptitude was 1 hr video monitered.
Standard level C/C++ questions like pointers, structures and constructors.
Other apti questions were easy.
Structure padding is the insertion of unused bytes between members of a structure to align the data in memory.
Padding is added to ensure that each member of the structure is aligned to a memory address that is a multiple of its size.
Padding can be compiler-dependent and can vary based on the target architecture.
Padding can affect the size of the structure and the performance of the program.
Example: struct MyStruct { ch...
Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.
Declare variables for first, second and next numbers
Initialize first and second numbers as 0 and 1 respectively
Loop through the desired number of terms and calculate the next number as the sum of the previous two
Store the result in an array
Return the array
List of DSA questions including merge sort, tree mirror check, rotated sorted array search, linked list palindrome and loop detection and removal.
Merge sort is a divide and conquer algorithm that sorts an array in O(nlogn) time complexity.
To check if two trees are mirror, we need to compare their left and right subtrees recursively.
To find an element in a rotated sorted array, we can use binary search algorithm.
To chec...
Get interview-ready with Top Western Digital Interview Questions
I applied via Naukri.com and was interviewed in Apr 2022. There were 2 interview rounds.
Dynamic polymorphism is the ability of an object to take on multiple forms during runtime.
It allows objects of different classes to be treated as if they are of the same class.
It is achieved through virtual functions and inheritance.
Examples include function overriding and templates in C++.
C++ has four types of casts: static_cast, dynamic_cast, const_cast, and reinterpret_cast.
static_cast is used for implicit conversions between related types
dynamic_cast is used for runtime type checking and casting of polymorphic types
const_cast is used to remove const or volatile qualifiers from a variable
reinterpret_cast is used for low-level casting between unrelated types
Examples: static_cast
IPC mechanisms in Linux are used for inter-process communication between processes running on the same system.
IPC mechanisms include pipes, message queues, shared memory, and semaphores.
Pipes are used for one-way communication between two processes.
Message queues allow for asynchronous communication between processes.
Shared memory allows multiple processes to access the same memory space.
Semaphores are used for synchro...
map and unordered_map are associative containers while vector and list are sequence containers.
map and unordered_map are used to store key-value pairs while vector and list are used to store sequences of elements.
map and unordered_map provide faster search and insertion of elements while vector and list provide faster insertion and deletion of elements.
map and unordered_map use red-black trees and hash tables respectiv...
Functors are objects that can be treated as functions in C++. They are used for generic programming and can be passed as arguments.
Functors are often used in algorithms that require a function object as a parameter.
They can be used to implement callbacks and event handlers.
Functors can be used to create custom comparators for sorting algorithms.
They can also be used to implement function objects for mathematical operat...
Synchronizing thread blocks is important for efficient and correct execution of parallel programs.
Thread blocks must be synchronized to avoid race conditions and ensure correct program output.
Synchronization can be achieved using locks, semaphores, or barriers.
Examples of synchronization include ensuring that shared resources are accessed by only one thread at a time, or that threads wait for each other before proceedi...
Top trending discussions
I applied via Referral and was interviewed in May 2024. There were 2 interview rounds.
Volatile keyword in C is used to indicate that a variable may be changed unexpectedly by external factors.
Volatile keyword tells the compiler not to optimize the variable because it can be changed by external factors.
Commonly used for memory-mapped hardware registers or variables accessed by multiple threads.
Example: volatile int *ptr = (int *)0x1234; // pointer to a memory-mapped hardware register
A C program to swap elements in an array of strings
Use a temporary variable to swap elements in the array
Iterate through the array and swap elements at each index
I applied via Naukri.com and was interviewed in Nov 2021. There were 3 interview rounds.
based on 4 interviews
1 Interview rounds
based on 5 reviews
Rating in categories
Staff Engineer
304
salaries
| ₹15 L/yr - ₹40 L/yr |
Principal Engineer
202
salaries
| ₹24.5 L/yr - ₹59 L/yr |
Senior Engineer
142
salaries
| ₹13.3 L/yr - ₹25.2 L/yr |
Test Engineer
131
salaries
| ₹3 L/yr - ₹8.2 L/yr |
Senior Software Engineer
74
salaries
| ₹10 L/yr - ₹25 L/yr |
Seagate
Micron Technology
Intel
Samsung