Please enter your email:

1. In PHP the error control operator is _______

 
 
 
 

2. What is  “Media Queries” used for ?

 
 
 
 

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 can you tell that a secure Web page transaction is taking place?

 
 
 
 

5.

What gets printed?

$var = 'false';

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

6. 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’?

 
 
 
 

7.

How can I make a page redirect in PHP ?

 
 
 
 

8. How to create persistent sessions in PHP?

 
 
 
 

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

 

 
 
 
 

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

 
 
 
 

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

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

 

 
 
 
 
 

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

 
 
 

13.

What value is printed for "a" below

<?php

    $a = 1;

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

14. 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


 
 
 
 

15. 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 ?
 
 
 
 

Question 1 of 15