Add office photos
GlobalLogic logo
Engaged Employer

GlobalLogic

Verified
3.6
based on 4.5k Reviews
Video summary
Filter interviews by
Senior Software Developer
Clear (1)

GlobalLogic Senior Software Developer Interview Questions and Answers

Updated 21 Mar 2024
Q1. How do you delete duplicates from a table in SQL Server?
Ans.

Use a common table expression (CTE) with ROW_NUMBER() function to delete duplicates from a table in SQL Server.

  • Create a CTE with ROW_NUMBER() function to assign a unique row number to each row based on the duplicate column(s)

  • Use the DELETE statement with the CTE to delete rows where the row number is greater than 1

Add your answer
right arrow
Q2. Can you explain the ETL process in a data warehouse?
Ans.

ETL process involves extracting data from various sources, transforming it to fit the data warehouse schema, and loading it into the warehouse.

  • Extract: Data is extracted from different sources such as databases, files, APIs, etc.

  • Transform: Data is cleaned, filtered, aggregated, and transformed to match the data warehouse schema.

  • Load: Transformed data is loaded into the data warehouse for analysis and reporting.

  • Example: Extracting sales data from a CRM system, transforming it ...read more

Add your answer
right arrow
Q3. What is the difference between a Fact Table and a Dimension Table in a Data Warehouse?
Ans.

Fact Table contains quantitative data and measures, while Dimension Table contains descriptive attributes.

  • Fact Table contains numerical data that can be aggregated, such as sales revenue or quantity sold

  • Dimension Table contains descriptive attributes for analysis, such as product name or customer details

  • Fact Table typically has a many-to-one relationship with Dimension Table

  • Fact Table is usually normalized, while Dimension Table is denormalized for faster query performance

Add your answer
right arrow
Q4. What is the difference between INNER JOIN and OUTER JOIN in SQL?
Ans.

INNER JOIN returns rows when there is at least one match in both tables, while OUTER JOIN returns all rows from both tables.

  • INNER JOIN only returns rows that have matching values in both tables

  • OUTER JOIN returns all rows from both tables, filling in NULLs for unmatched rows

  • Types of OUTER JOIN include LEFT JOIN, RIGHT JOIN, and FULL JOIN

  • Example: SELECT * FROM table1 INNER JOIN table2 ON table1.id = table2.id

  • Example: SELECT * FROM table1 LEFT JOIN table2 ON table1.id = table2.i...read more

Add your answer
right arrow
Discover GlobalLogic interview dos and don'ts from real experiences
Q5. What do you mean by a degenerate dimension?
Ans.

A degenerate dimension is a dimension that consists of only one attribute or column.

  • It is typically used when a dimension table has only one column and no other attributes.

  • It is often denormalized and included directly in the fact table.

  • Example: a date dimension with only a date column can be considered a degenerate dimension.

Add your answer
right arrow
Q6. What is the difference between OLAP and OLTP?
Ans.

OLAP is used for analyzing historical data for decision-making, while OLTP is used for managing real-time transactional data.

  • OLAP stands for Online Analytical Processing, used for complex queries and data analysis.

  • OLTP stands for Online Transaction Processing, used for managing real-time transactional data.

  • OLAP databases are optimized for read-heavy workloads, while OLTP databases are optimized for write-heavy workloads.

  • OLAP databases typically have denormalized data structur...read more

Add your answer
right arrow

Q7. What is CTE ? And Write a Sample Query ?

Ans.

CTE stands for Common Table Expressions, used to create temporary result sets within a SQL query.

  • CTE is defined using the WITH keyword in SQL.

  • It helps in simplifying complex queries by breaking them into smaller, more manageable parts.

  • CTEs can reference themselves recursively, making them useful for hierarchical data.

  • Example: WITH cte AS (SELECT * FROM table_name) SELECT * FROM cte;

Add your answer
right arrow

Q8. Print Numbers between 1 to 20 , even/odd numbers

Ans.

Print even and odd numbers between 1 to 20.

  • Iterate from 1 to 20 and check if the number is even or odd.

  • Use a conditional statement to determine if the number is even or odd.

  • Print the number along with its type (even or odd).

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 GlobalLogic Senior Software Developer

based on 5 interviews
2 Interview rounds
Technical Round - 1
Technical Round - 2
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Developer Interview Questions from Similar Companies

View all
Recently Viewed
SALARIES
Sykes Business Services Of India
SALARIES
Firstsource Solutions
SALARIES
Firstsource Solutions
SALARIES
Firstsource Solutions
SALARIES
GlobalLogic
SALARIES
Firstsource Solutions
SALARIES
Firstsource Solutions
SALARIES
Firstsource Solutions
SALARIES
GlobalLogic
SALARIES
Firstsource Solutions
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