Add office photos
Engaged Employer

Coditas Technologies

3.1
based on 216 Reviews
Filter interviews by

Sedemac Mechatronics Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. 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

Q2. 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

Q3. 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

Q4. - 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
Discover Sedemac Mechatronics interview dos and don'ts from real experiences

Q5. 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

Q6. 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

Q7. 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

Q8. 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

Q9. 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
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

Top Software Developer Intern Interview Questions from Similar Companies

4.0
 • 58 Interview Questions
3.6
 • 19 Interview Questions
3.7
 • 12 Interview Questions
3.8
 • 12 Interview Questions
3.9
 • 12 Interview Questions
3.8
 • 10 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
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