Technology Questions

Q:

What is function prototype in C++?

Answer

A function prototype is a declaration of a function that omits the function body. It specifies the function’s name, argument types and return type.


E.g. int add(int,int)

Report Error

View answer Workspace Report Error Discuss

Subject: C++
Job Role: Software Architect

0 3143
Q:

Which command using Query Analyzer will give you the version of SQL server and operating system?

Answer

SELECT SERVERPROPERTY ('productversion'), SERVERPROPERTY ('productlevel') and SERVERPROPERTY ('edition').

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 3143
Q:

What does FMEA stand for?

Answer

FMEA is Failure Mode and Effects Analysis. It is an analysis used to determine failure modes and how severe they are in a system or process.


 

Report Error

View answer Workspace Report Error Discuss

0 3137
Q:

What is an assembly?

Answer

Assemblies are the basic building blocks required for any application to function in the .NET realm. They are partially compiled code libraries that form the fundamental unit of deployment, versioning, activation scoping, reuse, and security. Typically, assemblies provide a collection of types and resources that work together to form a logical unit of functionality. They are the smallest deployable units of code in .NET. Compared to the executable files assemblies are far more reliable, more secure, and easy to manage. An assembly contains a lot more than the Microsoft Intermediate Language (MSIL) code that is compiled and run by the Common Language Runtime (CLR). In other words, you can say that an assembly is a set of one or more modules and classes compiled in MSIL, and metadata that describes the assembly itself, as well as the functionalities of the assembly classes.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 3128
Q:

Mention the two major categories that distinctly classify the variables of C# programs.

Answer

Variables that are defined in a C# program belong to two major categories: value type and reference type. The variables that are based on value type contain a value that is either allocated on a stack or allocated in-line in a structure. The variables that are based on reference types store the memory address of a variable, which in turn stores the value and are allocated on the heap. The variables that are based on value types have their own copy of data and therefore operations done on one variable do not affect other variables. The reference-type variables reflect the changes made in the referring variables.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 3127
Q:

What does a deadlock mean in DB2?

Answer

When two independent processes contend for the same resource or the resources reserved by one another, it is called a deadlock. -911 and -913 are the SQLcode for a deadlock.

Report Error

View answer Workspace Report Error Discuss

1 3125
Q:

Is the JDBC-ODBC Bridge multi-threaded ?

Answer

No. The JDBC-ODBC Bridge does not support multi threading. The JDBC-ODBC Bridge uses synchronized methods to serialize all of the calls that it makes to ODBC. Multi-threaded Java programs may use the Bridge, but they won't get the advantages of multi-threading.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 3122
Q:

Describe Bottom-Up and Top-Down approach in Testing.

Answer

Bottom Up Approach:


The bottom up approach testing approach is carried out with the help of the test driver. The test driver calls a component to be tested.


The modules in the lower level of call hierarchy are tested independently. Then the next level modules are tested that call previously tested modules. This is done repeatedly until all the modules are included in the testing.


Bottom up testing stops when the top module in the call hierarchy is tested with all lower call hierarchy modules.


 


Top Down Approach:


The top down approach is carried out with the help of the test stub. Test stub are the dummy programs. The Stub is called from the software component to be tested.


Tests top layer of controlling subsystem first. Then combine modules that are called by the tested modules and test resulted collection of modules.


Do this until all the modules are combined and tested.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

1 3109