Built-in dir() function of Python ,on an instance shows the instance variables as well as the methods and class attributes defined by the instance's class and all its base classes alphabetically. So by any object as argument to dir() we can find all the methods & attributes of the object’s class.
Following code snippet shows dir() at work :
class Employee:
def __init__(self,name,empCode,pay):
self.name=name
self.empCode=empCode
self.pay=pay
print("dir() listing all the Methods & attributes of class Employee")
print dir(e)
-----------------------------------------------------
Output
dir() listing all the Methods & attributes of class Employee
[ '__init__', 'empCode', 'name', 'pay']

Ques:- How can I find the methods or attributes of an object in python?
Asked In :-
EdgeVerve Systems, Happiest Minds Technologies Pvt., Ojas Innovative Technologies, VEDA IIT, Ritwik Software Technologies, Roanuz, Futurenet Technologies (India), Essen Vision Software, tieto, sandvik,
Comments
Ques:- What is docstring in Python?
Asked In :-
ANR Software, Proton Expert Systems & Solutions, Technoforte Software, Accelya, HeapTrace, Aptus Data Labs, Elexes, Prudent Technologies, Chain-sys India, appnovation technologies,
Comments
The Python documentation string is called docstring, it is the means of documenting Python functions, modules and classes.
Ques:- List type of inheritance supported in django?
Asked In :-
Target Integration, ProV Infotech Systems, Avizva Solutions, Knot Solutions, FlyNava Technologies, Quick Release, Cittabase Solutions, DAG, ncs group, quinnox,
Right Answer:
Django supports the following types of inheritance:
1. **Abstract Base Classes**: Allows you to create a base class that other models can inherit from, without creating a separate database table for the base class.
2. **Multi-table Inheritance**: Each model has its own database table, and Django creates a one-to-one relationship between the parent and child models.
3. **Proxy Models**: Allows you to create a new model class that behaves like the original model but can have different behaviors or methods, without creating a new database table.
Django supports the following types of inheritance:
1. **Abstract Base Classes**: Allows you to create a base class that other models can inherit from, without creating a separate database table for the base class.
2. **Multi-table Inheritance**: Each model has its own database table, and Django creates a one-to-one relationship between the parent and child models.
3. **Proxy Models**: Allows you to create a new model class that behaves like the original model but can have different behaviors or methods, without creating a new database table.
Ques:- What is used to represent Strings in Python? Is double quotes used for String representation or single quotes used for String representation in Python?
Asked In :-
ProMobi Technologies, Promantia Consulting LLP, Vanilla Networks, Streebo Solutions, Exusia, CloudKaptan, FlyNava Technologies, Onebill software, 7EDGE, VYSHNAVI INFORMATION TECHNOLOGIES INDIA,
Ques:- What is Apache Spark? How is it different from Hadoop MapReduce?
Asked In :-
InfoObjects, Indium Software, Talencia LLC, Neustar, HLS Asia, Datagrokr, Perceptive Analytics, Profound Edutech, Turing Analytics, Sigma Computing Solutions,
Ques:- Explain the use of Apache Kafka in Big Data pipelines.
Asked In :-
Fission Infotech, CropIn Technology Solutions, InfoObjects, 63 moons technologies, Estuate, Indium Software, Sigmoid Analytics, Algoscale, HLS Asia, SRDT,
Ques:- How do you optimize a Spark job for performance?
Asked In :-
Fission Infotech, Blackcoffer, Estuate, Wingify Software, FACTENTRY DATA SOLUTIONS, Prodapt SA, ColorTokens, Deep Compute, Algoscale, Carbon Black,
Ques:- What is data partitioning and shuffling in Spark?
Asked In :-
CAFS, Estuate, Indium Software, WFP, PromptCloud, ColorTokens, Deep Compute, Vayavya Labs, CDAC Thiruvananthapuram, Spire Global,
Ques:- Compare Hive and Pig in the context of Big Data.
Asked In :-
Hidden Brains InfoTech, ISC Software, CAFS, WFP, CDAC Thiruvananthapuram, Softserve Global, A Wabtec Company, transunion, eleks, national payments corporation of india (npci),
Ques:- What is the difference between brd, srs and use of case documents?
Asked In :-
Hidden Brains InfoTech, MattsenKumar Services, Protege Solutions, FIS Global Business Solutions India, TRICON INFOTECH PVT, Webvillee Technology, Energytech Global, COEPD, Tredence Analytics Solutions, Noesys Consulting,
Right Answer:
BRD (Business Requirements Document) outlines the high-level business needs and objectives. SRS (Software Requirements Specification) details the functional and non-functional requirements for the software. Use Case documents describe specific interactions between users and the system to achieve particular goals.
BRD (Business Requirements Document) outlines the high-level business needs and objectives. SRS (Software Requirements Specification) details the functional and non-functional requirements for the software. Use Case documents describe specific interactions between users and the system to achieve particular goals.
Ques:- What is the use of Ms Project?
Asked In :-
WSNE Consulting, TRICON INFOTECH PVT, Webvillee Technology, Energytech Global, SmartData Enterprises, Adnate IT Solutions, COEPD, Tredence Analytics Solutions, scandid, Triassic Solutions,
Right Answer:
MS Project is used for project management to plan, schedule, and track project progress, allocate resources, manage budgets, and analyze workloads.
MS Project is used for project management to plan, schedule, and track project progress, allocate resources, manage budgets, and analyze workloads.
Ques:- About database related
Asked In :-
MattsenKumar Services, Protege Solutions, Webvillee Technology, SmartData Enterprises, Adnate IT Solutions, Happiest Minds Technologies Pvt., COEPD, Noesys Consulting, Promact Infotech, scandid,
Right Answer:
Could you please specify the exact question related to databases?
Could you please specify the exact question related to databases?
Ques:- WHAT IS WORKING CAPITAL
Asked In :-
Protege Solutions, SPARX IT SOLUTIONS, Adnate IT Solutions, COEPD, Elsner Technologies, Unica Solutions, Target Integration, Valethi, 9series Solutions, Travanleo Info Solutions India,
Right Answer:
Working capital is the difference between a company's current assets and current liabilities, indicating the short-term financial health and operational efficiency of the business.
Working capital is the difference between a company's current assets and current liabilities, indicating the short-term financial health and operational efficiency of the business.
Ques:- What are the fields used for Project Planning in Ms Project?
Asked In :-
Hidden Brains InfoTech, MattsenKumar Services, FIS Global Business Solutions India, SPARX IT SOLUTIONS, Ray Business Technologies, Elsner Technologies, Noesys Consulting, Target Integration, Evolvus Solutions, sciative,
Right Answer:
The fields used for Project Planning in MS Project include:
1. Task Name
2. Duration
3. Start Date
4. Finish Date
5. Predecessors
6. Resources
7. Percent Complete
8. Work
9. Cost
10. Milestones
The fields used for Project Planning in MS Project include:
1. Task Name
2. Duration
3. Start Date
4. Finish Date
5. Predecessors
6. Resources
7. Percent Complete
8. Work
9. Cost
10. Milestones
Ques:- Lets say our bank has hired you to determine how it can grow in the local market, specifically in retail banking. What are the factors you would look at to assess the situation? What is your recommendation?
Asked In :-
Winsoft Technologies India Pvt. Ltd, DREAMORBIT SOFTECH PVT, Elite Software Solutions, SysTrack Solution, Technostacks Infotech, Target Integration, Newt Global India, Amtech Electronics India, Hinduja Tech, Lorven Technologies,
Right Answer:
To assess the situation for growing in retail banking, I would look at the following factors:
1. **Market Analysis**: Understand the local demographics, customer needs, and preferences.
2. **Competitor Analysis**: Identify key competitors, their offerings, strengths, and weaknesses.
3. **Customer Feedback**: Gather insights from current customers about their experiences and expectations.
4. **Product Offerings**: Evaluate existing products and services for relevance and competitiveness.
5. **Technology Adoption**: Assess the bank's digital capabilities and online banking services.
6. **Regulatory Environment**: Understand any regulations that may impact retail banking operations.
7. **Marketing Strategies**: Review current marketing efforts and their effectiveness in reaching target customers.
**Recommendation**: Focus on enhancing digital banking services, tailor products to meet local needs, improve customer service, and implement targeted marketing campaigns to attract new customers while retaining existing ones.
To assess the situation for growing in retail banking, I would look at the following factors:
1. **Market Analysis**: Understand the local demographics, customer needs, and preferences.
2. **Competitor Analysis**: Identify key competitors, their offerings, strengths, and weaknesses.
3. **Customer Feedback**: Gather insights from current customers about their experiences and expectations.
4. **Product Offerings**: Evaluate existing products and services for relevance and competitiveness.
5. **Technology Adoption**: Assess the bank's digital capabilities and online banking services.
6. **Regulatory Environment**: Understand any regulations that may impact retail banking operations.
7. **Marketing Strategies**: Review current marketing efforts and their effectiveness in reaching target customers.
**Recommendation**: Focus on enhancing digital banking services, tailor products to meet local needs, improve customer service, and implement targeted marketing campaigns to attract new customers while retaining existing ones.
Ques:- Your client is a retail bank in the U.S. There has been no growth over the last couple of years in the domestic market so you are considering pursuing growth overseas in emerging markets. How would you evaluate whether or not you should enter a given country? What is the potential market in the US? How would you estimate the percent of market to install the device?
Asked In :-
MattsenKumar Services, Umbrella Infocare, Radicle Software, COEPD, scandid, Yudiz Solutions, Ascentx Software Development Services, Optum, a UnitedHealth Group Company, SEW, CeX WeBuy Entertainment,
Right Answer:
To evaluate whether to enter a given country, consider the following factors:
1. **Market Potential**: Analyze the size of the banking market, growth rates, and customer demographics in the target country.
2. **Regulatory Environment**: Assess the legal and regulatory framework for foreign banks, including licensing requirements and restrictions.
3. **Competitive Landscape**: Identify existing competitors, their market share, and the level of market saturation.
4. **Economic Stability**: Evaluate the country's economic indicators, such as GDP growth, inflation rates, and currency stability.
5. **Cultural Fit**: Understand consumer behavior, preferences, and the banking habits of the local population.
6. **Infrastructure**: Consider the technological and physical infrastructure available for banking operations.
To estimate the potential market in the U.S., analyze the total addressable market (TAM) for retail banking services, including the number of potential customers and average revenue per user (ARPU).
To estimate the percent of market to install the
To evaluate whether to enter a given country, consider the following factors:
1. **Market Potential**: Analyze the size of the banking market, growth rates, and customer demographics in the target country.
2. **Regulatory Environment**: Assess the legal and regulatory framework for foreign banks, including licensing requirements and restrictions.
3. **Competitive Landscape**: Identify existing competitors, their market share, and the level of market saturation.
4. **Economic Stability**: Evaluate the country's economic indicators, such as GDP growth, inflation rates, and currency stability.
5. **Cultural Fit**: Understand consumer behavior, preferences, and the banking habits of the local population.
6. **Infrastructure**: Consider the technological and physical infrastructure available for banking operations.
To estimate the potential market in the U.S., analyze the total addressable market (TAM) for retail banking services, including the number of potential customers and average revenue per user (ARPU).
To estimate the percent of market to install the
Ques:- What will you do when client is asking you to provide something which doesn’t make any sense?
Asked In :-
Walkover Web Solutions, Tredence Analytics Solutions, Codebox, Grapelime Infotech, Bobst India, Microlise Telematics, InfoObjects, Congruent Solution Inc, ICAT Design & Media College, Excelra Knowledge Solutions,
Right Answer:
I would listen carefully to the client's request, ask clarifying questions to understand their needs, and then explain why the request may not be feasible or logical. I would offer alternative solutions that align with their goals.
I would listen carefully to the client's request, ask clarifying questions to understand their needs, and then explain why the request may not be feasible or logical. I would offer alternative solutions that align with their goals.
Ques:- How will you sell a fridge to an Eskimo?
Asked In :-
Oodles Technologies, ISKPRO, QuickXpert Infotech, Cloud Kinetics Technology Solutions, Srijan Technologies, scandid, Codelogicx Technologies, Triassic Solutions, First Zen, Clinton Health Access Initiative,
Right Answer:
I would focus on the unique features of the fridge, such as its ability to keep food fresh and organized, and emphasize how it can help store perishable items efficiently, making life easier and more convenient even in a cold environment.
I would focus on the unique features of the fridge, such as its ability to keep food fresh and organized, and emphasize how it can help store perishable items efficiently, making life easier and more convenient even in a cold environment.
Ques:- How would company x dealing in BPO service can increase revenue without incurring a significant cost?
Asked In :-
Winsoft Technologies India Pvt. Ltd, Itobuz Technologies, Indocosmo Systems, Priya Softweb Solutions, Dhruvsoft Services, Clear Trail Technologies, ISKPRO, QUALYS SECURITY TECHSERVICES, PeopleStrong HR Services, Digital Nirvana Information Systems (I),
Right Answer:
Company X can increase revenue without significant costs by implementing the following strategies:
1. **Upselling and Cross-selling**: Offer additional services to existing clients.
2. **Enhancing Service Quality**: Improve service delivery to retain clients and attract new ones through referrals.
3. **Leveraging Technology**: Use automation and AI tools to increase efficiency and reduce labor costs.
4. **Expanding Client Base**: Target new markets or industries that require BPO services.
5. **Flexible Pricing Models**: Introduce tiered pricing or subscription models to attract more clients.
6. **Training and Development**: Invest in employee training to improve productivity and service quality.
7. **Partnerships and Alliances**: Collaborate with other companies to offer bundled services.
Company X can increase revenue without significant costs by implementing the following strategies:
1. **Upselling and Cross-selling**: Offer additional services to existing clients.
2. **Enhancing Service Quality**: Improve service delivery to retain clients and attract new ones through referrals.
3. **Leveraging Technology**: Use automation and AI tools to increase efficiency and reduce labor costs.
4. **Expanding Client Base**: Target new markets or industries that require BPO services.
5. **Flexible Pricing Models**: Introduce tiered pricing or subscription models to attract more clients.
6. **Training and Development**: Invest in employee training to improve productivity and service quality.
7. **Partnerships and Alliances**: Collaborate with other companies to offer bundled services.
Ques:- What is product?
Asked In :-
WSNE Consulting, Netaxis IT Solutions (p), Itobuz Technologies, Codiant Software Technologies, Born Commerce, GOQii Technologies, Head Field Solutions, Principal Global Services, Triassic Solutions, Wellness Forever,
Right Answer:
A product is an item or service that is created to meet the needs or wants of customers.
A product is an item or service that is created to meet the needs or wants of customers.