Please enter your email:

1. In PHP the error control operator is _______

 
 
 
 

2. How can you tell that a secure Web page transaction is taking place?

 
 
 
 

3.

Check the code
class FacebookRestClient {
...
    public function &users_hasAppPermission($ext_perm, $uid=null) {
        return $this->call_method('facebook.users.hasAppPermission', 
        array('ext_perm' => $ext_perm, 'uid' => $uid));
    }
...
}

What does the & at the beginning of the function definition mean ?



 
 
 
 

4. How do we access the value of ‘d’ later?

$a = array(
    'a',
    3 => 'b',
    1 => 'c',
    'd'
);

 

 
 
 
 
 

5. I have this code:

$abc = ' Hello "Guys" , Goodmorning';

I want to replace every occurrence of " (double quotes) by $^ so that string becomes

'Hello $^Guys$^ , Goodmorning'

What we need to do ?
 
 
 
 

6. What is returned by TRUNC(789.8389, 2)?

 

 
 
 
 

7. Consider the following schema −

 

HONOURS_SUBJECT(subject_code, subject_name, department_head);
LOCATIONS(subject_code, department_name, location_id, city);

Select the right query for retrieving records from the tables HONOURS_SUBJECT and LOCATIONS with the USING clause


 
 
 
 

8. How to create persistent sessions in PHP?

 
 
 
 

9.

What gets printed?

$var = 'false';

if ($var) {
    echo 'true';
} else {
    echo 'false';
}
 
 

10.

What value is printed for "a" below

<?php

    $a = 1;

    function Test()
    {
        echo "a = $a";
    }
    Test();
?>
 
 
 
 

11. what is the difference in an opening tag and a closing tag?

 
 
 

12. What protocol handles large file transfers between Internet users?

 
 
 
 

13. Consider the following schema −

STUDENTS(student_code, first_name, last_name, email, 
         phone_no, date_of_birth, honours_subject, percentage_of_marks);


Which of the following query would display all the students whose first name starts with the character ‘A’?

 
 
 
 

14. What is  “Media Queries” used for ?

 
 
 
 

15.

How can I make a page redirect in PHP ?

 
 
 
 

Question 1 of 15