Software QA (13)
SQL Server (1)
The following variable is available in file1.c, who can access it? static int average; Answer: all the functions in the file1.c can access the variable. 2007-02-26, 6948👍, 0💬
What is test metrics?
What is test metrics? Test metrics accomplish in analyzing the current level of maturity in testing and give a projection on how to go about testing activities by allowing us to set goals and predict future trends. test metrics should cover basically 3 things: 1. test coverage 2. time for one test c... 2008-04-14, 6939👍, 0💬
What is the concept of strong names
How do we generate strong names ? or What is use the of SN.EXE ? or How do we apply strong names to assembly? or How do you sign an assembly? Strong name is similar to GUID(It is supposed to be unique in space and time) in COM components.Strong Name is only needed when we need to deploy assembly in ... 2007-10-22, 6937👍, 0💬
How Do You Uninstall JUnit?
How Do You Uninstall JUnit Uninstalling JUnit is easy. Just remember these: Delete the directory that contains the JUnit JAR file and other JUnit files. Remove the JUnit JAR file from the CLASSPATH environment variable. No need to stop any background processes, because JUnit does not use background ... 2008-01-17, 6935👍, 0💬
Can you explain what is “AutoPostBack” feature in ASP.NET
Can you explain what is “AutoPostBack” feature in ASP.NET ? If we want the control to automatically postback in case of any event, we will need to check this attribute as true. Example on a ComboBox change we need to send the event immediately to the server side then set the “AutoPostBack” attribut... 2007-10-24, 6933👍, 0💬
How To Blend a Color Layer to a Image
How To Blend a Color Layer to a Image? - PSP Tutorials - Fading Images to Background Colors with PSP Let's say you has an image and you want to use it as the background for your Web page. But the image is too bright to be used as a background. You can follow the steps below to blend a color layer to... 2007-05-12, 6932👍, 0💬
Is versioning applicable to private assemblies?
.NET INTERVIEW QUESTIONS - Is versioning applicable to private assemblies? Versioning concept is only applicable to global assembly cache (GAC) as private assembly lie in their individual folders. 2010-03-16, 6929👍, 0💬
C# question: What is a Weak Reference
In C#, what is a weak reference? Generally, when you talk about a reference to an object in .NET (and in most other garbage collected languages), you are talking about a "strong" reference. As long as that reference exists, the garbage collector won't collect the object behind that reference. A weak... 2009-09-04, 6925👍, 0💬
How To Compile a JUnit Test Class
How To Compile a JUnit Test Class? Compiling a JUnit test class is like compiling any other Java classes. The only thing you need watch out is that the JUnit JAR file must be included in the classpath. For example, to compile the test class HelloTest.java described previously, you should do this: ja... 2008-01-11, 6924👍, 0💬
How can we implement singleton pattern in .NET
How can we implement singleton pattern in .NET? Singleton pattern mainly focuses on having one and only one instance of the object running. Example a windows directory service which has multiple entries but you can only have single instance of it through out the network. Note:- May of developers wou... 2007-10-24, 6923👍, 0💬
What is CAR (Causal Analysis and Resolution)
What is CAR (Causal Analysis and Resolution)? The basic purpose of CAR is to analyze all defects, problems and good practices/positive triggers in projects, perform a root cause analysis of the same, identify respective corrective and preventive actions and track these to closure. The advantage of C... 2007-10-30, 6918👍, 0💬
How To Delete a User Account
How To Delete a User Account? - Oracle DBA FAQ - Managing Oracle User Accounts, Schema and Privileges If you want to delete a user account and its associated schema, you can log in as SYSTEM and use the DROP USER command as shown in the following example: >.\bin\sqlplus /nolog SQL> connect SYSTEM/fy... 2007-05-02, 6913👍, 0💬
Can we have static indexer in C#
Can we have static indexer in C# ? No. 2007-10-23, 6909👍, 0💬
How To Get the Last ID Assigned by MySQL
How To Get the Last ID Assigned by MySQL? - MySQL FAQs - Managing Tables and Running Queries with PHP Scripts If you use an ID column with AUTO_INCREMENT attribute, you can use the mysql_insert_id() function to get the last ID value assigned by the MySQL server, as shown in the sample script below: ... 2007-05-11, 6909👍, 0💬
What are some uses of Intranets & Extranets?
What are some uses of Intranets & Extranets? An "intranet" is the generic term for a collection of private computer networks within an organization. Examples of intranets are internal networks with Web services and other services accessible only for internal users. An "extranet" is a compute... 2008-08-12, 6904👍, 0💬
What CLASSPATH Settings Are Needed to Run JUnit
What CLASSPATH Settings Are Needed to Run JUnit? It doesn't matter if you run your JUnit tests from a command line, from an IDE, or from "ant", you must define your CLASSPATH settings correctly. Here is what recommended by the JUnit FAQ with some minor changes: To run your JUnit tests, you'll need t... 2008-01-15, 6887👍, 0💬
How To Manage Transaction Isolation Level
How To Manage Transaction Isolation Level? - Oracle DBA FAQ - Introduction to PL/SQL Transaction isolation level can be managed in a procedure by using the SET TRANSACTION and COMMIT statements. Here is a sample script on how to manage transaction isolation level: SQL> CREATE OR REPLACE PROCEDURE HR... 2007-04-26, 6856👍, 0💬
How To Change the Password of Another User Account
How To Change the Password of Another User Account? - MySQL FAQs - Managing User Accounts and Access Privileges If you want to change the password of someone else's user account, you can connect to the server as "root" and use the "SET PASSWORD FOR userName ..." command to change the password of ano... 2007-05-10, 6847👍, 0💬
What are shared (VB.NET)/Static(C#) variables
What are shared (VB.NET)/Static(C#) variables? Static/Shared classes are used when a class provides functionality which is not specific to any instance. In short if you want an object to be shared between multiple instances you will use a static/Shared class. Following are features of Static/Shared ... 2007-10-23, 6843👍, 0💬
How To Build WHERE Criteria with Web Form Search Fields
How To Build WHERE Criteria with Web Form Search Fields? - MySQL FAQs - Managing Tables and Running Queries with PHP Scripts If your PHP script is linked to a Web form which takes search key words for multiple data fields. For example, your Web form asks your visitor to search for Website links with... 2007-05-11, 6837👍, 0💬
Locking Objects for Exclusive Use
Can Java object be locked down for exclusive use by a given thread? Yes. You can lock an object by putting it in a "synchronized" block. The locked object is inaccessible to any thread other than the one that explicitly claimed it. 2007-03-03, 6837👍, 0💬
How Can we change priority & what levels of priority are provided by Dot Net?
How Can we change priority & what levels of priority are provided by Dot Net? Thread Priority can be changed by using Threadname.Priority = ThreadPriority.Highest. In the sample provided look out for code where the second thread is ran with a high priority. Following are different levels of Prio... 2009-03-13, 6835👍, 0💬
How can we format data inside DataGrid
How can we format data inside DataGrid? Use the DataFormatString property. 2007-10-24, 6835👍, 0💬
Does .NET support UNICODE and how do you know it supports
Does .NET support UNICODE and how do you know it supports? Yes .NET definitely supports UNICODE. Try to see sizeof (char), you will see 2 bytes. Char type data type stores only one character which needs only 8 bits but because .NET has to support UNICODE it uses 16 bits to store the same. 2007-11-01, 6824👍, 0💬
Can we have static indexer in C# ? No.
How can I show HTML examples without them being interpreted as part of my document? Within the HTML ...
How Many Tags Are Defined in HTML 4.01? There are 77 tags defined in HTML 4.01: a abbr acronym addre...
What is the difference between RegisterClientScriptBloc kand RegisterStartupScript? RegisterClientSc...
How To Decrement Dates by 1? - MySQL FAQs - Introduction to SQL Date and Time Handling If you have a...