<< < 98 99 100 101 102 103 104 105 106 107 108 > >>   Sort: Date

What’s potentially wrong with the following code?
What’s potentially wrong with the following code? long value; //some stuff value &= 0xFFFF; Note: Hint to the candidate about the base platform they’re developing for. If the person still doesn’t find anything wrong with the code, they are not experienced with C++.
2012-05-11, 4098👍, 0💬

Referring to the sample code above, what value does I contain?
char s[] = {'a','b','c',0,'d','e','f',0}; int I = sizeof(s); Referring to the sample code above, what value does I contain? 1 3 2 6 3 7 4 8 5 9
2012-05-02, 4092👍, 0💬

What does JavaScript null mean?
What does JavaScript null mean? The null value is a unique value representing no value or no object. It implies no object, or null string, no valid boolean value, no number and no array object.
2010-12-14, 4081👍, 0💬

The eval() method is incredibly powerful because it:
The eval() method is incredibly powerful because it: A) allows you to execute snippets of code during execution. B) allows you to evaluate for enough resources. C) allows you to evaluate and validate user input. D) all of the above.
2010-08-28, 4073👍, 0💬

How to write a script manage a list using JavaScript?
How to write a script manage a list using JavaScript? 1. To remove an item from a list: set it to null: myList[3] = null; 2. To truncate a list: reset the length property: myList.length = 2; 3. To delete all items in a list, set the length to 0: myList.length = 0;
2010-08-24, 4068👍, 0💬

What is a Makefile? C++
What is a Makefile? C++ Makefile is a utility in Unix to help compile large programs. It helps by only compiling the portion of the program that has been changed. A Makefile is the file and make uses to determine what rules to apply. make is useful for far more than compiling programs.
2012-04-06, 4065👍, 0💬

How to create a function using function constructor?
How to create a function using function constructor? The following example illustrates this. It creates a function called square with argument x and returns x multiplied by itself. var square = new Function ("x","return x*x");
2011-08-16, 4065👍, 0💬

What Web sites do you feel use JavaScript most effectively (i.e., best-in-class examples)? The worst?
What Web sites do you feel use JavaScript most effectively (i.e., best-in-class examples)? The worst? The best sites are the ones that use JavaScript so transparently, that I'm not aware that there is any scripting on the page. The worst sites are those that try to impress me with how much scripting...
2010-11-09, 4064👍, 0💬

How to get values from cookies to set widgets?
How to get values from cookies to set widgets? function getCookieData(labelName) { //from Danny Goodman var labelLen = labelName.length; // read cookie property only once for speed var cookieData = document.cookie; var cLen = cookieData.length; var i = 0; var cEnd; while (i &lt; cLen) { var j = ...
2011-05-24, 4059👍, 0💬

Methods GET and POST in HTML forms - what's the difference?.
Methods GET and POST in HTML forms - what's the difference?. GET: Parameters are passed in the querystring. Maximum amount of data that can be sent via the GET method is limited to about 2kb. POST: Parameters are passed in the request body. There is no limit to the amount of data that can be transfe...
2010-08-17, 4059👍, 0💬

What does isNaN function do?
What does isNaN function do? Return true if the argument is not a number.
2010-08-03, 4058👍, 0💬

Where are cookies actually stored on the hard disk?
Where are cookies actually stored on the hard disk? This depends on the user's browser and OS. In the case of Netscape with Windows, all the cookies are stored in a single file called cookies.txt c:\Program Files\Netscape\Users\username\ cookies.txtIn the case of IE, each cookie is stored in a separ...
2010-07-20, 4048👍, 0💬

Example of using Regular Expressions for syntax checking in JavaScript
Example of using Regular Expressions for syntax checking in JavaScript ... var re = new RegExp("^(&[A-Za-z_0-9]{1, }=[A-Za-z_0-9]{1,})*$");var text = myWidget.value; var OK = re.test(text); if( ! OK ) { alert("The extra parameters need some work.\r\n Should be something like: \"&a=1&c=4\...
2010-07-13, 4046👍, 0💬

Taking a developer’s perspective, do you think that that JavaScript is easy to learn and use?
Taking a developer’s perspective, do you think that that JavaScript is easy to learn and use? I think JavaScript is easy to learn. One of the reasons JavaScript has the word "script" in it is that as a programming language, the vocabulary of the core language is compact compared to full-fledged prog...
2010-11-09, 4045👍, 0💬

What is Web Listener ?
What is Web Listener ? Web Listener is Web Server listener which is listening for web Services(HTTP) request. This listener is started by adapcctl.sh and defined by directive (Listen, Port) in httpd.conf for Web Server. When you initially type request like http://becomeappsdba.blogspot. com:80to acc...
2011-12-27, 4036👍, 0💬

What does undefined value mean in JavaScript?
What does undefined value mean in JavaScript? Undefined value means the variable used in the code doesn't exist or is not assigned any value, or the property doesnt exist.
2011-01-18, 4036👍, 0💬

Referring to the sample code above, how do you declare a numbers object called "A" and assign its "I" member the value "2"?
class numbers { int I; public: void set(int v) {I = v;} int read() {return I;} } ; Referring to the sample code above, how do you declare a numbers object called "A" and assign its "I" member the value "2"? 1) A : numbers; A.set(2); 2) numbers set(2); numbers A; 3) numbers A; set(2); 4) A.set(2), B....
2012-05-01, 4035👍, 0💬

What are the problems associated with using JavaScript, and are there JavaScript techniques that you discourage?
What are the problems associated with using JavaScript, and are there JavaScript techniques that you discourage? Browser version incompatibility is the biggest problem. It requires knowing how each scriptable browser version implements its object model. You see, the incompatibility rarely has to do ...
2010-09-21, 4031👍, 0💬

How to create an input box?
How to create an input box? prompt("What is your temperature?");
2011-03-08, 4027👍, 0💬

How to compile Invalid Objects in database ?
How to compile Invalid Objects in database ? You can use adadmin utility to compile or you can use utlrp.sql script shipped with Oracle Database to compile Invalid Database Objects.
2011-12-28, 4026👍, 0💬

Should BasketOfApples derive from BasketOfFruit? Why or why not?
Given the following classes class Fruit { // … } class Apple : public Fruit { // … } class Peach : public Fruit { // … } // Container of fruit class BasketOfFruit { BasketOfFruit() ; void insert( Fruit & f ) ; // … } // Container of apples class BasketOfApples /* ??? */ { // … } Should BasketO...
2012-05-14, 4011👍, 0💬

What is difference between COMPILE_ALL=SPECIAL and COMPILE=ALL while compiling Forms ?
What is difference between COMPILE_ALL=SPECIAL and COMPILE=ALL while compiling Forms ? Both the options will compile all the PL/SQL in the resultant .FMX, .PLX, or .MMX file but COMPILE_ALL=YES also changes the cached version in the source .FMB, .PLL, or .MMB file. This confuses version control and ...
2011-11-17, 4011👍, 0💬

What is a prompt box?
What is a prompt box? A prompt box allows the user to enter input by providing a text box.
2010-11-02, 4008👍, 0💬

The browser makes an Ajax call by calling the:
The browser makes an Ajax call by calling the: A) send method of the XMLHttpObject. B) sendRequest method of the XMLHttpObject. C) sendAJAXRequest method of the XMLHttpObject. D) sendData method of the XMLHttpObject.
2010-08-28, 4008👍, 0💬

<< < 98 99 100 101 102 103 104 105 106 107 108 > >>   Sort: Date