
Ques:- What is the difference between url.host and url.hostname?
Asked In :-
Angular Minds, Intelizign, Cloud Analogy, Slk Software Pvt Ltd, kaizen technologies, iopex technologies, moon active, edvenswa tech,
Right Answer:
`url.host` returns the hostname along with the port number (if specified), while `url.hostname` returns only the hostname without the port number.
`url.host` returns the hostname along with the port number (if specified), while `url.hostname` returns only the hostname without the port number.
Ques:- What is the free pool?
Ques:- How can connection with oracle10g with java
Ques:- There is a 12 km road and a contractor who is in-charge of repairing it. Contractor updates you about the work which is done in patches. Like “Road between 3.2 km to 7.9 km repaired ”, “Road between 1.21 km to 3.2 km repaired”. You have a manager who enquires about the longest continuous patch so far. It was a long discussion and I gave solution in O(nlogn) where n is the number of updates by the contractor
Ques:- where can I get the study material for python
Asked In :-
Estuate, GrayMatter Software Services, Carbon Black, Sanfoundry, Netlink Software, mediatek, sil international, valuemomentum, adyen, aryaka networks,
Comments
tutorialpoint.com is the best place for beginners.
later you can search and download free books online.
Ques:- Explain inheritance in python with an example ?
Asked In :-
Girmiti Software, Verticurl Marketing, Code Genesis, Harbinger, Renault Nissan, iauro systems, Thryve Digital, NAVYA, Microchip, Cradlepoint,
Right Answer:
Inheritance in Python allows a class (child class) to inherit attributes and methods from another class (parent class). This promotes code reuse and organization.
Example:
```python
class Animal: # Parent class
def speak(self):
return "Animal speaks"
class Dog(Animal): # Child class
def bark(self):
return "Dog barks"
# Usage
dog = Dog()
print(dog.speak()) # Output: Animal speaks
print(dog.bark()) # Output: Dog barks
```
Inheritance in Python allows a class (child class) to inherit attributes and methods from another class (parent class). This promotes code reuse and organization.
Example:
```python
class Animal: # Parent class
def speak(self):
return "Animal speaks"
class Dog(Animal): # Child class
def bark(self):
return "Dog barks"
# Usage
dog = Dog()
print(dog.speak()) # Output: Animal speaks
print(dog.bark()) # Output: Dog barks
```
Ques:- Why should we close files?
Asked In :-
The Unified Cloud, EpiSource, Technocrats, TechnoGen, Centillion Networks, TekFriday Processing Solutions, skyscanner, eagleview, continental automotive systems, kritikal solutions,
Ques:- How do you set a global variable in a function?
Asked In :-
Grapelime Infotech, Techversant Infotech, Motherson Sumi Infotech Design, AXESTRACK SOFTWARE SOLUTIONS, Bristlecone India, Zessta Software Services, Thorogood, J K Technosoft, Wingify Software, Pennant Technologies,
Ques:- How to connect mongodb in Django ?
Asked In :-
CareerNet, Nomus Comm-Systems, Trak Global, Montecarlo, Symphony Technologies, Blue Flame Labs, NEC Technologies India, Discovery, Inc, temenos, cdac,
Right Answer:
To connect MongoDB in Django, you can use the `djongo` package or `mongoengine`. Here’s how to do it with `djongo`:
1. Install `djongo`:
```bash
pip install djongo
```
2. Update your `settings.py` to configure the database:
```python
DATABASES = {
'default': {
'ENGINE': 'djongo',
'NAME': 'your_database_name',
'ENFORCE_SCHEMA': False,
'CLIENT': {
'host': 'your_mongodb_uri',
}
}
}
```
3. Use Django models as usual to interact with MongoDB.
For `mongoengine`, follow these steps:
1. Install `mongoengine`:
```bash
pip install mongoengine
```
2. Connect to MongoDB in your Django app:
```python
from mongoengine import connect
connect('
To connect MongoDB in Django, you can use the `djongo` package or `mongoengine`. Here’s how to do it with `djongo`:
1. Install `djongo`:
```bash
pip install djongo
```
2. Update your `settings.py` to configure the database:
```python
DATABASES = {
'default': {
'ENGINE': 'djongo',
'NAME': 'your_database_name',
'ENFORCE_SCHEMA': False,
'CLIENT': {
'host': 'your_mongodb_uri',
}
}
}
```
3. Use Django models as usual to interact with MongoDB.
For `mongoengine`, follow these steps:
1. Install `mongoengine`:
```bash
pip install mongoengine
```
2. Connect to MongoDB in your Django app:
```python
from mongoengine import connect
connect('
Ques:- What is clustering in data analysis and how is it different from classification
Asked In :-
Medvarsity Online, AnAr Solutions, MattsenKumar Services, Protege Solutions, Shipco IT, Chegg India, Fortunesoft IT Innovations, GOQii Technologies, Spadeworx Software Services, Dhruvsoft Services,
Right Answer:
Clustering in data analysis is the process of grouping similar data points together based on their characteristics, without prior labels. It is an unsupervised learning technique. In contrast, classification involves assigning predefined labels to data points based on their features, using a supervised learning approach.
Clustering in data analysis is the process of grouping similar data points together based on their characteristics, without prior labels. It is an unsupervised learning technique. In contrast, classification involves assigning predefined labels to data points based on their features, using a supervised learning approach.
Ques:- What is the role of SQL in data analysis
Asked In :-
Unyscape Infocom Pvt. Ltd., Hidden Brains InfoTech, Queppelin Technology Solutions, Protege Solutions, Trigent Software, Itobuz Technologies, Aranca (Mumbai), Indocosmo Systems, RANDSTAD INDIA PVT, Namecheap Web Services,
Right Answer:
SQL (Structured Query Language) is used in data analysis to query, manipulate, and manage data stored in relational databases. It allows analysts to retrieve specific data, perform calculations, filter results, and aggregate information to derive insights from large datasets.
SQL (Structured Query Language) is used in data analysis to query, manipulate, and manage data stored in relational databases. It allows analysts to retrieve specific data, perform calculations, filter results, and aggregate information to derive insights from large datasets.
Ques:- What is the purpose of feature engineering in data analysis
Asked In :-
KRIOS Info Solutions, WSNE Consulting, AnAr Solutions, Queppelin Technology Solutions, Rock Solid Solutions, Ziffity Solutions, Aranca (Mumbai), Solace Infotech, Born Commerce, GOQii Technologies,
Right Answer:
The purpose of feature engineering in data analysis is to create, modify, or select variables (features) that improve the performance of machine learning models by making the data more relevant and informative for the analysis.
The purpose of feature engineering in data analysis is to create, modify, or select variables (features) that improve the performance of machine learning models by making the data more relevant and informative for the analysis.
Ques:- How do you handle missing data in a dataset
Asked In :-
Rock Solid Solutions, Protege Solutions, Ziffity Solutions, Toxsl Technologies, Cybage Software, WFM, Oodles Technologies, Sun Dew Solutions, Startup - Navya Network, LenDenClub,
Right Answer:
To handle missing data in a dataset, you can use the following methods:
1. **Remove Rows/Columns**: Delete rows or columns with missing values if they are not significant.
2. **Imputation**: Fill in missing values using techniques like mean, median, mode, or more advanced methods like KNN or regression.
3. **Flagging**: Create a new column to indicate missing values for analysis.
4. **Predictive Modeling**: Use algorithms to predict and fill in missing values based on other data.
5. **Leave as Is**: In some cases, you may choose to leave missing values if they are meaningful for analysis.
To handle missing data in a dataset, you can use the following methods:
1. **Remove Rows/Columns**: Delete rows or columns with missing values if they are not significant.
2. **Imputation**: Fill in missing values using techniques like mean, median, mode, or more advanced methods like KNN or regression.
3. **Flagging**: Create a new column to indicate missing values for analysis.
4. **Predictive Modeling**: Use algorithms to predict and fill in missing values based on other data.
5. **Leave as Is**: In some cases, you may choose to leave missing values if they are meaningful for analysis.
Ques:- What is a hypothesis and how do you test it
Asked In :-
Vinove Software & Services Pvt Ltd, Medvarsity Online, Trigent Software, RANDSTAD INDIA PVT, Spadeworx Software Services, Dhruvsoft Services, TNQ Technologies, Clear Trail Technologies, Cloud Kinetics Technology Solutions, Startup - Navya Network,
Right Answer:
A hypothesis is a specific, testable prediction about the relationship between two or more variables. To test a hypothesis, you can use the following steps:
1. **Formulate the Hypothesis**: Clearly define the null hypothesis (no effect or relationship) and the alternative hypothesis (there is an effect or relationship).
2. **Collect Data**: Gather relevant data through experiments, surveys, or observational studies.
3. **Analyze Data**: Use statistical methods to analyze the data and determine if there is enough evidence to reject the null hypothesis.
4. **Draw Conclusions**: Based on the analysis, conclude whether the hypothesis is supported or not, and report the findings.
A hypothesis is a specific, testable prediction about the relationship between two or more variables. To test a hypothesis, you can use the following steps:
1. **Formulate the Hypothesis**: Clearly define the null hypothesis (no effect or relationship) and the alternative hypothesis (there is an effect or relationship).
2. **Collect Data**: Gather relevant data through experiments, surveys, or observational studies.
3. **Analyze Data**: Use statistical methods to analyze the data and determine if there is enough evidence to reject the null hypothesis.
4. **Draw Conclusions**: Based on the analysis, conclude whether the hypothesis is supported or not, and report the findings.
Ques:- What is quality system?
Asked In :-
KONE Elevator India, TVISHA TECHNOLOGIES PVT, Ford India, IDCube Identification Systems, de facto infotech, JK Lakshmi Cement, MSPL, Nissi Engineering Solution, QMS, Sankalp Semiconductor,
Ques:- What types of documents would you need for QA, QC, and Testing?
Asked In :-
BillDesk, Allied Softech, AB InBev, Chambal Fertilisers, Sterlite Technologies, Tolani Maritime, Torinit Technologies, Danfoss International, Macleods Pharma, SMS GupShup,
Ques:- What are the CMM levels?What is the difference between the CMM&CMMI?
Asked In :-
Webvillee Technology, XIPHIAS Software Technologies, Zentron Labs, Effivity Technologies, Ginni Systems, LMW Lakshmi Machine Works, TetraSoft, Absyz Software Consulting, Tecnotree, BPL Medical Technologies,
Ques:- Differentiate between QA and QC?
Asked In :-
Bold Technology Systems, Aristocrat Technologies India, INAPP INFORMATION TECHNOLOGIES INDIA PVT, OS3 Infotech, Bisleri, Odisha Power Generation Corporation OPGC, SPSC, V2STech Solutions, India YAMAHA Motor, Astra Microwave Products,
Ques:- When is a process repeatable?
Asked In :-
COEPD, Manipal Technologies, OPENSPACE SERVICES, MAHINDRA HOLIDAYS AND RESORTS INDIA LIMITED, Polestar Solutions & Services India LLP, FlowServe, Versatile Mobitech, Apar Industries, WRENCH Solutions, MindBowser Info Solutions,
Moon Active is a leading mobile game development company known for creating innovative and engaging gaming experiences. With a focus on creativity, innovation, and user satisfaction, Moon Active has gained recognition for its popular titles, including Coin Master and Pirate Kings.
At Moon Active, we are passionate about creating games that captivate players and provide them with endless hours of entertainment. Our team of talented developers, designers, and storytellers work tirelessly to craft immersive gaming experiences that keep players coming back for more.
One of the key strengths of Moon Active lies in our commitment to community engagement and collaboration. We actively listen to player feedback and incorporate it into our game development process, ensuring that our games evolve and improve over time based on user input.