Final Exam Web Design and Development

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

MicroLink Information Technology and Business College

Department of Software Engineering


Final Exam for Webpage Design and Development
Course Code: CSSE-233
Academic Year: 2019/20 G.C
Exam Date: 2023 E.C
Maximum Score: 100%
Time Allowed: 2:00

Name: _____________________________________________ ID.No: ____________________

Dept. ___________________________________________ Section: ___________Year:_______

Program: __________________ Admission: Regular Extension Semester: ______

General Instructions

Write your Name, ID, Department and Section both on the cover page and the answer sheet.

Please make sure the exam has 4 parts and 6 pages including the cover page and answer sheet

Read carefully the instructions and attempt all questions.

Provide your answer only on the separate answer sheet.

Any material shall not be taken in to the exam room unless permitted by course instructor.

Cheating is strictly forbidden and it will lead you academic dismissal.

Please switch off your mobile until the end of the exam.

Please Do Not Turn This Page Until You Are Told To Do So!!

1
Part I. True/False Items (5 Points)

Instruction: Write TRUE if the statement is true and FALSE if the statement is false. (1 points each).

_________1. JPEG causes an image to lose detail when saved.

_________2. By default, the browser displays the image inline.

_________3. A text anchor is one or more words the browser underlines to indicate the fact that it

represents a link.

_________4. An HTML document that contains a FRAMESET definition has no BODY section in its

HTML code.

_________5. Frames will automatically have scrollbars if the content you've specified for them is too

big to fit the frame.

Part II: Matching Items (5 Points)


Instruction: For each apparatus listed below, identify the scientist who invented it and write the
letter of your choice on the space provided. A scientist listed under column ‘B’ may be
matched to the inventions only once. (1 point each)

Column “A” Column “B”


______1. Hypertext A. Allows a user to move from one web page to another by
using a mouse to click on special hypertext links.
______2. Task Oriented Sites B. <!-- Comment →
______3. Document Oriented Sites C. responsible for servicing requests for viewing that web site.
______4. Web server D. Provide information for users with limited interactivity
______5. JavaScript Comment E. Allow the user to interact with information or accomplish
some task.
F. /* Comment */

Part III. Multiple Choice Items (20 Points)


Instruction: Choose the correct answer among the given alternatives and write the letter of your
choice on the space provided on the separate answer sheet. (1 points each).

________1. What is the full form of php?


A. Hyper text markup language B. Hyphenation text markup language

C. Hyper text marking language D. Hyphenation test marking language

2
________2. In a PHP script, how can I retrieve the value of a form element named "zipcode" if the

form has been transmitted using the post method?

A. $a = $POST['zipcode'];
B. $a = $_POST['zipcode'];
C. $a = $FORM['zipcode', 'POST'];
D. $a = decode('zipcode', 'POST');

________3. Choose the correct HTML tag for the largest heading

A. the H6 tag B. the h1 tag C. the h4 tag D. the largest tag

________4. How would you write Hello in an alert box?

A. alert "hello" B. alert ("hello") C. alert ("hello"); D. alertbox ("hello");

________5. Which of the following is not a use of JavaScript?

A. Browser detection B. cookies C. form validation D. user verification

________6. What is the purpose of the HTML <td colspan>?

A. sets the number of rows a table should span

B. sets amount of space between table cells

C. sets number of columns a cell should span

D. sets the number of rows a column should span

________7. How can you make a list that lists the items with numbers?
A. the list tag B. the ul tag C. the ol tag D. the dl tag
________8. to add notes or comments, insert a comment tag using the syntax ______
A. <---comment> B. <!--comment--> C. </--comment> D. <!--comment!-->
________9. A style sheet file has the file extension _____, which distinguishes it from an
HTML file.
A. html B. css C. docx D. htm
________10. An Attribute that is supported by paragraph element?
A. Align B. HREF C. SRC D. Background
________11. The correct syntax to add graphical anchor is________________?
3
A. <A HREF="URL" IMG SRC="Image File Name" ></A>
B. <A HREF="URL"><IMG SRC="Image File Name"></A>
C. <A SRC="URL"><IMG HREF="Image File Name"></A>
D. <A SRC="URL" IMG HREF="Image File Name" ></A>
________12. One of the following is different among the following
A. p{ color: #F00 } B. p { color: #FF0000 }
C. p { color: rgb(255,0,0) } D. p { color: rgb(100%, 0%, 0%) } E. None
________13. Setting row and column in Frameset can be in ________________?
A. Pixels B. Percentage C. By setting asterisk (*) D. All
________14. one of reserved implicit names in frames that enables to load the content
directed to this name into the calling frame.
A. _blank B. _self C. _top D. _parent

________15. if you want to nest additional tables with in a table which element is proper?
A. <TD></TD> B. <caption> C. <TR></TR> D. <Table>

________16. When you using the address element, the address text is displayed in _____ by

default.

A. bold B. Underline C. Italics D. bold italics

________17. Item 1 indicated in the figure above is the ____ element.

A. heading B. Body C. Block-level D. link

________18. Item 2 in the figure above represents the _______ of the style sheet.

A. heading B. Filename C. Body D. folder


4
________19. Item 3 in the figure above represents the style sheet ______.

A. text B. Filename C. Link D. Language

________20. The style sheet rules in a(n) ________ style sheet take precedence over any

rules set in the browser’s internal style sheet or in a user-defined style sheet.

A. internal B. Outside C. Embedded D. External

________21. Adonay has decided to display the text of all h1 headings found within the page

header in green. The style rule applied is _____.

A. header h1 {shade: green;} C. header h1 {green: color;}

B. header h1 {green: shade;} D. header h1 {color: green;}

________22. One of the following is the possible selector in defining CSS?

A. Any HTML tag B. Class C. ID D. All

________23. a tag defines a field in which the end user can type multiple lines of text.

A. <Input> B. <Select> C. <Textarea> D. None

________24. An attribute tells the form how to send its information back to the script.
A. Action B. Method C. Name D. Value
________25. Specifies the maximum number of characters to be allowed for a text or
password field.
A. Size B. Maxlength C. Value D. Type

Part IV: Workout (5 points)

Instruction: write your answer clearly for the following questions and write your answer on the
space provided (2.5 points each).

1. Write the correct php script that connects to a MySQL database?

2. Draw the output of the following code (3 pt's)

<HTML>
<HEAD> <TITLE>Row and Column Spanning</TITLE> </HEAD>
5
<BODY>
<TABLE BORDER>
<TR> <TH COLSPAN=3>DC nationals</TH> </TR>
<TR> <TH>Offense</TH> <TH>Defense</TH> <TH>Goalie</TH> </TR>
<TR> <TD>Husmann</TD> <TD>O'Donnell</TD> <TD ROWSPAN=4>Weinberg</TD> </TR>
<TR> <TD COLSPAN=2>Popplewell</TD> </TR>
<TR> <TD>McGilly</TD> <TD>Longo</TD> </TR>
<TR> <TD>Donahue</TD> <TD>Seymour</TD> </TR>
</TABLE>
</BODY>
</HTML>

MicroLink Information Technology and Business College


Department of Software Engineering
Final Exam for Webpage Design and Development
2023 Academic Year
Answer Sheet

Name: _________________________________________Department: ____________________


ID.No: __________________________________Sec:___________ Year: _________________
Program:_______________________Enrollemnt:______________Semester:________________
ADD: Drop: DD/MM/YYYY: ____________________________

Part I: True False Part III: Multiple Choice Questions (1 points each)
Questions (1 points Part II: Matching
each) Items (1 points each)

6
1. ________ 1. ________ 1. ________ 11. ________ 21. _________

2. ________ 2. ________ 2. ________ 12. ________ 22. _________


3. ________ 3. ________ 3. ________ 13. ________ 23. _________
4. ________ 4. ________ 4. ________ 14. ________
24. _________
5. ________ 5. ________ 5. ________ 15. ________
25. _________
6. ________ 16. ________

7. ________ 17. ________

8. ________ 18. ________

9. ________ 19. ________

10. _______ 20. ________

Part IV: Workout(2.5 points each)

1.

2.

You might also like