

MCQOPTIONS
Saved Bookmarks
This section includes 79 Mcqs, each offering curated multiple-choice questions to sharpen your Php knowledge and support exam preparation. Choose a topic below to get started.
51. |
THE_G_-1({0})_FOR_THE_FUNCTION_G(X)=_‚ÄÖ√Ñ√∂‚ÀւĢ‚ÀÖ¬ßX‚ÄÖ√Ñ√∂‚ÀւĢ‚ÀÖ¬£_IS____________?$# |
A. | {x | 0 ‚â§ x < 1} |
B. | {x | 0 < x ‚â§ 1} |
C. | {x | 0 < x < 1} |
D. | {x | 0 ‚â§ x ‚â§ 1} |
Answer» E. | |
52. |
THE_FUNCTION_F(X)_=_X3_IS_BIJECTION_FROM_R_TO_R._IS_IT_TRUE_OR_FALSE??$ |
A. | True |
B. | False |
Answer» B. False | |
53. |
How do we access a global variable in nested functions?$ |
A. | Simply seek the variable from the primary function |
B. | Make a copy of the global variables from the primary function |
C. | Declare the variable within the function |
D. | Declare the variable as global |
Answer» D. Declare the variable as global | |
54. |
The join in which all the rows from the right table appear in the output irrespective of the content of the other table is ______________$ |
A. | CARTESIAN JOIN |
B. | CROSS JOIN |
C. | INNER JOIN |
D. | RIGHT JOIN |
Answer» D. RIGHT JOIN | |
55. |
Which_command_can_be_used_for_single_step_execution_in_debugging_mode?$ |
A. | dbstep |
B. | dbstepin |
C. | dbstatus |
D. | dbcont |
Answer» B. dbstepin | |
56. |
Which line is treated as H1 line? |
A. | Comment line succeeding function definition |
B. | Comment line preceding function definition |
C. | Comment line after function |
D. | All lines before and after function definition |
Answer» B. Comment line preceding function definition | |
57. |
How_does_MATLAB_help_in_passing_function_arguments? |
A. | By call by value and call by reference |
B. | Only by call by value |
C. | Only by call by reference |
D. | By call by address |
Answer» C. Only by call by reference | |
58. |
I am ? |
A. | I am bI am a |
B. | Error |
C. | I am a Error |
Answer» B. Error | |
59. |
The inverse of function f(x) = x3 + 2 is ___________? |
A. | f<sup> -1 </sup>(y) = (y – 2)<sup> 1/2 </sup> |
B. | f<sup> -1 </sup>(y) = (y – 2)<sup> 1/3 </sup> |
C. | f<sup> -1 </sup>(y) = (y)<sup> 1/3 </sup> |
D. | f<sup> -1 </sup>(y) = (y – 2) |
Answer» C. f<sup> -1 </sup>(y) = (y)<sup> 1/3 </sup> | |
60. |
‚Äö√Ñ√∂‚àö√ë‚àö‚à´function‚Äö√Ñ√∂‚àö√ë‚àöœ?# |
A. | “class” |
B. | “procedure” |
C. | All of the mentioned |
Answer» C. All of the mentioned | |
61. |
What does the AUTO_INCREMENT sequences begin at by default? |
A. | 0 |
B. | 1 |
C. | -1 |
D. | 2 |
Answer» C. -1 | |
62. |
__________ bytes are required to encode 2000 bits of data. |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 8 |
Answer» C. 3 | |
63. |
Which of the following are valid function names? |
A. | function() |
B. | €() |
C. | .function() |
D. | $function() |
Answer» D. $function() | |
64. |
There cannot be more than one column per table with the AUTO_INCREMENT attribute. |
A. | True |
B. | False |
Answer» B. False | |
65. |
What are persistent variables? |
A. | Variables which retain values between calls to the function |
B. | Variables which help in calling a function |
C. | Variables which deal with functions |
D. | Variables global to the function |
Answer» C. Variables which deal with functions | |
66. |
Let f and g be the function from the set of integers to itself, defined by f(x) = 2x + 1 and g(x) = 3x + 4. Then the composition of f and g is ____________ |
A. | 6x + 9 |
B. | 6x + 7 |
C. | 6x + 6 |
D. | 6x + 8 |
Answer» B. 6x + 7 | |
67. |
CGI.pm does not support an object oriented style of use. |
A. | True |
B. | False |
Answer» C. | |
68. |
If the program demands evaluation of multiple, only decimal, values of the same function, what is the better way amongst the following? |
A. | Using anonymous functions or inline functions |
B. | Using str2func |
C. | Using private functions |
D. | Using any function |
Answer» B. Using str2func | |
69. |
The domain of the function that assign to each pair of integers the maximum of these two integers is ___________ |
A. | N |
B. | Z |
C. | Z <sup>+ </sup> |
D. | Z<sup>+ </sup> X Z<sup>+ </sup> |
Answer» E. | |
70. |
sin(45)+cos(45)+tan(45) |
A. | sin(pi/4)+cos(pi/4)+tan(pi/4) |
B. | sin(45®)+cos(45®)+sin(45®) |
C. | sind(45)+cosd(45)+tand(45) |
Answer» C. sind(45)+cosd(45)+tand(45) | |
71. |
Which of the following function f: Z X Z ‚Üí Z is not onto?$ |
A. | f(a, b) = a + b |
B. | f(a, b) = a |
C. | f(a, b) = |b| |
D. | f(a, b) = a – b |
Answer» D. f(a, b) = a ‚Äö√Ñ√∂‚àö√ë‚àö¬® b | |
72. |
Call By Value |
A. | Call By Reference |
B. | Default Argument Value |
C. | Type Hinting |
Answer» D. | |
73. |
The operator that compares sounds is _____________ |
A. | MATCH SOUNDS |
B. | CHECK SOUNDS |
C. | SOUNDS LIKE |
D. | SOUNDS SIMILAR |
Answer» D. SOUNDS SIMILAR | |
74. |
The value of ‚åä1/2.‚åä5/2‚åã ‚åã is ______________$ |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 0.5 |
Answer» B. 2 | |
75. |
Functions are defined using the _________ directive and are stored as R objects |
A. | function() |
B. | funct() |
C. | functions() |
D. | all of the mentioned |
Answer» B. funct() | |
76. |
Which function returns NULL if expr1 = expr2? |
A. | CASE |
B. | IF() |
C. | IFNULL() |
D. | NULLIF() |
Answer» E. | |
77. |
Predominantly, what are the two kinds of errors in MATLAB programs? |
A. | Syntax and runtime |
B. | Syntax and logic |
C. | Logic and runtime |
D. | Syntax and algorithmic |
Answer» B. Syntax and logic | |
78. |
The function f(x)=x+1 from the set of integers to itself is onto. Is it True or False? |
A. | True |
B. | False |
Answer» B. False | |
79. |
Type Hinting was introduced in which version of PHP? |
A. | PHP 4 |
B. | PHP 5 |
C. | PHP 5.3 |
D. | PHP 6 |
Answer» C. PHP 5.3 | |