Add office photos
Coditas Technologies logo
Premium Employer

Coditas Technologies

Verified
3.1
based on 229 Reviews
Filter interviews by
Designation
Fresher
Experienced
Clear (1)

20+ Coditas Technologies Interview Questions and Answers for Freshers

Updated 28 Jan 2025
Popular Designations

Q1. 2. You have two gallons of capacity 12 liters and 5 liters. How can you pour exactly 9liters of water into 12 liters gallon.

Ans.

To pour exactly 9 liters of water into a 12-liter gallon using 5 and 3-liter gallons.

  • Fill the 5-liter gallon and pour it into the 12-liter gallon.

  • Fill the 5-liter gallon again and pour it into the 12-liter gallon until it is full, leaving 1 liter in the 5-liter gallon.

  • Empty the 12-liter gallon and pour the remaining 1 liter from the 5-liter gallon into it.

  • Fill the 5-liter gallon again and pour it into the 12-liter gallon to get exactly 9 liters.

View 1 answer
right arrow

Q2. 1. In how many ways you can measure a 3 storeyed building.

Ans.

There are multiple ways to measure a 3 storeyed building, including using a measuring tape, laser distance meter, or counting the number of steps.

  • Using a measuring tape to measure the height of each storey and adding them up.

  • Using a laser distance meter to calculate the total height of the building.

  • Counting the number of steps from the ground floor to the top floor and multiplying by the height of each step.

  • Estimating the height based on the standard height of a storey in the...read more

Add your answer
right arrow

Q3. there was alphanumeric characters and we have to output only the number from that string Input - "wih562idjedk42ndej56" Output - 5624256

Ans.

Extract numbers from a string of alphanumeric characters.

  • Iterate through each character in the string and check if it is a number.

  • Build a new string with only the numbers found in the original string.

  • Return the final string containing only the numbers.

Add your answer
right arrow

Q4. Four pillars of OOPS with real world examples

Ans.

Encapsulation, Inheritance, Polymorphism, Abstraction are the four pillars of OOPS

  • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: Class Car with properties like make, model, and methods like start(), stop().

  • Inheritance: Ability of a class to inherit properties and behavior from another class. Example: Class SUV inheriting from Class Car.

  • Polymorphism: Ability to present the same interface for different data types. Example: Method ...read more

Add your answer
right arrow
Discover Coditas Technologies interview dos and don'ts from real experiences

Q5. How python differs from other languages

Ans.

Python is a high-level, interpreted programming language known for its simplicity and readability.

  • Python uses indentation to define code blocks, making it easier to read and understand.

  • Python has a large standard library with built-in functions and modules for various tasks.

  • Python supports multiple programming paradigms, including procedural, object-oriented, and functional programming.

  • Python is dynamically typed, meaning variable types are determined at runtime.

  • Python is pop...read more

Add your answer
right arrow

Q6. Write a code to get unique elements of an array

Ans.

Code to get unique elements of an array of strings

  • Create a Set to store unique elements

  • Iterate through the array and add elements to the Set

  • Convert the Set back to an array to get unique elements

Add your answer
right arrow
Are these interview questions helpful?

Q7. Suppose you want to add the link to your Linkedin account in a website, and you have to do it by clicking on the logo of linkedin in the website, then how can you do it? Which HTML tag is used to do it?

Ans.

To add a link to your Linkedin account in a website by clicking on the logo, use the <a> tag with the href attribute set to your Linkedin profile URL.

  • Use the <a> tag with the href attribute set to your Linkedin profile URL

  • Insert the Linkedin logo image inside the <a> tag as the clickable element

  • Example: <a href='https://www.linkedin.com/in/yourprofile'><img src='linkedin_logo.png' alt='Linkedin'></a>

Add your answer
right arrow

Q8. What is OOPS concept

Ans.

OOPS (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.

  • OOPS focuses on creating objects that interact with each other to solve a problem

  • It involves concepts like classes, objects, inheritance, polymorphism, and encapsulation

  • Example: Inheritance allows a class to inherit properties and behavior from another class

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. if you are given a task and you have to decide which type of database will be best for this task, then how will you decide that?

Ans.

The choice of database depends on factors like data structure, scalability, performance, and query requirements.

  • Consider the data structure and relationships between entities.

  • Evaluate the scalability requirements of the task.

  • Analyze the performance needs, including read and write operations.

  • Assess the query requirements, such as complex joins or aggregations.

  • Examples: relational databases for structured data, NoSQL for unstructured or rapidly changing data.

View 1 answer
right arrow

Q10. Given a string = "as145egs14ghs2ghe7896", add the numbers present in the string, the consecutive numbers should be taken as a complete one number. i.e. you have to print the result of 145+14+2+7896 = ?

Ans.

The task is to add the consecutive numbers present in a given string.

  • Iterate through the string character by character

  • Check if the current character is a digit

  • If it is a digit, continue iterating until a non-digit character is encountered

  • Convert the consecutive digits into a number and add it to the sum

  • Repeat the process until all characters are processed

  • Return the sum

Add your answer
right arrow

Q11. Data base management features

Ans.

Database management features include data storage, retrieval, indexing, and security.

  • Data storage: ability to store large amounts of data efficiently

  • Data retrieval: ability to quickly access and retrieve specific data

  • Indexing: optimizing data retrieval by creating indexes on columns

  • Security: ensuring data is protected from unauthorized access

Add your answer
right arrow

Q12. - What is JDBC in java? - What is JVM and the use of it? - We write "public static void main" in java.... will it work if we write "static public void main"? If yes, then why, what is the reason that it works?

Ans.

JDBC is a Java API for connecting and executing queries on a database.

  • JDBC stands for Java Database Connectivity.

  • It provides a set of classes and interfaces to interact with databases.

  • JDBC allows developers to write database-independent code.

  • It supports various database operations like connecting, querying, updating, and deleting data.

  • JDBC drivers are used to establish a connection between Java application and database.

  • Example: Class.forName("com.mysql.jdbc.Driver");

Add your answer
right arrow

Q13. Sorting An array

Ans.

Sorting an array of strings

  • Use a sorting algorithm like quicksort or mergesort

  • Consider the length of the strings for comparison

  • Use a comparator function to define custom sorting criteria

Add your answer
right arrow

Q14. One major difference between OOPs concept of C++ and OOPs concept of java

Ans.

C++ supports multiple inheritance while Java supports single inheritance.

  • C++ allows a class to inherit from multiple classes, while Java only allows a class to inherit from a single class.

  • In C++, a class can have multiple parent classes, resulting in a complex class hierarchy.

  • Java enforces single inheritance to avoid the diamond problem and maintain simplicity.

  • For example, in C++, a class can inherit from both a 'Vehicle' class and a 'Animal' class, while in Java, it can only...read more

Add your answer
right arrow

Q15. Difference between SQL based database and NoSQL based databases

Ans.

SQL databases are structured and use a fixed schema, while NoSQL databases are unstructured and have a flexible schema.

  • SQL databases use structured query language for defining and manipulating the data.

  • NoSQL databases use various data models like key-value, document, columnar, or graph.

  • SQL databases are suitable for complex queries and transactions.

  • NoSQL databases are horizontally scalable and provide high performance for large datasets.

  • SQL databases ensure data integrity wit...read more

Add your answer
right arrow

Q16. Examples of relational and non-relational databases

Ans.

Relational databases store data in tables with predefined relationships. Non-relational databases store data in flexible, schema-less formats.

  • Relational databases: MySQL, Oracle, SQL Server

  • Non-relational databases: MongoDB, Cassandra, Redis

  • Relational databases use structured query language (SQL) for data manipulation

  • Non-relational databases provide high scalability and flexibility

  • Relational databases are suitable for complex, structured data

  • Non-relational databases are suitab...read more

Add your answer
right arrow

Q17. What is OOP? Explain its five pillars.

Ans.

OOP stands for Object-Oriented Programming. Its five pillars are encapsulation, inheritance, polymorphism, abstraction, and composition.

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

  • Inheritance: Creating new classes by inheriting attributes and methods from existing classes.

  • Polymorphism: Objects of different classes can be treated as objects of a common superclass.

  • Abstraction: Hiding complex implementation details and showing on...read more

Add your answer
right arrow

Q18. Difference between div and span

Ans.

div is a block-level element while span is an inline element in HTML.

  • div is used to group block-level elements and create sections on a webpage.

  • span is used to style inline elements or group text within a block-level element.

  • div elements create a line break before and after the element, while span does not.

Add your answer
right arrow

Q19. SQL - Select query syntax and types of join

Ans.

SQL select query syntax and types of join

  • SQL SELECT query syntax: SELECT column1, column2 FROM table_name WHERE condition

  • Types of joins: INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN

  • Example: SELECT orders.order_id, customers.customer_name FROM orders INNER JOIN customers ON orders.customer_id = customers.customer_id

Add your answer
right arrow

Q20. Types of databases

Ans.

Types of databases include relational, NoSQL, object-oriented, and graph databases.

  • Relational databases store data in tables with predefined schemas, using SQL for querying (e.g. MySQL, Oracle)

  • NoSQL databases are schema-less and provide flexible data models (e.g. MongoDB, Cassandra)

  • Object-oriented databases store objects as they are, with support for inheritance and encapsulation (e.g. db4o)

  • Graph databases use nodes and edges to represent relationships between data (e.g. Neo4...read more

View 1 answer
right arrow

Q21. what is polymorphish

Ans.

Polymorphish is a term used to describe the ability of a programming language to allow different data types to be used interchangeably.

  • Polymorphish allows for flexibility in coding by allowing variables to hold different types of data.

  • It is a key feature in object-oriented programming languages like Java and C++.

  • For example, a function can accept different types of parameters and return different types of values based on the input.

Add your answer
right arrow

Q22. what is overriding

Ans.

Overriding is a concept in object-oriented programming where a subclass provides a specific implementation of a method that is already provided by its superclass.

  • Overriding allows a subclass to provide a specific implementation of a method that is already defined in its superclass.

  • The method in the subclass must have the same name, return type, and parameters as the method in the superclass to override it.

  • Example: class Animal { void makeSound() { System.out.println('Animal s...read more

Add your answer
right arrow

Q23. What is inherentance?

Ans.

Inheritance is a concept in object-oriented programming where a class inherits attributes and methods from another class.

  • Allows a class to inherit properties and behaviors from another class

  • Promotes code reusability and reduces redundancy

  • Creates a parent-child relationship between classes

  • Derived class can access public and protected members of the base class

  • Example: Class 'Car' can inherit from class 'Vehicle' to reuse common attributes like 'color' and 'speed'

Add your answer
right arrow

Q24. Duplicate in list

Ans.

Find duplicates in a list of elements.

  • Iterate through the list and keep track of elements seen so far

  • If an element is already in the seen elements, it is a duplicate

  • Use a hash set to efficiently check for duplicates

Add your answer
right arrow

Q25. Anagram in list

Ans.

Check if any two strings in the list are anagrams of each other

  • Iterate through the list and for each string, sort the characters and check if it already exists in a hashmap

  • If it exists, then the current string is an anagram of the existing string

  • Return true if anagrams are found, false otherwise

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

Interview Process at Coditas Technologies for Freshers

based on 19 interviews
Interview experience
3.9
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

Mahindra & Mahindra Logo
4.1
 • 403 Interview Questions
Walmart Logo
3.7
 • 305 Interview Questions
WNS Logo
3.4
 • 283 Interview Questions
Thermax Limited Logo
4.1
 • 222 Interview Questions
Dell Logo
4.0
 • 199 Interview Questions
Movate Logo
3.3
 • 151 Interview Questions
View all
Recently Viewed
SALARIES
Coditas Technologies
INTERVIEWS
Coditas Technologies
No Interviews
INTERVIEWS
Coditas Technologies
No Interviews
INTERVIEWS
Coditas Technologies
No Interviews
INTERVIEWS
Zopsmart Technology
No Interviews
LIST OF COMPANIES
NexWave Talent Management Solutions
Locations
SALARIES
Coditas Technologies
SALARIES
Waaree Energies
SALARIES
Infinite Computer Solutions
SALARIES
Coditas Technologies
Top Coditas Technologies Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
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