0% found this document useful (0 votes)
78 views20 pages

Unit 5 (Quiz) : Email Address

This document is a quiz summary for Unit 5 with 48 out of 50 points. It includes the student's personal information like name, email, course, and mobile number. It also lists 49 multiple choice questions from the quiz with the student's selected answers.

Uploaded by

Shiv Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views20 pages

Unit 5 (Quiz) : Email Address

This document is a quiz summary for Unit 5 with 48 out of 50 points. It includes the student's personal information like name, email, course, and mobile number. It also lists 49 multiple choice questions from the quiz with the student's selected answers.

Uploaded by

Shiv Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Unit 5 (Quiz) Total points 48/50

Email address *

[email protected]

0 of 0 points

Name *

Shiv Kumar Chaudhary

Course *

B.Tech

Semester *

Mobile No. *

7607533539

Quiz 48 of 50 points
1.Which of these is a wrapper around everything associated with a reply 1/1
from an h몭p server? *

HTTP

HttpResponse

HttpRequest

httpserver

2.Which of these transfer protocol must be used so that URL can be 1/1
accessed by URLConnection class object? *

http

https

Any Protocol can be used

None of the mentioned

3. Which of these methods is used to know when was the URL last 1/1
modi몭ed? *

LastModi몭ed()

getLastModi몭ed()

cGetLastModi몭ed()

getlastModi몭ed()()
4. Which of these methods is used to know the type of content used in 1/1
the URL? *

ContentType()

contentType()

getContentType()

dGetContentType()

5. Which of these data member of H몭pResponse class is used to store 1/1


the response from an h몭p server? *

status

address

statusResponse

statusCode

6. A typical _________ program creates some remote objects, makes 1/1


references to these objects accessible, and waits for clients to invoke
methods on these objects. *

Server

Client

Thread

Concurrent
7. The ___________ layer, which provides the inte몭ace that client and 0/1
server application objects use to interact with each other. *

Increasing

Count

Bit

Stub/skeleton

8. An object acting as a gateway for the client side. * 1/1

skeleton

stub

remote

server

9. gateway for the server-side object. * 1/1

skeleton

stub

remote

server
10.Which class provides system independent server-side 1/1
implementation? *

Socket

ServerSocket

Server

ServerReader

11. Which of these exceptions is thrown by URL class’s constructors? * 1/1

URLNotFound

URLSourceNotFound

MalformedURLException

URLNotFoundException

12. Which of these methods is used to know host of an URL? * 1/1

host()

getHost()

GetHost()

gethost()
13. Which of these methods is used to know the full URL of an URL 1/1
object? *

fullHost()

getHost()

ExternalForm()

toExternalForm()

14. Which of these class is used to access actual bits or content 1/1
information of a URL? *

URL

URLDecoder

URLConnection

All of the mentioned

15.What is the function used to remove all handlers for name events? * 1/1

deleteAllListeners(name)

deleteListener(name,f)

removeListener(name,f)

removeAllListeners(name)
16. What will be the return value of the write() method when the Node 1/1
cannot write the data immediately and has to bu몭er it internally? *

True

False

17. Which of the following is not a socket prope몭y? * 1/1

onopen

readyState

onmessage

ready

18.Which of the following is not a WebSocket event? * 0/1

open

close

error

deny
19. Which is not a form of client-side storage? * 1/1

Web Databases

FileSystem API

O몭ine Web Applications

Online Web Applications

20. Which is the storage that allows the caching of web pages and their 1/1
associated resources? *

Web Databases

FileSystem API

O몭ine Web Applications

Cookies

21. The ________ is connected to servers (typically powe몭ul workstations 1/1


or PCs) that play a dual role. *

Database

Software

Hardware

None of the mentioned


22. Which of the following term is best de몭ned by the statement: ”The 1/1
client sends structured query language (SQL) requests to the server
which are transmi몭ed as messages across the net”? *

File servers

Database servers

Client servers

None of the mentioned

23. Which subsystem implements the requirements de몭ned by the 1/1


application? *

UI

DBMS

Application subsystem

None of the mentioned

24. Which test do you infer from the following statement: “The 1/1
coordination and data management functions of the server are tested.”?
*

Server tests

Application function tests

Transaction tests

Network communication tests


25. Which of the following presentation is explained in the following 1/1
statement:” An extension of the distributed presentation approach,
primary database and application logic remain on the server, and data
sent by the server is used by the client to prepare the user
presentation.”? *

Local Presentation

Distributed presentation

Remote presentation

All of the mentioned

26. “A client is assigned all user presentation tasks and the processes 1/1
associated with data entry” Which option suppo몭s the client’s situation?
*

Distributed logic

Distributed presentation

Remote presentation

All of the mentioned

27. What is used to pass SQL requests and associated data from one 1/1
component to another? *

Client/server SQL interaction

Remote procedure calls

SQL Injection

All of the mentioned


28. When a client application invokes a method contained within an 1/1
object elsewhere in the system, CORBA uses dynamic invocation to... *

obtain pertinent information about the desired method from the interface repository

create a data structure with parameters to be passed to the object

create a request for the object

all of the mentioned

29. Which of the following services is not provided by an object? * 1/1

Activating & Deactivating Objects

Security features

Files implementing the entities identi몭ed within the ERD

Registering object implementation

30. Which of the following term is best de몭ned by the statement:” When 1/1
one object invokes another independent object, a message is passed
between the two objects.”? *

Control couple

Application object

Data couple

Database object
31.Show some networking terminologies given below? * 1/1

IP Address

Protocol

MAC Address

All mentioned above

32.TCP,FTP,Telnet,SMTP,POP etc. are examples of ? * 1/1

Socket

IP Address

Protocol

MAC Address

33.Which classes are used for connection-oriented socket 1/1


programming? *

Socket

ServerSocket

Both A & B

None of the above


34.Which class can be used to create a server socket. This object is used 1/1
to establish communication with the clients? *

ServerSocket

Socket

Both A & B

None of the above

35.Which methods are commonly used in ServerSocket class? * 1/1

public OutputStream getOutputStream()

public Socket accept()

public synchronized void close()

None of the above

36.URL is an acronym for? * 1/1

Uniform Resource Locator

Uni몭ed Resource Locator

Uniform Restore Locator

Uni몭ed Restore Locator


37.The java.net.InetAddress class represents an? * 1/1

Socket

IP Address

Protocol

MAC Address

38.In InetAddress class which method it returns the host name of the IP 1/1
Address? *

public String getHostName()

public String getHostAddress()

public static InetAddress getLocalHost()

None of the above

39.Which classes are used for connection-less socket programming? * 1/1

DatagramSocket

DatagramPacket

Both A & B

None of the above


40. JavaScript can help to increase the user experience with which of the1/1
following method for a web page. *

By creating animation and other effects to guide a user and help with page
navigation.

By sorting the columns of a table to make it easier for searching on table.

By hiding certain content and revealing details progressively as the user “drills down”
into that content.

All of the above.

41. Which of the following are the ways to embed Client side JavaScript 1/1
code within HTML documents. i) Inline, between a pair of <script> and
</script> tags. ii) From an external 몭le speci몭ed by the src a몭ribute of a
<script> tag iii) In an HTML event handler a몭ribute, such as on-click or
mouse over. iv) In a URL that uses the special JavaScript protocol. *

i, ii and iii only

ii, iii and iv only

i, ii and iv only

All i, ii, iii and iv


42.State Whether the following Statement about src a몭ribute on 1/1
JavaScript. i) It simpli몭es the HTML 몭les by allowing you to remove large
blocks of JavaScript code from them. ii) If a 몭le of JavaScript code is
shared by more than one page, it only needs to be downloaded once, by
the 몭rst page that uses it .iii) Linking to JavaScript code on Google
servers can decrease the sta몭-up time for the web pages, since the
code already existed on all of the user’s browser. *

i-True, ii-False, iii-True

i-True, ii-True, iii-False.

i-False, ii-True, iii-False

i-False, ii-False, iii-True


43.JavaScript code can register a/an …………. by assigning a function to a 1/1
prope몭y of an element object that represents an HTML document in the
document. *

event handler

function handler

document handler

HTML handler

44.………. speci몭es that the body of the URL is an arbitrary string of 1/1
JavaScript code to be run by the JavaScript interpreter. *

Javascript:web

JavaScript:code

JavaScript:protocol

JavaScript:interpreter

45.The …… a몭ribute causes the browser to defer execution of the script 1/1
until a몭er the document has been loaded and parsed and is ready to be
manipulated. *

sync

async

defer

All
46.The ………. a몭ribute causes the browser to run the script as soon as 1/1
possible but not to block document parsing while the script is being
downloaded. *

sync

async

defer

All

47.When the parser encounters a <script> element that has the …… 1/1
a몭ribute set, it begins downloading the script text and continues parsing
the document. *

async

sync

parse

load

48.When the document is completely parsed, the document.readystate 1/1


prope몭y changes to …… *

ready

parsed

interactive

activated
49.Which of the following statements for restricted features of 1/1
JavaScript is/are True. *

A JavaScript program can open new browser windows but must of the browsers
restrict this feature.

A JavaScript program can close browser windows that it opened itself, but it is not
allowed to close other windows without user conformation.

A script can read the content of documents loaded from different servers than the
document that contains the script.

All of the above

50. ………. libraries are “frameworks” in the sense that they build a new 1/1
higher-level API for client-side programming on top of the standard and
proprietary APIs o몭ered by web browsers. *

client-side framework

server-side framework

higher-level framework

web framework

This form was created inside of [email protected].

 Forms

You might also like