Академический Документы
Профессиональный Документы
Культура Документы
A. HTML is used for exchanging data, XML is not. B. XML is used for exchanging data, HTML is not
A. .htl B. .html
C. .hml D. .htlm
5. HTML Code written in MAC can be browsed in a PC with Window 7 installed , User will be able to see same design that
was designed on the MAC Pc.
A. True B. False
7. Which of the following attributes comes in handy when borders have to be put between groups
of columns instead of every column?
A. Col
B. Colgroup
C. Rowspan
D. Row
B. #0000000;
C. #00000000;
D. #000000000;
E. #000;
9. Caption Tag in HTML ?
A. Is used to display the Title for table at the top
C. Both
D. None
B. Cellpadding
C. Row span
D. Col span
B. Cellpadding
C. Row span
D. Col span
B. MIME type
D. None of these
15. The href attribute in the link tag specifies the:
A. Destination of a link.
B. Link
C. Hypertext
B. Yes
D. Using rs attribute
19. When creating a Web document, what format is used to express an image's height and width?
A. Pixels
B. Centimeters
D. Inches
20. What are meta tags used for?
A. To store information usually relevant to browsers and search engines
21. For frames in HTML, how do you specify the rest of the screen?
A. Using &
B. Using $
C. Using *
D. Using #
23. While searching on the Internet, you decide to check in more than one search engine because?
A. all web users prefer this technique
B. True
25. Can I play audios in HTML?
A. No
B. Yes
B. 4
C. 3
D. 8
E. None
D. None of these
C. Both
D. None
30. Which of the following are attributes of Font Tag ?
A. Face
B. Size
C. Color
D. All of above
===========================================================================================
===========================================================================================
PHP QUESTION:-
B. constant
C. define
D. #pragma
E. def
if ($var) {
echo 'true';
} else {
echo 'false';
}
A. true
B. false
B. 0.5
C. 1
A. $a[0]
B. $a[1]
C. $a[2]
D. $a[3]
E. $a[4]
B. >=
C. <=>
D. <>
E. ===
8. What gets printed?
class MyException extends Exception {}
try {
throw new MyException('Oops!');
} catch (Exception $e) {
echo "Caught Exception
";
} catch (MyException $e) {
echo "Caught MyException
";
}
A. Caught Exception
B. Caught MyException
class B {}
class C extends A, B {}
B. __FILE__
C. __DATE__
D. __CLASS__
E. __METHOD__
11. What gets printed?
<?php
echo "$RESULT";
?>
A. 11
B. 22
C. 33
D. 37
E. 39
B. Both b and c
13. Which of the following differences are valid between PHP 4 and PHP 5?
A. Built-in native support for SQLite
B. Both a and c
14. Can we use include (”test.php”) two times in a PHP page “test1.PHP”?
A. Yes
B. No
B. POST displays the form values entered in the URL of the address bar where as GET does not.
C. There is no difference
16. ____________ function in PHP Returns a list of response headers sent (or ready to send)
A. header()
B. headers_list()
C. header_sent()
D. header_send()
B. 2 MB
C. 2.5 MB
D. 3 MB
21. What is Joomla in PHP?
A. Set of library enriched with fucntions
B. 30 secs
C. 40 secs
D. 35 secs
B. No
24. Can I generate DLL files from PHP scripts like i can in Perl ?
A. No
B. yes
B. $GLOBALS
C. $_ENV
D. $REMOTE_ADDR
B. No
27. Which function is used to Strip whitespace (or other characters) from the beginning and end of
a string?
A. trim_str
B. strip_str
C. strip
D. trim
28. What is PHP heredoc used for?
A. allows creating single line of string without using quotations
B. No