C# MCQ With Questions and Answer

                                
Which of the following can be registered as entry points with a SoapServer instance (choose 3):
A.A single function
B.A single method from a class
C.Multiple functions at once
D.All methods from a class
E.All classes defined in a script
                                
What function is used to retrieve all available information about a symbolic link?
A.symlink()
B.stat()
C.fstat()
D.lstat()
E.readlink()
                                
Given the following code, what will be the value of $a? $a = array('a', 'b'); array_push($a, array(1, 2));
A.array('a', 'b', 1, 2)
B.array(1, 2, 'a', 'b')
C.array(array(1, 2), 'a', 'b')
D.None of the above
                                
What is the output of the following code? <?php for ($i = 0; $i < 1.02; $i += 0.17) { $a[$i] = $i; } echo count($a); ?>
A.0
B.1
C.2
D.6
E.7
                                
Which string will be returned by the following function call? $test = '/etc/conf.d/wireless'; substr($test, strrpos($test, '/'));
A.""
B."/wireless"
C."wireless"
D."/conf.d/wireless"
E."/etc"