Câu hỏi ôn tập phát triển Web
Câu 1: In HTML,the correct format for comment is:
a.
b. < c- -your comment here- ->
c.
d.
Bạn đang xem trước 20 trang tài liệu Câu hỏi ôn tập phát triển Web, để xem tài liệu hoàn chỉnh bạn click vào nút DOWNLOAD ở trên
1
CÂU HỎI ÔN TẬP PHÁT TRIỂN WEB
Cau 1: In HTML,the correct format for comment is:
a.
b.
c.
d.
Cau2: Which of the following is NOT a top-level domain?
a. .edu
b. .gov
c. .net
d. .url
e. .jp
Cau3: To add a simple horizontal line a simple HTML
page(line break),using tag______
A.
B.
C.
D.
Cau4: the____tag creates an anchor.
A.
B.
C.
D.
Cau5: Be rendered something line this…..
Modules to be taught
1. Monday
2
.No modules
2.Tuseday
.ITY211
. ITY114
3.Wedensday
.ITY108
A.Modules to be taught
Monday
No modules
Tuesday
ITY211
ITY114
Wedensday
ITY108
B.
.Modules to be taught
3
Monday
No modules
Tuesday
ITY211
ITY114
Wedensday
ITY108
C.
.Modules to be taught
Monday
No modules
Tuesday
ITY211
4
ITY114
Wedensday
ITY108
D.
.Modules to be taught
Monday
No modules
Tuesday
ITY211
ITY114
Wedensday
ITY108
5
Cau6: When you type a URL into a browser’s location
bar, you may omit the protocol http:// because the
browser automatically insert it for you.
A. False
B. Sometimes
C. Only when you’re using internet Explorer
D. True
Cau 7: Which of the following statement is not correct
?
A. Dicriptive markup is also known as semantic
markup
B. The main elements in HTML’s
popularity are its simplicity to learn,
capabilty of automatic genration of HTML
code with third party editors and capabilty
of browsers to ignore the broken line of
HTML and continue without halting the
excecution with an error message
C. HTML was only meant to define document
structure
D. The markup languages are designed to pay
more attention to appearance than content
Cau 8: the text inside which of the following containers
will appear in the title bar as the top of the window
when the browser displays the web page
A. and
6
B. and
C. and
D. and
Cau 9: the following segment HTLM build table(see
picture )
Module
2001/2
2002/3
<!-only 3 cells specified in row 1 because cells 2 and 3
span 2columns each-- >
Semester 1
Semester 2
Semester 1
Semester 2
<!- only 4 cells specified in row 2 because cell 1 of row
1 spans 2 rows-- >
ITY114
Wed am
Mon pm
Wed eve
7
Fri am
ITY211
Mon am
Fri pm
Tue am
Fri pm
ITY108
Fri am
Wed pm
Not taught
Which is missing word?
Module 2001/2 2002/3
Semester
1
Semester
2
Semester
1
Semester
2
ITY114 Wed am Mon pm Wed eve Fri am
ITY211 Mon am Fri pm Tue am Fri pm
ITY108 Fri am Wed pm Not tauhgt
A. rowspan
B. row
8
C. colspan
D. col
Cau 10: it is impossible to have the current time display
on a web page using HTML alone
A. False, because the system can not know the
current time from server or from client computer
B. False, we can not make the current time
display on a web page using HTML alone
C. True. It always diplay by webbrowser, even you
want to make it disapearjj
D. True. We can make the current time display on
a web page using HTML aloone
Cau 11. forms collect information or responses from the
vistor and process them through an application called:
A. A word processor
B. A client-sile image map
C. A CGI application (CGI: Common Gateway
Interface - bộ thông dịch script cho các web
server)
D. A web-page processor
Cau 12. ….. specifies a table and
…defines a table data cell?
A. false. Using … instead
B. false. Using … instead
C. True
D. False . Using … instead
9
Cau 13: What is the action attribute for on a form?
A. tell the system what type of object goes on the
form
B. none of the other answers
C. declare where the data will go
D. limit the number of character keyed on a text
box
Cau14: Which of the following are valid form methods?
A. send and get
B. post and get
C. Puss and puil
D. Send and post
Cau 15: which of the following is valid for HTML page
in picture
10
A.
framesets
This browser dose not support frames
B.
Framesets
This browser dose not support frames
11
C.
Framesets
This browser dose not support frames
D.
Framesets
Cau 16: When creating headings in HTML, it is good to
skip heading number (i.e.create then create
as the very next heading) ?
A. True, because it make website is more beatiful
12
B. False, because it make wedsite is not good
C. True, bacause we can use any number you want
D. False, because HTML do not allow to do that
Cau 17: Insert an image element as follows…
A. source
B. pictur
C. src
D. image
Cau 18: Put the word missing.
What type of energy is conserved in an elastic collision?
<― type=”text” on
change=”if((this.value.toLowerCase()==’kinetic’)//(this.
value.toLowerCase()==’kinetic energy’))
{ alert(‘Correct’);}
else
{ alert(‘incorrect’); }>
A. textbox
B. reset
C. input
D. checkbox
13
Cau 19: You can center text by using:
A. Either the Center mark or the align argument
B. The CENTE mark
C. The Align argument to one of many marks
D. The CENTER mark
Cau 20: Which tag creates a new paragraph in HTML
documents?
A.
B.
C.
D.
Cau 21: Which one of the following statements in Not
true?
A. In (valid) HTML, an (ol) .. tag pail can
appear within … tag pair ,
e.g..;………
B. Because HTML is not inherently extensible, new
HTML features require new versions of HTML
C. In (vaild) HTML, you cannot have
overlapping tag pairs, in which the nested tag
is not closed before the nesting tag is closed,
e.g..; you can not have this
:………
14
D. WedBrower can display a valid HTML, and HTML
files can be edited using Notepad program
Cau 22: Selecting this link or pressing this object will
reset the form’s fields to their intial values as specified
by their VALUE attributes. This object use tag
A. RESET
B. CLEAR
C. RESTART
D. CLEAN
Cau 23: For with of the following tags does the browser
recongnize the existence of carriage returns?
A.
B.
C.
D.
Cau 24:Which of the following is not a setting for the
TYPE attribute of the INPUT element?
A. CHECKBOX
B. HEADER
C. HIDDEN
D. RADIO
Cau 25: To format string :” This sentence will be
italicised.’to italic in HTML
15
A. This sentence will be italicised.
B. This sentence will be italicised.
C. ‘This sentence will be italicised./’.Fontltalic=True
D. This sentence will be italicised.
Cau 26: A frameset is the master document that
defines.
A. All of the other answers
B. The name of each frame
C. The Wed pages to be initially loaded into the
frames
D. The number of frames on the page
E. The size of each frame
Cau 27: Sometimes you need to collect more data than
that which can be contained in a text box(The text field
allows several lines of data to be entered).
Which is correct syntax?
A. Enter your address
<text name=”address” rows =”5” cols
=”30”>
B. B. Enter your address
<text name=”address” rows =”5” cols =”30”
multiline=true>
C. Enter your address
16
<textearea name=”address” rows =”5” cols
=”30”>
D. Enter your address
<input type =’text’ name=”address” rows =”5” cols
=”30” multiline=’true’>
Cau 28: A simple HTML document ,with the minimum
of required tag
The content of the document…
The head element is a container for all the head
elements .Elements inside can include
A. provide meta information
B. all of the other answers
C. scripts
D. intruct the browser where to find style sheets
Cau 29:
Entry <INPUT type=”text” name=”num1” size
=”20”>
Answer
17
Which of the following lines will dipslay “20” in the
second textbox?
Entry
Click
Me!
Answer
A. document.myform.num2.value=20;
B. document.myform.answer.value=20;
C. document.myform.output.value=20;
D. document.myform.Answer.value=20;
Cau 30:A complete HTML document that includes an
ordered list with 3 elements
simple
a
b
c
18
Which is the missing tag?
A.li
B.il
C.ou
D.ol
Cau 31: The usage of an input element is defined by
the value of its _____atribute
A. name
B. all of the others answers
C. type
D. size
cau 32: which of the following is an event associated
with the BODY element?
A.click
B. onload
C. open
D.select
Cau 33: which of the missing tag?
heading1
19
heading 2
row 1-column 1
row 1-column 2
row 2-column 1
row 2-column 2
A. td
B. th
C. b
D. tr
20
cau 34: which of the following is the HTML
sequence(toán tử nối chuỗi) for including the
“”,charater in text?
A. amp;
B. &
C. <≥
D. “”.
Cau 35:it is considered permissible to use heading tag
for general font formatting when designing for greater
web accessibility
A. False
B. True
Cau 36: which of the following show the proper
attribute for an EMAIL hyperlink?
A. Name
B. Name
C. <a
href=”mailto:emailinfo@host”>Name
D. Name
Cau 37: the second paragraph in an HTML document
must start with tag, and end with tag
21
A. False
B. True
C. The second paragraph must start with
tag.and end withtag,
D. True .the second paragraph must start with
tag,and end with tag cau ,if we
config in webbrowser
Cau 38: which of the following display a heading that
uses the largest font size?
A.
B.
C.
D.
Cau 39: specifying a font can be problematic :not all
machines have all fonts installed .one way round this is
to specify more than one suitable font .the browser
software will work is way through the list until it finds
an installed font. If one are found,the default font will
be used.
Which is corect segment
22
A. <font face
=”Arial”,”Helvetica”,”homerton”>fomatted
text
B. <font face =”ArialHelvetica”,face=”
homerton”,face=” homerton”>fomatted text
C. <font face
=”Arial,Helvetica,homerton”>fomatted
text
D. <font face
=ArialHelvetica,face=homerton>fomatted text</font
*Cau 40: somtimes you need to collect more data than
that which can be contained in a text box (the text field
allows several lines of data to be entered)
Which is corect syntax?
A. Enter your address
<input type =’text’
name=”address”rows=”5”cols=”30”multiline=’true’></t
extarea>
B. Enter your address
<text
name=”address”rows=”5”cols=”30”multiline=’true’></t
extarea>
C. Enter your address
23
<textarea
name=”address”rows=”5”cols=”30”multiline=’tr
ue’>
D. Enter your address
<textname=”address”rows=”5”cols=”30”multiline=’true’
>
Cau 41: which HTML tag attribute is used to identify
image objects?
A. FROM
B. IMAGE
C. NAME
D. SRC
Cau 42: to use big font, tag …..
A. big
B. streech
C. large
D. bigger
Cau 43:Forms collect information or responses from the
visitor and process them through an application called
A. A web-page processor
B. A client –side image map
C. A CGI application
D. A word processor
24
Cau 44: Many web pages use images as backgrounds.
Which segmment is valid…
A.
B.
C.
D.
Cau 45: which is NOT true about a static web page?
A.Author has already determined the
exact content of the page, in HTML before user
visits page
B. None the others answers
C. the content and appearance is always the
same-no matter who visits the site
D.it can display the current time using HTML
Cau 46: the following segment HTML buid table
<table width=”100%” border=”0” cellspacing=”0”
cellpadding =”5”>
Header
BandHeader information
25
<font
Color=”#ffffff”>left columnNavigation
options
option 1option 2 option 3
Option 4option 5
Right column
Main contents
Which is the missing word?
A.bgcolor
B. body
C.backcolor
D. h1
Cau 47: The letters FTP stand for_______.
A. None of the other answers
B. File Transfer protocol
C. Find the program
D. Full time protocol
26
Cau 48: this refers to the full URL of the original
image using…
A.
B.
C. <img
src=”
r.GIF”>
D.
Cau49: which HTML tag forces a line break with no
extra (white) spacess between lines?
A.
B.
C.
D.
Cau 50: To format a paragraph in subscript using tag
A. …
B. …
C. …
D. …
Cau 51: Once a web page is created, it must be
uploaded to ____ to be seen on the WWW
A. a web server
27
B. an internet server
C. an HTML server
D. an SMTP server
Cau 52: To rendere a webpage segment like this,…
1. First item
2. second item
3. third item
which corect segment?
A.
First item
second item
third item
B.
First item
second item
third item
C.
First item
second item
third item
28
D.
First item
second item
third item
*Cau 53: The item marked ___ in Figure is a text box
(không trả lời được)
Address #2
City State zip
29
A. 1
B. 2
C. 7
D. 4
Cau 54: the tag textis quivalent to the
following tag
A. none of the other answers
B. textfot>
C. textfot>
D. textfot>
Cau 55:which attribute(s)of the FORM and INPUT tags
become the properties of the created object?
A. value
B. name and type
C. value and name
D. name
Cau 56
30
Which of the following is true?
A. this code creates 3 frames (all horizonal)on the
screen
B. this code creates 3 frames (all vertical)on the
screen
C. all of the other answers
D. this code creates 3 frames
(top/left/right)on the screen
cau 57: To insert an image file say robertplant.jpg the
appropriate tag would be:
<IMG
___=”>
The missing word is:
A. ALT
B. PICTRURE
C. SRC
D. IMG
31
Cau 58: Inserting a tab in front of a list item in a nested
list will
A. have to effect in the browser view since
white spaces are ignored
B. cause an error when the drowser parses the
HTML
C. make the code for your list harder to read
D. cause the list item to appear farther to the
right in the browser view
cau 59: the IMG mark may have the alt argument
A. Alt specifies the relative URL
B. Alt is only necessary on old browsers
C. Alt specifies an altemative gif file
D. Alt is used for browers that don’t support
pictures
Cau 60: which one of the following statements is NOT
true?
32
A. in(valid)HTML, you cannot have
overlapping tag pairs,in which the
nested(lồng nhau) tag is not close,e.g.,you
cannot have this:
….…….
B. webBrower can display a vilid HTML, and HTML
files can be edited using Notepad program
C. In (valid) HTML,an …tag pair can
appear within a …tag
pair,e.g.,….…….
D. Because HTML is not inhrrently extensible,new
HTML features require new version of HTML
Cau 61: if you want to change the font-weight of a
single letter in a word, you wourd use
the_____container to enclose that letter
A.
B.
C.
D. .
Cau 62: which of the following procedues can you use to
change a web site’s page option?
33
A. Navigate to the WPP server’s setting, and adjust
them to accommodata you web site
B. Click Fomat ->page option -> Compatibitily,and
selectthe option you want to change
C. Click tools ->page option ->
Compatibitily,and selectthe option you want
to change
D. Click Fomat -> option -> page option ,and
selectthe option you want to change
Cau 62: what HTML tag displays the largest text size?
A.
B.
C.
D.
Cau 63: for which of the following tags does the
browses recognize the existence of carriage returns?
A.
B.
C.
D.
Cau 64: the___ tag creates an anchor.
34
A.
B.
C.
D.
Cau 65: All sites must have a home page. Most web
servers require that that home page be named
A. index.html or default.html
B. home.asp
C. home.html
D. dwhome.htm
cau 66: the HTML page in picture using table was
cteated with the following HTML code…
<table width=”100%”border =”0”cellspacing=”0”
cellpadding=”5”>
header band
header information
<font
Color=”#ffffff”>left columnNavigation
options
option 1option 2 option 3
Option 4option 5
35
Right column
Main contents
Which is the missing word?
A. row
B. col
C. colspan
D. rowspan
cau 67:there are many different type of lists : ordered,
unordered,nested,and definition lists, your data is
displayed in form of a numdered list(1____:2____and
so on)
36
However,it is posslible to customize your list and it
displayed width roman numbers. Which of the
following is the way of doing it?
A. type in and
B. . type in and
C. . type in and
D. . type in and
Cau 68: the event handler used to capture when a user
change the value of an element is called______
A. onFocus
B. onAlter
C. onReset
D. onChange
cau 69: which is the missing tag in follwing HTML code
checkBox
Radiobutton 1
37
Radiobutton 1
A. TEXTBOX
B. PASS
C. PASSWORD
D. INPUTMASK
Cau 70: To increase the number of characters in a line,
you can
A. define a longer line
B. stretch the screen wider
C. use a mono-soanced font
D. modify the glyphs used by the font
38
Cau 71: the simplest applet page has three mandatory
attributes for eachtag.They are________
A. codebase, width, and height
B. codebase, size, and name
C. code, width, and height
D. code, size, and name
Lý thuyết:
Chèn Applet Java vào trang Web. Có dạng tổng quát
sau:
<APPLET CODE="Applet.class" WIDTH=200
HEIGHT=150>
Dòng lệnh nầy chỉ thị cho trình Browse nạp
Applet có tên Applet.class (trong cùng thư mục với trang
Web này), và chỉ định kích thước là 200 pixels rộng và
150 pixels cao.
Cau 72: What tag must always be placed within
?
A.
B.
C.
D.
Cau 73: In a URL, the “html” is considered____
A. a subdomain
39
B. a protocol
C. a scripting language
D. a server
Cau 74: Choose corect answer
A. <!DOCTYPE HTML PUBLIC”_//W3C//DTD HTML
3.2/EN”>
Intrduction to HTML
Overview
This document gives an introduction to
webL.
Further information is available at
W3C
B. <!DOCTYPE HTML PUBLIC”_//W3C//DTD
HTML 3.2/EN”>
Intrduction to HTML
40
Overview
This document gives an introduction to
webL.
Further information is available at
<A
HREF=”html://www.w3.org//”>W3C</P
>
C. <!DOCTYPE HTML PUBLIC”_//W3C//DTD HTML
3.2/EN”>
Intrduction to HTML
Overview
This document gives an introduction to
wed.
Further information is available at
/W3C
D. <!DOCTYPE HTML PUBLIC”_//W3C//DTD HTML
3.2/EN”>
41
Intrduction to HTML
Overview
This document gives an introduction to
wed.
Further information is available at
W3C
Cau 75: To rendere by a browser something in HTML
like this..
Things I need to do today
Write 2,000 word essay
Fill in job application
Phone home
Go shopping
Which corect segment?
A. Things I need to do today
write 2,000 word essay
Fill in job application
phone home
42
go shopping
B. Things I need to do today
write 2,000 word essay
Fill in job application
phone home
go shopping
C. Things I need to do today
write 2,000 word essay
Fill in job application
phone home
go shopping
D. Things I need to do today
write 2,000 word essay
Fill in job application
phone home
go shopping
43
Cau 76 : the____property specifles the format of the
data when it is transferred from the web page to the
CGI script
A. ACTION
B. METHOD
C. VALUE
D. ENCTYPE
Cau 77: which of the following is defined in the
frameset tag?
A. all of the other answers
B. what page will be loaded into the frames
on the page when opend
C. none of the other answers
D. what the name of each section of the screen is
going to be
E. how the screen is split up
cau 78: what HTML tag will allow text to have a fixed-
width font and also makes spaces,newline ,and
tabs?HINT: this HTML