1.What is the correct syntax of the declaration which defines the XML version?
Option: a. < ? xml version="1.0" ? >
b. < xml version="1.0" />
c. < xml version="1.0"? />
d. None of the above
e. < ? xml version="1.0" ? />
Ans: a
2.What is the correct syntax for referring to an external script called "xxx.js"?
option: a. None
b. < script type="text/javascript" name="xxx.js" >
c. < script type="text/javascript" href="xxx.js" >
d. < script type="text/javascript" src="xxx.js" >
ans: d
3. What is the correct HTML for referring to an external style sheet?
option : a. < stylesheet>mystyle.css
b. None of the above
c. < style src="mystyle.css" />
d. < link ="stylesheet" type=text/css/script href="mystyle.css" >
e. < link rel="stylesheet" type="text/css" href="mystyle.css" />
Ans: e
4. What can you use to replace like with hate in I like Eminem?
Option : a. preg_replace("/like/", "/hate/", "I like Eminem")
b. preg_replace("hate", "like", "I like Eminem")
c. preg_replace("/like/", "hate", "I like Eminem")
d. None of the above
e. preg_replace("like", "hate", "I like Eminem")
ans: e
5. What are the genral syntax for inline image?
Option: a. None of the above
b. img=file
c. img src=file
d. src=image
e. image src=file
Ans: e
Search This Blog
Popular Posts
-
1.What is the correct syntax of the declaration which defines the XML version? Option: a. b. c. d. None of the above e. Ans: a 2.What is ...
-
1. Which of following represent logical storage of data? Option : a. Table b. View c. None. d. Index Ans: b 2. Which SQL statement is used t...
-
1. Create a washing machine class with methods as switchOn, acceptClothes, acceptDetergent, switchOff. acceptClothes accepts the noofClothes...
-
1.Which of the following is closer to machine Code ? Choose one answer. a. Machine language b. High level language c. None of the above d. A...
-
1.Which of the following Construct in formal model in software engineering execute each statement in succession. Choose one answer. a. Itera...
-
class Problem1 /* creating a class problem1 */ { /* opening braces for class problem1 */ int[] a...
-
1.Which Geography gives the maximum revenue for TCS? Choose one answer. a. Africa b. India c. Asia Pacific d. North America Ans : d 2.Which ...
-
Question 1: Provide the create table syntax to Create a Table Employee whose details are as below. Employee(EmployeeID, LastName, FirstName,...
-
//Improve the understandability of the below given code: import java.util.*; /* it is importing all class in java.util pac...
-
Aspire – Java Assignment-1 - Solutions 1. Write a program to find the difference between sum of the squares and the square of the sums of n ...
i think ans for ques 5 is c and not e
ReplyDeleteHi, nice questions about Web Technology.Thanks for your help....
ReplyDelete-Aparna
Theosoft