Find Interview Questions for Top Companies
Vanenburg software Interview Questions and Answers
Ques:- Sql queries on Join, C, Data Structures (Mostly linked list, stack, queues), Basics of SDLC and Testing.
Right Answer:
To answer SQL queries on joins, you can use the following examples:

1. **Inner Join**:
```sql
SELECT a.column1, b.column2
FROM tableA a
INNER JOIN tableB b ON a.common_column = b.common_column;
```

2. **Left Join**:
```sql
SELECT a.column1, b.column2
FROM tableA a
LEFT JOIN tableB b ON a.common_column = b.common_column;
```

3. **Right Join**:
```sql
SELECT a.column1, b.column2
FROM tableA a
RIGHT JOIN tableB b ON a.common_column = b.common_column;
```

4. **Full Outer Join**:
```sql
SELECT a.column1, b.column2
FROM tableA a
FULL OUTER JOIN tableB b ON a.common_column = b.common_column;
``
Ques:- What is a VIEW? How to get script for a view?
Right Answer:
A VIEW is a virtual table in SQL that is based on the result of a SELECT query. It does not store data itself but provides a way to present data from one or more tables in a specific format.

To get the script for a view in SQL Server, you can use the following command:

```sql
EXEC sp_helptext 'view_name';
```

Replace `view_name` with the name of the view you want to script.
Ques:- What is .gitignore and why is it used?
Right Answer:

.gitignore is a file used in Git to specify which files or directories should be ignored by version control. It prevents certain files, like temporary files or sensitive information, from being tracked and included in commits.

Ques:- What is Git and why is it used
Right Answer:

Git is a distributed version control system used to track changes in source code during software development. It allows multiple developers to collaborate, manage code versions, and maintain a history of changes efficiently.

Ques:- What is git cherry-pick and when would you use it?
Right Answer:

Git cherry-pick is a command that allows you to apply the changes from a specific commit in one branch to another branch. You would use it when you want to selectively apply certain commits without merging the entire branch, such as when you need a bug fix or feature from another branch without bringing in all other changes.

Ques:- How do you undo a commit that hasn’t been pushed yet?
Right Answer:

You can undo a commit that hasn’t been pushed yet by using the command `git reset HEAD~1`. This will remove the last commit while keeping your changes in the working directory.

Ques:- How do Git internals work (objects, refs, trees, blobs)?
Right Answer:

Git internals consist of four main components:

1. **Objects**: Git stores data as objects, which include blobs, trees, commits, and tags. Each object is identified by a SHA-1 hash.

2. **Blobs**: These are binary large objects that store the content of files. Each file's content is stored as a blob.

3. **Trees**: Trees represent directories and contain references to blobs (files) and other trees (subdirectories). They maintain the structure of the repository.

4. **Refs**: Refs are pointers to commits. They include branches and tags, allowing Git to track different versions of the project.

Together, these components enable Git to efficiently manage version control and track changes in a repository.

AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users