Add office photos
Employer?
Claim Account for FREE

Deltax

2.8
based on 53 Reviews
Filter interviews by

20+ Greenlam Industries Interview Questions and Answers

Updated 20 Dec 2024
Asked in
QA Interview

Q1. Problem Statement - Ringa Ringa Roses There are bunch of kids (n) who are standing in a circle and reciƟng a rhyme (having m words). Each kid recites only a single word from the rhyme and then the next kid reci...

read more
Ans.

The problem is about a game where kids recite a rhyme and one kid leaves the circle after each round until only one kid remains.

  • Try input combinations like (n=5, m=10), (n=8, m=15), (n=3, m=5), (n=6, m=12)

  • Expected outcome will be the number of rounds played and the kid who leaves the circle in each round

  • For example, for (n=5, m=10), the expected outcome could be 2 rounds played and kid 3 leaving in the first round and kid 1 leaving in the second round

View 3 more answers

Q2. What are scripts in package.json file

Ans.

Scripts in package.json file are commands that can be run using npm.

  • Scripts are defined under the 'scripts' key in package.json.

  • Common scripts include 'start', 'test', 'build', etc.

  • Scripts can be run using 'npm run '.

Add your answer

Q3. Binary Search on rotated arrays

Ans.

Binary search on rotated arrays involves finding a target value in a sorted array that has been rotated at an unknown pivot point.

  • Identify the pivot point by finding the minimum element in the array.

  • Determine which half of the array the target value falls into based on the pivot point.

  • Perform binary search on the appropriate half of the array to find the target value.

Add your answer

Q4. Use of package.json file

Ans.

package.json file is used in Node.js projects to manage dependencies, scripts, and metadata.

  • Contains project metadata like name, version, description, etc.

  • Lists dependencies required for the project to run.

  • Defines scripts for tasks like building, testing, and running the project.

  • Can include configurations for tools like ESLint, Babel, etc.

View 1 answer
Discover Greenlam Industries interview dos and don'ts from real experiences

Q5. Why do we use JS for Web development Why not Python?

Ans.

JS is used for web development due to its compatibility with browsers, asynchronous capabilities, and large community support.

  • JavaScript is the only language that can be executed in the browser, making it essential for client-side scripting.

  • JS has asynchronous capabilities, allowing for non-blocking operations which are crucial for web development.

  • There is a large community of developers using JS for web development, providing extensive resources and support.

  • Python is not com...read more

View 1 answer

Q6. What do you know about digital marketing?

Ans.

Digital marketing involves promoting products or services through online channels to reach a target audience.

  • Digital marketing includes strategies such as social media marketing, email marketing, search engine optimization (SEO), and pay-per-click advertising.

  • It focuses on creating engaging content, building brand awareness, and driving traffic to websites or online platforms.

  • Digital marketing analytics help track and measure the success of campaigns, allowing for data-driven...read more

Add your answer
Are these interview questions helpful?

Q7. Case study based- design a marketing strategy for a xyz brand.

Ans.

Develop a marketing strategy for xyz brand.

  • Conduct market research to identify target audience and competitors.

  • Create a unique selling proposition to differentiate the brand from competitors.

  • Utilize social media platforms for targeted advertising and engagement.

  • Collaborate with influencers or brand ambassadors to increase brand visibility.

  • Offer promotions or discounts to attract new customers and retain existing ones.

Add your answer

Q8. How many characters are different in two sentences?

Ans.

The number of different characters in two sentences can be determined by comparing each character in both sentences.

  • Compare each character in the two sentences

  • Count the number of characters that are different

  • Spaces and punctuation should also be considered as characters

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Give some real life examples of oops

Ans.

Real life examples of OOPs include cars, animals, and banking systems.

  • Cars: Objects like make, model, and color with behaviors like driving and honking.

  • Animals: Objects like species, name, and age with behaviors like eating and sleeping.

  • Banking Systems: Objects like account, balance, and transaction with behaviors like deposit and withdraw.

Add your answer

Q10. Oops concepts and their execution

Ans.

Oops concepts are fundamental principles of object-oriented programming that help in organizing and designing code efficiently.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit (class).

  • Inheritance: Allowing a class to inherit properties and behavior from another class.

  • Polymorphism: Ability of objects to take on multiple forms or have multiple behaviors.

  • Abstraction: Hiding the complex implementation details and showing only the necessary feat...read more

Add your answer

Q11. Explain the virtual function in OOPS

Ans.

Virtual functions in OOPS allow a derived class to provide its own implementation of a method defined in the base class.

  • Virtual functions are declared in the base class and can be overridden by derived classes.

  • They enable polymorphism, allowing objects of different classes to be treated as objects of the same base class.

  • The virtual keyword is used to declare a function as virtual in the base class.

  • The derived class can provide its own implementation of the virtual function us...read more

Add your answer

Q12. what is c programming

Ans.

C programming is a high-level programming language used for system programming, embedded systems, and software development.

  • C programming is widely used for developing operating systems, compilers, and device drivers.

  • It allows direct access to memory and hardware, making it efficient for low-level programming.

  • C programs are portable and can be easily optimized for performance.

  • Example: Writing a simple 'Hello World' program in C.

Add your answer

Q13. How will you advertise a small bakery

Ans.

I would advertise the small bakery through social media, local events, partnerships with other businesses, and offering promotions.

  • Utilize social media platforms such as Instagram, Facebook, and Twitter to showcase the bakery's products and engage with customers

  • Participate in local events and farmers markets to increase visibility and attract new customers

  • Collaborate with other businesses, such as coffee shops or event planners, to cross-promote each other's services

  • Offer pro...read more

Add your answer

Q14. explain diamond problem in OOPS

Ans.

The diamond problem is an ambiguity that occurs when a class inherits from two classes that have a common base class.

  • Occurs in multiple inheritance

  • Results in ambiguity in method resolution

  • Can be resolved using virtual inheritance

  • Example: Class A -> Class B, Class C -> Class D, Class B and Class D inherit from Class A, Class C inherits from both Class B and Class D

Add your answer

Q15. What is code and pulses

Ans.

Code is a set of instructions written in a programming language to perform a specific task. Pulses are short bursts of energy or signals.

  • Code is written in programming languages like Python, Java, C++, etc.

  • Code instructs computers to perform specific tasks or operations.

  • Pulses are short bursts of energy or signals used in electronics and communication systems.

  • Examples of pulses include digital signals in computers and electrical pulses in medical devices.

Add your answer

Q16. What is data structure

Ans.

Data structure is a way of organizing and storing data in a computer so that it can be accessed and used efficiently.

  • Data structures define the way data is organized and stored in memory.

  • Examples include arrays, linked lists, stacks, queues, trees, and graphs.

  • Choosing the right data structure is important for efficient data manipulation and retrieval.

Add your answer

Q17. Instagram was developed by who?

Ans.

Instagram was developed by Kevin Systrom and Mike Krieger.

  • Developed by Kevin Systrom and Mike Krieger

  • Launched in October 2010

  • Acquired by Facebook in 2012

Add your answer

Q18. what is array in c

Ans.

An array in C is a collection of elements of the same data type stored in contiguous memory locations.

  • Arrays are declared by specifying the data type of the elements and the number of elements in square brackets, e.g. int arr[5];

  • Elements in an array can be accessed using their index, starting from 0, e.g. arr[0] refers to the first element.

  • Arrays in C are zero-indexed, meaning the first element is at index 0.

  • Arrays can be of any data type, including arrays of strings like cha...read more

Add your answer

Q19. get me the query parameter

Ans.

The query parameter is a part of a URL that contains data to be passed to a web server.

  • Query parameters are added to the end of a URL after a '?'

  • They are key-value pairs separated by '&'

  • Example: www.example.com/search?q=product&category=electronics

Add your answer

Q20. arithma and the operator

Ans.

Arithma is a fictional company and the operator is a key component in their product.

  • The operator is a crucial element in the functionality of Arithma's product.

  • It is likely a symbol or function used for calculations.

  • Examples of operators could include + (addition), - (subtraction), * (multiplication), / (division).

Add your answer

Q21. difference between marketing and advertising

Ans.

Marketing is a broader concept that encompasses advertising as one of its components.

  • Marketing involves identifying customer needs, creating products or services to meet those needs, and promoting them to the target audience.

  • Advertising is a specific promotional activity within marketing that focuses on creating and delivering persuasive messages through various channels.

  • Marketing includes market research, product development, pricing, distribution, and customer relationship ...read more

Add your answer

Q22. Introduce ur self

Ans.

I am a passionate Junior Java Developer with a strong foundation in Java programming and problem-solving skills.

  • Graduated with a degree in Computer Science

  • Completed internships where I developed Java applications

  • Familiar with object-oriented programming principles

  • Experience with Spring framework and Hibernate

  • Strong communication and teamwork skills

Add your answer

Q23. Write a program

Ans.

Program to sort an array of strings in alphabetical order

  • Use a sorting algorithm like bubble sort or quicksort

  • Compare strings using strcmp() function in C or compareTo() method in Java

  • Handle uppercase and lowercase letters separately if needed

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

Interview Process at Greenlam Industries

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

Top Interview Questions from Similar Companies

4.2
 • 361 Interview Questions
3.5
 • 307 Interview Questions
4.4
 • 247 Interview Questions
4.0
 • 245 Interview Questions
3.3
 • 142 Interview Questions
View all
Top Deltax 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

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