<< < 13 14 15 16 17 18 19 20 21 22 23 > >>   Sort: Date

Importance of Synchronization
What is synchronization and why is it important? With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of...
2007-03-03, 6151👍, 0💬

Shift Operations
What will the following piece of code do? int f(unsigned int x) { int i; for (i=0; x!=0; x&gt;&gt;1) { if (x &amp; 0x1) i++; } return i; } Answer: returns the number of ones in the input parameter X.
2007-02-26, 6143👍, 0💬

Variable Types
What are the types of variables x, y, y and u defined in the following code? #define Atype int* typedef int *p; p x, z; Atype y, u; Answer: x and z are pointers to int. y is a pointer to int but u is just an integer variable
2007-02-26, 6124👍, 0💬

How To Apply Filtering Criteria at Group Level
How To Apply Filtering Criteria at Group Level? - MySQL FAQs - SQL SELECT Query Statements with GROUP BY If you want to return only specific groups from the query, you can apply filtering criteria at the group level by using the HAVING clause inside the GROUP BY clause. Note group functions can also...
2007-05-11, 6123👍, 0💬

Determining If Symbols Are Defined or Not
How can you check to see whether a symbol is defined? You can use the #ifdef and #ifndef preprocessor directives to check whether a symbol has been defined (#ifdef) or whether it has not been defined (#ifndef). Can you define which header file to include at compile time? Yes. This can be done by usi...
2007-02-26, 6121👍, 0💬

Is XHTML Element Name Case Sensitive
Is XHTML Element Name Case Sensitive? - XHTML Tutorials - Introduction To Tag and Attribute Syntax Yes, XHTML element names are case sensitive. All element names must be written in lower case letters. Here are some valid and invalid XHTML element names: &lt;html&gt; - Valid name. &lt;HTM...
2007-05-12, 6120👍, 0💬

Thread Safe JSP Pages
How can I implement a thread-safe JSP page? You can make your JSPs thread-safe by having them implement the SingleThreadModel interface. This is done by adding the directive &lt;%@ page isThreadSafe="false" %&gt; within your JSP page.
2007-04-03, 6116👍, 0💬

Explain in detail the fundamental of connection pooling
Explain in detail the fundamental of connection pooling? When a connection is opened first time a connection pool is created and is based on the exact match of the connection string given to create the connection object. Connection pooling only works if the connection string is the same. If the conn...
2007-10-24, 6112👍, 0💬

How to force a page to go to another page using JavaScript?
How to force a page to go to another page using JavaScript? &lt;script language="JavaScript" type="text/javascript" >&lt;!-- location.href="http://newhost/ newpath/newfile.html";//-->&lt;/script>
2009-02-17, 6101👍, 0💬

Swapping Variables
Can you write a program to interchange 2 variables without using the third one? a = 7; b = 2; a = a + b; b = a - b; a = a - b;
2007-02-26, 6075👍, 0💬

How To Save Query Output to a Local File
How To Save Query Output to a Local File? - Oracle DBA FAQ - Introduction to Command-Line SQL*Plus Client Tool Normally, when you run a SELECT statement in SQL*Plus, the output will be displayed on your screen. If you want the output to be saved to local file, you can use the "SPOOL fileName" comman...
2007-04-29, 6065👍, 0💬

Can one execute dynamic SQL from Forms?
Can one execute dynamic SQL from Forms? Yes, use the FORMS_DDL built-in or call the DBMS_SQL database package from Forms. Eg: FORMS_DDL('INSERT INTO X VALUES (' || col_list || ')'); Just note that FORMS_DDL will force an implicit COMMIT and may de-synchronize the Oracle Forms COMMIT mechanism.
2011-04-12, 6039👍, 0💬

How To View Existing Locks on the Database
How To View Existing Locks on the Database? - Oracle DBA FAQ - Understanding SQL Transaction Management As can see from the pervious tutorial exercise, performance of the second session is greatly affected by the data lock created on the database. To maintain a good performance level for all session...
2007-04-17, 6034👍, 0💬

Opening Files to Share with Other Programs
How can I open a file so that other programs can update it at the same time? Your C compiler library contains a low-level file function called sopen() that can be used to open a file in shared mode. Beginning with DOS 3.0, files could be opened in shared mode by loading a special program named SHARE...
2007-02-26, 6030👍, 0💬

What is the use of “OverRides” and “Overridable” keywords
What is the use of “OverRides” and “Overridable” keywords ? Overridable is used in parent class to indicate that a method can be overridden. Overrides is used in the child class to indicate that you are overriding a method
2007-10-23, 6012👍, 0💬

Waiting State in a Thread
What are three ways in which a thread can enter the waiting state? A thread can enter the waiting state by invoking its sleep() method, by blocking on IO, by unsuccessfully attempting to acquire an object's lock, or by invoking an object's wait() method. It can also enter the waiting state by invoki...
2007-03-03, 6000👍, 0💬

How To Select All Columns of All Rows from a Table
How To Select All Columns of All Rows from a Table? - Oracle DBA FAQ - Understanding SQL SELECT Query Statements The simplest query statement is the one that selects all columns of all rows from a table: "SELECT * FROM table_name;". The (*) in the SELECT clause tells the query to return all columns....
2007-04-21, 5955👍, 0💬

What Are the Differences between CHAR and NCHAR
What Are the Differences between CHAR and NCHAR? - Oracle DBA FAQ - Understanding SQL Basics Both CHAR and NCHAR are fixed length character data types. But they have the following differences: CHAR's size is specified in bytes by default. NCHAR's size is specified in characters by default. A charact...
2016-06-25, 5947👍, 0💬

How To Create a Top Left Corner Image with a Fading Color
How To Create a Top Left Corner Image with a Fading Color? - PSP Tutorials - Fading Images to Background Colors with PSP If you want to put background image to the top left corner of your Web page, you need to fad the right lower part of the image to the background color. The tutorial below tells yo...
2007-05-12, 5935👍, 0💬

How To Add Margins to an Image
How To Add Margins to an Image? - PSP Tutorials - Fading Images to Background Colors with PSP In order to adding effects to an image, sometimes you need to add margins to the image first. You can follow the steps below to add black margins to an image: Go to http://lettres.ac-rouen.fr/ and download ...
2007-05-12, 5935👍, 0💬

What Are Transaction Isolation Levels Supported by Oracle
What Are Transaction Isolation Levels Supported by Oracle? - Oracle DBA FAQ - Understanding SQL Transaction Management Oracle supports two transaction isolation levels: READ COMMITTED (the default option). If the transaction contains DML that requires row locks held by another transaction, then the ...
2007-04-17, 5935👍, 0💬

What Is the Text Paragraph Formatting Model
What Is the Text Paragraph Formatting Model? - CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements A text paragraph is divided into lines to for a stack of line boxes. Each line box is a rectangular with a line height and sharing the same width as the content box of the enclos...
2007-05-11, 5926👍, 0💬

What is Indexer
What is Indexer ? An indexer is a member that enables an object to be indexed in the same way as an array.
2007-10-23, 5886👍, 0💬

What is XMLTextReader
What is XMLTextReader? XPOINTER is used to locate data within XML document. XPOINTER can point to a particular portion of a XML document, for instance address.xml#xpointer(/descenda nt::streetnumber[@id=9])The “XmlTextReader” class helps to provide fast access to streams of XML data in a forward-onl...
2007-10-31, 5875👍, 0💬

<< < 13 14 15 16 17 18 19 20 21 22 23 > >>   Sort: Date