Software QA (13)
SQL Server (1)
Why does malloc(0) return valid memory address? What's the use? malloc(0) does not return a non-NULL under every implementation. An implementation is free to behave in a manner it finds suitable, if the allocation size requested is zero. The implmentation may choose any of the following actions: * A... 2007-02-26, 6518👍, 0💬
What Is the "@SuiteClasses" Annotation?
What Is the "@SuiteClasses" Annotation? "@SuiteClasses" is a class annotation defined in JUnit 4.4 in org.junit.runners.Suite.SuiteC lasses.It allows you to define a suite class as described in the previous question. By the way, the API document of JUnit 4.4 has a major typo for the org.junit.runner... 2008-01-31, 6515👍, 0💬
What are the different storage classes in C? C has three types of storage: automatic, static and allocated. Variable having block scope and without static specifier have automatic storage duration. Variables with block scope, and with static specifier have static scope. Global variables (i.e, file s... 2007-02-26, 6514👍, 0💬
include Directive vs. jsp:include Action
What is the difference between include directive & jsp:include action? Difference between include directive and jsp:include action: provides the benifits of automatic recompliation,smaller class size ,since the code corresponding to the included page is not present in the servlet for every inclu... 2007-04-03, 6508👍, 0💬
How To Remove the Top White Space of Your Web Page
How To Remove the Top White Space of Your Web Page? - CSS Tutorials - Introduction To CSS Basics The top white space of your Web page is provided by the browser's default CSS definition of the margin-top property on the BODY tag. You can remove this white space by adding your own margin-top definiti... 2007-05-11, 6505👍, 0💬
How many types of validation controls are provided by ASP.NET
How many types of validation controls are provided by ASP.NET ? There are six main types of validation controls :- RequiredFieldValidator It checks whether the control have any value. It's used when you want the control should not be empty. RangeValidator It checks if the value in validated control ... 2007-10-24, 6502👍, 0💬
How To Assign Debug Privileges to a User
How To Assign Debug Privileges to a User? - Oracle DBA FAQ - Introduction to Oracle SQL Developer In order to run SQL Developer in debug mode, the session must be connected with a user who has debug privileges. The following script shows you how to assign debug privileges: Connect to the default dat... 2007-04-28, 6495👍, 0💬
How do you target a specific frame from a hyperlink?
How do you target a specific frame from a hyperlink? Include the name of the frame in the target attribute of the hyperlink. <a href=”mypage.htm” target=”BodyFrame”>>Next&l t;/a> 2008-05-06, 6492👍, 0💬
Where Do You Download JUnit?
Where Do You Download JUnit? Where do I download JUnit? I don't think anyone will ask this question in a job interview. But the answer is simple. You should follow the download instructions from the JUnit official Website: JUnit.org. 2008-01-07, 6492👍, 0💬
What Are Named Parameters
What Are Named Parameters? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions Named parameters are actual parameters specified not by position but by providing formal parameter names when calling the procedure or function. The main advantage of named parameters is that the caller d... 2007-04-21, 6481👍, 0💬
What Is Hashing
What is hashing? To hash means to grind up, and that's essentially what hashing is all about. The heart of a hashing algorithm is a hash function that takes your nice, neat data and grinds it into some random-looking integer. The idea behind hashing is that some data either has no inherent ordering ... 2007-02-26, 6476👍, 0💬
How To Increment Dates by 1
How To Increment Dates by 1? - MySQL FAQs - Introduction to SQL Date and Time Handling If you have a date, and you want to increment it by 1 day, you can use the DATE_ADD(date, INTERVAL 1 DAY) function. You can also use the date interval add operation as "date + INTERVAL 1 DAY". The tutorial exercis... 2007-05-11, 6472👍, 0💬
What is the version information in XML
What is the version information in XML? “version” tag shows which version of XML is used. 2007-10-31, 6464👍, 0💬
What are the five levels in CMMI
What are the five levels in CMMI? There are five levels of the CMM. According to the SEI, Level 1 – Initial At maturity level 1, processes are usually ad hoc and the organization usually does not provide a stable environment. Success in these organizations depends on the competence and heroics of pe... 2007-10-30, 6461👍, 0💬
Searching Date in Linked Lists
How can I search for data in a linked list? Unfortunately, the only way to search a linked list is with a linear search, because the only way a linked list's members can be accessed is sequentially. Sometimes it is quicker to take the data from a linked list and store it in a different data structur... 2007-02-26, 6460👍, 0💬
init() vs. Constructor
Can we use the constructor, instead of init(), to initialize servlet? Yes , of course you can use the constructor instead of init(). There's nothing to stop you. But you shouldn't. The original reason for init() was that ancient versions of Java couldn't dynamically invoke constructors with argument... 2007-04-03, 6459👍, 0💬
How To Use "IN OUT" Parameter Properly
How To Use "IN OUT" Parameter Properly? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions Here are the rules about IN OUT parameters: A formal IN OUT parameter acts like an initialized variable. An actual IN OUT parameter must be a variable. An actual IN OUT parameter passes a cop... 2007-04-21, 6451👍, 0💬
How To Control White Spaces between Table Cells
How To Control White Spaces between Table Cells? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells White spaces between cells refer to the vertical space between a upper cell and a lower cell in a table column, and the horizontal space between a left cell and a right cell in a table row. ... 2007-05-11, 6448👍, 0💬
FORM - How to Use IT
How do I use forms? The basic syntax for a form is: <FORM ACTION="[URL]">...</FOR M>When the form is submitted, the form data is sent to the URL specified in the ACTION attribute. This URL should refer to a server-side (e.g., CGI) program that will process the form data. The form itsel... 2007-03-03, 6446👍, 0💬
Nesting Include Files
Can include files be nested? The answer is yes. Include files can be nested any number of times. As long as you use precautionary measures , you can avoid including the same file twice. In the past, nesting header files was seen as bad programming practice, because it complicates the dependency trac... 2007-02-26, 6445👍, 0💬
Can we get a strongly typed resource class rather than using resource manager
Can we get a strongly typed resource class rather than using resource manager? In the previous question we had seen how resourcemanager class can be used to read the string from the resource file. But there has been considerable improvement in VS.Net 2005 for resource support. You no more need to lo... 2007-11-01, 6444👍, 0💬
How To Join a List of Keys with a List of Values into an Array
How To Join a List of Keys with a List of Values into an Array? - PHP Script Tips - PHP Built-in Functions for Arrays If you have a list keys and a list of values stored separately in two arrays, you can join them into a single array using the array_combine() function. It will make the values of the... 2007-04-21, 6439👍, 0💬
How Many Tags Are Defined in HTML 4.01
How Many Tags Are Defined in HTML 4.01? There are 77 tags defined in HTML 4.01: a abbr acronym address area b base bdo big blockquote body br button caption cite code col colgroup dd del dfn div dl dt em fieldset form h1 h2 h3 h4 h5 h6 head hr html i img input ins kbd label legend li link map meta n... 2007-03-03, 6439👍, 0💬
How To Control Vertical Alignment? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells By d...
What does a special set of tags <?= and ?> do in a PHP script page? <?= express...
What is the difference between delegate and events? ã Actually events use delegates in bottom. But ...
How To Enter Characters as HEX Numbers? - MySQL FAQs - Introduction to SQL Basics If you want to ent...
How To Insert Multiple Rows with a SELECT Statement? - MySQL FAQs - Managing Tables and Running Quer...