<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" >

<channel><title><![CDATA[Chaitanya Lakshmi - Objective Questions]]></title><link><![CDATA[https://www.chaitanyalella.com/objective-questions]]></link><description><![CDATA[Objective Questions]]></description><pubDate>Wed, 03 Jun 2026 15:38:31 -0700</pubDate><generator>Weebly</generator><item><title><![CDATA[PHP is a widely used ……………. scripting language that is especially suited for web development and can be embedded into html]]></title><link><![CDATA[https://www.chaitanyalella.com/objective-questions/php-is-a-widely-used-scripting-language-that-is-especially-suited-for-web-development-and-can-be-embedded-into-html]]></link><comments><![CDATA[https://www.chaitanyalella.com/objective-questions/php-is-a-widely-used-scripting-language-that-is-especially-suited-for-web-development-and-can-be-embedded-into-html#comments]]></comments><pubDate>Tue, 28 Feb 2012 06:50:47 GMT</pubDate><category><![CDATA[general]]></category><guid isPermaLink="false">https://www.chaitanyalella.com/objective-questions/php-is-a-widely-used-scripting-language-that-is-especially-suited-for-web-development-and-can-be-embedded-into-html</guid><description><![CDATA[Open source general purpose Proprietary general purpose Open source special purpose Proprietary special purposeAnswer:Open source general purpose    [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; "><ul><li>Open source general purpose </li><li>Proprietary general purpose </li><li>Open source special purpose </li><li>Proprietary special purpose</li></ul><span style="font-weight: bold;">Answer:</span><br />Open source general purpose <br /><span></span><br /></div>  ]]></content:encoded></item><item><title><![CDATA[When compared to the compiled program, scripts run?]]></title><link><![CDATA[https://www.chaitanyalella.com/objective-questions/when-compared-to-the-compiled-program-scripts-run]]></link><comments><![CDATA[https://www.chaitanyalella.com/objective-questions/when-compared-to-the-compiled-program-scripts-run#comments]]></comments><pubDate>Tue, 28 Feb 2012 06:49:42 GMT</pubDate><category><![CDATA[general]]></category><guid isPermaLink="false">https://www.chaitanyalella.com/objective-questions/when-compared-to-the-compiled-program-scripts-run</guid><description><![CDATA[Faster Slower The execution speed is similar All of aboveAnswer:Slower   [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; "><ul><li>Faster </li><li>Slower </li><li>The execution speed is similar </li><li>All of above</li></ul><span style="font-weight: bold;">Answer:</span><br /><span>Slower</span><br /></div>  ]]></content:encoded></item><item><title><![CDATA[A script is a?]]></title><link><![CDATA[https://www.chaitanyalella.com/objective-questions/a-script-is-a]]></link><comments><![CDATA[https://www.chaitanyalella.com/objective-questions/a-script-is-a#comments]]></comments><pubDate>Tue, 28 Feb 2012 06:48:14 GMT</pubDate><category><![CDATA[general]]></category><guid isPermaLink="false">https://www.chaitanyalella.com/objective-questions/a-script-is-a</guid><description><![CDATA[Program or sequence of instructions that is interpreted or carried out by processor directly Program or sequence of instruction that is interpreted or carried out by another programProgram or sequence of instruction that is interpreted or carried out by web server onlyNone of aboveAnswer:Program or sequence of instruction that is interpreted or carried out by another program   [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; "><ul><li>Program or sequence of instructions that is interpreted or carried out by processor directly </li><li>Program or sequence of instruction that is interpreted or carried out by another program</li><li>Program or sequence of instruction that is interpreted or carried out by web server only</li><li>None of above</li></ul><span style="font-weight: bold;">Answer:</span><br />Program or sequence of instruction that is interpreted or carried out by another program<br /><span></span><br /></div>  ]]></content:encoded></item><item><title><![CDATA[What OOP construct unavailable in PHP 4 does the following script approximate?]]></title><link><![CDATA[https://www.chaitanyalella.com/objective-questions/what-oop-construct-unavailable-in-php-4-does-the-following-script-approximate]]></link><comments><![CDATA[https://www.chaitanyalella.com/objective-questions/what-oop-construct-unavailable-in-php-4-does-the-following-script-approximate#comments]]></comments><pubDate>Tue, 28 Feb 2012 06:11:09 GMT</pubDate><category><![CDATA[phponweb]]></category><guid isPermaLink="false">https://www.chaitanyalella.com/objective-questions/what-oop-construct-unavailable-in-php-4-does-the-following-script-approximate</guid><description><![CDATA[class my_class { function my_funct ($my_param) { user_error ("Please define me", E_ERROR); } function b() { return 10; } }A. Multiple inheritance B. Interfaces C. Abstract methods D. Private methods E. Function overloadingAnswer:Abstract methods   [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; ">class my_class<br /> {<br /> function my_funct ($my_param)<br /> {<br /> user_error ("Please define me", E_ERROR);<br /> }<br /> function b()<br /> {<br /> return 10;<br /> }<br /> }<br /><br />A. Multiple inheritance<br /> B. Interfaces<br /> <strong style="font-weight: normal;">C. Abstract methods</strong><br /> D. Private methods<br /> E. Function overloading<br /><br /><span style="font-weight: bold;">Answer:</span><br /><strong style="font-weight: normal;">Abstract methods</strong><br /></div>  ]]></content:encoded></item><item><title><![CDATA[Which object-oriented pattern would you use to implement a class that must be instantiated only once for the entire lifespan of a script?]]></title><link><![CDATA[https://www.chaitanyalella.com/objective-questions/which-object-oriented-pattern-would-you-use-to-implement-a-class-that-must-be-instantiated-only-once-for-the-entire-lifespan-of-a-script]]></link><comments><![CDATA[https://www.chaitanyalella.com/objective-questions/which-object-oriented-pattern-would-you-use-to-implement-a-class-that-must-be-instantiated-only-once-for-the-entire-lifespan-of-a-script#comments]]></comments><pubDate>Tue, 28 Feb 2012 06:09:32 GMT</pubDate><category><![CDATA[phponweb]]></category><guid isPermaLink="false">https://www.chaitanyalella.com/objective-questions/which-object-oriented-pattern-would-you-use-to-implement-a-class-that-must-be-instantiated-only-once-for-the-entire-lifespan-of-a-script</guid><description><![CDATA[A. Model-view-controller B. Abstract factory C. Singleton D. Proxy E. StateAnswer:Singleton   [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; ">A. Model-view-controller<br /> B. Abstract factory<br /> <strong style="font-weight: normal;">C. Singleton</strong><br /> D. Proxy<br /> E. State<br /><br /><span style="font-weight: bold;">Answer:</span><br /><span>Singleton</span><br /></div>  ]]></content:encoded></item><item><title><![CDATA[At the end of the execution of the following script, which values will be stored in the $a-&gt;my_value array? (Choose 3)]]></title><link><![CDATA[https://www.chaitanyalella.com/objective-questions/at-the-end-of-the-execution-of-the-following-script-which-values-will-be-stored-in-the-a-gtmy_value-array-choose-3]]></link><comments><![CDATA[https://www.chaitanyalella.com/objective-questions/at-the-end-of-the-execution-of-the-following-script-which-values-will-be-stored-in-the-a-gtmy_value-array-choose-3#comments]]></comments><pubDate>Tue, 28 Feb 2012 06:07:46 GMT</pubDate><category><![CDATA[phponweb]]></category><guid isPermaLink="false">https://www.chaitanyalella.com/objective-questions/at-the-end-of-the-execution-of-the-following-script-which-values-will-be-stored-in-the-a-gtmy_value-array-choose-3</guid><description><![CDATA[class my_class { var $my_value = array(); function my_class ($value) { $this-&gt;my_value[] = $value; } function set_value ($value) { $this-&gt;$my_value = $value; } } $a = new my_class ('a'); $a-&gt;my_value[] = 'b'; $a-&gt;set_value ('c'); $a-&gt;my_class('d');cbadeAnswers:b,a and dThe set_value method of my_class will not work correctly because it uses  the expression $this-&gt;$my_value, which is a &ldquo;variable variable&rdquo;  that, under the circumstances will never correspond to any re [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; ">class my_class<br /> {<br /> var $my_value = array();<br /> function my_class ($value)<br /> {<br /> $this-&gt;my_value[] = $value;<br /> }<br /> function set_value ($value)<br /> {<br /> $this-&gt;$my_value = $value;<br /> }<br /> }<br /> $a = new my_class ('a');<br /> $a-&gt;my_value[] = 'b';<br /> $a-&gt;set_value ('c');<br /> $a-&gt;my_class('d');<br /><br /><ul><li>c</li><li>b</li><li>a</li><li>d</li><li>e</li></ul><span style="font-weight: bold;">Answers:</span><br /><span></span>b,a and d<br /><br />The set_value method of my_class will not work correctly because it uses  the expression $this-&gt;$my_value, which is a &ldquo;variable variable&rdquo;  that, under the circumstances will never correspond to any real property  of the class.<br /></div>  ]]></content:encoded></item><item><title><![CDATA[Can AJAX be synchronous?]]></title><link><![CDATA[https://www.chaitanyalella.com/objective-questions/can-ajax-be-synchronous]]></link><comments><![CDATA[https://www.chaitanyalella.com/objective-questions/can-ajax-be-synchronous#comments]]></comments><pubDate>Tue, 28 Feb 2012 05:41:33 GMT</pubDate><category><![CDATA[krds]]></category><guid isPermaLink="false">https://www.chaitanyalella.com/objective-questions/can-ajax-be-synchronous</guid><description><![CDATA[True False I don&rsquo;t knowAnswer:True   [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; "><ul><li>True</li><li> False</li><li> I don&rsquo;t know</li></ul><span style="font-weight: bold;">Answer:</span><br /><span>True</span><br /><span></span><br /></div>  ]]></content:encoded></item><item><title><![CDATA[Include files must have the file extension “.inc”]]></title><link><![CDATA[https://www.chaitanyalella.com/objective-questions/include-files-must-have-the-file-extension-inc]]></link><comments><![CDATA[https://www.chaitanyalella.com/objective-questions/include-files-must-have-the-file-extension-inc#comments]]></comments><pubDate>Tue, 28 Feb 2012 05:39:02 GMT</pubDate><category><![CDATA[krds]]></category><guid isPermaLink="false">https://www.chaitanyalella.com/objective-questions/include-files-must-have-the-file-extension-inc</guid><description><![CDATA[True False I don&rsquo;t knowAnswer:False   [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; "><ul><li>True</li><li> False</li><li> I don&rsquo;t know</li></ul><span style="font-weight: bold;">Answer:</span><br /><span>False</span><br /></div>  ]]></content:encoded></item><item><title><![CDATA[Which function does return the number of seconds elapsed since the 1st January 1970?]]></title><link><![CDATA[https://www.chaitanyalella.com/objective-questions/which-function-does-return-the-number-of-seconds-elapsed-since-the-1st-january-1970]]></link><comments><![CDATA[https://www.chaitanyalella.com/objective-questions/which-function-does-return-the-number-of-seconds-elapsed-since-the-1st-january-1970#comments]]></comments><pubDate>Tue, 28 Feb 2012 05:35:29 GMT</pubDate><category><![CDATA[krds]]></category><guid isPermaLink="false">https://www.chaitanyalella.com/objective-questions/which-function-does-return-the-number-of-seconds-elapsed-since-the-1st-january-1970</guid><description><![CDATA[time() timestamp() mktime()microtime() I don&rsquo;t knowAnswer:mktime()   [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; "><ul><li>time()</li><li> timestamp()</li><li> mktime()</li><li>microtime()</li><li> I don&rsquo;t know</li></ul><span style="font-weight: bold;">Answer:</span><br />mktime()<br /><span></span><br /></div>  ]]></content:encoded></item><item><title><![CDATA[PHP is a _____ scripting language based on the ____ engine. It is primarily used to  develop dynamic _____ content, although it can be used to generate ____ documents  (among others) as well.]]></title><link><![CDATA[https://www.chaitanyalella.com/objective-questions/php-is-a-_____-scripting-language-based-on-the-____-engine-it-is-primarily-used-to-develop-dynamic-_____-content-although-it-can-be-used-to-generate-____-documents-among-others-as-well]]></link><comments><![CDATA[https://www.chaitanyalella.com/objective-questions/php-is-a-_____-scripting-language-based-on-the-____-engine-it-is-primarily-used-to-develop-dynamic-_____-content-although-it-can-be-used-to-generate-____-documents-among-others-as-well#comments]]></comments><pubDate>Tue, 28 Feb 2012 05:32:49 GMT</pubDate><category><![CDATA[krds]]></category><guid isPermaLink="false">https://www.chaitanyalella.com/objective-questions/php-is-a-_____-scripting-language-based-on-the-____-engine-it-is-primarily-used-to-develop-dynamic-_____-content-although-it-can-be-used-to-generate-____-documents-among-others-as-well</guid><description><![CDATA[Dynamic, PHP, Database, HTML Embedded, Zend, HTML, XML Perl-based, PHP, Web, Static Embedded, Zend, Docbook, MySQL Zend-based, PHP, Image, HTML I don&rsquo;t knowAnswer:Embedded, Zend, HTML, XML   [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; "><ul><li>Dynamic, PHP, Database, HTML</li><li> Embedded, Zend, HTML, XML</li><li> Perl-based, PHP, Web, Static</li><li> Embedded, Zend, Docbook, MySQL</li><li> Zend-based, PHP, Image, HTML</li><li> I don&rsquo;t know</li></ul><span style="font-weight: bold;">Answer:</span><br /><span></span>Embedded, Zend, HTML, XML<br /><span></span><br /></div>  ]]></content:encoded></item></channel></rss>