Interview Questions

Q:

How do you display last 5 records in DB2?

Answer

SELECT * FROM table_name ORDER BY column_name desc Fetch first 5 rows only;

Report Error

View answer Workspace Report Error Discuss

0 2831
Q:

What are the core directives of AngularJS?

Answer

Following are the 3 core directives of AngularJS.



  1. ng-app : This directive defines and links an AngularJS application to HTML.

  2. ng-model : This directive binds the values of AngularJS application data to HTML input controls.

  3. ng-bind : This directive binds the AngularJS Application data to HTML tags.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

1 2826
Q:

What is a prompt box?

Answer

A prompt box allows the user to enter input by providing a text box.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

1 2826
Q:

Cache events are processed when ever the Postback events occurs

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

Cache events are processed only when the Postback events occur

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2820
Q:

What is the difference between ViewState and SessionState?

Answer

'ViewState' is specific to a page in a session.
'SessionState' is specific to user specific data that can be accessed across all pages in the web application.

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: Analyst , IT Trainer

3 2819
Q:

What is Legaccy System Migration Workbench? How it can be carried out in SAP SD?

Answer

LSMW is widely used by EDI programmers. EDI Programmers connect the SAP system to Non SAP system. During this Data migration is a necessity. When data migrates from source to destination the destination code is differrent from the source code. So what LSMW does is 


* Converts the data in to batch files


* Then converts the batch files in to source code batch files 


* And then mirgates data. Standard Interfaces like BAPI or Idoc are used in this process.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

0 2817
Q:

What is UNION , UNION ALL?

Answer

Both these are used to combine the results of different SELECT statements.


    UNION       - Selects only distinct values 


    UNION ALL - Selects duplicate values also


 


Syntax:


    SELECT column_name(s) FROM table1


    UNION / UNION ALL


    SELECT column_name(s) FROM table2;


Notice that each SELECT statement within the UNION must have the same number of columns. The columns must also have similar data types. Also, the columns in each SELECT statement must be in the same order.


 

Report Error

View answer Workspace Report Error Discuss

0 2816
Q:

What are the main components of .NET Framework?

Answer

.NET Framework provides enormous advantages to software developers in comparison to the advantages provided by other platforms. Microsoft has united various modern as well as existing technologies of software development in .NET Framework. These technologies are used by developers to develop highly efficient applications for modern as well as future business needs. The following are the key components of .NET Framework:

 =>   .NET Framework Class Library
 =>   Common Language Runtime
 =>   Dynamic Language Runtimes (DLR)
 =>   Application Domains
 =>   Runtime Host
 =>   Common Type System
 =>   Metadata and Self-Describing Components
 =>   Cross-Language Interoperability
 =>  .NET Framework Security
 =>   Profiling
 =>   Side-by-Side Execution

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2814