
Sony India Software Center


20+ Sony India Software Center Interview Questions and Answers
Q1. Write a java program to add the digits of a given number?
Java program to add digits of a given number
Convert the number to a string
Iterate through each character and convert it back to an integer
Add all the integers together
Q2. How would you define a pointer in a read only mode?
A pointer in read only mode is a pointer that cannot modify the value it points to.
A read only pointer can be declared using the 'const' keyword.
It is useful when passing arguments to functions that should not be modified.
Example: const int* ptr; // ptr is a read only pointer to an integer value.
Q3. Write a java program to find tall pallindrome Strings from array of strings?
Java program to find tall palindrome strings from an array of strings
Loop through the array of strings
Check if each string is a palindrome
Keep track of the tallest palindrome strings found
Q4. Write a code to reverse a string by preserving its word's position?
Code to reverse a string while preserving word positions
Split the string into words using space as delimiter
Reverse the order of words
Join the words back into a string with space as delimiter
Q5. Write a code to print all the main diagonal elements of a given 2D array.
Code to print main diagonal elements of a 2D array
Loop through rows and columns of the array
Print elements where row index equals column index
Q6. What is the difference between process and thread?
A process is an instance of a program while a thread is a subset of a process that can run concurrently with other threads.
A process has its own memory space while threads share memory with other threads in the same process.
Processes are heavyweight while threads are lightweight.
Processes communicate with each other through inter-process communication mechanisms while threads communicate through shared memory.
Examples of processes include web browsers, text editors, and media...read more
Q7. What is cnn network,dropout,weight initialization techniques, why relu ?
CNN is a type of neural network commonly used for image recognition. Dropout is a regularization technique to prevent overfitting. Weight initialization techniques are methods to set initial weights in a neural network. ReLU is a popular activation function due to its ability to address the vanishing gradient problem.
CNN (Convolutional Neural Network) is commonly used for image recognition tasks due to its ability to capture spatial hierarchies in data.
Dropout is a regulariza...read more
Q8. How to create embedding from base and can we create text embedding from pretrained model
Yes, embeddings can be created from base using techniques like Word2Vec, GloVe, or FastText. Text embeddings can also be created from pretrained models like BERT or Word2Vec.
Use techniques like Word2Vec, GloVe, or FastText to create embeddings from base data
Pretrained models like BERT or Word2Vec can be used to create text embeddings
Fine-tuning pretrained models can also be done to create custom text embeddings
Q9. What are the differences between C and C++?
Q10. Give some examples on single and double linked lists.
Single and double linked lists are data structures used to store and manipulate collections of data.
Single linked list: each node points to the next node in the list.
Double linked list: each node points to the next and previous nodes in the list.
Example of single linked list: a list of names where each node contains a name and a pointer to the next name in the list.
Example of double linked list: a list of web pages where each node contains a URL, a pointer to the next page, a...read more
Q11. How will you add value to Sony?
I will add value to Sony by leveraging my expertise in marketing and sales to increase brand awareness and drive revenue growth.
Develop and execute innovative marketing campaigns to increase brand visibility
Identify new sales channels and partnerships to expand Sony's reach
Analyze market trends and consumer behavior to inform product development and pricing strategies
Leverage data analytics to optimize marketing and sales performance
Collaborate with cross-functional teams to ...read more
Q12. Why did you prefer C in technical test?
Q13. Does Java has pointers?
Yes, Java has pointers.
Java has pointers but they are not explicitly exposed to the programmer.
Java uses references instead of pointers.
Java pointers are used for memory management and garbage collection.
Q14. How Linux and Unix are different?
Q15. What is Java compiler?
Java compiler is a program that converts Java code into bytecode that can be executed on any platform.
Java compiler is a part of the Java Development Kit (JDK).
It checks the syntax of the code and generates bytecode.
The bytecode can be executed on any platform that has a Java Virtual Machine (JVM).
The compiler can be run from the command line or integrated into an IDE like Eclipse or IntelliJ.
Example: javac HelloWorld.java will compile the code in the file HelloWorld.java.
Q16. Why you got less CGPA?
I faced some personal challenges that affected my academic performance.
I had to deal with a family illness that required my attention and time
I struggled with anxiety and depression which affected my focus and motivation
I had to work part-time to support myself and my family
I took on too many extracurricular activities and didn't manage my time effectively
I faced some academic challenges in certain subjects that brought down my overall CGPA
Q17. Second largest element in array
Find the second largest element in an array of strings.
Sort the array in descending order
Access the element at index 1 to get the second largest element
Q18. What is vanishing gradient means how to avoid that
Vanishing gradient occurs when gradients become very small during backpropagation, leading to slow learning or stuck in local minima.
Vanishing gradient is a common issue in deep neural networks, especially in deep architectures like RNNs.
It occurs when the gradients of the loss function with respect to the weights become very small, making weight updates negligible.
To avoid vanishing gradient, one can use activation functions like ReLU, Leaky ReLU, or ELU which help in mainta...read more
Q19. Tell some UNIX commands
UNIX commands are powerful tools for managing files, processes, and system configurations.
ls - list files and directories
cd - change directory
mkdir - create a new directory
rm - remove files and directories
grep - search for patterns in files
ps - display running processes
chmod - change file permissions
tar - create or extract compressed archives
ssh - securely connect to remote servers
man - display manual pages for commands
Q20. What are Calloc and Malloc?
Q21. Internal working of Hashmap
Hashmap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.
Hashmap uses an array to store key-value pairs.
Keys are hashed to determine the index where the value will be stored.
Collision handling is done by chaining or open addressing.
Retrieving a value involves hashing the key to find the index and then accessing the value at that index.
Q22. What is a process?
A process is a series of actions or steps taken to achieve a particular outcome or result.
A process involves a sequence of tasks or activities that are performed in a specific order.
It typically has a defined starting point and ending point.
Processes can be found in various domains such as business, manufacturing, software development, and healthcare.
Examples of processes include the steps taken to manufacture a product, the steps followed to complete a project, or the steps ...read more
Q23. Unique Elements in a given String
Find unique elements in a given string
Iterate through each character in the string
Use a hash set to keep track of unique characters
If a character is already in the set, it is not unique
Return the set of unique characters as an array of strings
Q24. sort 0s and 1s
Sort an array of strings containing 0s and 1s
Iterate through the array and count the number of 0s and 1s
Create a new array with the sorted order of 0s and 1s
Return the sorted array
Q25. What is objectness loss?
Objectness loss is a loss function used in object detection models to penalize incorrect localization of objects.
Objectness loss helps in determining how well the model localizes objects in an image.
It penalizes the model for predicting bounding boxes that do not contain the object of interest.
Commonly used in models like YOLO (You Only Look Once) for object detection tasks.
Q26. Post method using rest assured
The POST method in Rest Assured is used to send data to a server to create a new resource.
Use the given() method to set the base URI and path
Create a request specification using the request() method
Set the request body using the body() method
Specify the content type using the contentType() method
Send the POST request using the post() method
Validate the response using assertions
Q27. Explain project architecture
Project architecture refers to the high-level structure of a software system, including components, relationships, and interactions.
Project architecture defines how different components of a software system interact with each other.
It includes the design decisions related to technologies, frameworks, databases, and communication protocols.
Common architectural patterns include MVC, microservices, and layered architecture.
Good project architecture ensures scalability, maintaina...read more
Q28. Explain different ML concepts
Machine learning concepts include supervised learning, unsupervised learning, reinforcement learning, and deep learning.
Supervised learning involves training a model on labeled data to make predictions.
Unsupervised learning involves finding patterns in unlabeled data.
Reinforcement learning involves training a model to make sequences of decisions.
Deep learning uses neural networks with multiple layers to learn complex patterns.
Q29. Define interface
An interface is a point of interaction between two systems or components.
Interfaces define a set of methods or properties that a class must implement.
Interfaces allow for polymorphism and loose coupling in software design.
Examples of interfaces in programming include the Java interface and the .NET interface.
Interfaces can also refer to the physical connections between devices, such as a USB interface.
Top HR Questions asked in Sony India Software Center
Interview Process at Sony India Software Center

Top Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

