"Web Applications Design" Selected Multiple-Choice Questions
"Web Applications Design" Selected Multiple-Choice Questions
1 The Web is
A Another name for the Internet
B A global set of resources logically interrelated
C An Internet protocol
2 A Uniform Resource Identifier
A Consists of a URL and a URN
B Is an Internet protocol
C Is a layer of the OSI
3 There is a unique set of web design principles
A There is the 20-principles approach
B There is not a unique set of principles
C There is only the 10-principles approach
4 Static HTML pages present content that
A Does not change in time
B Changes depending on the visitor
C Changes on a regular time basis
5 Client-side web programming refers to applications
A Running on a server
B Running on a client
C Running on a server and delivering dynamic content on a client
6 What does HTML stand for?
A Home Tool Markup Language
B Hyperlinks and Text Markup Language
C Hyper Text Markup Language
7 Who is making the Web standards?
A The World Wide Web Consortium
B Mozilla
C Microsoft
8 Choose the correct HTML tag for the largest heading
A <h1>
B <head>
C <heading>
9 What is the correct HTML tag for inserting a line break?
A <lb>
B <break>
C <br>
10 What is the preferred way for adding a background color in HTML?
A <body back="yellow">
B <body background="yellow">
C <background>yellow</background>
11 Choose the correct HTML tag to make a text bold
A <b>
B <bold>
C <heavy>
12 Choose the correct HTML tag to make a text italic
A <italics>
B <i>
C <decorated>
13 What is the correct HTML for creating a hyperlink?
A <a name="http://sepdek.net">sepdek.net</a>
B <a>http://sepdek.net</a>
C <a href="http://sepdek.net">sepdek.net</a>
14 How can you create an e-mail link?
A <a href="xxx@yyy">
B <a href="mailto:xxx@yyy">
C <mail>xxx@yyy</mail>
15 How can you open a link in a new tab/browser window?
A <a href="url" target="_blank">
B <a href="url" target="new">
C <a href="url" new>
16 Which of these tags are all <table> tags?
A <table><tr><td>
B <thead><body><tr>
C <table><head><tfoot>
17 Inline elements are normally displayed without starting a new line
A True
B False
C Either true or false
18 How can you make a numbered list?
A <list>
B <ul>
C <ol>
19 How can you make a bulleted list?
A <list>
B <ol>
C <ul>
20 What is the correct HTML for making a checkbox?
A <checkbox>
B <input type="check">
C <input type="checkbox">
21 What is the correct HTML for making a text input field?
A <input type="textfield">
B <input type="text">
C <textinput type="text">
22 What is the correct HTML for making a drop-down list?
A <input type="dropdown">
B <select>
C <input type="list">
23 What is the correct HTML for making a text area?
A <input type="textbox">
B <textarea>
C <input type="textarea">
24 What is the correct HTML for inserting an image?
A <img src="image.gif" alt="MyImage">
B <image src="image.gif" alt="MyImage">
C <img href="image.gif" alt="MyImage">
25 What is the correct HTML for inserting a background image?
A <body background="background.gif">
B <img src="background.gif" background>
C <background img="background.gif">
26 JavaScript is
A A simple programming language derived from Java
B A scripting language for client-side web applications development
C A scripting language for server-side web applications development
27 MySQL is
A A hierarchical database management system
B An XML native database management system
C A relational database management system
28 The PHP programming language is used
A In server-side web applications development
B In client-side web applications development
C In mobile application development
29 PHP originally stood for
A PHP Hypertext Processor
B Personal Home Pages
C Personal Hypertext Processor
30 How does PHP work
A The server invokes a PHP processor to interpret PHP code
B The PHP code is compiled on the server and sent to the client as HTML
C The PHP code is compiled on the server and sent to the client as an executable
31 PHP code is enclosed within
A <php> ... </php> tags
B No tags needed for PHP
C <?php ... ?> tag
32 What does this PHP code do? <?php echo "Hello world"; ?>
A Nothing – this is incorrect
B Displays the "Hello world" message
C Displays "echo Hello world" on the client screen
33 MySQL’s basic operations include
A Creating and modifying databases
B Using PHP to present information
C Presenting dynamic web pages
33 MySQL’s stores tables
A In various files within a directory for each database
B In one excel-like file
C In one data file that includes all data and indices
34 ‘Select’ statements in SQL are used for
A Selecting the display for presenting database data
B Converting data from a database into a webpage
C Fetching data from a SQL-based database
35 PHP can communicate with MySQL to serve data to the web
A True
B False
C Irrelevant