IT test Welcome to your IT Test What will be the output of the following php code? < ?php $num = "1"; $num1 = "2"; print $num+$num1 ; ?> 3 1+2 Error 12 Which one of the following statements is used to create a table? CREATE TABLE table_name (column_name column_type); CREATE table_name (column_type column_name); CREATE table_name (column_name column_type); CREATE TABLE table_name (column_type column_name); < ?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 The element ___________ simply groups items within an enclosed dd tag, though it may associate them with a caption defined by a dt tag A. object B. figure C. embed D. none 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() What are the advantages of Ajax? A. Bandwidth utilization B. More interactive C. Speeder retrieval of data D. All of these Consider the following code snippet console.log(p) If p is not defined, what would be the result or type of error? A. Zero B. Null C. ReferenceError D. ValueNotFoundError 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 We can use ___ to comment a single line? // ** */* Which one of the following function is capable of reading a file into an array? file() arrfile() arr_file() file_arr() Which of the following are not advanced services? A. Data storage B. Networking C. XMLHttpRequest object D. None of the mentioned 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 PHP files have a default file extension of. A. .html B. .xml C. .php D. .ph Function cannot be used for __________ statement. A. Create B. Drop C. Select D. Insert 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() Name Email Phone Number Time's up