联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Web作业Web作业

日期:2018-05-28 12:48


Mock Exam Take Test: CSC8004 Web Technologies Mock Exam 2017/18

Take Test: CSC8004 Web Technologies Mock Exam 2017/18

Test Information

Description

Instructions

Multiple

Attempts

This Test allows multiple attempts.

Force

Completion

This Test can be saved and resumed later.

CSC8004 Web Technologies - Semester 2, 2018

Please note: The final exam will be closed book, but you are welcome to use your

course handouts (and any other resources) in preparation and during this mock exam.

This mock examination will take 1.5 hours to complete.

Make a SINGLE selection from a number of options.

Type an answer in the box provided.

Read each question carefully and remember to review your answers

before 把薕nishing.

There are 10 questions in total. Attempt all of them.

Each question consists of one or more parts.

The maximum mark available for each full question is indicated at the top of

each question page.

Each individual question part will show the mark available for that part.

Each question part will require you to do one of the following:

QUESTION 1

Consider the following URL, then correctly name the parts labelled

A to C and then answer the questions below. (Two marks per

answer)

10 points Save Answer

?

My Institution Courses Community ePortfolio University Library Careers

Hui Xu

2018/5/25 Take Test: CSC8004 Web Technologies Mock Exam 2017/18 – ...


Part A

Part B

Part C

Which HTTP request method is considered to be the "default" and

is used if no other request method has been explicitly speci把薕ed?

What role do the DNS system and its servers usually perform when

a web client makes a request for a URL?

QUESTION 2

Consider the following web page source code, then correctly

add the missing text in the parts labelled A to E. (One mark per

answer).

Part A

Part B

Part C

Part D

Part E

What does the presence of a DTD declaration at the top of a web

document trigger in most common desktop web clients?

6 points Save Answer



QUESTION 3

Indicate which of the tags or code snippets shown below are valid,

strict XHTML1.0.

Type Valid or Invalid in the space provided (One mark per answer).

<hr align="right">

<p>This part is <em>important</p></em>

<h1 style="text-decoration: line-through?">

<img src="map.png" title="Treasure map" />

<img src="map.png" alt="Treasure map" />

<input type="checkbox" name="guitar" value="Gibson

ES-335 Custom Shop">

<input type="checkbox" name="guitar" value="Gibson

ES-335 Custom Shop" />

<input type="checkbox" name="guitar" value="Gibson

ES-335 Custom Shop" checked />

10 points Save Answer

QUESTION 4

Which of the following are fully valid CSS rules?

Type Valid or Invalid in the space provided (One mark per

answer).

h4 { background-color: red }

span#unique.title {text-decoration: underline?

color: #f78 }

div ul { font-family: serif text-decoration:

underline? }

p:first-letter { font-weight:bold }

div.inline { display: inline }

div.navbar { position: relative? float: both? }

#xcol { float: left? clear: left? right: 89}

div > h1 { background-color:#efefef }

10 points Save Answer

Question Completion Status:

div < h1 {font-weight: bold?}

#individual { display: none? color: red }

QUESTION 5

What are the speci把薕city values for the following CSS selectors? (Two

marks per answer).

p

#distinct

div#distinct h1

div#distinct > h1

div#distinct p.highlight

10 points Save Answer

QUESTION 6

Given the following HTML and CSS:

10 points Save Answer

Question Completion Status:

Click Save and Submit to save and submit. Click Save All Answers to save all answers.

2018/5/25 Take Test: CSC8004 Web Technologies Mock Exam 2017/18 – ...

https://blackboard.ncl.ac.uk/webapps/assessment/take/launch.jsp?course_assessment_id=_44075_1&course_id=_81098_1&content_id=_346849… 5/8

1. The total width of div#d, including content, padding, and

border?

2. The total height of div#b, including content, padding, and

border?

3. How big would the whitespace be that appears to the left of

div#a?

4. What would be the o誋??set of div#b to the top of the screen?

5. What would be the o誋??set of div#c to the top of the screen?

Assuming this page is rendered on a view port 1000px wide and

500 px high, what would be

All answers should be given in pixels

QUESTION 7

Write CSS selectors to accurately and unambiguously match the

patterns described below. (Two marks per answer).

Any p nested inside <div class="section1">

Any heading between (and including) levels two and 把薕ve

The 把薕rst letter of each paragraph in the dropcaps class

Any div in the addborder class, paragraph in the addborder

class, or any textarea

Any hyperink currently being hovered over by the user

10 points Save Answer

QUESTION 8

Examine the XHTML/JavaScript snippet below and answer the

questions which follow.

10 points Save Answer

Question Completion Status:

Click Save and Submit to save and submit. Click Save All Answers to save all answers.

2018/5/25 Take Test: CSC8004 Web Technologies Mock Exam 2017/18 – ...

https://blackboard.ncl.ac.uk/webapps/assessment/take/launch.jsp?course_assessment_id=_44075_1&course_id=_81098_1&content_id=_346849… 6/8

What would you put in place of the following placeholders in order

to have the ping_pong_count result alerted to the user upon the

page 把薕nish loading in a browser? (2.5 marks per answer).

WW

XX

YY

ZZ

QUESTION 9

The following 把薕les are in the same folder. Examine them and

answer the questions that follow. (Five marks per question).

myscript.js

10 points Save Answer

Question Completion Status:

1. Nothing

2. Alert window pops up and shows 51

3. Alert window pops up and shows 150

4. Alert window pops up and shows 240

5. Alert window pops up and shows 250

1. Nothing

2. Alert window pops up and shows 51

3. Alert window pops up and shows 150

4. Alert window pops up and shows 240

5. Alert window pops up and shows 250

mypage.html

Part A

What would happen when "Click this" is clicked in a browser?

(Enter the number of your chosen answer below only).

Part B

What would happen when "Click that" is clicked in a browser?

(Enter the number of your chosen answer below only).

QUESTION 10 6 points Save Answer

Question Completion Status:

QUESTION 10

Part A

Indicate how many matches the following regular expressions will

have against the text string enclosed in double quotes (excluding

the quotation marks). (One mark per answer).

"To be or not to be."

/to\s?/g

/be\w?/g

/^to.*/

Part B

Indicate whether the following regular expression will evaluate to

be true or false against the given text string.

Write Match or No Match for each part of the question in the space

provided.

(One mark per answer).

var regex_obj = /.*\.$/;

regex_obj.test("cat.")

regex_obj.test("?=+.")

regex_obj.test("abc1")

6 points Save Answer

Question Completion Status:

Click Save and Submit to save and submit. Click Save All Answers to save all answers.


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp