Add office photos
Engaged Employer

TCS

3.7
based on 85.5k Reviews
Filter interviews by

10+ LLadro Interview Questions and Answers

Updated 21 Nov 2024
Popular Designations

Q1. Given a maximum of 100 digit numbers as input, find the difference between the sum of odd and even position digits

Ans.

The program calculates the difference between the sum of odd and even position digits in a given number.

  • Iterate through each digit of the number

  • Keep track of the sum of digits at odd positions and even positions separately

  • Calculate the difference between the two sums

View 1 answer

Q2. Write a program to generate a hash function using my sql

Ans.

Generate a hash function using MySQL

  • Use the MySQL built-in function SHA2() to generate a hash value

  • Specify the input string and the desired hash length as parameters

  • Example: SELECT SHA2('hello', 256) AS hash_value;

Add your answer

Q3. Write a code to print the multiplication table

Ans.

Code to print the multiplication table

  • Use nested loops to iterate through rows and columns

  • Print the product of row and column for each cell

  • Consider formatting the output for better readability

Add your answer

Q4. Sql code update first letter to upper case

Ans.

Use SQL UPDATE statement with CONCAT and UPPER functions to update first letter to upper case.

  • Use UPDATE statement to modify the data in the table

  • Use CONCAT function to combine the UPPER function with the rest of the string

  • Use UPPER function to convert the first letter to upper case

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

Q5. Check if a number is a palidrome or not.

Ans.

A palindrome number is the same when read forwards and backwards.

  • Convert the number to a string to easily check for palindrome

  • Reverse the string and compare it with the original string

  • If they are the same, the number is a palindrome

Add your answer

Q6. What is cloud computing?

Ans.

Cloud computing is the delivery of computing services over the internet, including storage, servers, databases, networking, software, and more.

  • Cloud computing allows users to access and use resources on-demand without the need for physical infrastructure.

  • Examples of cloud computing services include Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform.

  • Cloud computing offers scalability, flexibility, cost-effectiveness, and increased efficiency for businesses a...read more

Add your answer
Are these interview questions helpful?

Q7. Why did you choose TCS?

Ans.

I chose TCS for its global presence, diverse opportunities, and strong reputation in the IT industry.

  • Global presence with offices in multiple countries

  • Diverse opportunities for career growth and development

  • Strong reputation in the IT industry for quality services

  • Positive reviews from current and former employees

Add your answer

Q8. What you know about tcs

Ans.

TCS is a multinational IT services and consulting company headquartered in India.

  • TCS stands for Tata Consultancy Services

  • It is one of the largest IT services companies in the world

  • TCS offers services in areas such as consulting, software development, and business process outsourcing

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

Q9. Form code with password encryption

Ans.

Use hashing algorithms like bcrypt to securely encrypt passwords in code.

  • Use a secure hashing algorithm like bcrypt to encrypt passwords in code.

  • Never store passwords in plain text.

  • Salt the passwords before hashing for added security.

  • Implement proper password storage and validation techniques.

  • Example: bcrypt.hashSync('password', 10)

Add your answer

Q10. What is mutable and immutable

Ans.

Mutable and immutable refer to the ability to change or not change an object's state.

  • Mutable objects can be modified after creation, while immutable objects cannot be changed.

  • Examples of mutable objects include lists and dictionaries in Python.

  • Examples of immutable objects include strings and tuples in Python.

Add your answer

Q11. largest sum of the sub array

Ans.

Find the largest sum of a subarray within an array of strings.

  • Iterate through the array and keep track of the sum of each subarray.

  • Update the maximum sum as you go through the array.

  • Return the largest sum found.

Add your answer

Q12. Scope of beans in spring boot

Ans.

Beans in Spring Boot provide a way to manage and configure application components.

  • Beans are managed by the Spring IoC container

  • They are created and initialized by the container

  • Beans can be defined using annotations or XML configuration

  • They can be scoped as singleton, prototype, request, session, etc.

  • Beans can be autowired to inject dependencies

  • Example: @Component annotation creates a bean

  • Example: @Autowired annotation injects a bean

Add your answer

Q13. What is spring boot

Ans.

Spring Boot is a framework that simplifies the development of Java applications by providing a pre-configured environment.

  • Spring Boot is built on top of the Spring framework and follows the convention over configuration principle.

  • It allows developers to create stand-alone, production-grade Spring-based applications with minimal configuration.

  • Spring Boot provides a wide range of features like auto-configuration, embedded servers, and dependency management.

  • It promotes the use o...read more

Add your answer

Q14. write code for bubble sort

Ans.

Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.

  • Start by comparing the first two elements of the array and swap them if necessary.

  • Continue comparing adjacent elements and swapping them until the array is sorted.

  • Repeat this process for each element in the array until no more swaps are needed.

Add your answer

Q15. Function overloading example

Ans.

Function overloading allows multiple functions with the same name but different parameters.

  • Function overloading is a feature in many programming languages that allows multiple functions with the same name but different parameters.

  • Example: int add(int a, int b) and float add(float a, float b) are two overloaded functions with the same name 'add' but different parameter types.

  • Example: void print(int num) and void print(string text) are two overloaded functions with the same nam...read more

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

Interview Process at LLadro

based on 21 interviews in the last 1 year
3 Interview rounds
Aptitude Test Round
Technical Round 1
Technical Round 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
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