Welcome to my first Web page.
Hello Everybody!
The browser window is maximized on a 640x480 screen resolution. How will the text appear in a Web browser?
a)Multithreading Multiboot c) Multiprocessing d)Multitasking
Each correct answer represents a complete solution. Choose all that apply.
Each correct answer represents a complete solution. Choose all that apply.
Each correct answer represents a complete solution. Choose all that apply.
Each correct answer represents a complete solution. Choose all that apply.
C. Create, Remove, Update, Drop D. Create, Retrive, Update, Delete
B. You can set authentication mode using global.asax file
C. You can set authentication mode using cookies
D. You can set authentication mode using Web Service
C. Catch, Try and Finally D. Catch, Finally and Try
A. True B. False C. Can not say D. None
Answers: 1 (B), 2 (A), 3 (B), 4 (B), 5 (B)
CUA:
1. The question “ How much time do you spend each week entering data into this application?” would
most likely be asked by an interviewer who wants to learn about a user’s:
a. Domain knowledge b. Expected content breadth and depth
c. Current information source d. Usage patterns
2. You are a Certified Usability Analyst redesigning a telecommunications Web site. During data-gather-ing, you plan to interview the customer service representatives.
Which one of the following guidelines should you follow in conducting the interview?
a. Use questions that let you hear the user’s terminology
b. Follow the flow of your scripted questions without deviation
c. Introduce topics with open-ended questions
d. End each topic with an open-ended question
3. An application that uses notebook tabs to allow users to move quickly between tasks is using which of the following navigation models:
a. Hierarchical drill down b. Faceted c. Persistent menu
d. Hierarchical multi-level e. Sequential
4. You're redesigning a Web application for a complex task flow in a paper manufacturing facility. The application enables a dispatcher to monitor orders, product availability, scheduling and delivery. The current application has several problems and you've identified them in your analysis. You're ready to take the next step but aren't sure which one.
Which of the following is your best move?
a. Design the navigation pages and build a prototype to test it
b. Design the most complex pages in HTML and work out any problems before you test
c. Work with developers to create the data model that supports the new task design
d. Create a task flow diagram and ask users to verify its accuracy
5. You are a Certified Usability Analyst working as part of a team developing a Web site for an e-Commerce company. The team feels it is time to go live with the Web site. You recommend a usability test to determine whether the usability criteria were met.
The type of test you would recommend at this stage in the development cycle is referred to as a(n):
a. Formative test b. Objectives test c. Summative test d. Heuristic test
6. You are on a team re-designing an application that requires a security code. Users have complained that the security code is too hard to remember. You suggest chunking the code.
Which of the following is the most appropriate way to chunk the security code?
a. 5 to 6 chunks with 1 or 2 items per chunk
b. 3 to 4 chunks with 3 or 4 items per chunk
c. 1 to 2 chunks with 1 or 2 items per chunk
d. 5 to 6 chunks with 5 or 6 items per chunk
Ethical Hacker: http://www.gocertify.com/quizzes/
Scanning is performed in which phase of a pen test?
Hint: Pen-test steps are different from the five hacking steps.
Top of Form
A. Pre-attack B. Attack C. Post-attack D. Reconnaissance
What
is the default execution time set in set_time_limit()?
Correct answer: 30 secs
2. What is the difference between GET and POST method?
Correct answer: GET displays the form values entered in the URL of the address
bar where as POST does not.
3. How do we submit form data without a Sumbit button?
Correct
4. What happens if no file path is given in include() function?
Correct answer: Include_path is made use of
5. What does explode() do?
Correct answer: Used to split a string by a string
6. How do I find out the number of parameters passed into function?
Correct answer: By using func_num_args()
7. How can we count the number of elements in an array?
Correct answer: Both a and b above
8. Can we use include (”test.php”) two times in a PHP page “test1.PHP”?
Correct
9. In which variable is the users IP address stored?
Correct answer: $REMOTE_ADDR
10. What is the default size of a file set in upload_max_filesize ?
Correct answer: 2 MB
11. Which of the following way below is correct to comment a single line of
code in php?
Correct answer: both and b above
12. How do we start a php session?
Correct answer: Using session_start()
13. Can echo in php accept more than 1 parameter?
Correct
14. What is the purpose of $_SESSION[]?
Correct
15. Can I have new lines in $subject tag of php's mail function?
Correct answer: No
16. In mysql_fetch_array() If two or more columns of the result have the same
field names, what action is taken?
Correct
17. What is the use of mysql_pconnect()?
Correct answer: Both b and c above
18. What is Joomla in PHP?
Correct
19. What is the difference between echo and print?
Correct
20. ____________ function in PHP Returns a list of response headers sent (or
ready to send)
Correct answer: headers_list()
21. PHP supports both simple and multi-dimensional arrays
Correct
22. What is array_keys() used for?
Correct answer: Returns all the keys of an array
23. The windows version of PHP does not have built-in support for the calendar
extension
Correct answer: False
24. Which of the following statements is FALSE for PHP Error and Logging?
Correct answer: trigger_error() and user_error() are different
25. Parent constructors are not called __________ if the child class defines a
constructor
Correct answer: implicitly
26. What is PHP heredoc used for?
Correct
27. A PHP function cannot be overloaded or redefined
Correct answer: True
28. PHP supports explicit type definition in variable declaration.
Correct answer: False
29. How do I create PHP arrays in a HTML
DHTML Test Breakdown:
1.
What is the full form of DHTML?
Correct
2. What kind of term DHTML is?
Correct answer: Umberalla term
3. Which kind of scripting language is DHTML?
Correct answer: Client side
4. DHTML cosists of which two components together
Correct
5. What kind of pages gets created from DHTML?
Correct answer: Dynamic
6. The attribute which is not involved in
Correct answer: align
7. DOM which is used in DHTML stands for:
Correct
8. DHTML is not a standardized language for which company
Correct answer: Oracle
9. What is the event name which gets triggered when the submit button is pressed
on the form?
Correct answer: onsubmit()
10. Which elements javascript allows to control in DHTML?
Correct
1. Which of the following defines Internet standards?
A. FAQ B. RFC C. IEEE D. IANA
Q 2. Which of the following provides the easiest way to navigate through a Web site?
A. Site map B. Index C. Search engine D. Keywords
Q 3. Ross works as a Web Developer for BlueWell Inc. He has to design a Web site for the company. Which of the following factors will Ross consider during the planning phase?
Each correct answer represents a complete solution. Choose all that apply.
A. Hardware requirements B. Customer feedback
C. Target audience D. Graphic formats
E. Customer response time expectations
Q 4. Which of the following tags is used to define the left margin of a Web page?
A.
B. C.
Q 5. Which of the following uses a combination of HTML objects, scripts, and styles to provide Web site interactivity?
A. DHTML B. XML C. JavaScript D. Multimedia
Q 6. Which of the following technologies is used to prevent the fonts from appearing jagged around the images?
A. Metaphor B. Morphing C. Anti-aliasing D. Aliasing
Q 7. You are planning for a Web site that will provide users the facility to download music files. You want to use a technology that will allow you to to play music files while they are being downloaded. Which of the following techniques will fulfill your requirement?
A. Streaming sound B. Streaming video C. Streaming media D MP3
Q 8. You are creating a Web site that will use frames. You want to name a frame as Center. Initially, it will display a Web page named intro.html. Which of the following syntaxes will you use?
A.
B.
C.
D.
Q 9. Which of the following services will you use to transfer Web pages from your local computer to the server that is hosting your Web site?
A. HTTP B. FTP C. HTTPS D. TCP
Q10. Which of the following tags is used to group inline elements in a Web page?
A.
DW:
Property
inspector includes a panel menu. Which of the following basic commands are
always available in the panel menu of Property Inspector?
Each
correct answer represents a complete solution. Choose three.
a)New
Panel Group b)Rename Panel Group c)Close Panel Group d)Help
Mike
is going to publish and deploy his site on the World Wide Web. He has been told
by senior developers that his Web site will take long to load on the user's
computer, if the page weight of his Web site is very large. Which of the
following methods can he use for reducing the page weight and increasing the
loading speed of his Web site?
Each
correct answer represents a complete solution. Choose two.
a)Use
more CSS expressions. B)Add a cache
control header to the Web site
c)Make
CSS and JavaScript external. D)Include duplicate scripts in the Web site.
Which
of the following Spry data objects repeats Spry data for list-related tags,
such as
a)Spry
Data Set b)Spry Region c)Spry Repeat d)Spry Repeat List
In
a user's browser, what is the impact of page weight on the performance of a
Website?
a)Greater
page weight results in better performance of a Web page.
b)Videos
and high quality images do not increase the page weight of a Web page.
c)Page
weight has no impact on the download speed of a Web page.
d)Adding
a cache control header can control the page weight of a Web page.
Which
of the following toolbars allows a user to see how their design would look in
different media types, if media-dependent style sheets are being used?
a)Document
toolbar b)Browser Navigation toolbar c)Style
Rendering toolbar
d)Coding
toolbar
Which
of the following Spry data objects inserts a standard text field with 13
different validation types?
a)Spry
Validation Textarea b)Spry Validation
Checkbox
c)Spry
Validation Select d)Spry Validation
Text Field
Based
on your development environment and the type of Website that you are
developing, a Dreamweaver site would consist of as many as three parts or
folders. Which of the following folders stores files for testing, production,
and collaboration?
Remote
folder Local root folder Assets folder Testing server folder
Which
of the following is a link on a Web page that allows a user to navigate
directly to a specific section on the same page?
Dangling
link
Hyperlink
E-mail
link
Anchor
link
Which
of the following Spry Layout Objects inserts a standards-based vertical or
horizontal navigation bar, capable of supporting multiple levels?
Spry
Collapsible Panel Spry
Accordion
Spry
Tabbed Panels Spry
Menu Bar
Spry
Tooltip
Which
of the following servers serves HTML pages in response to requests from Web
browsers?
a)Application
server b)Web server c)FTP server d)Database server
The
code hints can be defined as the menus that Dreamweaver opens when the user
types certain character patterns in the Code view. What entities are contained
in the CodeHints.xml file?
Each
correct answer represents a complete solution. Choose three.
a)Description
for each menu group b)Use of
each menu group
c)List
of all menu groups d)Code hints menus
Which
of the following tags defines a menu command for a Dreamweaver menu?
a)
The
Files panel allows a user to change the property of a selected file or job.
Which of the following buttons are contained in the Files panel?
Each
correct answer represents a complete solution. Choose all that apply.
a)Check
Out b)Check In c)Synchronize
d)Get
e)Put f)Check All
A
user can create a toolbar in Dreamweaver by creating a file to define a toolbar,
and by placing the file in the Configuration/Toolbars folder. Which of the
following files are used to create a toolbar?
Each
correct answer represents a complete solution. Choose all that apply.
a)webtools.xml
b)newtoolbar.xml c)imagefile.gif d)toolbars.xml e)MyCommand.htm
Which
of the following files consists of a structured list of menu bars, menus, menu
commands, separators, shortcut lists, and keyboard shortcuts?
menus.xml
menusys.xml
mymenu.xml
mymenubar.xml
Which
of the following methods can be used to increase the page rank of a Web site in
a search engine?
a)PAD
files submission b)Mass
customization c)Press release
d)Keyword
stuffing e)Social bookmarking
Joseph
has created a Web site for the marketing of a software application. His
customers frequently ask him questions about the installation and use of the
application. Which of the following will Joseph use to resolve this issue?
a)Chat
b)Email c)Personalized page d)FAQs
E-Commerce
Web sites are used to transfer information from a buyer to a seller, and vice
versa. Which of the following terms denotes the sending and receiving of
information between the buyers and sellers?
a)Database
b)Security c)Communication d)Information
Ralph
works as a Website Administrator for LinTech Software Ltd. The company uses
Linux operating system. Ralph's primary responsibility is to ensure that the
Web server used by the company's Website runs at maximum speed. What should he
do to accomplish this?
a)Provide
user authentication facility on the server.
b)Provide
backup and fault tolerance features on the server.
c)Monitor
and optimize the Web server regularly. d)Provide user management.
Joseph
works as a Web Designer for WebTech Inc. He has created a Web site. He wants
the Web site to be viewed on the Internet. What will he do to accomplish this?
a)Save
the Web pages in a database. B)Save
the Web pages on the Web server.
c)Save
the Web pages on his Web browser. D)Save the Web pages on the local computer.
The
rights of an author or a corporation to make profit from the creation of their
products (such as software, music, etc.) are protected by the Intellectual
Property law. Which of the following are the components of the Intellectual
Property law?
a)Trademark
law b)Patent law c)Copyright law d)Industrial Property law
Joseph
works as a Web Designer for WebCom Inc. He has created a Web site for a
merchant who wants to sell intangible items online. Which of the following is
not intangible?
a)Video
b)RAM c)Software d)Music
Which
of the following terms is described in the statement below?
a)Bottleneck
b)Clustering
c)Failover d)Network Load Balancing
John
works as a Web Designer for WebTech Inc. He has created a search engine for a
customer. In the search engine, he has used a program known as spider. What is
the function of a spider?
a)To
index the contents of the Web pages of a site and send them to the search
engine
b)To
open a Web site. c)To make the Web
pages interactive.
d)To
search for a subject.
You
work as a Web Developer for uCertify Inc. You are developing a Web site for the
company. You have used several hyperlinks in your Web pages. You know that
using so many hyperlinks can decrease your page rank in search engines. Which
of the following tags will you use to instruct search engines that a hyperlink
should not influence the link target's ranking in the search engine's index?
a)noindex
b)NOODP c)nocontent d)nofollow
Which
of the following is not true about e-commerce?
a)E-Commerce
increases efficiency. b)E-Commerce
opens new markets.
c)E-Commerce
requires distributors and middlemen for its operation
d)E-Commerce
can be used to communicate directly with the customer.
Which
of the following testing methods requires at least two participants to test the
usability of a Web site?
a)Paper-based
walkthrough b)Click patterns c)Field
testing d)Live usability testing
James
works as a Web Designer for WebTech Inc. He has created a Web site for his
client to sell goods online. His client now wants to get some feedback from his
customers. Which of the following will he use to accomplish the task?
a)Search
engine b)Advertisements c)Polls d)Surveys
Peter
works as a Web Designer for WebCom Inc. He has created an e-commerce site for a
merchant. The merchant uses online promotion to promote his products on the
Web. Which of the following is most commonly used for online promotion?
a)Banner
ad b)Chat
c)E-mail d)Software
Bottom of
Form
In
XHTML, the ________ element provides a multi-line text input control.
a) [b]
<%>...%> [c]
14. What is the default scripting language in
ASP?
[a]
EcmaScript [b] JavaScript [c] VBScript
[d] PERL [e] Action Script
15. Which ASP property is used to identify a
user?
[a] The Application object [b]
The Server object [c] An ASP Cookie
Which
of the following provides greater control over the appearance and presentation
of Web pages?
a)CSS
b)JavaScript c)XML d)HTML
All
of the following are page events except for which one?
a)Dispose
b)PreInit c)Init d)Load
Which
of the following is a page layout technique that also passes the strict XHTML
validation?
a)Frames
b)Tables c)CSS d)Partitions
All
of the following are HttpContext objects except for which one?
a)Request
b)Server c)Client d)Application
Which
of the following options is NOT a part of CSS rules?
a)Property
b)Declaration c)Format d)Selector
The
________ control creates a multiline text box.
a)Input(File)
b)Input(Text) c)Table d)Textarea
Which
of the following states is a feature provided by ASP.NET that is used as a
globally storage mechanism for users on the server-side?
a)Application
b)View c)Session d)Control
Which
of the following controls can be used to render HTML markup when viewed in an
ASP.NET Web page?
a)Server
b)User c)Web d)Validation
The
CSS syntax is made up of three parts: a __________, a property and a value
a)Function
b)Block c)Template d)Selector
_______
is a single selectable control that is useless when used alone; it must be used
in multiples and grouped with the GroupName property.
a)RadioButton
b)CheckBox c)ListBox d)DropDownList
Which
of the following is NOT a type of Cascade Style Sheet (CSS)?
a)Default
Style Sheet b)Inline Style Sheet c)Embedded Style Sheet
d)External
Style Sheet
Which
of the following shortcuts will you use to prevent the CD from automatically
playing?
a)Alt
when inserting a CD b)Shift
when inserting a CD
c)Enter
when inserting a CD d)Spacebar
when inserting a CD
Which
of the following shortcuts will you use to close the active item or exit the
active program?
a)Alt+Spacebar
b)Ctrl+F4 c)Alt+Tab d)Alt+F4
Which
of the following shortcuts will you use to switch the input language when
multiple input languages are enabled?
a)Ctrl+Alt
b)Right or Left Ctrl+Shift c)Ctrl+Shift d)Left Alt+Shift
Which
of the following tools can be used as a display utility that makes the screen
more readable for users who have impaired vision
a)Narrator
overview b)Magnifier overview c)Utility Manager overview
d)On-Screen
Keyboard overview
Which
of the following options is used to save a combination of snap-ins in Microsoft
Management Console (MMC)?
a)Windows
PowerShell b)Microsoft Common
Console c)Snipping tool
d)Windows
Media Center
Which
of the following terms comes under Assistive technology?
a)Screen
readers b)Firefox c)Internet Explorer d)Opera
Which
of the following keys is used to modify the behavior of the keyboard?
a)MouseKeys
b)ShowSounds c)SoundSentry d)StickyKeys
Which
of the following tools is used to capture a screen shot on your desktop?
a)Paint
b)Windows Media Center c)Windows Media Player d)Snipping Tool
Which
of the following applets allows a user to manipulate software installed on the
system in a number of ways?
A)Avira
Antivirus program b)nVIDIA Control
panel
c)Add
or Remove d)Autodesk Plotter Manager
Which
of the following tools is used to synchronize data with other computers and
devices from one common user interface?
a)Windows
PowerShell b)Windows Media Center
c)Sync
Center d)Windows Mobility Center
Which
of the following is a special-purpose control panel (Mblctr.exe) that runs only
on portable PCs running Windows 7 Home Premium or higher editions?
a)Windows
Media Center b)Windows Mobility
Center
c)Sync
Center d)Windows Media Player
Which
of the following shortcuts will you use to turn Toggle Keys on or off?
a)aLeft
Alt+Left Shift+PrtScn b)Num Lock
for five seconds
c)Shift
five times d)Left Alt+Left Shift+Num
Lock
Which
of the following is an application that hosts tools for administering computers,
networks, and other system components?
a)Windows
PowerShell b)Windows Mobility
Center
c)Snipping
tool d)Microsoft Management
Console (MMC)
Which
of the following shortcuts will you use to open the shortcut menu for the
active window?
a)Alt+Tab
b)Alt+F4 c)Alt+Spacebar d)Ctrl+F4
Which
of the following symbols is used to indicate that the compatible driver is
installed in Device Manager?
a)A
blue "i" on a white field b)A
green question mark "?"
c)A
black exclamation mark (!) on a yellow field d)A
red "X"
Which
of the following shortcuts will you use to turn High Contrast on or off?
a)Shift
five times b)Num Lock for five
seconds
c)Left
Alt+Left Shift+PrtScn d)Left
Alt+Left Shift+Num Lock
Which
of the following features a translucent glass design with subtle window
animations and new window colors?
a)Aero
desktop b)Gadget c)Display d)Remote
desktop
Which
of the following shortcuts will you use to switch between open items?
a)Alt+F4
b)Alt+Spacebar c)Ctrl+F4 d)Alt+Tab
Which
of the following applets can be used for speech recognition?
a)Printers
and Faxes b)System c)Speech d)Sounds
and Audio
Which
of the following devices are used as peripheral devices?
a)Bluetooth
b)Scanners and cameras c)Phone and modem d)Sounds and audio devices
Which
of the following tools can be used to free up space on the hard drive, and to
search the drive in order to detect temporary files, Internet cache files, and
unnecessary program files that one can safely delete?
a)Backup
b)Device Manager c)Disk Cleanup d)Dynamic Data Exchange (DDE) shares
Which
of the following elements of the Windows Media Player interface contains a
breadcrumb trail that helps a user find his current place in the library?
a)List
pane b)Navigation pane c)Address bar d)Detail pane
Which
of the following options is used to display all fonts installed on the
computer?
a)Automatic
Updates b)Display c)Folder Options d)Fonts
Which
of the following elements of the Windows Media Player interface manages the
playback of audio and video files?
A)Navigation
pane b)List pane c)Detail pane d)Playback control
How
can you make a list that lists the items with numbers?
a)
Which
HTML attribute is used to define inline styles?
a)
style class font styles
What
is the correct JavaScript syntax to write "Hello World"?
response.write("Hello
World") ("Hello
World")
"Hello
World" document.write("Hello
World")
How
do you write "Hello World" in an alert box?
msgBox("Hello
World") alert("Hello
World")
alertBox("Hello
World") alertBox="Hello
World"
Where
is the correct place to insert a JavaScript?
The
section The
section
Both
the section and the section are correct
How
do you create a function?
function:myFunction() function=myFunction()
function
myFunction()
How
do you call a function named "myFunction"?
call
myFunction() call function myFunction myFunction()
How
do you write a conditional statement for executing some code if "i"
is equal to 5?
if
(i==5) if i=5 then if i=5 if i==5 then
How
does a "while" loop start?
while
(i<=10) while (i<=10;i++) while i=1 to 10
How
does a "for" loop start?
for
(i = 0; i <= 5; i++) for i = 1 to
5 for (i = 0; i <= 5)
for
(i <= 5; i++)
What
is the correct JavaScript syntax to insert a comment that has more than one
line?
/*This
comment has
more
than one line*/
//This
comment has
more
than one line//
How
do you find the number with the highest value of x and y?
top(x,y) Math.max(x,y) ceil(x,y) Math.ceil(x,y)
How
do you put a message in the browser's status bar?
status("put
your message here")
statusbar
= "put your message here"
window.status("put
your message here")
window.status
= "put your message here"
How
can you find a client's browser name?
browser.name
navigator.appName
client.navName
jQuery
uses CSS selectors and XPath expressions to select elements?
False True
Which
sign does jQuery use as a shortcut for jQuery?
the
? Sign
the
% sign
the
$ sign
With
jQuery, look at the following selector: $("div"). What does it
select?
a)All
div elements b)The first div
element
Is
jQuery a library for client scripting or server scripting?
a)Server
scripting b)Client scripting
Is
it possible to use jQuery together with AJAX?
a)No
b)Yes
The
jQuery html() method works for both HTML and XML documents
a)False True
What
is the correct jQuery code to set the background color of all p elements to
red?
a)
$("p").style("background-color","red");
$("p").layout("background-color","red");
$("p").css("background-color","red");
$("p").manipulate("background-color","red");
With
jQuery, look at the following selector: $("div.intro"). What does it
select?
a)All
div elements with class="intro"
All
div elements with id="intro"
The
first div element with class="intro"
The
first div element with id="intro"
Which
jQuery method is used to hide selected elements?
a)display(none)
b)hidden() c)hide() d)visible(false)
Which
jQuery method is used to set one or more style properties for selected
elements?
a)style() b)css() c)html()
Which
jQuery method is used to perform an asynchronous HTTP request?
a)jQuery.ajax() b)jQuery.ajaxSetup() c)jQuery.ajaxAsync()
What
is the correct jQuery code for making all div elements 100 pixels high?
$("div").yPos(100)
$("div").height(100)
$("div").height="100"
Which
statement is true?
To
use jQuery, you do not have to do anything. Most browsers (Internet Explorer,
Chrome, Firefox and Opera) have the jQuery library built in the browser
To
use jQuery, you must buy the jQuery library at www.jquery.com
To
use jQuery, you can refer to a hosted jQuery library at Google
What
scripting language is jQuery written in?
a)C++
b)C# c)VBScript d)JavaScript
Which
jQuery function is used to prevent code from running, before the document is
finished loading?
a)$(document).load()
b)$(document).ready() c)$(body).onload()
Which
jQuery method should be used to deal with name conflicts?
nameConflict()
conflict()
noNameConflict()
noConflict()
Which
jQuery method is used to switch between adding/removing one or more classes
(for CSS) from selected elements?
switchClass()
toggleClass()
altClass()
switch()
Look
at the following jQuery selector: $("div#intro .head"). What does it
select?
All
elements with class="head" inside the first div element with
id="intro"
The
first element with id="head" inside any div element with
class="intro"
All
div elements with id="intro" or class="head"
Is
jQuery a W3C standard?
No Yes
There
is a way of describing XML data, how?
XML
uses a DTD to describe the data
XML
uses a description node to describe data
XML
uses XSL to describe data
What
is the correct syntax of the declaration which defines the XML version?
Which
statement is true?
XML
tags are case sensitive
XML
documents must have a root tag
All
the statements are true
XML
elements must be properly nested
XML
preserves white spaces
False
True
XML
elements cannot be empty
False
True
Which
is not a correct name for an XML element?
All
3 names are incorrect
XML
attribute values must always be enclosed in quotes
False True
What
is a correct way of referring to a stylesheet called "mystyle.xsl" ?
For
the XML parser to ignore a certain section of your XML document, which syntax
is correct?
The
PHP syntax is most similar to:
VBScript
JavaScript Perl and C
In
PHP you can use both single quotes ( ' ' ) and double quotes ( " " )
for strings:
True False
What
is the correct way to include the file "time.inc" ?
<%
include file="time.inc" %>
What
is the correct way to create a function in PHP?
create
myFunction()
new_function
myFunction()
function
myFunction()
PHP
allows you to send emails directly from a script
False True
What
is the correct way to connect to a MySQL database?
mysql_connect("localhost");
dbopen("localhost");
connect_mysql("localhost");
mysql_open("localhost");
PHP
can be run on Microsoft Windows IIS(Internet Information Server):
False True
Which
of the following tags inserts a paragraph break between lines of text?
In
HTML 4.01 which is the most suitable method to call an applet called
"cal.class" to show a scrollable calendar in a website?
a)
b)
c)
d)
Select
an incorrect statement for
a)
The "multiple" attribute
allows the user to choose multiple options
b)
The text specified in the
"value" attribute is displayed in the drop-down list
c)
The "name" attribute
should be specified
d)
The "disabled" attribute
disables the drop-down list
How
do you apply a setting that enables selection of only one radio buttons if many
are mentioned in a group?
a)
All the radio buttons must be added
to same group using
b)
The value of input tag must be same
for all the radio buttons
c)
The display text of input tag must
be same for all the radio buttons
d)
The name of input tag must be same
for all the radio buttons
Footer
tags, table header and body are better defined in which statement?
a)
It is recommended to first specify
the table header followed by the footer and then the body tag
b)
The table header, body and footer
tags are
c)
The table header, body and footer
tags are
d)
These tags are supported by a wide
range of browsers and are commonly used by web designers
Whenever
focus on a form is lost by an element _______ event is fired.
a)
onselect b) onload c) onblur d)
onfocus
The
easiest way to display a heading on the top of a table is by
a)
Using this just before the table
tag:
b)
Using this just after the table tag:
Table heading
c)
Using this just after the table tag:
Choose
a code that should be used after this image tag:
usemap
="#statemap" />
a)
b)
c)
d)
Find
error in a code written in a HTML file for four radio buttons:
Female:
Male:
Single:
Married:
a)
It will allow the user to choose
only one option out of the four
b)
It will allow the user to choose
only the female and single options
c)
It will allow the user to choose
only the male and the married options
d)
It will allow the user to choose all
the four options at the same time
To
display right to left text in a bidirectional text supporting browser we use
the following option?
a)
Text
should go in opposite direction
b)
Text should go in opposite direction
c)
d)
Relation
between XHTML and HTML is not properly defined in which statement?
a)
XHTML and HTML both are used to
generate dynamic content
b)
XHTML is almost identical to HTML
4.01
c)
XHTML is a stricter and cleaner
version of HTML
d)
XHTML brings together the elements
of HTML and the syntax of XML
Blockquote
is used to _______________?
a)
make the text slightly bolder b) define
the start of a long quote
c)
make the text a bit bigger for
emphasizing
DIV
tag is not defined by which statement?
a)
We can't apply style to div tag
b)
It leaves empty space before and
after the tag
c)
It defines a logical division or
section of an html document
d)
All of the above
Select
a code that writes first line of table heading for a table containing customer
names and contact information.
a)
b)
c)
d)
Read
the following code and determine the values that would be passed when
"Item 2" is selected and submit button is clicked.
a)
Item 1 b) 90 c) 89 d) Item
2
In
HTML 4.01 the tag "" is better defined in which
statement?
a)
The language attribute can't be
specified with it
b)
The name and type attributes are
optional
c)
It does need a closing tag
d)
The class, id and title can be
specified for it
img
tag when used with align attribute helps to get _______________________.
a)
Text on left of image if the align
is left
b)
Text below image if the align is top
c)
Text above image if the align is
bottom
d)
Text on right of image if the align
is right
For
the following directory structure you need to provide a link in delivered.html
to go to products page if Products.html is a page of products directory and
Delivered.html is a page of delivered directory.
webroot->products->ordered->delivered
Select
an optimal code from the following?
a)
All Products
b)
All Products
c)
All Products
d)
All Products
e)
All Products
If
you had to change the address of your old website then how would you direct
users to new webpage address within three seconds?
a)
b)
c)
d)
HTML
code to accept subsciption date from user in a subscription form is as follows:
Day Month Year _________________ is used to
combine all three text fields in a box.
a)
b)
Pick
from the provided html event that is unknown.
a)
onmouseout b) onmouseover c) onmousedown d) onmousepress
What
will be the procedure for deletion of an element of an options array?
a)
Set it to null b) Set it to false c) Set it to -1 d) Set it to undefined
e)
Set it to 1
Suppose
the image id is "ERImage". To modify the image position from absolute
to relative, what will you do from the following?
a)
document.getElementById('ERImage').setAttribute("position",
"relative")
b)
document.getElementById('ERImage').position="relative"
c)
document.getElementById('ERImage').style.position="relative"
d)
document.getElementById('ERImage').style.position="rel"
Determine
from the given options that is not an HTML event.
a)
onkeydown b) onupdate c) onchange d) onabort
Pick
from the given choices that will be useful to keep an image at a permanent
location on the webpage considering that visitor can scroll the page.
a)
background-attachment:static; b) background-attachment:fixed;
c)
background-style:static; d) background-style:fixed;
Which
one will you select to turn over the heading horizontally where the h1 tag is
defined like below?
H1
{width: 100px ;}
a)
c)
d)
What
is the procedure of creating a popup window that is closing after n seconds?
a)
You would use the exit function of the window object
b)
You cannot program a window to close automatically after n seconds. The user
will have to manually close it
c)
You would use the setTimeOut function
d)
You would use both setTmeOut and exit function
e)
You would use the terminate function
Imagine
a situation, where a document.write() method has been embedded for writing some
text within a piar of table tags. You find some garbled junk on the page on
loading this file where that text should be. What is the cause you think?
a)
The browser does not support cookies
b)
The browser does not support JavaScript
c)
You are using an older version of the browser
On
a mouseover event, to alter the color of the textbox text with id=txtLocation
to blue, pick the correct one from the following to do that.
a)
document.getElementById('txtLocation').color=blue
b)
txtLocation.color=blue
c)
document.getElementById('txtLocation').style.color=blue
d)
document.getElementById('txtLocation').style.color=black
It’s
never a good idea to let the end user to observe the JavaScript code embedded in
the HTML file, when user can easily view the source by clicking the option
“View the source”. To do this, from the following options, what will you do?
a)
Use externally linked files which hold the javascript code
b)
This is not possible
c)
Change the MIME type of the page
d)
Modify the headers of the page
Suppose
you need to access a form element using its id. Form the given in-built
functions; pick the best one that will be helpful:
a)
getFormElement(id) b) getItem(id)
c)
getFormItem(id) d) getElementById(id)
e)
All of the above
Pick
from the given properties that is used to show only a segment of an image:
a)
clip b)
snap c)
visible d) scroll
Pick
from the given options that will come up top considering the given conditions:
The image is kept in a position styled with z- index=-1 along with a text
paragraph is over lied on it.
a)
image b) paragraph
c)
None of the above will come up d) any
of the above
Pick
from the following that is not a JavaScript Event?
a)
onmouseout b) onmouseover c) onmousedown d) onmousepress
State
the time from the following, when the load event of the browser happens:
a)
When the browser receives all the page information, including framesets
b)
When the browser receives the page header information
c)
When the browser starts displaying the content
d)
When the browser takes al input from user and sends to server
e)
When the browser receives all the page information, including framesets and
displays it
Determine
whether the given line is true or not:
Using
DHTML, it is possible to make sliding menus.
a)
False b) True
The
code that is given below is used to validate form. This function returns true
and false for the cases of successful and fail respectively. The data is always
submitted, no matter the validation fails. What is the reason behind this?
form
name="frmadd" method="post" action="add.asp"
onsubmit="validate()"
a)
onsubmit="validate()"
should be replaced with "javascript:validate()"
b)
There is no error, the code is fine
c)
There should be a return statement
before the call to the validate function
For
altering the image, you have a function with id imageID at runtime:
function
changeimg(givenImg)
{
document.getElementById
('imageID').src=givenImg
}
When
the user clicks the image, then how would you show the “image2.gif”?
a)
img id="imageID"
src="image1.gif"width="50" height="60"
onmousedown="changeimg(image2.gif)"
onmouseup="changeimg(image1.gif)”
b)
img id="imageID"
src="image1.gif" width="50" height="60"
onmousedown="changeimg(image1.gif)"
onmouseup="changeimg(image2.gif)”
c)
mg id="imageID"
src="image2.gif"width="50" height="60"
onmousedown="changeimg(image2.gif)"
onmouseup="changeimg(image1.gif)"
d)
img id="imageID"
src="image2.gif"width="50" height="60"
onmousedown="changeimg(image1.gif)"
onmouseup="changeimg(image2.gif)"
Suppose
you are given a task where you need to create a webpage. In that page,
hyperlinked sub-headings are displayed. If you click on the link, the content
should be viewable to user dynamically. From the following style attributes,
which will you use for this job?
a)
visibility:none; b) visibility:visible;
c)
visibility:display; d) visibility:hidden;
Suppose
you are given a button definition like below:
Input
class = “a” type = “button” value = “Calculate”
On
a mouseover event, if you want to apply an image “Img2.jpg” as the background
of the button, which of the following will you use?
a)
event.srcElement.style.Image="Img2.jpg"
b)
event.srcElement.style.backgroundImage="Img2.jpg"
c)
event.srcElement.style.Image="url('Img2.jpg')"
d)
event.srcElement.style.backgroundImage="url('Img2.jpg')"
Consider
a state that to write some text within a pair of table tags, you have embedded
the document.write() method. But an occurrence has happened that is you get
some garbled junk on the page which should contain the text on loading the
file. From the following, pick the right reason for this incident:
a)
You are using an outdated version of
the browser
b)
The browser does not support
JavaScript
c)
The script running option is
disabled in the browser
d)
The browser does not support cookies
e)
None of the above
Determine
from the given options, which one represents the character entity of the 'less
than' sign (its entity name is '<') ?
a)
60;# b) < c) &60#; d) #60&
Imagine
in your web page named "Listing.xhtml", you denoted a target like
this:
name="target4">Old
Listing If you want to make a link to the above target, what will be
the answer from the following:
c)
Check Old Listing as well
From
the given statements, determine the accurate one for the
a)
The text under blockquote must be
enclosed in a block level element in a strict DTD document
b)
The attribute named "cite"
must be specified
c)
Closing the tag is optional
d)
It doesn't place an empty line after
the text
Among
the given choices, which one best describes about the given code?
a)
xmlns specifies the URL to qualify
the names used in the XHTML document
b)
xmlns means html-xml number sequence
c)
Elimination of xmlns tag will be
result in the document not being validated by a w3.org validator
d)
The page will not be displayed
properly if the URL is changed to
http://www.w3.org/1999/xhtml Which of the
following is not wrong for the tag "" ?
a)
It doesn't need a closing tag b)
It doesn't need a closing tag
c)
The name and type attributes are optional
d)
The class, id and title can be specified for itConsider this code of an
XHTMLdocument, which displays a table:
Find
out, which of the following is not false about the table built by the code
above?
a)
The empty cell will have a proper
border like the other three cells
b)
The inner border of the empty cell
can be created by adding a space within the cell
c)
The inner border of the empty cell
can be created by adding " "
d)
Some text must be entered in the
empty cell to get the inner border to be displayed
Find
out from this given XHTML code, which is not incorrect?
a)
b)
c)
d)
By
an XHTML parser, which of the given codes will be allowed?
a)
This is the starting of a new paragraph
b)
This is the starting of a new paragraph
c)
Here is a break statement
Suppose,
you have a drop-down list, where you need to add a list of product. You want to
group the identical products under a category name. Which option will you
choose?
a)
optgroup b) option c) menu d) var
If
you want to open a link in a new browser, what will be the code you are going
to write in XHTML?
a)
b)
c)
Mailer
d)
Mailer
Suppose
you have to display a table containing each and every customer of your company
along with "payable amount" and "paid amount" columns. As a
background color, you have selected yellow. From the given choices, choose the
fittest one that signifies the structure of a single row of the table?
a)
b)
Amount
c)
d)
In
HTML 4.01, which properties of the tag
a)
align b) bgcolor c) cellspacing
Which
tag cannot be used in a table cell "
a)
c)
e)
All the above tags can be used
Go
through with the given code:
.name::after
{ content: leader(solid) }
var
str = "The rose";
var
patt1 = new RegExp("rose", "g");
patt1.test(str);
document.write("rose
found. index now at: " + patt1.lastIndex);
for(i=0;i
document.images[i].src="blank.gif";
var theimages = document.images;
for(i=0;i
theimages[i].src="blank.gif";
var
str = "Visit Garden\Showcase";
var
patt1 = new RegExp("en\S","g");
document.write("The
regular expression is: " + patt1.source);
var
str = "Is this enough?";
var
patt1 = new RegExp("[^A-J]");
var
result = str.match(patt1);
document.write(result);
,
, or
?
"It is a way of grouping Web servers to handle heavy traffic." b)
c)
d)
Customer Name
Contact
Customer Name
Contact
Customer Name
Contact
Customer Name
Contact
Heading
b) Heading
Heading
Heading
tag?
Item
1
Item
2
Item
4
. .
. . .>/table>
. . .>/table>
. . .
d)
New Horizontal line
Customer Name
Payable Amount Paid Amount
Customer Name Payable
Paid Amount
Customer Name Payable Amount Paid Amount
Customer Name Payable Amount Paid
Amount is deprecated and not
supported in strict DTD XHTML?
":
d)
Defining
HTML
b)
b) c)
d)
Comments
http://warszawainfo24.pl/
ReplyDeleteGreat content, very well research, I don't think any other question left
ReplyDeletehttps://pbase.com/profile/jongomes
mcafee is an antivirus software providers that secure your computer for virus , worms ,trojens and other mailcious program .it provides full range of security product like antivirus , firewall etc .you have to do mcafee antivirus download
ReplyDeleteExcellent information about
ReplyDeleteEducation Website Design
Thanks For this Blog Keep Sharing Your Thoughts Like this...
ReplyDeleteImportance of UI UX Design
What is UI UX Design
Sir, really good article. Keep Write more Like this information. Thanks For Sharing !
ReplyDeletehttps://www.wingblog.in