IT test Welcome to your IT Test < ?php function a() { function b() { echo 'I am b'; } echo 'I am a'; } a(); a(); ?> I am b I am bI am a Error I am a Error Which one of the following methods can be used to diagnose and display information about a MySQL connection error? A. connect_errno() B. connect_error() C. mysqli_connect_errno() D. mysqli_connect_error() Which of the following keyword is not associated with initialization of variable ? A. DECLARE B. SET C. SELECT D. All of the mentioned Which one of the following function is capable of reading a file into a string variable? file_contents() file_get_contents() file_content() file_get_content() Which of the below symbols is a newline character? \r \n /n /r What will be the output of the following code? < ?php $foo = 'Bob'; $bar = &$foo; $bar = "My name is $bar"; echo $bar; echo $foo; ?> Error My name is BobBob My name is BobMy name is Bob My name is Bob Bob What will be the output of the following php code: < ?php $num = 1; $num1 = 2; print $num . "+". $num1 ; ?> 3 1+2 1.+.2 Error PHP script should start with ___ and end with ___: What are the methods used to provide effects in jQuery? A. Show() B. Hide() C. Toggle() D. All of these What is AJAX? A. is a program B. is a country name C. is a football club name D. All of these If your object must inherit behavior from a number of sources you must use a/an A. Interface B. Object C. abstract class D. static class To deal with cookies in jQuery we have to use ______ cookie plugin A. Dough B. Session C. Dazzler D. None of these Which of the following selectors selects any tag with an id attribute set in CSS? A. E#id B. .class C. #id D. * Which of the following is/are a PHP code editor? ditor? Notepad Notepad++ Adobe Dreamweaver PDT Purpose of foreign key constraint in SQL Server is : A. FOREIGN KEY constraints identify and enforce the relationships between tables B. A foreign key in one table points to a candidate key in another table C. You cannot insert a row with a foreign key value, except NULL, if there is no candidate key with that value D. None of the mentioned Name Email Phone Number Time's up