Find Interview Questions for Top Companies
Sosaley technologies Interview Questions and Answers
Ques:- Find 2nd min element from given array
Asked In :- Roku, sosaley technologies,
Ques:- How do you check the file existence and their types in python ?
Right Answer:
You can check file existence and their types in Python using the `os` module. Here's how:

```python
import os

file_path = 'path/to/your/file'

# Check if the file exists
if os.path.exists(file_path):
print("File exists.")

# Check if it's a file or directory
if os.path.isfile(file_path):
print("It's a file.")
elif os.path.isdir(file_path):
print("It's a directory.")
else:
print("File does not exist.")
```
Ques:- What is Extended Stored Procedure in SQL Server 2000?
Right Answer:
An Extended Stored Procedure in SQL Server 2000 is a special type of stored procedure that allows you to execute external programs or functions written in languages like C or C++. It enables SQL Server to interact with the operating system and perform tasks that are not possible with standard T-SQL.
Ques:- In which order do you perform an upgrade to SQL Server 2005 for replicated databases?
Right Answer:
1. Remove replication from the databases.
2. Upgrade the SQL Server instance to SQL Server 2005.
3. Reconfigure replication for the databases.
Ques:- What is data base system? What is dbms? Give the difference between that and give the information about data base catalog?
Right Answer:
A database system is a collection of software and hardware components that manage and store data, allowing users to create, retrieve, update, and delete data efficiently. A Database Management System (DBMS) is software that facilitates the creation, manipulation, and administration of databases.

**Differences:**
- A database system includes the DBMS along with the data itself and the hardware, while a DBMS is just the software component.
- The database system encompasses the entire environment for data management, whereas the DBMS focuses on the management of the data.

A database catalog is a set of metadata that describes the structure of the database, including information about tables, columns, data types, constraints, and relationships between tables. It acts as a reference for the DBMS to manage the data effectively.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

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