BT0083 Answer Key

3
Model Question Paper Course: BScIT Semester 4 Paper Code: BT0083 Book Id: Paper Name: Server Side Programming Q. No. Correct Answers Section and page No. 1 d. CORBA 1.2 2 d. All of the above 1.2 3 c. Three-tier 1.4.3 4 b. Common Gateway Interface (CGI) 2.2.1 5 a. Allaire 2.2.3 6 d. Internet Information Services 2.2.7 7 a. GET 3.2 8 c. URL 3.3 9 c. Header 3.2 10 c. 401 4.5.3 11 c. log() 4.5.4 12 d. VirtualMachineException 4.3 13 b. virtual 5.2 14 b. Cookies 5.4.1 15 b. State 5.2 16 a. Login 6.4 17 b. HTTP Digest 6.3 18 b. Realm 6.2 19 b. Type 2 driver 7.3 20 c. Java Database Connectivity 7.1 21 c. Class.forName(String) method 7.3 22 a. Servlet class 8.5 23 c. Model View Controller 8.4 24 c. jspDestroy() method 8.3 25 d. setAttribute () 9.5 26 a. Tag Library Descriptor 9.3 27 c. doBeforeBody () 9.3.5 28 c. MVC architecture 10.2 29 d. All of the above 10.6 30 d. JSP 2.0 10.1 31 b. Implicit objects 11.1 32 a. character ! 11.5 33 b. ${pageContext.session. id} 11.4 34 b. Directories 12.2 36 a. <%@ page import="package.class" %> 12.2 36 d. function 12.1 37 c. Flush 13.2 38 a. hspace 13.5 39 b. Access 14.3 40 c. HTTP 14.2 2 marks Questions( Question 41 to 60) 41 d. Client side and server side applications 1.4 

description

BT0083 Answer Key

Transcript of BT0083 Answer Key

  • Model Question Paper Course: BScIT Semester 4

    Paper Code: BT0083 Book Id: Paper Name: Server Side Programming

    Q. No. Correct Answers Section and page No.

    1 d. CORBA 1.2

    2 d. All of the above 1.2

    3 c. Three-tier 1.4.3

    4 b. Common Gateway Interface (CGI) 2.2.1

    5 a. Allaire 2.2.3

    6 d. Internet Information Services 2.2.7

    7 a. GET 3.2

    8 c. URL 3.3

    9 c. Header 3.2

    10 c. 401 4.5.3

    11 c. log() 4.5.4

    12 d. VirtualMachineException 4.3

    13 b. virtual 5.2

    14 b. Cookies 5.4.1

    15 b. State 5.2

    16 a. Login 6.4

    17 b. HTTP Digest 6.3

    18 b. Realm 6.2

    19 b. Type 2 driver 7.3

    20 c. Java Database Connectivity 7.1

    21 c. Class.forName(String) method 7.3

    22 a. Servlet class 8.5

    23 c. Model View Controller 8.4

    24 c. jspDestroy() method 8.3

    25 d. setAttribute () 9.5

    26 a. Tag Library Descriptor 9.3

    27 c. doBeforeBody () 9.3.5

    28 c. MVC architecture 10.2

    29 d. All of the above 10.6

    30 d. JSP 2.0 10.1

    31 b. Implicit objects 11.1

    32 a. character ! 11.5

    33 b. ${pageContext.session.id} 11.4

    34 b. Directories 12.2

    36 a. 12.2

    36 d. function 12.1

    37 c. Flush 13.2

    38 a. hspace 13.5

    39 b. Access 14.3

    40 c. HTTP 14.2

    2 marks Questions( Question 41 to 60)

    41 d. Client side and server side applications 1.4

  • 42 a. One-tier architecture 1.4.1

    43 a. client functionality, server 2.2.1

    45 b. line of text, resource 3.1

    46 d. All of the above. 3.5.2

    47 d. response to the client using the specified status code and a default message.

    3.2

    48 d. try 4.4

    49 c. transferred to a pre-designated "catcher" block of code

    4.1

    50 b. URL Rewriting, website 5.4.2

    51 b. Stateless, stateful 5.2

    52 d. Both a and c. 6.6

    53 b. MD5-base64 6.3

    54 b. SQL statement that may return multiple results.

    7.3

    55 c. scrollability, updation 7.4

    56 b. Sending request to servlet instance 8.3

    57 b. JSP separates the presentation from the java code

    8.2

    58 a. dot notation, ${customer.firstName} 10.6

    59 b. Bean properties 11.2

    60 a. Application-Based Data Sharing 14.4

    4 marks questions

    61 d. Statements 1 and 4 are false 14.5

    62 c. Statement 2 and 3 are false 2.2 & 2.3

    63 D. 1- False, 2- True, 3- False, 4- True 2.3.2

    64 A. 1- True, 2- True, 3- False, 4- False 3.4

    65 C. 1- True, 2- False, 3- False, 4- True 4.5.4

    66 d. Statements 1, 2 and 3 are false 5.4.1

    67 c. Statements 1 and 2 are true 6.3

    68 C. 1- False , 2- True, 3- False, 4- True 7.3

    69 A. a- True, b- False, c- True, d- False 8.5.4

    70 d. Only statement 4 is true 8.3

    71 c. Statements 2 and 3 are false 9.3.5

    72 D. 1- False, 2- True, 3- True, 4- True 12.2

    73 D. 1- False, 2- True, 3- False, 4- True 13.5

    74 d. Statements 3 and 4 are true. 14.7

    75 B. 1- True, 2- True, 3- False, 4- False 10.4

    The two credit paper

    Q. No. Question Statement 1 marks question

    1 c. Retrieves the data identified by the URL. 1.5.1

    2 d. Servlets 2.3.3

    3 b. HttpServletResponse 3.2

    4 c. unchecked 4.3

    5 a. void invalidate() 5.3

    6 a. Authentication 6.1

    7 d. All of the above 7.2

  • 8 c. JSP page 8.3

    9 b. Java language 9.1

    10 a. \${ 10.3

    11 c. Model-View-Controller architecture 11.4

    12 a. Packages 12.2

    13 c. Universal Resource Locators 13.2

    14 a. Apache Struts 14.2

    15 b. Access 14.3

    16 c. HTTP 14.2

    17 d. Business logic 14.2

    18 a. Apache Struts 14.2

    19 b. request-based 14.4

    20 Session-Based Data Sharing 14.4

    2 marks Questions

    21 a. Client and EIS 1.3.1

    22 b. public void log(Exception, String) 2.6

    23 b. Deployment descriptors 2.5

    24 b. encodeRedirectURL(String) 3.2

    25 d. getAuthType() 3.3

    26 b. Servlet exceptions are abnormal conditions that can occur while executing a piece of code in a Servlet.

    4.2

    27 b. name, value 5.4.1

    28 c. Specify the locations of the login and error pages to be used.

    6.4

    29 a. Once a transaction is completed, there must be guarantee of database updates.

    7.5

    30 d. All of the above 8.4

    31 a. Tag.SKIP_BODY 9.3.5

    4 marks questions

    32 C. 1- True , 2- True, 3- True, 4- False 1.2

    33 c. Only statement 2 is true 3.5.1

    34 c. Only Statement 3 is true 4.1

    35 C. 1- False , 2- True, 3- True, 4- True 5.2

    36 D. 1- True, 2- False, 3- True, 4- False 7.4

    37 d. Statements 2 and 4 are false 9.5

    38 D. 1- False, 2- True, 3- True, 4- False 13.5