Welcome to your IT Test Which one of the following is the right way to define a constant? constant PI = “3.1415?; const $PI = “3.1415?; constant PI = ’3.1415'; const PI = ’3.1415'; We can use ___ to comment a single line? // ** */* What will be the output of the following php code: < ?php $num = 1; $num1 = 2; print $num . "+". $num1 ; ?> 3 1+2 1.+.2 Error The updated MySQL extension released with PHP 5 is typically referred to as.. A. MySQL B. mysql C. mysqli D. mysqly If there is no error, then what will the error() method return? A. TRUE B. FALSE C. Empty String D. 0 PHP script should start with ___ and end with ___: The practice of separating the user from the true inner workings of an application through well-known interfaces is known as.. A. Polymorphism B. Inheritance C. Encapsulation D. Abstraction What does PHP stand for? i) Personal Home Page ii) Hypertext Preprocessor iii) Pretext Hypertext Processor iv) Preprocessor Home Page Which of the following is the correct way to apply Styles? A. inside an HTML element B. inside the section of an HTML page C. in an external CSS file D. all of the above 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 The ______________ parameter identifies a character encoding, which is a method of converting a sequence of bytes into a sequence of characters. A. class B. element C. charset D. none of the mentioned Which are usually variables that are used internally in object methods and also are globally visible variables? A. Object properties B. Variable properties C. Method properties D. Internal properties Select ID, GPA from student grades order by GPA ____________ Inorder to give only 10 rank on the whole we should use : A. Limit 10 B. Upto 10 C. Only 10 D. Max 10 Which of the looping statements is/are supported by PHP? i) for loop ii) while loop iv) foreach loop All of the mentioned 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 Name Email Phone Number Time's up