Web Technologies -||Tybcs imp questions
WT Technologies -||
Q1 what is the purpose of post and get methods
Ans:-Get and Post methods are the HTTP request methods used inside the <form> tag tpo send form data to the server.
Q2)Which file is used to configure the behaviour of PHP.
Ans:-php. ini.
Q3)Define Sticky form.
Ans:-A sticky form is simply a standard HTML form that remembers how you filled it out.
Q4)What is use of trigger-error().
Ans:-To register your own callback function which either logs or emails the error codes to you, and echo a simple friendly message to the user.
Q5)Define session.
Ans:-A session is a way to store information (in variables) to be used across multiple pages.
Q6) Enlist techniques for maintain the state .
Ans:-•Session. An important technique to maintain state.
•Cookie. One of the smallest but important parts of the ASP NET, it is used to store the session and application information of the user.
•Control State.
•Hidden Field.
•Viewstate.
•Query String.
Q7)What is simple XML.
Ans:-SimpleXML is a PHP extension that allows users to easily manipulate/use XML data.
Q8)List major parts of XML.
Ans:-•Processing Instructions: An XML Documents usually begins with the XML declaration statement called the Processing Instructions .
•Tags: Tags are used to specify a name for a given piece of information.
•Elements
•Content
•Attributes
•Entities
•Comments.
Q9) What is CDATA.
Ans:-CDATA means character data. CDATA is text that will NOT be parsed by a parser. Tags inside the text will NOT be treated as markup and entities will not be expanded.
Q10) What is structure of XML.
Ans:-XML documents are formed as element trees. An XML tree starts at a root element and branches from the root to child elements.
Q11)Define DOM.
Ans:-The Document Object Model (DOM) is a programming API for HTML and XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated.
Q12)List any two features of javascript.
Ans:-•Scripting Language.
•Interpreter Based.
•Event Handling.
•Light Weight.
•Case Sensitive.
•Control Statements.
•Objects as first-class citizens.
•Functions as First-class citizens.
Q13)Enlist two features of JQUERY.
Ans:-•HTML/DOM manipulation.
•CSS manipulation.
•HTML event methods.
•Effects and animations.
•AJAX.
•Utilities.
Q14)Define variable in javascript.
Ans:-JavaScript variable is simply a name of storage location. There are two types of variables in JavaScript : local variable and global variable.
Q15) Define loop.
Ans:-A loop is a sequence of instruction s that is continually repeated until a certain condition is reached.
Q16)Define events in javascript.
Ans:- JavaScript's interaction with HTML is handled through events that occur when the user or the browser manipulates a page.
Q17)Give two ways to use jQuery.
Ans:-Download a local copy or link to a file via Content Delivery Network (CDN).
Q18)List any two DOM manipulation methods in jQuery.
Ans:-(1)text() - Sets or returns the text content of selected elements.
(2)html() - Sets or returns the content of selected elements (including HTML markup)
(3)val() - Sets or returns the value of form fields.
Q19)How to call a jQuery library function.
Ans:-use the script tag.
Q20)List any two traversing DOM elements methods using jQuery.
Ans:-(1)first() Get the first occurrence of the specified element.
(2)next() Get the immediately following sibling of the specified element.
(3)parent() Get the parent of the specified element(s).
(4)prev() Get the immediately preceding sibling of the specified element.
Q21)List applications of AJAX.
Ans:-•jQuery Mobile.
•jQuery UI.
•jQuery EasyUI.
•jQWidgets.
•React Bootstrap.
•React Rebass.
•React Desktop.
•React Suite.
a)Updating a webpage without reloading the page.
b)Requesting data from the server after the page has been loaded.
c)Receiving data from the server after the page has been loaded.
d)Sending data to the server in the background without disturbing UI or other processes.
Q22)What is the purpose of XMLHttpRequest object .
Ans:-To interact with servers.
Q23)What is ajax.
Ans:-Ajax enables a web application user to interact with a web page without the interruption of constant web page reloading.
Comments
Post a Comment