Add office photos
Employer?
Claim Account for FREE

Vendekin Technologies

3.4
based on 14 Reviews
Filter interviews by

Tregona It Consulting Interview Questions and Answers

Updated 28 Mar 2024

Q1. What is OOPS? Write a program for palindrome

Ans.

OOPS stands for Object-Oriented Programming System. It is a programming paradigm based on the concept of objects.

  • OOPS is based on four main concepts: encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation is the process of hiding the implementation details of an object from the outside world.

  • Inheritance allows a class to inherit properties and methods from another class.

  • Polymorphism allows objects of different classes to be treated as if they were of the same...read more

Add your answer

Q2. join queries of mysql databases

Ans.

Join queries in MySQL databases allow you to combine data from multiple tables based on a related column.

  • Use JOIN keyword to combine data from two or more tables based on a related column

  • Types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN

  • Specify the columns to be retrieved using SELECT statement

Add your answer

Q3. find missing ele in array

Ans.

Find missing element in array of strings

  • Iterate through the array and check for missing elements

  • Use a hash map to keep track of elements present in the array

  • Compare the elements in the array with a reference array to find the missing element

Add your answer

Q4. Write program to reverse a list

Ans.

Program to reverse a list

  • Create an empty list to store the reversed elements

  • Iterate through the original list in reverse order

  • Append each element to the new list

  • Return the new list

Add your answer
Discover Tregona It Consulting interview dos and don'ts from real experiences

Q5. 1.swap two number without using third variable

Ans.

Swap two numbers without using a third variable in Java

  • Use XOR operation to swap two numbers without using a third variable

  • Example: int a = 5, b = 10; a = a ^ b; b = a ^ b; a = a ^ b; // Now a = 10, b = 5

Add your answer

Q6. Javascript map and forEach difference

Ans.

map creates a new array with the results of calling a provided function on every element, forEach executes a provided function once for each array element.

  • map returns a new array with the results of the provided function, forEach does not return anything

  • map does not modify the original array, forEach can modify the original array

  • Example: const numbers = [1, 2, 3]; numbers.map(num => num * 2); // returns [2, 4, 6]; numbers.forEach(num => console.log(num)); // prints 1, 2, 3

Add your answer

Q7. Fibonacci series on java

Ans.

Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.

  • Start with two initial numbers, usually 0 and 1

  • Add the previous two numbers to get the next number in the sequence

  • Repeat this process to generate the Fibonacci series

Add your answer

Q8. Remove duplicate in array

Ans.

Use a Set to remove duplicates from an array of strings.

  • Create a Set to store unique elements.

  • Iterate through the array and add each element to the Set.

  • Convert the Set back to an array to get the array without duplicates.

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

Interview Process at Tregona It Consulting

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

Top Interview Questions from Similar Companies

3.9
 • 537 Interview Questions
3.3
 • 414 Interview Questions
4.2
 • 370 Interview Questions
4.1
 • 274 Interview Questions
3.9
 • 168 Interview Questions
3.7
 • 142 Interview Questions
View all
Top Vendekin 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
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