Add office photos
Engaged Employer

Sankey Solutions

3.7
based on 142 Reviews
Filter interviews by

Clandica Interview Questions and Answers

Updated 12 Dec 2024

Q1. What are the Aggregate functions in sql

Ans.

Aggregate functions in SQL are used to perform calculations on a set of values and return a single value.

  • Common aggregate functions include SUM, AVG, COUNT, MAX, and MIN.

  • SUM calculates the total of a set of values.

  • AVG calculates the average of a set of values.

  • COUNT counts the number of values in a set.

  • MAX returns the highest value in a set.

  • MIN returns the lowest value in a set.

View 1 answer

Q2. Write your name 100 times without using any loop.

Ans.

Answering the question of writing name 100 times without using any loop.

  • Write your name 100 times manually

  • Use copy-paste feature to write your name multiple times

  • Use a script or program to generate your name 100 times

View 3 more answers

Q3. What is oops what are pillars of oops what is list and tuples

Ans.

OOPs stands for Object-Oriented Programming. Pillars of OOPs are Inheritance, Encapsulation, Abstraction, and Polymorphism. Lists and tuples are data structures in Python.

  • OOPs stands for Object-Oriented Programming

  • Pillars of OOPs are Inheritance, Encapsulation, Abstraction, and Polymorphism

  • Lists and tuples are data structures in Python

  • Lists are mutable while tuples are immutable

Add your answer

Q4. Write a recursion program.

Ans.

A recursion program is a function that calls itself until a base case is reached.

  • Identify the base case and write the code to handle it

  • Write the recursive case that calls the function with a modified input

  • Ensure the recursive case moves towards the base case

  • Example: Factorial function: function factorial(n) { if (n === 0) { return 1; } else { return n * factorial(n-1); } }

  • Example: Fibonacci sequence: function fibonacci(n) { if (n <= 1) { return n; } else { return fibonacci(n-...read more

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

Q5. Remove duplicate from array

Ans.

Remove duplicates from an array

  • Use a loop to iterate through the array

  • Use a hash table to keep track of unique values

  • If a value is already in the hash table, remove it from the array

Add your answer

Q6. Pillars of the python

Ans.

The pillars of Python refer to the core principles that guide the design and development of the Python programming language.

  • Readability counts: Python emphasizes code readability and simplicity, making it easier for developers to write and maintain code.

  • Explicit is better than implicit: Python encourages clear and explicit code over ambiguity and complexity.

  • Simple is better than complex: Python promotes simplicity and straightforward solutions to problems.

  • There should be one-...read more

Add your answer

Q7. Find 2nd highest salary

Ans.

To find the 2nd highest salary, use a subquery to select the max salary that is not the highest.

  • Use a subquery to find the maximum salary that is not the highest

  • Select the maximum salary from the table where the salary is less than the highest salary

  • Order the results in descending order and limit the result to the second row

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
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