Web Technology
Web Technology
Web Technology
<html>
<head> <title>JavaScript</title> </head>
<body bgcolor=”#0000ff”>
<script language=”JavaScript”>
<!– document.write(“<h1> hello world </h1>”); //–>
</script>
</body>
</html>
When the above web page is loaded into a browser, what will
happen?
(a) The body of the web page will not contain any text
(b) The body of the web page will contain the text “<h1> hello world
</h1>”
(c) The body of the web page will contain the text “hello world” as an H1
heading
(d) The background color of the web page will be green
(e) document.write(“<h1> hello world </h1 >”); is a comment.
<html>
<head><title>JavaScript</title></head>
<body>
<script language=”JavaScript”>
var a=80
var b=(a==80 ? “pass” :”fail”);
document.write(b)
</script>
</body>
</html>
(a) pass
(b) fail
(c) null
(d) 80
(e) Error at line 6.
<html>
<head><title>JavaScript question</title></head>
<body>
<script language=”JavaScript”>
book = new Array(1,2,3,4,5,6,7,8);
document.write(book[1]);
book[10]=10;
document.write(book[10]);
</script>
</body>
</html>
Once the above web page is loaded what will its body contain?
(a) 210
(b) 110
(c) 110
(d) 210
(e) Error at line 7.
<html>
<head><title>JavaScript</title></head>
<body>
<script language=”JavaScript”>
document.write((125/5)%12);
</script>
</body>
</html>
(a) 0
(b) 1
(c) 2.083
(d) 3
(e) 25%12.
(a) It is a new hybrid technology that is different from both XML and
HTML
(b) It has totally replaced HTML as the tool for building Web pages
(c) It is a reformulation of HTML in XML
(d) One cannot use it to create Web pages
(e) It has to be converted to HTML using a style sheet.
(a) Display()
(b) Prompt()
(c) Alert()
(d) GetInput()
(e) Confirm().
(a) IsNumeric()
(b) IsNumber()
(c) IsNotNumeric()
(d) IsNotNumber()
(e) IsNumberOrNot().
18. Which of the following is true about client-side script use in
HTML documents?
(a) Java, JavaScript, Jscript and VBScript are used on many web sites as
Scripting languages
(b) Client side scripts are executed on the server and the resulting page
will be downloaded and interpreted by the browser
(c) Client-side scripts increase the network traffic on execution of the
script
(d) Client-side scripts can perform many functions such as
data validation and provide interactive feedback to the user
(e) Browsers need plug-ins to execute client-side scripts.
(a) green
(b) blue
(c) black
(d) red
(e) White.
20. Which property does one use to align text to the right side
of a block-level element in Cascading Style Sheets?
(a) horizontal-align
(b) align
(c) block-align
(d) justify
(e) text-align.
(a) setLayout()
(b) Layout()
(c) setContainerLayout()
(d) ContainerLayout()
(e) setConLayout().
(a) setSize()
(b) setBounds()
(c) setPosition()
(d) setPositionSize()
(e) setSizePosition().
24. What value does readLine() return when it has reached the
end of a file in JSP?
(a) getCanvas()
(b) getGraphics()
(c) paint()
(d) getPaint()
(e) accessGraphics().
28. In ASP the function which returns the current system date
is:
(a) getDate()
(b) Date()
(c) Now()
(d) getCurrentDate()
(e) CurrentDate().
(a) FormatDateOrTime()
(b) FormatDateAndTime()
(c) FormatTimeDate()
(d) FormatDateTime()
(e) FormatDT()
D. none of these
Answer:
A.document object model
31. ________ java script is also called server side java script
A. java script
C. nevigator
D. live wire
Answer:
D.live wire
B. 2
C. 3
D. 4
Answer:
A.1
B. false
C. both a and b
D. none of these ..
Answer:
A.true
B. html
C. href
D. none of these
Answer:
A.bandwidth
B. rgba
C. hsla
D. all of these
Answer:
D.all of these
B. 3
C. 120
D. 7
Answer:
A.140
37. ____this tag is used to give paragraph
A. <p>
B. br
C. <pre>
D. <marquee>
Answer:
A. <p>
B. <br>
C. <pre>
D. <marquee>
Answer:
B.<br>
B. br
C. <pre>
D. <marquee>
Answer:
C.<pre>
C. <pre>
D. <marquee>
Answer:
D.<marquee>
B. br
C. <pre>
D. <marquee>
Answer:
D.<marquee>
B. br
C. <pre>
D. <marquee>
Answer:
A.<ol>
B. br
C. <pre>
D. <marquee>
Answer:
A.<ul>
B. br
C. <pre>
D. <marquee>
Answer:
A.<!—->
B. br
C. <pre>
D. <marquee>
Answer:
A.<i>
B. br
C. <pre>
D. <marquee>
Answer:
A.<big>
47. _________ this definition tag is used to define the concept
.
A. <def>
B. br
C. <pre>
D. <marquee>
Answer:
A.<def>
B. br
C. <pre>
D. <marquee>
Answer:
A.<cite>
B. logical
C. center tag
D. a and b b both
Answer:
D.a and b b both
C. <pre>
D. <marquee>
Answer:
B.<center>
B. false
C. both a and b
D. none of these.
Answer:
A.true
52. ________ the space between is the space between content of the cell
and cell wall .
A. <p>
B. <center>
C. cell spacing
D. <marquee>
Answer:
C.cell spacing
53. __________ of the table is used to specify the thickness of the table
.DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-
45PROF. YOGESH P.DESHMUKH www.dacc.edu.in
A. border
B. <center>
C. cell spacing
D. <marquee>
Answer:
A.border
B. <th>
C. <frameset>
D. <a>
Answer:
A.<tr>
B. <th>
C. <frameset>
D. <a>
Answer:
B.<th>
56. To make a cell span more than one column, it is called use the
_______attribute
A. <tr>
B. colspan
C. <frameset>
D. rowspan
Answer:
B.colspan
57. To make a cell span more than one row, it is called use the _______
attribute.
A. <tr>
B. colspan
C. <frameset>
D. rowspan
Answer:
D.rowspan
B. colspan
C. <frame>
D. rowspan
Answer:
C.<frame>
59. In html __________ is used to divide the browser the screen into 2
or more then onepart.
A. <tr>
B. columun
C. frame
D. rowspan
Answer:
C.frame
60. ______ tag is devide the tag horizontally or vertically .
A. <tr>
B. colspan
C. <frameset>
D. rowspan
Answer:
C.<frameset>
B. ftp
C. physical
D. hyperlink
Answer:
A.tcp/ip
B. ftp
C. physical
D. hyperlink
Answer:
A.tcp/ip
C. physical
D. hyperlink
Answer:
B.ftp
B. ftp
C. physical
D. hyperlink
Answer:
A.<head>
B. <body>
C. physical
D. hyperlink
Answer:
B.<body>
66. _______tag are used to indicate exactly how specific characters are
to be formatted
A. tcp/ip
B. ftp
C. physical
D. hyperlink
Answer:
C.physical
67. The LINKS starts at the ((Source)) anchor and points to the
((Destination)) anchor. TheseLINKIS are called as ___________
A. <head>
B. <body>
C. physical
D. hyperlink
Answer:
D.hyperlink
B. checkbox
C. <textarea>
D. <text>
Answer:
A.<a>
69. __________accept only true or false we can select more then one
option out of givenoption
A. <a>
B. checkbox
C. <textarea>
D. <text>
Answer:
B.checkbox
70. _________it is used to give the show the input box with multiple
rows and column.
A. <a>
B. checkbox
C. <textarea>
D. <text>
Answer:
C.<textarea>
B. checkbox
C. <textarea>
D. <text>
Answer:
D.<text>
B. checkbox
C. <textarea>
D. <text>
Answer:
A.<submit>
73. ____________ it is used with text , when we use to hide the text
matter
A. <password>
B. checkbox
C. <textarea>
D. <text>
Answer:
A.<password>
B. float
C. double
D. long
Answer:
C.double
75. Which of these coding types is used for data type characters in Java?
A. ascii
B. iso-latin-1
C. unicode
Answer:
C.unicode
B. 0 & 1
C. any integer value
D. true
Answer:
A.true & false
B. 2
C. 3
D. 4
Answer:
A.1
78. Which right shift operator preserves the sign of the value?
A. <<
B. >>
C. <<=
D. >>=
Answer:
B.>>
B. boolean
C. characters
D. double
Answer:
B.boolean
80. . Which of these is returned by “greater than”, “less than” and “equal
to”operators?
A. integers
C. boolean
Answer:
C.boolean
81. Which of these jump statements can skip processing the remainder of
thecode in its body for a particular iteration?
A. break
B. return
C. exit
D. continue
Answer:
D.continue
B. if-else
C. switch
D. do-while
Answer:
D.do-while
B. break
C. continue
D. return
Answer:
A.exit()
B. alloc
C. new
D. new malloc
Answer:
C.new
Answer:
D.int x[] = int [5] new
B. switch
C. if & switch
B. customize
C. class
D. id rule
Answer:
A.background
B. customize
C. class
D. id rule
Answer:
B.customize
B. customize
C. class
D. id rule
Answer:
D.id rule
C. class
D. id rule
Answer:
C.class
B. selector
C. declaration
D. text color
Answer:
A.property name
B. selector
C. declaration
D. text color
Answer:
B.selector
B. selector
C. declaration
D. text color
Answer:
C.declaration
94. Reset (button) :- it is used to reset the button ( cancel the data) to
upload
A. <reset>
B. checkbox
C. <textarea>
D. <text>
Answer:
A.<reset>
B. html
C. <textarea>
D. <text>
Answer:
A.css
B. serve
C. cache
D. client
Answer:
B.serve
97. HTML web pages can be read and rendered by __________
A. web browser
B. server
C. empty
D. head tag
Answer:
A.web browser
B. server
C. empty
D. head tag
Answer:
C.empty
99. The HTML tag to left align the content inside a table cell is <td align =
“left”>.
A. true
B. false
C. both a and b
D. none of these
Answer:
A.true
B. server
C. empty
D. head tag
Answer:
D.head tag
101. Tags and text that are not directly displayed on the page are written
in___________section.
A. web browser
B. title
C. empty
D. head
Answer:
D.head
102. Some tags enclose the text. Those tags are known as ___________
A. single tag
B. paired tag
C. empty
D. head
Answer:
A.single tag
B. paired tag
C. strikeout
D. head
Answer:
C.strikeout
104. The <del> tag is used to display ________ text form a document
A. single tag
B. paired tag
C. strikeout
D. deleted
Answer:
D.deleted
B. paired tag
C. strikeout
D. deleted
Answer:
A.title tag
Function and String in PHP
B. -32768 to 32767
C. -2147483648 to 2147483647
Answer:
B.-32768 to 32767
C. -2147483648 to 2147483647
Answer:
A.-128 to 127
B. long
C. byte
D. float
Answer:
A.int
109. What is the numerical range of a char data type in Java script?
A. -128 to 127
B. 0 to 256
C. 0 to 32767
D. 0 to 65535
Answer:
D.0 to 65535
110. Which of these coding types is used for data type characters in Java
script?
A. ascii
B. iso-latin-1
C. unicode
D. none of the mentioned
Answer:
C.unicode
B. boolean b2 = ‘false’;
C. boolean b3 = false;
D. boolean b4 = ‘true’
Answer:
C.boolean b3 = false;
B. alloc
C. new
D. new malloc
Answer:
C.new
Answer:
D.intarr[] = int [5] new
114. Which of these is necessary to specify at time of array initialization?
A. row
B. column
Answer:
A.row
B. boolean
C. characters
Answer:
D.both numeric & characters
Answer:
C.both integers and floating – point numbers
B. <<<
C. >>>
D. ^
Answer:
A.~
118. On applying Left shift operator, <<, on integer bits are lost one they
areshifted past which position bit?
A. 1
B. 32
C. 33
D. 31
Answer:
D.31
119. Which of these operators can skip evaluating right hand operand?
A. !
C. &
D. &&
Answer:
D.&&
B. ++
C. *
D. >>
Answer:
A.()
Answer:
D.addition operator, +, and subtraction operator have equal precedence
B. switch
C. if & switch
Answer:
B.switch
B. for()
C. continue
D. break
Answer:
A.if()
C. continue
D. return
Answer:
D.return
B. bandwidth
C. webpage
D. dream viewer
Answer:
B.bandwidth
B. bandwidth
C. webpage
D. dream viewer
Answer:
C.webpage
C. webpage
D. dream viewer
Answer:
A.http
128. Cost of buying and running a server for client serve model are high .
A. true
B. false
C. both a & b
D. none of these
Answer:
A.true
129. Following are the types of CSS , which one is not type of CSS.
A. inline css:
C. external css:
D. none of these.
Answer:
D.none of these.
130. The _______ tag provides no visual change by itself, but when it is
marked, you canstyle it with CSS, or manipulate it with JavaScript.
A. <map>
B. <span>
C. <img>
D. <tt>
Answer:
B.<span>
B. <span>
C. <img>
D. <tt>
Answer:
A.<map>
132. The ____________tag has two required attributes: src and alt.
A. <map>
B. <span>
C. <img>
D. <tt>
Answer:
A.<map>
B. <div>
C. <img>
D. <tt>
Answer:
B.<div>
134. _________tag Indicates that the text should be used with a font
such as Courier thatallots the same width to each character.
A. <map>
B. <span>
C. <img>
D. <tt>
Answer:
D.<tt>
B. <em>
C. <u>
D. <strong >
Answer:
A.<small>
B. <em>
C. <u>
D. <strong >
Answer:
C.<u>
C. <u>
D. <strong >
Answer:
B.<em>
B. <em>
C. <u>
D. <strong >
Answer:
D.<strong >
139. _________tag Used to offset text that the user should enter. Often
displayed in aCourier font or a similar font that allots the same width to
each character.
A. <small>
B. <em>
C. <kbd >
D. <strong >
Answer:
C.<kbd >
B. <em>
C. <kbd >
D. <strong >
Answer:
A.<var>
B. <cite>
C. <kbd >
D. <strong >
Answer:
B.<cite>
B. <tr>
C. <kbd >
D. <strong >
Answer:
B.<tr>
B. <tr>
C. <td >
D. <th >
Answer:
A.<table>
D. none of these
Answer:
A.cascading style sheets
145. _________means the way to move from one page to another page
in website.To move from one page to another pages hyperlinks are used.
A. http
B. bandwidth
C. navigation
D. dream viewer
Answer:
C.navigation
B. bandwidth
C. webpage
D. dream viewer
Answer:
D.dream viewer
147. ________ is a server scripting language, and a powerful tool for
making dynamicand interactive Web pages.
A. php
B. java script
C. angular js
D. none of these
Answer:
A.php
B. java script
C. angular js
D. none of these
Answer:
A.php
B. java script c
C. angular js
D. none of these
Answer:
A.php
B. .js
C. .ajs
D. none of these
Answer:
A..php
151. __________ is used to show the out put …or give message..same as
printf in clanguage…
A. echo
B. java script
C. angular js
D. none of these
Answer:
A.echo
B. small
C. short
D. none of these
Answer:
A.wide
B. integer
B. implicitly
C. both a and b
D. none of these
Answer:
A.explicitly
B. logical operators
C. string operators
Answer:
D.all of the above
B. ++
C. ==
D. ?
Answer:
A.=
157. the _________ statement is used to perform different actions based
on differentconditions
A. switch
B. if condition
C. foreach
D. while
Answer:
A.switch
B. for loop
C. foreach
Answer:
D.all the these.
B. procedure
C. block
D. loop
Answer:
A.function
siddhesh dongare
SEPTEMBER 26, 2020 AT 2:08 PM
REPLY
Riddhi Thakkar
APRIL 19, 2021 AT 4:42 PM
REPLY
pragati inamdar
SEPTEMBER 25, 2020 AT 4:15 PM
REPLY
Nayab zahra
JANUARY 3, 2017 AT 4:58 PM
REPLY
munshi
NOVEMBER 20, 2016 AT 3:50 AM
REPLY
LEAVE A REPLY
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Post Comment
Engineering 2023 , MCQs Interview Questions , Theme by Engineering|| Privacy Policy|| Terms and Conditions|| ABOUT US||
Contact US||
Engineering interview questions,Mcqs,Objective Questions,Class Lecture Notes,Seminor topics,Lab Viva Pdf PPT Doc Book free
download. Most Asked Technical Basic CIVIL | Mechanical | CSE | EEE | ECE | IT | Chemical | Medical MBBS Jobs Online Quiz
Tests for Freshers Experienced .