Correct Answer: This is a scripting language developed by Microsoft and is based loosely on Visual Basic Its functionality in a web environment is dependant upon either an ASP engine or the Windows Scripting Host, and must be used on a Windows hosting platform
Correct Answer: -The shift() method is similar as the pop() method but the difference is that Shift method works at the beginning of the array -The shift() method take the first element off of the given array and returns it The array on which is called is then altered For example var myarray = ["apple ", "banana ", "mango "]; consolelog(myarrayshift()); consolelog(myarray); we get the following console output: apple ["banana ", "mango "]; When we call shift() on an empty array, it will return an undefined value
4. What are Math Constants and Functions using JavaScript?
Correct Answer: Math object has two constant : MathPI and MathE Math object has following functions: - Mathabs(val1); It will give absolute value of val1 - Mathmax(val1,val2); This fuction will return maximum value from val1 and val2 - Mathrandom(); This function will return a random number between 0 and 1 - Mathfloor(val1) This function will returns decimal value of val1
Correct Answer: Arrays are created by using new Array() in Java Script For example : var employees = new Array(); The elements to this array is assigned as follows : employees[0] = "Kumar" employees[1] = "Fedrick"
Correct Answer: Web application provides services (Free and Paid) apart from information Ex: Online Banking System It provides Bank information , Branches & ATM information, Loans information etc And It provides balance enquiry, Fund transfer, Bill payments like services
Correct Answer: Web browser is a software application used to locate,retrieve and display content on the World Wide Web, including Web pages, images, videos and other files Examples : Microsoft Internet Expiorer , Mozilla Firefox , Google Chrome, Opers , Safari etc
Correct Answer: Web server handles client side and server side validations and helps to deliver web content that can be accessed through the Internet protocols Examples: Microsoft IIS (Internet Information Service) Apache web server from Apache Java web server Pramathi web server etc
Correct Answer: XML, Extensible Markup Language, is an open, text based markup language that provides structural and semantic information to data XML is a metalanguage that can be used to create other language It is used to structure and describe data that can be understood by other applications Using XML, we can separate the user interface from data Features of XML : - XML is a generalized markup language that means one can define his/her own tag sets - A valid XML document contains rules and is self-describing - The rules that are found in DTD allow the documents to be validated