- Question 1 of 10 10.0 Points
- Which of the following sequences of HTML tags is correct?
- A. <html><head><title></<title><body></body></head></html>
- B. <html><title></<title><head></head><body></body></html>
- C. <html><head></head><body><title></<title></body></html>
- D. <html><head><title></<title></head><body></body></html>
- Answer Key: D
- Feedback: <html><head><title></<title></head><body></body></html>
- Question 2 of 10 10.0 Points
- What does CSS stand for?
- A. Cascading Style Sheets
- B. Common Style Sheets
- C. Central Style Sheets
- D. Control Style Sheets
- Answer Key: A
- Question 3 of 10 10.0 Points
- How would you define id selector?
- A. None of the above
- B. id selector as #
- C. id selector as @
- D. id selector as $
- Answer Key: B
- Question 4 of 10 10.0 Points
- In an HTML document, which is the correct place to refer to an external style sheet?
- A. In the <head> section
- B. At the end of the document
- C. At the beginning of the document
- D. In the <body> section
- Answer Key: A
- Question 5 of 10 10.0 Points
- Which of the following tags would you use to insert JavaScript in an HTML page?
- A. <script type=”text/javascript”></script>
- B. <HTMLScript type=”text/javascript”></HTMLScript>
- C. <JScript type=”text/javascript”></JScript>
- D. <JavaScript type=”text/javascript”></JavaScript>
- Answer Key: A
- Question 6 of 10 10.0 Points
- The ——– JavaScript is also known as server-side JavaScript.
- A. Navigator
- B. Microsoft
- C. LiveWire
- D. Native
- Answer Key: C
- Question 7 of 10 10.0 Points
- The following code would allow you to set background with CSS:
- <style type=”text/css”>
- body {background-color: yellow}
- </style>
- True
- False
- Answer Key: True
- Question 8 of 10 10.0 Points
- If para1 is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph?
- A. para1.firstChild.nodeValue= “New Text”;
- B. para1.nodeValue=”New Text”;
- C. “New Text”?
- D. para1.value=”New Text”;
- Answer Key: D
- Question 9 of 10 10.0 Points
- How does JavaScript store date in a date object?
- A. None of the above
- B. The number of seconds since Netscape’s public stock offering.
- C. The number of milliseconds since January 1st, 1970
- D. The number of days since January 1st, 1900
- Answer Key: C
- Question 10 of 10 10.0 Points
- How would you define First-line pseudo-element in CSS?
- A. None of the above
- B. selector:pseudo-elements {property: values}
- C. select:pseudo-element {property: value}
- D. selector:pseudo-element {property: value}
- Answer Key: D
- Question 1 of 10 10.0 Points
- What does CSS define in HTML?
- A. How to display HTML elements
- B. How to send HTML elements
- C. How to made HTML elements
- D. How to save HTML elements Reset Selection
- Question 2 of 10 10.0 Points
- Which of the following HTML tags is used to define an internal style sheet?
- A. <script>
- B. <style>
- C. <css> Reset Selection
- Question 3 of 10 10.0 Points
- What does CSS stand for?
- A. Common Style Sheets
- B. Central Style Sheets
- C. Cascading Style Sheets
- D. Control Style Sheets
- Question 4 of 10 10.0 Points
- Which of the following event fires when the form element loses the focus: <button>, <input>, <label>, <select>, <textarea>?
- A. onblur
- B. ondblclick
- C. onclick
- D. onfocus Reset Selection
- Question 5 of 10 10.0 Points
- Which of the following popup boxes would you use when you want a value from the user before opening a page?
- A. alert(“Write some text here”)
- B. prompt(“Write here some text”,”Write default value here”)
- C. confirm(“Write some text here”) Reset Selection
- Question 6 of 10 10.0 Points
- Among the following optionsl, which is the correct syntax as per w3c standard?
- a.<br><p>Welcome to tcs</br></p>
- b.<p>Welcome to tcs</p>
- c.<br><p>Welcome to tcs</p></br>
- d.<b><p>Welcome to tcs</p></b>
- e.<b><p>Welcome to tcs</b></p>
- A. a,e
- B. c,e
- C. b,d
- D. a,c
- If para1 is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph?
- A. para1.firstChild.nodeValue= “New Text”;
- B. para1.nodeValue=”New Text”;
- C. para1.value=”New Text”;
- D. “New Text”? Reset Selection
- Question 8 of 10 10.0 Points
- Among the following options, select the command that you can use to link a page with an HTML page?
- A. <a attach=\”page.htm\” ></a>
- B. <a connect=\”page.htm\” ></a>
- C. <a href=\”page.htm\”?phpMyAdmin=70ac9566533a2665b6597346aab7f985&phpMyAdmin=f43d4e0b88acea2d2a393515f6bf38f2 ></a>
- D. <a link=\”page.htm\” ></a>
- Question 10 of 10 10.0 Points
- Why would you use variables in JavaScript programs?
- A. For Varying randomly
- B. For storing numbers, dates, or other values
- C. For causing high-school algebra flashbacks
- D. None
- Question 9 of 10 10.0 Points
- Which of the following tags would you use to insert JavaScript in an HTML page?
- A. <script type=”text/javascript”></script>
- B. <HTMLScript type=”text/javascript”></HTMLScript>
- C. <JavaScript type=”text/javascript”></JavaScript>
- D. <JScript type=”text/javascript”></JScript>
- Q: You used CSS class into your html, but divided your page without break line. Which of following would you have to use?
- A. <div> </div>
- B. None
- C. <p>
- D. <span></span>
- In an HTML document, which is the correct place to refer to an external style sheet?
- A. In the <body> section
- B. In the <head> section
- C. At the end of the document
- D. At the beginning of the document
- default value here”)
TCS ASPIRE WEB TECHNOLOGY QUIZ AND ANSWER 2018 -2019
Subscribe to:
Posts (Atom)
plz post the answers of the last ten questions...
ReplyDeleteTcs Aspire and techlounge latest 2018 questions and answers
ReplyDeleteTcs Aspire and techlounge latest 2018 questions and answers
please post last 10 questions answers
ReplyDelete