Web Technology

Hello folks,

I can't say too much about this because I don't have more knowledge about this topic.But I am sharing some question which is asked by TCS last year in PAT(Pre Assessment Exam).

These are:-

1.What is the correct syntax of the declaration which defines the XML version?
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" ? />

2.What is the correct syntax for referring to an external script called "xxx.js"?
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" >

3. What is the correct HTML for referring to an external style sheet?
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" />

4. What can you use to replace like with hate in I like Eminem?
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")

5. What are the genral syntax for inline image?
a. None of the above
b. img=file
c. img src=file
d. src=image
e. image src=file

6. What are the general syntax for inline image? 

7. What is the correct syntax for referring to an external script called "xxx.js"? 

8. What is the correct syntax of the declaration which defines the XML version? 

9. What can you use to replace like with hate in i like eminem?

10. What is the correct HTML for referring to an external style sheet?

11. How does JavaScript store date in a date object?
A. The number of seconds since Netscape's public stock offering. 
B. None of the options 
C. The number of milliseconds since January 1st, 1970 
D. The number of days since January 1st, 1900

12. What does CSS define in HTML?
A. How to send HTML elements
B. How to save HTML elements
C. How to made HTML elements 
D. How to display HTML elements

13. Among the following options, select the command that you can use to link a page with an HTML page?
A. <a link=\"page.htm\" ></a> 
B. <a connect=\"page.htm\" ></a> 
C. <a href=\"page.htm\"?phpMyAdmin=70ac9566533a2665b6597346aab7f985&php                    MyAdmin =f43d4e0b88acea2d2a393515f6bf38f2 ></a> 
D. <a attach=\"page.htm\" ></a>

14. JavaScript is also called server-side JavaScript.
A. Microsoft
B. Navigator
C. LiveWire
D. Native

15. The <BR> Tag does?

16. You used CSS class into your html, but divided your page without break line. Which would you have to use?

17. How would you set a CSS comment?

18. How would you define CSS padding?

19. Which popup boxes would you use to get some information from the user?


Would you like to check answer...Go here

Comments

Popular posts from this blog

What is IRA (Initial Readiness Assessment) in TCS

Swapping base locations in TCS

Information Resource Center (IRC) in TCS