Thursday, 29 June 2017

Wednesday, 28 June 2017

What is Spool Operator in SQL Server: SQL Server Performance Tuning

Spool operator scans the input and places a copy of each row in a hidden spool table that is stored in the tempdb database and existing only for the lifetime of the query. If the operator is rewound (for example, by a Nested Loops operator) but no rebinding is needed, the spooled data is used instead of re-scanning the input.
Table Spool is a physical operator.

Friday, 16 June 2017

What is Database testing?

Data base Testing is segmented into below four different categories.

  1. Data validity testing
  2. Data integrity testing
  3. Performance related to data base
  4. Testing of Procedure,triggers and functions

What are different types of errors? Explain each.


  • Syntax errors
  • Execution errors
  • Logic Errors


  • Syntax errors: The syntax errors are those that appear as you type the code. Visual Basic checks your code when you type it in the Code Editor window and warns you if you make a mistake, such as mistyping a word or using a language element incorrectly. Syntactic errors are the most frequent errors. They can be easily corrected in the coding environment as soon as they occur.
  • Execution errors: The errors at run-time are those that appear only after compiling and running the code. Errors of this type can be given, for example, in seemingly correct code fragments, for they do not present syntactic errors, but they do not execute correctly. For example, you could correctly type a line of code that opens a file. But, if the file is corrupted, the application will not be able to execute the Open function and will stop its execution. Most of the errors of this type can be corrected by modifying the code that presents errors, then compile it and re-execute it.
  • Logic errors: The logical errors are those that appear when the application is running. They are often unwanted or unexpected in response to user actions. For example, a badly written key or other external influence could cause the application to stop working even if the parameters are correct, or that it simply does not work. Usually, logical errors are the most difficult to correct, since it is not always clear where they originate.


Explain what is Alpha and Beta testing?

When custom software is built for a customer, a series of acceptance tests is performed to allow the customer to validate all requirements. Most software product developers carry out a process called alpha and beta testing to discover bugs that appear to only the end user can discover.

  • Beta test: They are carried out by the end users of the software in the customer workplaces. Unlike the alpha test, the developer is not normally present. Thus, the beta test is a live application of the software in an environment that can not be controlled by the developer. The client logs all problems encountered during the beta test and reports to the developer at regular intervals.
  • Alpha test: They are carried out, by a client, at the development site. The software is used in a natural way with the developer as a user observer and logging errors and usage problems. Alpha tests are performed in a controlled environment.


What do you understand by Integration testing?

Integration testing (sometimes called I & t integration and testing) is the software testing phase in which individual software modules are combined and tested as a group. They are the tests after the unit tests and precede the system test.

What is the exact difference between debugging and testing?

When a test is performed and a defect has been identified, it is the duty of the developers to first locate the defect in the code and then fix it. This process is known as debugging. In other words, debugging is the process of finding, analyzing, and eliminating the causes of software failures.
On the other hand, the test consists of both static and dynamic life-cycle testing activities. It helps determine that the software fulfills the specified requirements and is suitable for the purpose assigned to it.

What do you understand by Unit testing?

In programming, a unit test is a way to test the correct functioning of a code module. This is to ensure that each of the modules functions properly separately. Then, with the Integration Tests, it will be possible to ensure the correct operation of the system or subsystem in question. The idea is to write test cases for each nontrivial function or method in the module so that each case is independent of the rest.

For a unit test to be good , the following requirements must be met:

  • Automated : Manual intervention should not be required. This is especially useful for continuous integration.
  • Complete : Must cover the largest amount of code.
  • Repeatable or Reusable : Do not create tests that can only be executed once. It is also useful for continuous integration .
  • Independent : The execution of one test should not affect the execution of another.
  • Professionals : The tests should be considered the same as the code, with the same professionalism, documentation, etc.


Explain Software Testing?

Software testing is the process of verifying and revealing the quality of a software product. They are used to identify possible implementation failures, quality, or usability of a computer program or video game. Basically it is a phase in software development consisting of testing built applications.

What is the difference between validation and verification? Testing

Verify: It consists of verifying the implementation of the requirements. This involves providing objective evidence that an element meets the specified requirements. You would have to ask yourself the following: " Are we building the product correctly? ".

Validate: It involves checking that the implemented requirements are functional for what was initially built the product. That is, verify that the specified requirements are suitable for an intended use.

What do you understand by dirty read in terms of database?

Dirty reads occur when a transaction is allowed to read a row that was modified by another transaction that has not yet committed. Non-commit readings work the same as non-repeatable readings; However, the second transaction does not need to commit for the first query to return different data. The only thing that can be prevented in the isolation level "Readings without commit" is that the updates appear out of order.

What do you ensure by database code scalability test?

Evaluate how applications work when real activities are implemented. Perform load tests on SQL scripts, PL / SQL, T-SQL code, and stored procedures on different concurrent user configurations. Troubleshoot any code performance issues you encounter before you deploy production when you integrate with SQL Optimizer.

What do you understand by scalability testing?

Scalability is a performance benchmark that investigates a system's ability to grow by increasing the workload per user, or the number of concurrent users, or the size of a database.

Scalability tests Attributes:
  • Response time
  • Performance
  • Beats per second, Request per second, transactions per second
  • Measuring performance with the number of users
  • Measuring performance under a huge load
  • CPU usage, memory usage, while ongoing tests
  • Network usage - data sent and received
  • Web server - Request and response per second
The steps for developing a scalability test are as follows:
  1. Define a realistic scenario 
  2. Record the Stage 
  3. Run the stage to simulate concurrent users, simulating more and more users 
  4. When performance degrades to such an extent that it does not allow acceptable use of the system, the maximum number of users has been found. 

How are some best practices you follow for testing a database, that should every one follow?


  • Create your own queries: In order to test the operation in a database in a proper and accurate manner, first a tester must have very good knowledge of SQL and especially DML (Data Manipulation Language). Some CRUD operation will be performed with the user interface of the application, and the result will be verified using an SQL query . This is the best and most robust way to do tests in a database, especially for applications with low and medium level of complexity. However, the two prerequisites described are necessary. On the other hand, if the application is quite complex, then it may be difficult or impossible for the tester to write all the necessary SQL statements. However, for some complex queries, the tester can get help from the developer as well.
  • Test each table in the database: If the tester is not good in SQL, then he or she can verify the result of the CRUD operation, by viewing the (related) tables in the database. However, in this way it can be a bit tedious and cumbersome, especially when the database and tables have lots of data.
  • Obtain developer queries: This is the easiest way to test the database. Perform any CRUD operation through the graphical user interface and verify its impact by executing the SQL query that is obtained from the developer.
  • One instance for each tester: Provide one instance of DB for each tester. This avoids interference between them.
  • Initialize common data: Initialize common data only once for all tests. If there is data that is read only, we do not have to touch them if we make sure the tests do not modify them.

Testing in a database therefore, this method seems easy and good choice for testing the database. However, its drawback is chaos. What if the query proposed by the developer is semantically wrong or does not meet the requirement of the user correctly? In this situation, the client must report the problem and demand its correction as the best. Meanwhile, the worst case scenario is that the client may refuse to accept the request.

What should be tested in a database? Explain


  • Data mapping in a database: It should be ensured that regardless of the visual (front-end) part of the application, all CRUD operations must work correctly.
  • ACID properties in a database: The ACID properties of a database refer to "atomicity", "consistency", "isolation" and "durability". Proper testing of these four properties in a database should be performed during the testing activity.
  • Ensure the integrity of the data: Note that the different modules of an application (ie screens or forms) use the same data from different "views" and perform all CRUD operations on the data they obtain. In that case, make sure that the last state of the data is reflected everywhere. The system must display the most recent and updated values ​​or the status of the shared data on all forms and views. This is called data integrity.
  • Ensure the accuracy of the implemented trade rules: Today, databases are not meant to store records only. In fact, databases have become very powerful tools that provide broad support to developers in order to implement business logic at the database level. Some simple examples of powerful database features are 'referential integrity', relational constraints, triggers, and stored procedures. Therefore, using these and many other features offered by databases, developers implement business logic at the database level. The test must ensure that the running business logic is correct and works accurately.

What is the CRUD model in a database?

C : Create - When the user "saves" any new transaction or information to the database.
A : Retrieve - When the action of 'Search' or 'View' the information stored in the database is carried out by the user.
U : Update - when, the operation is performed to "update" the information in the database. Usually when 'edit' or 'modify' an existing user record.
D : Delete - when the user 'deletes' or deletes a system log.

This does not matter at all that what database you are using, much less the programming language you use to connect a database or if you have performed a correct database normalization ; The end user does not have to worry about the sub-queries, whether a trigger exists or a stored procedure.

What do you understand by ACID properties in Database?

Atomicity, Consistency, Isolation and Durability(ACID) are a set of properties necessary for a set of instructions to be considered as a transaction in a database management system.
A transaction is  a set of orders that are executed forming a unit of work, that is, in indivisible or atomic form.  An  example of a complex transaction is the transfer of funds from one account to another, which involves multiple individual transactions.
If a system passes the ACID test, it means that it is reliable.
  • Atomicity: Atomicity requires that every transaction be "all or nothing": if a part of the transaction fails, all transactions of the transaction fail, and therefore the database does not undergo changes. An atomic system has to guarantee the atomicity in any operation and situation, including power failures, errors and system failures.
  • Consistency: The Consistency property ensures that any transaction will take the database from a valid state to another valid state. Any data written to the database must be valid according to all defined rules, including (but not limited to) constraints, cascades, triggers, and any combination of these.
  • Isolation: Isolation ensures that the concurrent execution of transactions results in a system state that would be obtained if these transactions were executed one after another. Each transaction must be executed in full isolation; For example, if T1 and T2 are executed concurrently, then each one must be kept independent of the other.
  • Durability: Durability means that once a commit has been committed, it will be persistent, even in the event of loss of power, errors, and system crashes. For example, in relational databases, once a group of SQL statements is executed, the results must be stored immediately (even if the database falls immediately afterwards).


What do you understand by RDBMS?

Relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model as invented by E. F. Codd, of IBM's San Jose Research Laboratory. Relational database is a collection of tables of data all of which are formally described and organized according to the relational model.

What are your Database testing approaches?


  • Gather database requirements 
  • Create test scenarios against each requirements 
  • Test schema data and test scenarios 
  • Positive and negative testing 
  • Valid and invalid data
  • Performance testing: run query check response time 
  • Security testing 

Tuesday, 13 June 2017

What is Report Parameter and Query Parameter in SSRS?

The Query Parameter will filter your data in the DataSource level. We can use these parameters in dataset of SSRS report to filter the corresponding data.
The Report Parameter will let the user to filter the report as per requirement based on the options they choose. When you create a report parameter and run the report, you let the user to choose values for the report parameter.
 

Monday, 12 June 2017

What are Different types of SSRS Reports?

What are Different types of SSRS Reports?


There are basically following types of different SSRS Reports--


•Parameterized reports
•Sub-reports
•Snapshot reports
•Cached reports
•Drilldown reports
•Drill through reports
•Linked reports
•Ad-hoc reports

 

Thursday, 8 June 2017

What is In-Chip technology over In-Memory?

In April 2013, Sisense introduced an alternative to in-memory technology called In-Chip analytics, designed to maximize the disk, memory and CPU with resulting low latency.
Processing data with Sisense’s In-Chip technology is 10 times faster than processing it in-memory. Sisense was designed from scratch with a scalable, memory-optimized columnar database that can comfortably handle terabytes of data and dozens of concurrent queries. These features give it extraordinary performance and also makes it easy for non-techies to join data from multiple sources, build interactive dashboards and business intelligence reports, and share it all in one click.

What are DataSource and DataSets in SSRS? Benefits Of Shared DataSource And Shared Datasets?

What are DataSource and DataSets in SSRS? Benefits Of Shared DataSource and  Shared Datasets?

If you need to show information from the database to your one of reports you need to create both dataset and datasource.

A DataSource is a pointer to location of all  your information from where you are retrieving or extracting data for your reports.

A Dataset is specific collection of your columns and records displayed in reports.

A Shared DataSource is Shared through out reports, you need  not to create a datasource again and again while developing new SSRS Reports. Benefits in if you have different environments Like UAT ,Prod etc. with different DataBase Name, then you only need to change database name  at one place that will reflect in all Reports.

A Shared DataSet is reused and you need not to create a dataset if same columns and structure is required in another report.Benefits in, if you are populating the dropdown parameter values with the DataSets and same parameter is to used in some another reports, than its handy to create a shared DatSets and use them which saves time and work to recreate a Query.
 

How you relate Sisense with Hadoop / Hive?

Sisense works with Hive–the data warehouse system designed for Big Data analytics. works well, but it is a developer tool, not a business user tool: queries are written in an SQL-like programming language. Plus, while Hive scales well, query time can often take hours. Sisense allows business users to visually analyze data that resides in Hadoop/Hive, and with much faster response time.

Whats the advantage of Sisense over in-memory software?

As you know with previous generation in-memory BI software the amount of data that you can analyze is limited by the number of RAM Gigabytes of your computer. But what if your data outgrows your computer’s memory? You either get “out-of-memory” errors, or you end up needing to do “data acrobatics” such as splitting you data into multiple silos or building a data warehouse. Sisense’s revolutionary ElastiCube In-Memory technology gives you all the benefits of in-memory without its limitations. It quickly expands the data to the hard-drive, so it is only limited by the amount on the drive.

Wednesday, 7 June 2017

Whats the advantage of Sisense over visualization software?

Most data visualization and business intelligence tools allow you to visually explore data sets. They work well if you have a few data sources (1-2 tables) and small data sets (a few millions of records). If your data grows quickly, or you expect to add more data sets, you will need to develop a “data warehouse” that will aggregate and reduce your data to sizes that the visualization software can cope with. This is a costly exercise, and you’ll be losing granularity. With Sisense fully functioning solution, you do not need to worry about any of this: Sisense includes our own visualization software and server, both designed to support hundreds of tables and billions of records.

Can you install Sisense on Linux?

Not at this time, however Sisense only needs to be installed on a centralized Windows machine to pull data from multiple data sources, and then dashboard creators and users can access the data from any HTML5-supported browser on any operating system including mobile.

Explain, What is a build?

A build is a process that pulls the data from the sources and prepares it to be used in your dashboards. Before you use the data for the first time and every time that the data changes or you update the Elasticube structure, you need to run a build.

What is the difference between the Elasticube Manager, the Elasticube Server, and the Elasticube Server Console?

The Elasticube Manager is component of the Prism suite that helps you design the Elasticube (connect to tables, build relationships, etc.), while the Elasticube Server is a component that you will normally not see, and that keeps the Elasticube up and running. If for some reason you need to restart the Elasticube Server, or delete an Elasticube, you can do so with the Elasticube Server Console.
To start the Elasticube Manager, you can do so by clicking on start> all programs> sisense> Prism ElastiCube Manager
To start the Elasticube Server Console, you can do so by clicking on start> all programs> sisense> Prism Server Console

What is the difference between .ecdata and .ecube data files?

The Elasticube Manager stores the design of the data schema in a .ecube file. It is not the data itself, but actually a “blueprint” of your data structure and source definitions. The .ecube is the data itself already in the Elasticube. You can notice that .ecube files are very small (a few KBs), whereas .ecube files are sensitively larger (may reach GBs  depending on your data).

How do I connect to data with Elasticube Manager?

Connecting to data with Elasticube Manager is very easy, and it supports many data source types: Excel files, databases, and even web services hosted in the cloud. Take a look at the left menu in the link below to choose the data source that you want to connect to, and be aware that you don’t need to settle with one data source type, since with SiSense Prism you can mash up data from different sources seamlessly.

Importent Procedure for Performance Tuning






SELECT OBJECT_NAME([PS].[object_id], [PS].[database_id]) AS [ProcedureName],
[PS].[execution_count] AS [ProcedureExecutes],
[QS].[plan_generation_num] AS [VersionOfPlan],
[QS].[execution_count] AS [ExecutionofCurrentPlan],
SUBSTRING([ST].[Text],([QS].[statement_start_offset]/2)+1,
((CASE [statement_start_offset] WHEN -1 THEN DATALENGTH([ST].[text])
  ELSE [QS].[statement_end_offset] END
  - [QS].[statement_start_offset])/2)+1) AS [StatementText],
  [QS].[statement_start_offset] AS [Offset],
  [QS].[statement_end_offset] AS [Offset_end],
  [QP].[query_plan] AS [Query Plan XML],
  [QS].[query_plan_hash] AS [Query Plan Fingerprint]
FROM [sys].[dm_exec_procedure_stats] AS [PS]
JOIN [sys].[dm_exec_query_stats] AS [QS]
ON [PS].[Plan_handle] = [QS].[Plan_handle]
CROSS APPLY [sys].[dm_exec_query_plan] ([QS].[Plan_handle]) AS [QP]
CROSS APPLY [sys].[dm_exec_sql_text] ([QS].[sql_handle]) AS [ST]
WHERE [PS].[database_id] = DB_ID()
--AND OBJECT_NAME([PS].[object_id], [PS].[database_id])
--NOT IN (N'ProcedurePlans',N'RecompileEvents')
AND OBJECT_NAME([PS].[object_id], [PS].[database_id]) = 'USP_SearchAgreements_UPDATED_v4'
ORDER BY [ProcedureName],[QS].[statement_start_offset]



Explain Sisense Architecture?

Sisense Architecture
The Sisense system is comprised of the following components.
 
  • Sisense Web Application: The Sisense Web application is an interactive web application that provides the user interface in which users can design, share, view and explore dashboards. The Sisense Web application runs in popular web browsers and enables access to the Sisense server.  Dashboards can also be viewed on mobile devices.
  • Sisense Web Server: The Sisense Web Server is installed locally on your computer and hosts the Sisense Web application.
  • ElastiCube Server: The ElastiCube Server is installed locally on your computer and enables access to ElastiCubes. Both the Sisense Web Application and the ElastiCube Manager query the ElastiCube Server and receive results.
  • ElastiCube Manager: The ElastiCube Manager is a visual environment in which you create ElastiCubes. The ElastiCube Manager enables you to structure and import multiple data sources, create relationships between data, and perform ETL (Extract, Transform, and Load) processes to prepare data for analysis and visualization.
  • Sisense Server Console: The Sisense Server Console provides administration functions for managing ElastiCubes on the ElastiCube Server.
Refrence: https://documentation.sisense.com
 

Tuesday, 6 June 2017

Why Sisense? What makes it unique?

In today IT world companies had two options for data analytics: complex and pricey BI tools that can handle big and complex data, or lower cost tools that are simpler but do not scale well. Sisense has developed a revolutionary product that includes everything you need to get insights from multiple, large data sets at a fraction of the cost of traditional business intelligence tools. All this is made possible by our award-winning technology that eliminates the technical hurdles, runs on standard hardware, and let’s business users go from scattered data to beautiful dashboards with minimum IT.

What is Sisense?


Sisense is a BI tool that was developed for all types of user, even those with little or no prior experience with BI software. Sisense's tools manage and support business data with powerful visuals and tools.

Top 50 SISENSE BI Interview Questions Answers

What IS SSRS and What reports can we make using SSRS?

SSRS interview Question; What Is SSRS and What reports can we make using SSRS?

SSRS is a Server based Report generating System. We can Build Tabular Reports, Matrix Reports and develop graphical reports using Chart, Maps etc.
Reports can be developed in :
 
  •  Report Builder
  •  Visual Studio
  •  In SQL Server Data Tools (SSDT)
  •  By hand writing XML File
To create interactive dashboards, you can use below:
  •  Sparklines   (Word Size Small Charts, Usually used in Tables or matrix)
  •  Line charts (Used for showing Trend History throughout Year or Months)
  •  Bar charts (used for comparing data monthly or yearly)
  •  Data Bars
  •  Indicators (inline gauges)
  •  Maps (Show Geographical position of data across countries) 
  •  Pie Charts (For Showing Proportion)
  •  Gauges (For Visual Analogies Ex. Showing Trend Progress Further Two Types Linear and       Radial)
 

Sunday, 4 June 2017

Concat NULL value in SQL Server? TCS Interview Questions

SQL Server interview question asked in TCS interview.


Q: What would be the output of following script?






Ans:




Q: So how you will print FullName as "Vikas Ahlawat"
Ans: I will use ISNULL() function like below




Q: If I not allow to use ISNULL() what would be other solution?
Ans: I will use CONCAT() function (introduced in SQL Server 2012)

Tuesday, 2 May 2017

How you can print 1 to 10 table using SQL Query, HCL

Asked in HCL interview(my friend faced this questions experience 6 years)
For print table you can use CTE as below, (you can copy query from comment section)
Please share your solution as well

 

Tuesday, 25 April 2017

How Use sp_MSForEachTable SP for Tables Row Count

Easiest way to get row count of every table in a database. You can use sp_MSForEachTable
SP

CREATE TABLE #Tablescounts

(table_name varchar(255),row_count int)

 

EXEC sp_MSForEachTable @command1 = 'INSERT #Tablescounts (table_name, row_count) SELECT ''?'', COUNT(*) FROM ?'

 

SELECT * FROM #Tablescounts


SQL Pivot Tricky Query Example Asked in TCS

1). We have a table(#Temp1) contain RollNumber, Subject, Marks and want output as below, Write query for same.(pivot) asked in TCS
 

SELECT * FROM (SELECT * FROM(SELECT RN,[Subject],Marks from #Temp1)a

PIVOT(MAX(Marks) for [Subject] in ([Math],[Hindi],[English]))E) K

CROSS APPLY (SELECT MAX(Marks) MaxMarks FROM #temp1 WHERE RN = K.RN) S

 



2). Now write query which will show Subject as well like below .(pivot)
 
SELECT * FROM (

SELECT * FROM( SELECT RN,[Subject],Marks from #temp1)a

PIVOT (MAX(marks) for [Subject] in ([Math],[Hindi],[English]))E) K

CROSS APPLY (

SELECT CONCAT(Marks,('-'+[Subject])) MaxMarks_Subject FROM (

SELECT ROW_nUMBER() OVER(PArtition by rn order by Marks DESC) RowNum,Marks,Subject FROM #temp1 Where RN= K.RN)

J WHERE J.RowNum = 1

) S

Wednesday, 5 April 2017

Tuesday, 4 April 2017

Explain what is AutoScaling?

Scaling by adding additional instances is often referred to as scaling out. Windows Azure also supports scaling up by using larger role instances instead of more role instances.
By adding and removing role instances to your Windows Azure application while it is running, you can balance the performance of the application against its running costs.
An auto-scaling solution reduces the amount of manual work involved in dynamically scaling an application.

What is the difference between Web and Worker Roles in Windows Azure?

As you know the main difference between the two is that an instance of a web role runs IIS, while an instance of a worker role does not. Both are managed in the same way, however, and it’s common for an application to use both.For example, a web role instance might accept requests from users, then pass them to a worker role instance for processing.

Explain what is Azure Blob?

Azure Blob storage is a service for storing large amounts of unstructured object data, such as text or binary data, that can be accessed from anywhere in the world via HTTP or HTTPS. You can use Blob storage to expose data publicly to the world, or to store application data privately.

What is the difference between Windows Azure and Azure SQL database?

Windows Azure  is the cloud based premium service provided by Microsoft where we can able to host our application and make it available globally.

Windows Azure SQL Database is the another Azure service provided by Microsoft where the SQL DB engine is available in the Azure i mean the cloud. in a simple way, cloud DB based on SQL server engine.

Thursday, 23 March 2017

2017 Emirates Airline Interview Questions Answers PDF

Emirates Airline: Emirates is an airline based in Dubai, United Arab Emirates. The airline is a subsidiary of The Emirates Group, which is wholly owned by the government of Dubai's Investment Corporation of Dubai. It is the largest airline in the Middle East, operating over 3,600 flights per week from its hub at Dubai International Airport, to more than 154 cities in 81 countries across six continents. Cargo activities are undertaken by Emirates SkyCargo.
Emirates is the world’s fourth largest airline by scheduled revenue passenger-kilometers flown, the fourth-largest in terms of international passengers carried, and the second-largest in terms of freight tonne kilometers flown. Emirates had the longest non-stop commercial flight from Dubai to Auckland until it was surpassed by Qatar Airways.

Cabin Crew: Cabin crew or flight attendants are members of an aircrew employed by airlines primarily to ensure the safety and comfort of passengers aboard commercial flights, on select business jet aircraft, and on some military aircraft.The role of an air cabin crew member is to provide excellent customer service to passengers while ensuring their comfort and safety throughout the flight. They are trained to deal with security and emergency situations which may arise and can administer first aid to passengers.Cabin crew ensure that all emergency equipment is in working order prior to take off and that there are enough supplies. They also help passengers to board the plane and give a demonstration of safety procedures and equipment.Air cabin crew strive to make the flying experience a pleasant one for the passengers and will serve refreshments and meals and sell gifts and duty-free items. Cabin crew may work on short or long-haul flights.

Think about what is important to the role of cabin crew to get an idea of what might be covered in your interview. You need to be an excellent communicator, place high value on great customer service, you need to be hard-working, proactive, have a good awareness of safety, be able to follow instructions and implement protocol, manage conflict and deal with difficult people and situations calmly….the list is pretty long! But by giving some thought to what is required in the role you can get a good idea of what sort of questions you might be able to expect.

Another good way of working out what you need to demonstrate is to pay close attention to any documents you are sent in advance of your interview such as the ‘job description’ or ‘person specification’.You need to make sure your experience matches what the interviewers are looking for.

Entry requirements:
Entry requirements can vary between airlines so you should check with them for exact details.
In general, you will need a good standard of education, including GCSEs (grades A-C) in maths and English, or equivalent qualifications, and previous experience in a customer service role.

You will also need:
a good level of fitness and color-normal vision
a smart appearance
the ability to swim well
a valid passport with no restrictions for the countries the airline travels to.

Skills required in cabin crew member are:
  • Excellent 'people' skills.
  • A confident and friendly manner.
  • Tact and discretion.
  • A polite but firm approach when dealing with difficult customers.
  • A clear speaking voice.
  • The ability to work as part of a team.
  • Calmness under pressure and in emergencies.
  • Sensitivity towards people who are anxious or upset.
  • Good maths skills for handling cash, including foreign currency.
Working activities or duties of cabin crew:
  • Welcoming passengers on board and directing them to their seats.
  • In case of emergencies, cabin crews are there to reassure passengers so that they follow the correct emergency procedures. The crew may have to deal with several emergencies such as cabin fires or first aid situations.
  • At the end of a flight cabin crew members are there to make sure that passengers disembark the aircraft safely. The crew members are then asked to complete a written report that records all details of the flight. 
  • Informing passengers of the aircraft safety procedures and ensuring that all hand luggage is securely stored away.
  • Attending a pre-flight briefing, during which air cabin crew are assigned their working positions for the upcoming flight (crew are also informed of flight details, the schedule and if there are passengers with any special requirements, such as diabetic passengers, passengers in wheelchairs or the number of infants on board).
  • Completing paperwork, including writing a flight report.
  • Ensuring passengers disembark safely at the end of a flight and checking that there is no luggage left in the overhead lockers.
  • Giving first aid to passengers where necessary.
  • Serving meals and refreshments to passengers.
  • Selling duty-free goods and advising passengers of any allowance restrictions in force at their destination.
  • Making announcements on behalf of the pilot and answering passenger questions during the flight.
  • Carrying out pre-flight duties, including checking the safety equipment, ensuring the aircraft is clean and tidy, ensuring that information in the seat pockets is up to date and that all meals and stock are on board.
After recruitment process when you will get select:
Once you have been successfully accepted by an airline to work as a cabin crew member you will have to complete a mandatory 4-6 week training course, which is governed by the Civil Aviation Authority and the European Joint Aviation Authorities. This training course is called SEP (Safety & Emergency Procedures) the SEP training is paid for by the airline plus you will also get your first month’s wages. During this time you will be trained on:
  • Aircraft Evacuation
  • Ditching (landing on water)
  • Decompression
  • Fire Fighting
  • Passenger Management
  • Security Related Issues
  • Extraordinary Situations
  • First Aid
  • Survival
Tips for cabin crew interview:
  • Always stick to the question you were asked. Don’t stray away from the discussion and move to irrelevant and unrelated topics.
  • Prepare in advance some examples and answer the questions in specifics not in generalities.
  • If you don’t have a skill, just tell the interviewer and don’t try to cover it up by giving examples that are not relevant. Even if you don’t have that particular skill, you might have some related skills and you can discuss them further if the interviewer wants to hear more.
  • Prepare in advance couple of topics or ask any questions that may have resulted from the information exchanged during the interview.
  • Try to establish the time frame for a hiring decision to be made and who you should get in touch with to follow up the status of your application.
  • Sincerely thank the interviewer for the time spent with you. Give a firm handshake and make eye contact when doing this.
  • Being successful at your cabin crew final interview is all about confidence. Confidence comes from being prepared.

Now here are the Top 30 Emirates Airlines Cabin Crew interview questions:

1). What you know about the duties of a cabin crew member?

2). What is the most important skill required by a member of an airline cabin crew?

3). What are your interests?

4). What do you know about this airline?

5). Why do you want to join this airline?

6). How would you deal with difficult or negative situation in your life?

7). Who are the major competitors of this airline?

8). What do you like most about this airline?

9). What is the customer care policy of this airline?

10). Why do you think you are perfect for this position?

11). How would you deal with an unsatisfied customer?

12). Would you like to work in a team or alone?

13). How would you handle pressure at work?

14). What are your strengths?

15). Tell me about your areas of improvement.

16). Can you give an example of when you have overcome a difficult challenge?

17). Why did you choose this career out of many others?

18). How long will you work for this airline?

19). What other languages you can speak?

20). Tell me something about your family background?

21). Why should we select you not others?

22). How would you measure your own performance on this job?

23). Do you think you are overqualified for this position?

24). Describe yourself in one line.

25). What would you do if any customer complaint about your service?

26). If you were an animal, which one would you want to be?

27). Have you ever worked in a customer care or customer service job?

28). How much do you expect to get paid?

29). What you can bring or contribute to this airline?

30). Do you have any question for us?

Wednesday, 22 March 2017

Explain why use Jira?

Below are the advantage of using Jira

  • Better visibility
  • Better prioritization
  • Better downtime between tasks 
  • Improved team work more predictability

What are the main types of testing?

Most used type of testing are:

  • Unit - testing by programmer, can be automated
  • Integration - functional entities, tester independent of coding, similar to blackbox
  • User Acceptance - verifies software meets requirements
  • System - functionality of modules when used together
  • Whitebox - full acess to code, flaws within code, debugging
  • Blackbox - no access to code, inputs/outputs tested
  • Stress - what happens when boundary conditions are reached
  • Regression - makes sure changes to one part of system doesn't break others

Friday, 17 March 2017

Alteryx Designer Interview Questions Answers

Explain what is Alteryx Designer?
Alteryx is a desktop application for data blending and advanced analytics, enabling users to gather data from any source, blend it, and provide sophisticated predictive and spatial analytics with an easy-to-use drag-and-drop interface.

What are the advantage and disadvantages of Alteryx Designer?
Advantage:
  • Alteryx has fantastic blending capabilities
  • Alteryx can interact with most popular databases and files available today
  • Alteryx is the only ETL tool in the market that can output a tableau data extract (TDE)
  • Alteryx is not just an ETL tool, it can be used to perform a whole lot of analytics on your data
  • Alteryx integrates with R seamlessly and can be used for predictive modelling.
  • Alteryx can also be used to build reports with prompt filters
Disadvantages:
  • While Alteryx outputs a tableau data extract seamlessly it cannot read a similar extract
  • Alteryx does not have good support for special characters
  • Alteryx is not stable and crashes frequently when multiple users access the same workflow on the server
  • Slight learning curve to understand all the tools and some of the Statistical R packages aren't always straightforward.
How do you turn annotations on and off?
Per Tool: You can turn them on/off per tool, meaning you want to keep some annotations while omitting others. To do this click on the individual tool. Go to Annotation from the Properties window and in the Display Mode, select the appropriate choice.
Per Module : There is a toggle switch on the Module Properties window where you can either turn all the annotations on or off for that particular module. Additionally you can have greater control leaving this feature on and controlling the annotations per tool as described above.
Through Global Settings: You can set up the global settings so that Annotations will appear the same way for each and every module and tool.

What is the difference between the Transpose tool and the CrossTab tool? 
The Transpose and CrossTab tools are alike in that they both transform the orientation of your data, but are opposite in their behavior.
The Transpose tool pivots horizontal data to a vertical axis. The CrossTab performs the reverse, pivoting vertical data to the horizontal axis, by summarizing the data on a grouping field.

How can you save an expression ? 
Expressions can be saved so that they can be used over and over again without having to create them from scratch.
Create your expression using a combination of selecting variables and inserting them into functions . Once you are happy with the formulated expression, click the Saved Expression tab. Hit the Save button and specify a name for your expression. Your expression is now saved for future use.

You received the following error, "No Values found before GetMean()" - What does this mean?
Check your configurations upstream. If there is an Allocate Append tool, be sure the spatial object specified in the drop down selection is a polygon object and NOT a point object. If the error is coming from a Reporting Map tool, ensure you are not choosing Smart Tiling on a String field as a Thematic mapping tile mode.

How can you change a word or a character or remove it? 
From the File menu, go to Open Sample --> Basic Samples --> Data Problem and Solution Flexibility

How can you change a field type? 
Primarily the best place to change a field's type is through the  Formula tool. There is more control for custom conversion through the formula tool.
The next best place to change a field's type is the Select tool or, there are a number of tools that have an embedded select within the tool. Therefore you can change a field's type there as well. Tools that contain an embedded select are: Join, Join Multiple, Append Fields, Spatial Match, and Find Nearest.

Hadoop Perspectives for 2017 eBook/PDF Free Download

Hi here you will got Free eBook of Hadoop by Syncsort, In Syncsort words

The results from Syncsort’s third annual Hadoop Market Adoption Survey are in!  As users gain more experience with Hadoop, they are building on their early success and expanding the size and scope of Hadoop projects. Download this report to find out what 250+ IT decision-makers have to say about topics such as:

  • The largest data sources populating the data lake
  • The role of Hadoop in your organization and top use cases
  • The business benefits companies are seeing from Hadoop

This ebook also features industry best practices and our Big Data experts’ five trends to watch for in 2017!

To download this book visit here

Tuesday, 14 March 2017

What do you understand by "sql_variant" datatype in SQL Server?

sql_variant is a datatype in SQL server,a column of type sql_variant may contain rows of different data types. For example, a column defined as sql_variant can store int, binary, and char value. sql_variant can have a maximum length of 8016 bytes. This includes both the base type information and the base type value. The maximum length of the actual base type value is 8,000 bytes.

Thursday, 2 March 2017

How Generate Email Formatted HTML Table with T-SQL

If you are database developer this is very common task to send automated email, and for that you need to created good html formatted table using your SQL Server table data. Here we are going to do same.

First Create a temp table to insert sample table. After that use below body code in which we have already implemented css. after that you will html table you can see in above image.

CREATE TABLE #temp( JobName NVARCHAR(100),StepName NVARCHAR(100), ErrorMsg NVARCHAR(200))
INSERT INTO #temp VALUES('Job 1','Step 1','Error no 1'),('Job 1','Step 2','Error no 2')
SELECT * FROM #temp

DECLARE @Xml NVARCHAR(MAX)
DECLARE @Body NVARCHAR(MAX)


SET @Xml = CAST(( SELECT [JobName] AS 'td','',[StepName] AS 'td','',[ErrorMsg] AS 'td'FROM  #Temp
FOR XML PATH('tr'), ELEMENTS ) AS NVARCHAR(MAX))

SET @Body =N'<html>
<head><style type="text/css">th { background-color: #4CAF50; color: white; border: solid black 1px; padding: 10px 10px 10px 10px;font-size:12pt;}
td {border: solid black 1px;padding: 5px 5px 5px 5px;font-size:11pt;color:Black;}
table {border-collapse: collapse; }
body {font-family: "Arial", Helvetica, sans-serif;}</style></head>
<body><H3>Failed Job Detail</H3>
<table> <tr><th>Job Name</th> <th>Step Name</th> <th>ErrorMessage</th></tr>'   
SET @Body = @Body + @Xml +'</table></body></html>'
PRINT @Body

EXEC msdb.dbo.sp_send_dbmail
@Profile_name = 'SQL ALERTING', -- replace with your SQL Database Mail Profile
@Body = @Body,
@Body_format ='HTML',
@Recipients = 'ahlawatvikas.gmail.com', -- replace with your email address

@Subject = 'E-mail in Tabular Format' ;

Practical Tips on How to Prepare for the Entrance Exam

Many are the unknowns that come to the head of young high school graduates who have completed their secondary education, and is that apart from thinking and deciding which university to study also think about the examination of admission that if they have decided to study higher education in a public university.

Thus, to study in a university that receives benefits of 6%, its students have to solve the admission examination that includes subjects such as Spanish and Mathematics or Mathematics and Proficiency Test. For that reason we share below some tips that will prepare you before the test.

  1. To know the subject of the exam that the university has published in previous years.
  2.  Identify which are the topics or contents that dominate more and which you must study to reinforce them.
  3. Make groups of studies and organize activities to help you prepare better.
  4.  Stipulate your study hours in a schedule that allows you to concentrate.
  5.  Very important, before the exam DO NOT disclose yourself, sleep as much as you can to get up with lots of energy and positive attitude.
  6. Don't study one day before you take the exam, that is a serious mistake, what you have already learned will not be forgotten.
  7. Remember that you must leave the documents and the identification that will be asked at the entrance of the university ready to access your exam.
  8. When you arrive at the campus, keep calm, do not despair, as it is always taken into account the time it will take to enter all students. Once inside, locate your classroom and sit where you are most comfortable; And listen carefully to the directions that the teacher will give prior to the application of the exam.
  9. Do not forget to take your pencils, pens, pencils, erasers and calculator, because all these elements are of paramount importance to solve the test.
  10. When you receive the exam, read all the exercises carefully and if you are in doubt you can consult the examiner. Ask the question, do not stay with the doubt, do not be afraid or sorry for asking your questions, and something you can not forget, write all your personal data and everything that the test prompts you.
  11. Once you have the exam in your hands, start solving the easiest problems, that is, from the easiest to the most difficult, work in order, if there are marks that make sure you look at the form you are going to write answer.
  12. Finished the answer of your exam and if you still have time, carefully inspect your operations, you may have something to correct and give a last revised everything done, use all the time allocated to the exam.

Top 10 Tips to Crack Campus Aptitude Test | TCS | Infosys | Wipro

The Academic Aptitude Test is an instrument to determine the verbal skills, mathematical logic, effectiveness, creativity, speed and motor skills of the candidates. As you know each test is different and there are no magic formulas to get satisfactory results, but in general there are several lessons that can help you improve performance at the time of performing

Read: It is one of the first tips to obtain good results, a good habit of reading implies to improve the abilities of interpretation and comprehension of texts, contents and readings, which are evaluated in the test.
In addition, reading improves and broadens the vocabulary, which allows to approach exclusive exercises to measure the extension of a word within a sentence, the reasoning of a text and the synthesis of a sentence.
In that sense, the guidance department recommends interpreting readings of stories, short stories and novels, with the aim of conducting an analysis of each passage to determine who is the main actor? Which is the message?
The Aptitude Test measures linguistic skills, essential skills for success in higher education, so that a student who wants to pass the Test must be able to interpret a text, in order to enter the TCS/Infosys .

Preparation: Get important information about the test, investigate how long the application lasts and how it will be administered. Knowing exactly what to expect can help prepare you mentally and avoid confusion during the test. You can find this information once you sign up for the Aptitude Test.
On the internet you can find exams that can help you practice in the face of the Aptitude Test. You can also access the guide that provides the Admission System Management for free.
The aptitude tests often have a time limit, so answer the questions and use a timer or a timer to determine your performance. This will help you to be more concise at the time of testing.
It is also essential to have your registration card and a photo ID at the moment of entering the university facilities to carry out the Aptitude Test.

Concentration: In the Aptitude Test there are many mathematical exercises based on examples of daily life, and they evaluate the application of knowledge, that is, do not memorize a mathematical rule, but understand why it applies.
In this case, you can find exercises of arithmetic, algebra, geometry and statistics, in educational portals of the universities, you can also informarte with the exercises that is within the guide provided by the Admissions Directorate. Remember the exercises are examples, and only provide guidance, so it is best to look for similar exercises on the internet and seek academic advice if you have problems.
Logical reasoning is important for university education and life in general, since they allow for systematic analysis of a graph or evaluate a geometric figure, essential for careers such as engineering, architecture and other careers.

Avoid Stress: Focus on reducing stress and anxiety in the run-up to the test. Stress can negatively affect your mood, sleep patterns, and ability to focus. Additional relaxation techniques are advisable.

Follow instructions: Generally an average of 80 thousand to one lakh students performs the Aptitude Test, during the three tests that the TCS/Infosys applies in the year. Keeping this in mind, you should be aware of all the instructions and steps given before and during the test.
When completing the test, answer the questions you know first. If you are not sure about a particular question, avoid it. Once you have completed all the other answers, come back and try the difficult questions again. If you have time, check all your answers.
Make sure you know how much time you have to complete the test and use it in a proper way. Do not rush, as you can make mistakes. However, keep in mind the remaining time and do not spend too much time on each question.

Sleep well and eat well: Remember the day before the test it is best to sleep at least eight hours. Lack of sleep can lead to key concentration errors to perform a successful test.
Eating properly can give good results, remember that the test is done in the morning, so you must feed yourself balanced before performing the Aptitude Test in order to stay focused throughout the day.

Multiple choice questions tips:
When doing a "multiple choice" exam, know when to guess
  • First, eliminate the answers you know to be wrong. 
  • Always conjecture when there is no penalty for doing so or you can eliminate options. 
  • Do not guess if you have no basis for your choice and if you will be sanctioned for guessing 
  • If your first choice is usually correct, do not change your answers unless you are sure of the correction
Time saving: 
  • Reserve 10% of your exam time for review your exam 
  • Resist the urge to leave as soon as you have completed all items 
  • Make sure you have answered all the questions. 
  • Correct your writing regarding spelling, grammar, and punctuation. 
  • Check your math answers for careless errors (for example, decimal errors). Compare your current answers to math problems with a quick estimate
Panning for what to do first/last:
  • Plan to answer the easy questions first and the most difficult questions last. 
  • Answer the test questions in a strategic order.
  • The last questions you answer should be the most difficult,
  • Carry the largest written quantity, or have the lowest score value.
Test paper review:
  • Do a pre-test review.
  • Use 10% of your reading time reading the entire test carefully. 
  • Mark the key terms and decide how to manage your time. 
  • As you read the questions, write brief notes indicating ideas you can Use later in your answers.