Premium Employer

Tietoevry

4.3
based on 1.2k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

Cogenthub Interview Questions and Answers

Updated 23 Aug 2024
Popular Designations

Q1. Hashmap hashtabe concurrent hashmap which to use and why in which scenario

Ans.

ConcurrentHashMap is preferred for thread-safe operations, while HashMap and Hashtable are not.

  • HashMap is not thread-safe and should not be used in a multi-threaded environment.

  • Hashtable is thread-safe but has poor performance due to its synchronized nature.

  • ConcurrentHashMap is thread-safe and has better performance than Hashtable due to its lock-free approach.

  • Use ConcurrentHashMap when multiple threads are accessing the map concurrently.

  • Use HashMap when only a single thread ...read more

Add your answer

Q2. Who calls the main method in java

Ans.

The Java Virtual Machine (JVM) calls the main method in Java.

  • The main method is the entry point of a Java program.

  • It is declared as public static void main(String[] args)

  • The JVM searches for the main method in the class specified in the command line arguments.

  • If the main method is not found, the JVM throws a NoSuchMethodError.

Add your answer

Q3. Step to create rest api and rest client

Ans.

To create a REST API, define endpoints and HTTP methods. To create a REST client, use a library or make HTTP requests.

  • Define endpoints and HTTP methods for the API

  • Implement the API using a framework or library

  • Test the API using tools like Postman

  • To create a REST client, use a library like Retrofit or make HTTP requests using a library like OkHttp

  • Parse the response from the API using a library like Gson

Add your answer

Q4. Project for final year

Ans.

Developed a web-based project management system for a construction company.

  • Used PHP and MySQL for backend development.

  • Implemented a responsive UI using Bootstrap and jQuery.

  • Incorporated features such as task assignment, progress tracking, and document management.

  • Conducted user testing and made improvements based on feedback.

  • Completed the project within the given timeline and budget.

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

Q5. Make string palindrome

Ans.

To make a string palindrome, reverse the string and append it to the original string.

  • Reverse the input string

  • Append the reversed string to the original string

Add your answer

Q6. Db queries of mongoDB

Ans.

MongoDB queries are used to retrieve data from a MongoDB database.

  • Use find() method to retrieve documents from a collection

  • Use findOne() method to retrieve a single document

  • Use sort() method to sort the results

  • Use limit() method to limit the number of results returned

Add your answer

More about working at Tietoevry

Top Rated Company for Women - 2024
Top Rated IT/ITES Company - 2024
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Cogenthub

based on 8 interviews
3 Interview rounds
Technical Round
HR Round
Personal Interview1 Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.3
 • 35 Interview Questions
3.7
 • 34 Interview Questions
3.7
 • 24 Interview Questions
3.8
 • 13 Interview Questions
4.2
 • 11 Interview Questions
View all
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