Which of the following is correct true about php variables
This section presents you various set of Mock Tests related to PHP. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself. Show
PHP Mock Test IAnswer : DExplanationAll of the above options are correct. Q 2 - Which of the following is correct about PHP? A - PHP performs system functions, i.e. from files on a system it can create, open, read, write, and close them. B - PHP can handle forms, i.e. gather data from files, save data to a file, thru email you can send data, return data to the user. C - You add, delete, modify elements within your database thru PHP. D - All of the above. Answer : DExplanationAll of the above options are correct. Answer : DExplanationAll of the above options are correct. Answer : DExplanationAll of the above options are correct. Answer : CExplanationBoth of the above options are correct. Answer : CExplanationBoth of the above options are correct. Answer : AExplanationfalse! PHP is whitespace insensitive means that it almost never matters how many whitespace characters you have in a row.one whitespace character is the same as many such characters. Answer : BExplanationtrue! PHP is a case sensitive language. Answer : DExplanationAll of the above options are correct. Answer : DExplanationAll of the above options are correct. Answer : AExplanationIntegers: are whole numbers, without a decimal point, like 4195. Answer : BExplanationDoubles: are floating-point numbers, like 3.14159 or 49.1. Answer : CExplanationBooleans: have only two possible values either true or false. Answer : DExplanationNULL: is a special type that only has one value: NULL. Answer : AExplanationStrings: are sequences of characters, like 'PHP supports string operations.' Answer : BExplanationArrays: are named and indexed collections of other values. Answer : CExplanationObjects: are instances of programmer-defined classes, which can package up both other kinds of values and functions that are specific to the class. Answer : DExplanationResources: are special variables that hold references to resources external to PHP (such as database connections). Answer : DExplanationAll of the above options are correct. Answer : DExplanationAll of the above options are correct. Answer : DExplanationAll of the above options are correct. Answer : CExplanationBoth of the above options are correct. Answer : CExplanationBoth of the above options are correct. Answer : CExplanationBoth of the above options are correct. Answer : CExplanationBoth of the above options are correct. Answer Sheet
php_questions_answers.htm Which of the following is true about PHP variables?A. All variables in PHP are denoted with a leading dollar sign ($) B. The value of a variable is the value of its most recent assignment C. Variables are assigned with the = operator, with the variable on the left hand side and the expression to be evaluated on the right D. All of the above Answer: Option D Which of the following is true about PHP variables?Q 9 - Which of the following is true about php variables? A - All variables in PHP are denoted with a leading dollar sign ($).
Which of the following is the correct way of defining a variable in PHP?15) Which of the following is the correct way of defining a variable in PHP? Answer: (b) $variable_name = value; Description: In PHP, a variable is declared using a $ sign followed by the variable name.
Which of the following is correct about constants vs variables in PHP Mcq?Q 3 - Which of the following is correct about constants vs variables in PHP? A - Constants may be defined and accessed anywhere without regard to variable scoping rules.
Which are correct variable names in PHP program?Rules for PHP variables:. A variable starts with the $ sign, followed by the name of the variable.. A variable name must start with a letter or the underscore character.. A variable name cannot start with a number.. A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ ). |