Add office photos
Employer?
Claim Account for FREE

Zscaler Softech

3.6
based on 315 Reviews
Video summary
Filter interviews by

Phonographic Performance Interview Questions and Answers

Updated 19 Aug 2024

Q1. How to create singleton ensuring reflection does not mess up the implementation

Ans.

To create a singleton ensuring reflection does not mess up the implementation, use an enum or a private constructor with a static field.

  • Use an enum to create a singleton as enums are inherently singletons and cannot be instantiated multiple times.

  • Alternatively, use a private constructor with a static field to create a singleton.

  • To prevent reflection from creating multiple instances, throw an exception in the constructor if an instance already exists.

Add your answer

Q2. Swap character from uppercase to lowercase and lowercase to uppercase Zscalar ->zSCALAR without using 1.util function 2.arithimatic operator 3.map 4.array function

Ans.

Swap characters from uppercase to lowercase and lowercase to uppercase in a given string.

  • Iterate through each character in the string

  • Check if the character is uppercase or lowercase

  • Swap the case of the character using bitwise XOR operation

  • Build the resulting string with the swapped characters

Add your answer

Q3. Difference. Between concurrent hash map and synchronised hashmap

Ans.

ConcurrentHashMap allows multiple threads to access and modify the map concurrently, while SynchronizedHashMap ensures thread-safety by allowing only one thread to access the map at a time.

  • ConcurrentHashMap is more efficient in scenarios with high concurrency as it allows concurrent read and write operations.

  • SynchronizedHashMap is simpler to use and provides thread-safety, but can lead to performance degradation in highly concurrent environments.

  • ConcurrentHashMap achieves thr...read more

Add your answer

Q4. Semaphores in java how to implement

Ans.

Semaphores in Java are used for controlling access to a shared resource. They can be implemented using the java.util.concurrent package.

  • Use the Semaphore class from the java.util.concurrent package

  • Create a Semaphore object with an initial number of permits

  • Use the acquire() method to acquire a permit before accessing the shared resource

  • Use the release() method to release a permit after accessing the shared resource

Add your answer
Discover Phonographic Performance interview dos and don'ts from real experiences

Q5. Bitmask in Postgresql how to use

Ans.

Bitmask in Postgresql is used to store and manipulate multiple boolean values within a single integer column.

  • Bitmask is a technique to represent a set of boolean flags using binary digits.

  • In Postgresql, the bitwise operators (&, |, ^, ~) can be used to perform operations on bitmasks.

  • To set a specific flag in a bitmask, use the bitwise OR operator (|).

  • To check if a flag is set in a bitmask, use the bitwise AND operator (&).

  • To toggle a flag in a bitmask, use the bitwise XOR ope...read more

Add your answer

Q6. Design a login page/form

Ans.

A modern and user-friendly login page with email and password fields

  • Include a clean and simple design with a logo and branding

  • Add input fields for email and password with proper validation

  • Include a 'Forgot Password' link for password recovery

  • Add a 'Remember Me' checkbox for convenience

  • Include a 'Sign In' button for submitting the form

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Phonographic Performance

based on 8 interviews
Interview experience
3.9
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.1
 • 2.2k Interview Questions
3.6
 • 184 Interview Questions
3.4
 • 166 Interview Questions
3.3
 • 150 Interview Questions
4.2
 • 142 Interview Questions
View all
Top Zscaler Softech Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter