<< < 10 11 12 13 14 15 16 17 18 19 20 > >>   Sort: Date

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, 6860👍, 0💬

How To Set session.gc_maxlifetime Properly
How To Set session.gc_maxlifetime Properly? - PHP Script Tips - Understanding and Using Sessions As you know that session.gc_maxlifetime is the session value timeout period. You should set this value based on the usage pattern of your visitors. Here are some suggestions: # Set it to 20 minutes for a...
2007-04-18, 6852👍, 0💬

Explain all parts of a deployment diagram
Explain all parts of a deployment diagram? Package: It logically groups element of a UML model. Node: A physical system which represents a processing resource, example PC or a host machine. Component: It’s the actual implementation or physical module of a UML system. Node instance: It’s a runtime ph...
2007-10-26, 6851👍, 0💬

Strings vs. Character Arrays
What is the difference between strings and character arrays? A major difference is: string will have static storage duration, whereas as a character array will not, unless it is explicity specified by using the static keyword. Actually, a string is a character array with following properties: * the ...
2007-02-26, 6850👍, 0💬

"volatile" Modifier
when should the volatile modifier be used? The volatile modifier is a directive to the compiler's optimizer that operations involving this variable should not be optimized in certain ways. There are two special cases in which use of the volatile modifier is desirable. The first case involves memory-...
2007-02-26, 6840👍, 0💬

Using Pointers
What print out will the folloging code produce? main() { char *p1=“name”; char *p2; p2=(char*)malloc(20); memset (p2, 0, 20); while(*p2++ = *p1++); printf(“%s\n”,p2);> } The pointer p2 value is also increasing with p1 . *p2++ = *p1++ means copy value of *p1 to *p2 , then increment both addresses (p...
2007-02-26, 6828👍, 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, 6823👍, 0💬

FORM - How to Use IT
How do I use forms? The basic syntax for a form is: &lt;FORM ACTION="[URL]">...&lt;/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, 6823👍, 0💬

What Is URI
What Is URI? URI (Uniform Resource Identifier) is a superset of URL. URI provides a simple and extensible means for identifying a resource in a more generic way. For example, the following strings are all valid URIs: ftp://ftp.is.co.za/rfc/rfc1808 .txthttp://www.ietf.org/rfc/rfc239 6.txtldap://[2001...
2007-03-03, 6822👍, 0💬

urlencode() and urldecode() Functions?
What are urlencode() and urldecode() functions in PHP? string urlencode(str) - Returns the URL encoded version of the input string. String values to be used in URL query string need to be URL encoded. In the URL encoded version: Alphanumeric characters are maintained as is. Space characters are conv...
2007-02-27, 6819👍, 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, 6818👍, 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, 6817👍, 0💬

What is the purpose of Replication
What is the purpose of Replication ? Replication is way of keeping data synchronized in multiple databases. SQL server replication has two important aspects publisher and subscriber. Publisher Database server that makes data available for replication is called as Publisher. Subscriber Database Serve...
2007-10-25, 6809👍, 0💬

Incremental Operatos
What will be printed as the result of the operation below: main() { int x=20,y=35; x=y++ + x++; y= ++y + ++x; printf("%d%d\n",x,y); } Answer : 5794
2007-02-26, 6804👍, 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, 6801👍, 0💬

What is page thrashing
What is page thrashing? Some operating systems (such as UNIX or Windows in enhanced mode) use virtual memory. Virtual memory is a technique for making a machine behave as if it had more memory than it really has, by using disk space to simulate RAM (random-access memory). In the 80386 and higher Int...
2007-02-26, 6799👍, 0💬

How Oracle Handles Dead Locks
How Oracle Handles Dead Locks? - Oracle DBA FAQ - Understanding SQL Transaction Management Oracle server automatically detects dead locks. When a dead lock is detected, Oracle server will select a victim transaction, and fail its statement that is blocked in the dead lock to break the dead lock. The...
2007-04-17, 6795👍, 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, 6791👍, 0💬

Order of Exception Catch Clauses
Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written? Yes, it does. The FileNoFoundException is inherited from the IOException. Exception's subclasses have to be caught first.
2007-03-03, 6791👍, 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, 6790👍, 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, 6789👍, 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. &lt;a href=”mypage.htm” target=”BodyFrame”>>Next&l t;/a>
2008-05-06, 6788👍, 0💬

How To Insert Multiple Rows with a SELECT Statement
How To Insert Multiple Rows with a SELECT Statement? - MySQL FAQs - Managing Tables and Running Queries with PHP Scripts If want to insert rows into a table based on data rows from other tables, you can use a sub-query inside the INSERT statement as shown in the following script example: &lt;?ph...
2007-05-10, 6772👍, 0💬

Function Calls
What will be printed as the resultof the operation below: int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyva...
2007-02-26, 6772👍, 0💬

<< < 10 11 12 13 14 15 16 17 18 19 20 > >>   Sort: Date