Which of the following is not a variable scope in PHP?
1.Extern
2.Local
3. Static
4.Global
Answer:1
Posted Date:-2021-07-17 03:14:52
1.Setter
2.Accessor
3.Getter
4.Destructor
Answer 11.client code
2.user code
3.object code
4.class code
Answer 11.type
2.prototype
3.instance
4.object
Answer 31.TRUE
2.FALSE
3.Empty String
4.0
Answer 31.public
2.private
3.protected
4.friendly
Answer 11.PHP 5.0
2.PHP 5.1
3.PHP 5.2
4.PHP 5.3
Answer 41.base
2.abstract
3.null
4.predefined
Answer 11.Hypertext Preprocessor
2.Pretext Hypertext Preprocessor
3.Personal Home Processor
4.None of the above
Answer 11.PHP 4
2.PHP 5
3.PHP 5.3
4.PHP 5.4
Answer 21.! (Exclamation)
2. $ (Dollar)
3.& (Ampersand)
4.# (Hash)
Answer 21.PHP extension and application repository
2.PHP enhancement and application reduce
3.PHP event and application repository
4.None of the above
Answer 11.The fopen() function is used to open folders in PHP
2.The fopen() function is used to open remote server
3.The fopen() function is used to open files in PHP
4.None of the above
Answer 31.The isset() function is used to check whether variable is set or not
2.The isset() function is used to check whether the variable is free or not
3.The isset() function is used to check whether the variable is string or not
4.None of the above
Answer 11.The sprintf() function is used to print the output of program
2.The sprintf() function is used to send output to variable
3.Both of the above
4.None of the above
Answer 21.>
2.__
3.$
4.::
Answer 41.::
2.=
3.->
4..
Answer 31.boolean()
2.is_boolean()
3.bool()
4.is_bool()
Answer 41.method
2.function
3.public
4.protected
Answer 21.public
2.friendly
3.private
4.protected
Answer 31.get_row()
2.fetch_row()
3.fetch()
4.mysqli_fetch_row()
Answer 41.errno()
2.errnumber()
3.errorno()
4.errornumber()
Answer 11.commit()
2.undo()
3.mysqli_rollback()
4.rollback()
Answer 31.& .... &
2. // ....
3./* .... */
4.Both (b) and (c)
Answer 41.Extern
2.Local
3. Static
4.Global
Answer 11.The strcmp() function is used to compare the strings excluding case
2.The strcmp() function is used to compare the uppercase strings
3.The strcmp() function is used to compare the lowercase strings
4.The strcmp() function is used to compare the strings including case
Answer 41.$variable name = value;
2.$variable_name = value;
3.$variable_name = value
4.$variable name as value;
Answer 21.Create myFunction()
2.New_function myFunction()
3.function myFunction()
4.None of the above
Answer 31..php
2..hphp
3..xml
4..html
Answer 11.The strlen() function returns the type of string
2.The strlen() function returns the length of string
3.The strlen() function returns the value of string
4.The strlen() function returns both value and type of string
Answer 21. The strpos() function is used to search for the spaces in a string
2.The strpos() function is used to search for a number in a string
3.The strpos() function is used to search for a character/text in a string
4.append()
Answer 31.echo
2.write
3.print
4.Both (a) and (c)
Answer 41.bind_param()
2.bind_result()
3.bound_param()
4.bound_result()
Answer 11.id()
2.mdid()
3.uniqueid()
4.None of the above
Answer 31.Inbuilt constants
2.User-defined constants
3.Magic constants
4.Default constants
Answer 31.get_array() and get_row()
2.get_array() and get_column()
3.fetch_array() and fetch_row()
4.mysqli_fetch_array() and mysqli_fetch_row()
Answer 41.ShopProduct
2.Shopproduct
3.Shopproduct1
4.1shopproduct
Answer 41.extension=php_mysqli.dll
2.extension=mysql.dll
3.extension=php_mysqli.dl
4.extension=mysqli.dl
Answer 11.num_rows()
2.affected_rows()
3.changed_rows()
4.mysqli_affected_rows()
Answer 41.connect_errno()
2.connect_error()
3.mysqli_connect_errno()
4.mysqli_connect_error()
Answer 31.query()
2.send_query()
3.sendquery()
4.mysqli_query()
Answer 41.end()
2.finish()
3.mysqli_close()
4.close()
Answer 31.destroy()
2.mysqli_free_result()
3.alloc()
4.free()
Answer 21.mysqli = new mysqli()
2.$mysqli = new mysqli()
3.$mysqli->new.mysqli()
4.mysqli->new.mysqli()
Answer 21.CREATE TABLE table_name (column_name column_type);
2.CREATE table_name (column_type column_name)
3.CREATE table_name (column_name column_type);
4.CREATE TABLE table_name (column_type column_name);
Answer 11.#include ‘filename’;
2.include ‘filename’;
3.@include ‘filename’;
4.#include <filename>;
Answer 21.MySQL 4.0
2.MySQL 4.1
3.MySQL 4.2
4.MySQL 4.3
Answer 21.PHP 4
2.PHP 4.3
3.PHP 5
4.PHP 5.3
Answer 31.PHP 4
2.PHP 5
3.PHP 5.1
4.PHP 5.3
Answer 21.Drek Kolkevi
2.list Barely
3.Rasmus Lerdrof
4.None of the above
Answer 3