postheadericon GTU WTAD Important Questions Bank

Unit-1 HTML and JavaScript 

  • Give DOM hierarchy? Explain properties, methods and events for text element of Html form
  • What is JavaScript? Explain the advantages of JavaScript.
  • What is CSS? Explain the types of CSS.
  • Explain function in JavaScript?
  • Explain Date and Time functions in JavaScript
  • Explain Object creation and modification in Javascript
  • Explain Following HTML Tag with example: (1)
    • (i) Title, Head 
    • (ii) OL, UL , DL
    • (iii) Table with TH,TR,TD
  • Write a java script to check whether a number entered in textbox is prime or not.
  • In Javascript, eval("2 + 0.56") returns ______. (1)
  • In HTML, <ol> tag is used to create list items with bullets. (True / False) (1)
  • Write the advantages of JavaScript. Explain any three methods of Date and String objects of JavaScript. (7)
  • Explain the various types of inputs provided by HTML. (7)
  • Write a Javascript that changes background color to red if user presses the mouse button. (4)
  • Write a JavaScript function to add two numbers when user presses submit button. (3)
  • JavaScript is created by______ . (Sun, Microsoft, Netscape) (1)
  • What will be assign in variable mca by following JavaScript var mca = parseInt(“0xff”); Ans:255  (1 mark)
  • JavaScript is compiled and executed at client. (True / False) (1)
  • _________ is only property of string object in JavaScript. (1)
  • Java is _______________and JavaScript is ___________________. (2)
  • True or False. JavaScript Ignores White Space. (1)
  • What is the code in HTML so that someone can mail by just clicking on text? (1)
  • Write a code for create a multiple list in HTML. (1)
  • Which two methods are used for takes keyboard input and screen output in Java Script? (1)
  • What is the correct JavaScript syntax to write “Hello World”? (1)
  • HTML elements with no content are called _______ elements (1)
  • Explain Array in JavaScript with Example (3)
  • Write a JavaScript to input two numbers and find out max. Put validation - both value is not null. (7)
  • The <select> tag allows multiple choice selection from list of choices that are offered. (True/False) (1)
  • The Date object contains information about a particular date and time. (True/False) (1)
  • Explain DOM hierarchy. List two important methods of Window and Document Object. (7)
  • What is special about Math object? Explain any two methods of String, Date and Array object.(7)
  • Which tag is used to write JavaScript in HTML? (1)
  • Explain functionality of Join() & Reverse() function of array in JavaScript. (2)
  • Explain basic structure of HTML document. (3)
  • Explain various dialog box provided by JavaScript. (3)
  • Explain Table tag of HTML with example. (7)
  • We can save external JavaScript file with ____ extension. (1)

Follow by Email

Total Pageviews

© Powered by Blogger.