Web Tech MCQ1
Web Tech MCQ1
(a) Display()
(b) Prompt()
(c) Alert()
(d) GetInput()
(a) horizontal-align
(b) align
(c) block-align
(d) text-align.
(a) setLayout()
(b) Layout()
(c) setContainerLayout()
(d) ContainerLayout()
16. Which method of the
Component class is used to
set the position and size of
a component in JSP?
(a) setSize()
(b) setBounds()
(c) setPosition()
(d) setPositionSize()
(a) getCanvas()
(b) getGraphics()
(c) paint()
(d) accessGraphics().
21. In ASP the function
which returns the current
system date is:
(a) getDate()
(b) Date()
(c) Now()
(d) getCurrentDate()
(a) FormatDateOrTime()
(b) FormatDateAndTime()
(c) FormatTimeDate()
(d) FormatDateTime()
(a) IsNumeric()
(b) IsNumber()
(c) IsNotNumeric()
(d) IsNotNumber()
24. Main difference between
(a) HTML has predefined tags and XML has self describing tags
(b) Both have self describing tags
(c) Both have predefined tags
(d) None of the above