"},{"@type": "Answer", "text": "All of the above"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 57", "text": "What is the purpose of basename() function in PHP?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Strips of the path and returns the file name." }, "option": [{"@type": "Answer", "text": "Returns the last accessed time of the file"},{"@type": "Answer", "text": "Returns the first accessed time of the file"},{"@type": "Answer", "text": "Strips of the path and returns the file name."},{"@type": "Answer", "text": "Strips of the path the returns of the folder name."}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 58", "text": "In PHP, fgets() is used to read a file one line at a time.", "answerCount": 2, "acceptedAnswer": { "@type": "Answer", "text": "TRUE" }, "option": [{"@type": "Answer", "text": "TRUE"},{"@type": "Answer", "text": "FALSE"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 59", "text": "Which of the following statement produce different output", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "" }, "option": [{"@type": "Answer", "text": " echo “this is php example”; ?>"},{"@type": "Answer", "text": "
"},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 60", "text": "Which of the following data type is compound datatype supported by PHP.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Array" }, "option": [{"@type": "Answer", "text": "Array"},{"@type": "Answer", "text": "String"},{"@type": "Answer", "text": "Float"},{"@type": "Answer", "text": "Boolean"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 61", "text": "Which of the following functions in PHP do not return a timestamp?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "date()" }, "option": [{"@type": "Answer", "text": "time()"},{"@type": "Answer", "text": "date()"},{"@type": "Answer", "text": "strtotime()"},{"@type": "Answer", "text": "gmmktime()"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 62", "text": "Which of the following are valid float values?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "All of the above" }, "option": [{"@type": "Answer", "text": "4.5678"},{"@type": "Answer", "text": "4"},{"@type": "Answer", "text": "7.00E+04"},{"@type": "Answer", "text": "All of the above"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 63", "text": "Which of the following type specifier is invalid in printf() functions.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "% a" }, "option": [{"@type": "Answer", "text": "% a"},{"@type": "Answer", "text": "% b"},{"@type": "Answer", "text": "% c"},{"@type": "Answer", "text": "% d"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 64", "text": "Transactions are used to treat sets of SQL statements atomically.", "answerCount": 2, "acceptedAnswer": { "@type": "Answer", "text": "TRUE" }, "option": [{"@type": "Answer", "text": "TRUE"},{"@type": "Answer", "text": "FALSE"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 65", "text": "How does the identity operator ===compare two values in PHP?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "It returns True only if they are both of the same type and value" }, "option": [{"@type": "Answer", "text": "It converts them to common compatible data type and then compares the resulting values."},{"@type": "Answer", "text": "It returns True only if they are both of the same type and value"},{"@type": "Answer", "text": "If the two values are strings, it performs a lexical comparison"},{"@type": "Answer", "text": "It based its comparison on the C strcmp function exclusively"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 66", "text": "Which of the following is not an SQL aggregate function?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "CURRENT_DATE()" }, "option": [{"@type": "Answer", "text": "AVG"},{"@type": "Answer", "text": "SUM"},{"@type": "Answer", "text": "MIN"},{"@type": "Answer", "text": "CURRENT_DATE()"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 67", "text": "The _____________ statement is used to delete a table in MySQL.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "DROP TABLE" }, "option": [{"@type": "Answer", "text": "DROP TABLE"},{"@type": "Answer", "text": "DELETE TABLE"},{"@type": "Answer", "text": "DEL TABLE"},{"@type": "Answer", "text": "REMOVE TABLE"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 68", "text": "The ____________function parses an English textual date or time into Unix timestamp in PHP.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "strtotime()" }, "option": [{"@type": "Answer", "text": "strtodate()"},{"@type": "Answer", "text": "stroftime()"},{"@type": "Answer", "text": "strtotime()"},{"@type": "Answer", "text": "str_to_time()"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 69", "text": "Which function(s) in PHP computes the difference of arrays?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "array_diff" }, "option": [{"@type": "Answer", "text": "array_diff"},{"@type": "Answer", "text": "diff_array"},{"@type": "Answer", "text": "arrays_diff"},{"@type": "Answer", "text": "diff_arrays"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 70", "text": "______________ Returns the time of sunrise for a given day / location in PHP.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "date_sunrise()" }, "option": [{"@type": "Answer", "text": "datesunrise()"},{"@type": "Answer", "text": "date_sunrise()"},{"@type": "Answer", "text": "date-sunrise()"},{"@type": "Answer", "text": "date.sunrise()"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 71", "text": "What is the difference between print() and echo() in PHP?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "echo() can be used in the CLI version of PHP, while print() can’t" }, "option": [{"@type": "Answer", "text": "print has a return value of 1 so it can be used in expressions where as echo has a void return type"},{"@type": "Answer", "text": "echo() can be used in the CLI version of PHP, while print() can’t"},{"@type": "Answer", "text": "print() can be used in the CLI version of PHP, while echo() can’t"},{"@type": "Answer", "text": "There’s no difference: both functions print out some text!"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 72", "text": "The ___________ function is used to read a single character from a file in PHP.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "fgetc()" }, "option": [{"@type": "Answer", "text": "fgetc()"},{"@type": "Answer", "text": "fgets()"},{"@type": "Answer", "text": "fget()"},{"@type": "Answer", "text": "fgetf()"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 73", "text": "In PHP, which of the following(s) count elements in an array?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "count" }, "option": [{"@type": "Answer", "text": "count"},{"@type": "Answer", "text": "Sizeof"},{"@type": "Answer", "text": "Array_Count"},{"@type": "Answer", "text": "Count_array"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 74", "text": "Which syntax is default syntax in PHP?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "< ?php ?>" }, "option": [{"@type": "Answer", "text": "< ?php ?>"},{"@type": "Answer", "text": "<% %>"},{"@type": "Answer", "text": "< ? ?>"},{"@type": "Answer", "text": "< script language="php">"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 75", "text": "Which of the following delimiter syntax is PHP's default delimiter syntax", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": " php ?>" }, "option": [{"@type": "Answer", "text": " php ?>"},{"@type": "Answer", "text": "<% %>"},{"@type": "Answer", "text": " ?>"},{"@type": "Answer", "text": ""}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 76", "text": "Which of the following delimiter is default in PHP?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "" }, "option": [{"@type": "Answer", "text": ""},{"@type": "Answer", "text": "<% %>"},{"@type": "Answer", "text": " ?>"},{"@type": "Answer", "text": ""}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 77", "text": "What is the expansion of LAMP?", "answerCount": 2, "acceptedAnswer": { "@type": "Answer", "text": "Linux Apache MySQL PHP" }, "option": [{"@type": "Answer", "text": "Linux And MySQL PHP"},{"@type": "Answer", "text": "Linux Apache MySQL PHP"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 78", "text": "Which operator is used to concatenate two strings in PHP?", "answerCount": 2, "acceptedAnswer": { "@type": "Answer", "text": "dot operator (.)" }, "option": [{"@type": "Answer", "text": "dot operator (.)"},{"@type": "Answer", "text": "plus operator (+)"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 79", "text": "Whether One-line comment begin with pound sing(#) in PHP?", "answerCount": 2, "acceptedAnswer": { "@type": "Answer", "text": "True" }, "option": [{"@type": "Answer", "text": "True"},{"@type": "Answer", "text": "False"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 80", "text": "Which of following comments is supported by PHP.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Both of above" }, "option": [{"@type": "Answer", "text": "Single line c++ syntax - //"},{"@type": "Answer", "text": "Shell syntax - #"},{"@type": "Answer", "text": "Both of above"},{"@type": "Answer", "text": "None of above"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 81", "text": "What PHP stands for?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "PHP: Hypertext Preprocessor" }, "option": [{"@type": "Answer", "text": "Hypertext Preprocessor"},{"@type": "Answer", "text": "Pre Hypertext Processor"},{"@type": "Answer", "text": "Pre Hyper Processor"},{"@type": "Answer", "text": "PHP: Hypertext Preprocessor"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 82", "text": "There are three different kind of arrays:", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Numeric array, Associative array, Multidimensional array" }, "option": [{"@type": "Answer", "text": "Numeric array, String array, Multidimensional array"},{"@type": "Answer", "text": "Numeric array, Associative array, Dimensional array"},{"@type": "Answer", "text": "Numeric array, Associative array, Multidimensional array"},{"@type": "Answer", "text": "Const array, Associative array, Multidimensional array"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 83", "text": "PHP is __________________.", "answerCount": 2, "acceptedAnswer": { "@type": "Answer", "text": "Truly cross-platform" }, "option": [{"@type": "Answer", "text": "Partially cross-platform"},{"@type": "Answer", "text": "Truly cross-platform"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 84", "text": "Can we embedded directly PHP code into XHTML document?", "answerCount": 2, "acceptedAnswer": { "@type": "Answer", "text": "TRUE" }, "option": [{"@type": "Answer", "text": "FALSE"},{"@type": "Answer", "text": "TRUE"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 85", "text": "Variables always start with a ________ in PHP.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Dollar-sign" }, "option": [{"@type": "Answer", "text": "Pond-sign"},{"@type": "Answer", "text": "Yen-sign"},{"@type": "Answer", "text": "Dollar-sign"},{"@type": "Answer", "text": "Euro-sign"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 86", "text": "Which of the following function is used to change the root directory in PHP?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "choot()" }, "option": [{"@type": "Answer", "text": "choot()"},{"@type": "Answer", "text": "change_root()"},{"@type": "Answer", "text": "cd_root()"},{"@type": "Answer", "text": "cd_r()"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 87", "text": "Which of the following tags in PHP is not a valid way to begin and end a PHP code block?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "" }, "option": [{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": " ?>"},{"@type": "Answer", "text": ""}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 88", "text": "What will the ?getdate() function returns in PHP?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "An array" }, "option": [{"@type": "Answer", "text": "An integer"},{"@type": "Answer", "text": "A floating-point number"},{"@type": "Answer", "text": "An array"},{"@type": "Answer", "text": "A string"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 89", "text": "What is full form of PHP?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "HypertextPreprocessor" }, "option": [{"@type": "Answer", "text": "PreHypertextProcessor"},{"@type": "Answer", "text": "HypertextPreprocessor"},{"@type": "Answer", "text": "Hypertext Postprocessor"},{"@type": "Answer", "text": "PostHypertextProcessor"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 90", "text": "The left association operator % is used in PHP for __________.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "modulus" }, "option": [{"@type": "Answer", "text": "percentage"},{"@type": "Answer", "text": "bitwise or"},{"@type": "Answer", "text": "division"},{"@type": "Answer", "text": "modulus"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 91", "text": "Which one is right in PHP?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "" }, "option": [{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 92", "text": "SQL is not case sensitive. DELETE is the same as delete.", "answerCount": 2, "acceptedAnswer": { "@type": "Answer", "text": "TRUE" }, "option": [{"@type": "Answer", "text": "TRUE"},{"@type": "Answer", "text": "FALSE"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 93", "text": "Which of the following is not true regarding XForms?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "The action and method parameters are defined in the body" }, "option": [{"@type": "Answer", "text": "PHP provides support for XForm"},{"@type": "Answer", "text": "It can be used on PDF documents"},{"@type": "Answer", "text": "The data is sent in XML format"},{"@type": "Answer", "text": "The action and method parameters are defined in the body"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 94", "text": "You have defined three variables $to, $subject and $body to send an email. Which of the following methods would you use for sending an email?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "mail($to,$subject,$body)" }, "option": [{"@type": "Answer", "text": "mail($to,$subject,$body)"},{"@type": "Answer", "text": "sendmail($to,$subject,$body)"},{"@type": "Answer", "text": "mail(to,subject,body)"},{"@type": "Answer", "text": "sendmail(to,subject,body)"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 95", "text": "Which of the following are useful for method overloading?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "__call, __get, __set" }, "option": [{"@type": "Answer", "text": "__call, __get, __set"},{"@type": "Answer", "text": "_get,_set,_load"},{"@type": "Answer", "text": "__get,__set,__load"},{"@type": "Answer", "text": "__overload"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 96", "text": "Which of the following is a PHP resource?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "All of the above" }, "option": [{"@type": "Answer", "text": "Domxml document"},{"@type": "Answer", "text": "Odbc link"},{"@type": "Answer", "text": "File"},{"@type": "Answer", "text": "All of the above"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 97", "text": "Does PHP 5 support exceptions?", "answerCount": 2, "acceptedAnswer": { "@type": "Answer", "text": "Yes" }, "option": [{"@type": "Answer", "text": "Yes"},{"@type": "Answer", "text": "No"}], "eduQuestionType": "Multiple choice" }], "course": { "@type": "Course", "name": "bachelor-of-science-in-computer-science-bsc-cs", "provider": { "@type": "Organization" }, "interactivityType": "Active", "timeRequired": "PT10M" }