TCS
Tmte Metal Tech Interview Questions and Answers
Q1. Which is better ? Star schema or snowflake schema
Both have their own advantages and disadvantages depending on the use case.
Star schema is simpler and easier to understand, but may not be suitable for complex data relationships.
Snowflake schema is more normalized and can handle complex data relationships, but can be more difficult to understand and maintain.
The choice between the two depends on the specific requirements of the project and the data being analyzed.
For example, a data warehouse for a retail company may benefit...read more
Q2. Datatype of selected columns should remain same or not for minus query?
Datatype consistency in minus query
Datatype of selected columns should remain same for minus query
Mismatch can cause errors or unexpected results
Q3. Define Opps concept you have implemented in your framework
Implemented Opps concept in framework for efficient test automation
Used Object-Oriented Programming principles to create reusable test components
Utilized Page Object Model design pattern to separate test logic from page elements
Implemented Inheritance and Polymorphism for code reusability and maintainability
Q4. Database data warehouse difference
Database stores data for applications, data warehouse stores data for analysis.
Database is used for transactional processing, data warehouse is used for analytical processing.
Database stores current data, data warehouse stores historical data.
Database is optimized for read and write operations, data warehouse is optimized for read operations.
Examples of databases include MySQL, Oracle, and SQL Server. Examples of data warehouses include Amazon Redshift and Google BigQuery.
Q5. Cast function - to change datatype
Cast function is used to change the datatype of a value or expression in SQL.
Syntax: CAST(expression AS datatype)
Example: CAST('123' AS INT) will convert the string '123' to integer datatype
Supported datatypes: INT, FLOAT, DECIMAL, CHAR, VARCHAR, DATE, TIME, etc.
Q6. Pyramid programm in c language
Pyramid program in C language
Use nested loops to print the pyramid pattern
The number of rows in the pyramid can be taken as input from the user
Example: for a pyramid with 5 rows, the pattern would be: * *** ***** ******* *********
Q7. Views tables difference
Views tables difference
Views are virtual tables that display data from one or more tables
Views do not store data, whereas tables do
Views can be used to restrict access to certain columns or rows
Tables can be modified directly, whereas views cannot
More about working at TCS
Top Test Analyst Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month