On This Page
This set of Fundaments of Web Designing Multiple Choice Questions & Answers (MCQs) focuses on Fundaments Of Web Designing Set 1
Q1 | Javascript is _________ language.
- application
- programming
- scripting
- none of these
Q2 | When a user views a page containing a JavaScript program, which machine actually executesthe script?
- the user\s machine running a web browser
- the web server
- a central machine deep within netscape\s corporate offices
- none of the above
Q3 | _____ JavaScript statements embedded in an HTML page can respond to user events such asmouse-clicks, form input, and page navigation.
- client-side
- server-side
- local
- native
Q4 | What should appear at the very end of your JavaScript?The
the
the end statement
none of the above
Q5 | Which of the following can't be done with client-side JavaScript?
- validating a form
- sending a form\s contents by email
- storing the form\s contents to a database file on the server
- none of the above
Q6 | Which of the following are capabilities of functions in JavaScript?
- return a value
- accept parameters and return a value
- accept parameters
- none of the above
Q7 | ______ tag is an extension to HTML that can enclose any number of JavaScript statements.
Q8 | Which of the following attribute can hold the JavaScript version?
- language
- script
- version
- none of the above
Q9 | What is the correct JavaScript syntax to write "Hello World"?
- system.out.println("hello world")
- println (“hello world”)
- document.write("hello world")
- response.write("hello world")
Q10 | Which of the following way can be used to indicate the LANGUAGE attribute?
Q11 | Inside which HTML element do we put the JavaScript?
Q12 | What is the correct syntax for referring to an external script called " abc.js"?
- none of the above
Q13 | What does the
- enclose text to be displayed by non-javascript browsers.
- prevents scripts on the page from executing.
- describes certain low-budget movies.
- none of the above
Q14 | JavaScript entities start with _______ and end with _________.
- semicolon, colon
- semicolon, ampersand
- ampersand, colon
- ampersand, semicolon
Q15 | Which of the following best describes JavaScript?
- low-level programming language.
- a scripting language precompiled in the browser.
- a compiled scripting language.
- an object-oriented scripting language.
Q16 | Which of the following event fires when the form element loses the focus:
- onfocus
- onblur
- onclick
- ondblclick
Q17 | JavaScript is interpreted by _________
- client
- server
- object
- none of the above
Q18 | How to create a Date object in JavaScript?
- dateobjectname = new date([parameters])
- dateobjectname.newdate([parameters])
- dateobjectname := new date([parameters])
- dateobjectname date([parameters])
Q19 | The syntax of a blur method in a button object is ______________
- blur()
- blur(contrast)
- blur(value)
- blur(depth)
Q20 | The syntax of capture events method for document object is ______________
- captureevents()
- captureevents(argseventtype)
- captureevents(eventtype)
- captureevents(eventval)
Q21 | The syntax of close method for document object is ______________
- close(doc.
- close(object)
- close(val)
- close()
Q22 | Choose the client-side JavaScript object:
- database
- cursor
- client
- fileupload
Q23 | JavaScript is ______ Side Scripting Language.
- browser
- isp
- noneof these
- server
Q24 | JavaScript is designed for following purpose –
- to add interactivity to html pages.
- to execute query related to db on server
- to perform server side scripting opertion
- to style html pages
Q25 | JavaScript is can be written –
- directly into html pages
- directly into js file and included into html
- none of these
- directly on the server script