Please enter your email:

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

 
 
 
 

2.

What gets printed?

$var = 'false';

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

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

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

 

 
 
 
 
 

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


 
 
 
 

5.

What value is printed for "a" below

<?php

    $a = 1;

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

6.

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 ?



 
 
 
 

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

 

 
 
 
 

8. In PHP the error control operator is _______

 
 
 
 

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

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

 
 
 
 

11. How to create persistent sessions in PHP?

 
 
 
 

12. What is  “Media Queries” used for ?

 
 
 
 

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

 
 
 

14.

How can I make a page redirect in PHP ?

 
 
 
 

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

 
 
 
 

Question 1 of 15