Internet and Web Technologies MCQ - Set 05 - ObjectiveBooks

Internet and Web Technologies MCQ - Set 05

Practice Test: Question Set - 05


1. What i s the correct HTML for adding a background color?
    (A) <background>yellow<Background>
    (B) <body color = "yellow">
    (C) <body bg color = "yellow">
    (D) <body bg ="yellow">

2. What method is used to specify a container’s layout in JSP?
    (A) setLayout()
    (B) Layout()
    (C) setContainerLayout()
    (D) ContainerLayout()

3. The web standard allows programmers on many different computer platforms to dispersed format and display the information server. These programs are called
    (A) Web Browsers
    (B) HTML
    (C) Internet Explorer
    (D) None of these

4. The following web page is loaded into a web server:

<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) 102
    (B) 101
    (C) 110
    (D) 210

5. In JSP, the classes that allow primitive types to be accessed as objects are known as
    (A) Primitive classes
    (B) Object classes
    (C) Boxing classes
    (D) Wrapped classes

6. Which of the following statements is incorrect regarding multimedia on the web?
    (A) The MPEG, AIFF and WAV are cross-platform formats
    (B) The MPEG, AU and MIDI are cross-platform formats
    (C) The SND format has a relatively low fidelity
    (D) VRML can be used to model and display 3D interactive graphics

7. What value does readLine() return when it has reached the end of a file in JSP?
    (A) Last character in the file
    (B) False
    (C) Null
    (D) EOF

8. www is based on which model?
    (A) Local-server
    (B) Client-server
    (C) 3-tier
    (D) None of these

9. 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


10. Which class in JSP provides the capability to implement a growable array of objects?
    (A) Array class
    (B) GrowAbleArray class
    (C) Container class
    (D) Vector class

Show and hide multiple DIV using JavaScript View All Answers

 Next Tests: