Multi-line comments show up in more than one line. Every one of the lines to be commented is to be prefixed by a #. You can likewise an excellent easy route technique to comment on different lines. You should simply hold the Ctrl key and left snap in each spot any place you need to incorporate a # character and type a # just once. This will comment on each line where you presented your cursor.

Ques:- How to comment multiple lines in python?
Asked In :-
AHEX TECHNOLOGIES, Ginni Systems, Promantia Consulting LLP, Gaian Solutions India, Cere Labs, Ganit Softech, Iris Automation, Xilligence, mobileye, mercedes amg petronas formula one team,
Comments
Ques:- Is django a high level or low-level framework?
Asked In :-
Trigent Software, AQM Technologies, KLA Tencor Software India, Yalamanchili Software, Propel, Samsung R&D Institute India, ESDS Software Solution, Whatfix, Concerto Software, Skolaro,
Right Answer:
Django is a high-level framework.
Django is a high-level framework.
Ques:- Explain different ways to trigger / raise exceptions in your python script ?
Asked In :-
Fluid AI, Surya Software, Intelizign, RELX Group, GyanMatrix Technologies, Interview Mocha, Lexicon Networks, Onebill software, Kriti, Volksoft Technologies,
Right Answer:
In Python, you can trigger or raise exceptions using the following methods:
1. **Using the `raise` statement**: You can raise a specific exception by using `raise ExceptionType("Error message")`.
2. **Raising a built-in exception**: You can raise built-in exceptions like `ValueError`, `TypeError`, etc., directly with `raise ValueError("Invalid value")`.
3. **Using `raise` without arguments**: This re-raises the last exception caught in an `except` block.
4. **Custom exceptions**: You can define your own exception class and raise it using `raise MyCustomException("Error message")`.
5. **Using `assert` statement**: This raises an `AssertionError` if the condition is false, e.g., `assert condition, "Error message"`.
6. **Using `sys.exit()`**: This raises a `SystemExit` exception to terminate the program.
In Python, you can trigger or raise exceptions using the following methods:
1. **Using the `raise` statement**: You can raise a specific exception by using `raise ExceptionType("Error message")`.
2. **Raising a built-in exception**: You can raise built-in exceptions like `ValueError`, `TypeError`, etc., directly with `raise ValueError("Invalid value")`.
3. **Using `raise` without arguments**: This re-raises the last exception caught in an `except` block.
4. **Custom exceptions**: You can define your own exception class and raise it using `raise MyCustomException("Error message")`.
5. **Using `assert` statement**: This raises an `AssertionError` if the condition is false, e.g., `assert condition, "Error message"`.
6. **Using `sys.exit()`**: This raises a `SystemExit` exception to terminate the program.
Ques:- How does global value mutation used for thread-safety?
Asked In :-
Diya Systems (Mangalore), Coddle Technologies, SimpleMinds Technologies LLP, Jeevan Technologies, STUP Consultants, Meditab Software, BeeHyv Software Solutions, Hanu Software Solutions, e-Yantra, temenos,
Comments
The global interpreter lock is used to allow the running of the thread one at a time. This is internal to the program only and used to distribute the functionality along all the virtual machines that are used. Python allows the switching between the threads to be performed by using the byte code instructions that are used to provide platform-independence. The sys.setcheckinterval() method is used that allow the switching to occur during the implementation of the program and the instruction. This provides the understanding in the field of accounting to use the byte code implementation that makes it portable to use. The atomicity can be provided such that the shared variables can be given as built-in data types.
Ques:- How to make Foreign Key relation in django ?
Asked In :-
Mundrisoft Solutions LLP, Surya Software, Vector India, Testrig Technologies, Ojas Innovative Technologies, BluePi, Heptagon Technologies, Propellum Infotech, Signals & Systems (India), Synture,
Right Answer:
To create a Foreign Key relation in Django, use the `ForeignKey` field in your model. For example:
```python
from django.db import models
class Author(models.Model):
name = models.CharField(max_length=100)
class Book(models.Model):
title = models.CharField(max_length=100)
author = models.ForeignKey(Author, on_delete=models.CASCADE)
```
In this example, the `Book` model has a Foreign Key relation to the `Author` model.
To create a Foreign Key relation in Django, use the `ForeignKey` field in your model. For example:
```python
from django.db import models
class Author(models.Model):
name = models.CharField(max_length=100)
class Book(models.Model):
title = models.CharField(max_length=100)
author = models.ForeignKey(Author, on_delete=models.CASCADE)
```
In this example, the `Book` model has a Foreign Key relation to the `Author` model.
Ques:- How to handle 7QC tools in field claim
Asked In :-
XIPHIAS Software Technologies, YOKOGAWA IA TECHNOLOGIES INDIA, Lucid Software, CitiusTech Healthcare Technology, Basware India, Ramboll India, Atlas Honda, BYD Electronic, Kohler India, Mistral Solutions,
Ques:- Who in the company is responsible for Quality?
Asked In :-
Bold Technology Systems, Cohere, Attra Infotech, Bisleri, BPCL Bharat Petroleum, British Telecom BT, Empower, Shree Cement, Thyrocare, New Relic,
Ques:- What is meant by change control with flow sheet?
Asked In :-
Wellness Forever, INFOMAZE, CommScope Inc, iTroSys Technologies, Joyalukkas, Maharashtra Industrial Development Corporation MIDC, Rams Engineers, Honda Motorcycle & Scooter India, RapidValue Solutions, Trivium Education Services,
Ques:- Reliability, Usability and Testability. Explain why you would test for these factors?
Asked In :-
Barracuda Networks, Proseon Technologies, Code Board Technology, CPCL, G7 CR Technologies, LMW Lakshmi Machine Works, MMU, Renault Nissan, Square Pharma, HTC Global Services Inc,
Right Answer:
Reliability ensures that the software consistently performs as expected under specified conditions, which is crucial for user trust and satisfaction. Usability focuses on how easy and intuitive the software is for users, impacting user experience and adoption rates. Testability assesses how easily the software can be tested, which is important for identifying defects and ensuring quality throughout the development process. Testing for these factors helps deliver a robust, user-friendly, and maintainable product.
Reliability ensures that the software consistently performs as expected under specified conditions, which is crucial for user trust and satisfaction. Usability focuses on how easy and intuitive the software is for users, impacting user experience and adoption rates. Testability assesses how easily the software can be tested, which is important for identifying defects and ensuring quality throughout the development process. Testing for these factors helps deliver a robust, user-friendly, and maintainable product.
Ques:- How do you start your QA if there are no system requirements?
Asked In :-
Aristocrat Technologies India, Vanderlande Industries, On Demand Agility Software, Accops, eGain Communications, SDL, Fluor Daniel, RoboSoft, Unified Infotech, Play Games24x7,
Ques:- What are the differences between Agile, Waterfall, and DevOps methodologies
Asked In :-
Adapty Solutions, GreyOrange, POPCORNAPPS SOFTWARE PVT, Yudiz Solutions, Apttus Software, TechRyde, AgilePoint Software India, NICE inContact, Winshuttle Software (India), Bombay Softwares,
Right Answer:
Agile is an iterative approach that focuses on collaboration and flexibility, allowing for changes throughout the development process. Waterfall is a linear and sequential model where each phase must be completed before moving to the next, making it less adaptable to changes. DevOps is a culture and set of practices that combines software development (Dev) and IT operations (Ops) to improve collaboration, automate processes, and shorten the development lifecycle, emphasizing continuous integration and delivery.
Agile is an iterative approach that focuses on collaboration and flexibility, allowing for changes throughout the development process. Waterfall is a linear and sequential model where each phase must be completed before moving to the next, making it less adaptable to changes. DevOps is a culture and set of practices that combines software development (Dev) and IT operations (Ops) to improve collaboration, automate processes, and shorten the development lifecycle, emphasizing continuous integration and delivery.
Ques:- What’s your approach to handling version control and deployment in AEM projects
Asked In :-
DREAMORBIT SOFTECH PVT, Rock Solid Solutions, Keyideas Infotech, IMAGINATION TECHNOLOGIES LIMITED, Raykor Technologies, YOKOGAWA IA TECHNOLOGIES INDIA, Microlise Telematics, Cyber Infrastructure (P), MaxVal-IP Services, CloudMoyo, Inc,
Right Answer:
My approach to handling version control and deployment in AEM projects involves using Git for version control to manage code changes, ensuring that all code is committed to a central repository. For deployment, I utilize a CI/CD pipeline with tools like Jenkins or Adobe Cloud Manager to automate the build and deployment process, ensuring consistent and reliable deployments across environments. Additionally, I manage AEM content and configurations using packages and ensure proper versioning of these packages for smooth rollbacks if necessary.
My approach to handling version control and deployment in AEM projects involves using Git for version control to manage code changes, ensuring that all code is committed to a central repository. For deployment, I utilize a CI/CD pipeline with tools like Jenkins or Adobe Cloud Manager to automate the build and deployment process, ensuring consistent and reliable deployments across environments. Additionally, I manage AEM content and configurations using packages and ensure proper versioning of these packages for smooth rollbacks if necessary.
Ques:- What is Ab Initio and what are its main components
Asked In :-
Xoriant Solutions Pvt Ltd, Excelra Knowledge Solutions, Arya Omnitalk Wireless Solutions, PRIMUS Global Technologies, ProPhoenix Technologies, Falcon Autotech, Koenig Solutions, Vaanam Technologies, Systematix Infotech, TriByte Technologies,
Right Answer:
Ab Initio is a data processing platform used for data integration, ETL (Extract, Transform, Load), and data management. Its main components include:
1. **Graphical Development Environment (GDE)** - A user interface for designing data processing graphs.
2. **Co>Operating System** - The runtime environment that executes the graphs.
3. **Eme (Enterprise Meta>Environment)** - A metadata management tool for managing and storing metadata.
4. **Data Profiler** - A tool for analyzing data quality and structure.
5. **Conduct>It** - A job scheduling and workflow management tool.
Ab Initio is a data processing platform used for data integration, ETL (Extract, Transform, Load), and data management. Its main components include:
1. **Graphical Development Environment (GDE)** - A user interface for designing data processing graphs.
2. **Co>Operating System** - The runtime environment that executes the graphs.
3. **Eme (Enterprise Meta>Environment)** - A metadata management tool for managing and storing metadata.
4. **Data Profiler** - A tool for analyzing data quality and structure.
5. **Conduct>It** - A job scheduling and workflow management tool.
Ques:- What database and storage backends are supported by Alfresco
Asked In :-
TVISHA TECHNOLOGIES PVT, SenecaGlobal IT Services, M/s. orange business services, Amtech Electronics India, Anlage Infotech (I), JIBE DEVELOPMENT SERVICES, Omnie Solutions (I), Aris Global Software, CloudMoyo, Inc, CareerNet,
Right Answer:
Alfresco supports databases like PostgreSQL, MySQL, Oracle, and Microsoft SQL Server. For storage, it supports filesystems (local or network), Amazon S3, and Azure Blob Storage.
Alfresco supports databases like PostgreSQL, MySQL, Oracle, and Microsoft SQL Server. For storage, it supports filesystems (local or network), Amazon S3, and Azure Blob Storage.
Ques:- What is a BSW module and can you name a few examples
Asked In :-
Unyscape Infocom Pvt. Ltd., Deluxe entertainment services India, WebReinvent Technologies, Pumex Infotech, Mundrisoft Solutions LLP, Outline Systems India, Health Asyst, Sysfore Technologies, DIGICOMM Semiconductor, Eternus Solutions,
Right Answer:
A BSW (Basic Software) module is a software component in the AUTOSAR architecture that provides standardized services and functionalities to the application layer and other software components. Examples of BSW modules include:
1. ECU Abstraction Layer (ECU-AL)
2. Microcontroller Abstraction Layer (MCAL)
3. Operating System (OS)
4. Communication Services (e.g., CAN, LIN)
5. Diagnostic Services (e.g., DCM)
A BSW (Basic Software) module is a software component in the AUTOSAR architecture that provides standardized services and functionalities to the application layer and other software components. Examples of BSW modules include:
1. ECU Abstraction Layer (ECU-AL)
2. Microcontroller Abstraction Layer (MCAL)
3. Operating System (OS)
4. Communication Services (e.g., CAN, LIN)
5. Diagnostic Services (e.g., DCM)
Ques:- What are DTS subroutines? What is their use and How do you write them?
Asked In :-
D-Mart, Cavisson Systems, Eidiko Systems Integrators, Knot Solutions, Utthunga, TechnoGen, Fastlab, CodeQuotient, Access Healthcare, TietoEVRY,
Right Answer:
DTS (Data Transformation Services) subroutines are reusable blocks of code that can be called from within a DTS package to perform specific tasks or operations. They are used to encapsulate logic that can be reused across multiple packages, improving maintainability and reducing redundancy.
To write a DTS subroutine, you typically use VBScript or JScript. You define the subroutine in the "Global Variables" section of the DTS package, and it can be called from tasks or other subroutines within the package. Here's a simple example in VBScript:
```vbscript
Function MySubroutine()
' Your code here
MsgBox "Hello from MySubroutine!"
End Function
```
You can call this subroutine from a task by using the following syntax:
```vbscript
Call MySubroutine()
```
DTS (Data Transformation Services) subroutines are reusable blocks of code that can be called from within a DTS package to perform specific tasks or operations. They are used to encapsulate logic that can be reused across multiple packages, improving maintainability and reducing redundancy.
To write a DTS subroutine, you typically use VBScript or JScript. You define the subroutine in the "Global Variables" section of the DTS package, and it can be called from tasks or other subroutines within the package. Here's a simple example in VBScript:
```vbscript
Function MySubroutine()
' Your code here
MsgBox "Hello from MySubroutine!"
End Function
```
You can call this subroutine from a task by using the following syntax:
```vbscript
Call MySubroutine()
```
Ques:- Can you link only other SQL Servers or any database servers such as Oracle?
Asked In :-
Spark Infosys, Rightpoint India Digital, Ramboll India, Amtex Software Solutions, Terralogic, Statestreet HCL Services, Gaian Solutions India, LabVantage, Utthunga, ManekTech - Ahmedabad,
Ques:- What is the backup strategy in your organization?
Asked In :-
ABN AMRO, FANUC, SRF, iQuanti, TechMojo Solutions, vTEST, HLS Asia, EvolveWare, Systenics Solutions, FACEIT,
Ques:- Why to use Stored Procedures in Sql Server?
Asked In :-
Indocosmo Systems, Principal Global Services, McKinsey Knowledge Center, e2e, Kyro, Unified Infotech, Metrics4 Analytics, Travelodge Hotels (UK), Pickrr Technologies, COGNISOFT TECHNOLOGIES,
Ques:- Find the odd man out: 10, 14, 16, 18, 21, 24, 26?
Asked In :-
Code Insight Technologies, Infiflex Technologies, CCS Technologies, ARMIA SYSTEMS, DSM SOFT, Fortune Global Group, Gapblue, ITOrizon, Eurofins Scientific, Balyasny Asset Management,