Add office photos
Engaged Employer

Coditas Technologies

3.1
based on 212 Reviews
Filter interviews by

J B Chemicals And Pharmaceuticals Interview Questions and Answers

Updated 15 Oct 2024
Popular Designations

Q1. Difference between ENTRYPOINT, CMD, and RUN in docker. Can we use RUN instead of CMD in a Dockerfile? Difference between ARGS and ENV.

Ans.

Explaining the differences between ENTRYPOINT, CMD, and RUN in Docker and the usage of ARGS and ENV.

  • ENTRYPOINT is the command that runs when the container starts

  • CMD is the default command that runs after ENTRYPOINT, can be overridden

  • RUN executes commands during the build process

  • RUN can be used instead of CMD, but it will not be the default command

  • ARGS are used to pass arguments to the Dockerfile during build time

  • ENV sets environment variables that can be used in the Dockerfil...read more

Add your answer

Q2. Difference between verification and validation

Ans.

Verification ensures that the product is built according to the design specifications, while validation ensures that the product meets the customer's needs and requirements.

  • Verification checks if the product is being built correctly, while validation checks if the right product is being built.

  • Verification is a process of evaluating the intermediate work products, while validation is a process of evaluating the final product.

  • Verification is done before validation.

  • Examples of v...read more

Add your answer

Q3. Difference between sanity and smoke

Ans.

Sanity and smoke are types of testing in software engineering.

  • Sanity testing is a quick test to check if the major functionalities of the application are working after a small change is made.

  • Smoke testing is a quick test to check if the application is stable enough to proceed with further testing.

  • Sanity testing is done to ensure that the application is ready for further testing.

  • Smoke testing is done to ensure that the application is stable enough to proceed with further testi...read more

Add your answer

Q4. What is header?

Ans.

A header is a section of data at the beginning of a file or packet that contains information about the file or packet.

  • Headers are used in various protocols such as HTTP, SMTP, and TCP/IP.

  • HTTP headers contain information about the request or response, such as the content type and encoding.

  • SMTP headers contain information about the email, such as the sender, recipient, and subject.

  • TCP/IP headers contain information about the packet, such as the source and destination IP address...read more

Add your answer
Discover J B Chemicals And Pharmaceuticals interview dos and don'ts from real experiences

Q5. Most Frequent Element of Array.

Ans.

Find the most frequent element in an array of strings.

  • Create an object to store the frequency of each element in the array.

  • Iterate through the array and update the frequency count in the object.

  • Find the element with the highest frequency in the object.

Add your answer

Q6. Unique elements out of array

Ans.

Return unique elements from an array of strings

  • Use Set to store unique elements

  • Convert array to Set and then back to array to get unique elements

  • Example: ['apple', 'banana', 'apple', 'orange'] should return ['apple', 'banana', 'orange']

Add your answer

Q7. Closures in the JavaScript

Ans.

Closures in JavaScript allow functions to access variables from an outer function even after the outer function has finished executing.

  • Closures are created when a function is defined within another function and the inner function references variables from the outer function.

  • Closures have access to the outer function's scope chain, allowing them to access variables even after the outer function has returned.

  • Closures are commonly used in event handlers, callbacks, and for data ...read more

Add your answer

Q8. List vs Set difference

Ans.

List allows duplicate elements and maintains insertion order, while Set does not allow duplicates and does not maintain order.

  • List can contain duplicate elements, while Set cannot.

  • List maintains the order of elements based on insertion, while Set does not guarantee any specific order.

  • Examples: ArrayList is a List implementation, HashSet is a Set implementation.

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

Interview Process at J B Chemicals And Pharmaceuticals

based on 52 interviews in the last 1 year
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

3.7
 • 262 Interview Questions
3.9
 • 205 Interview Questions
3.9
 • 202 Interview Questions
4.0
 • 156 Interview Questions
3.6
 • 143 Interview Questions
View all
Top Coditas Technologies 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
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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