100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

PRJ301 - 3/4 2024/2025 Exam Questions and Detailed Answers | Get it 100% Correct Answers

Rating
-
Sold
-
Pages
54
Grade
A+
Uploaded on
16-03-2025
Written in
2024/2025

PRJ301 - 3/4 2024/2025 Exam Questions and Detailed Answers | Get it 100% Correct Answers Which of the following statement is correct? A. Data Integrity means that the data cannot be viewed by anybody other than it's intended recepient B. Authentication means determining whether one has access to a particular resource or not C. Data Integrity means that the data is not modified in transit between the sender and the receiver. -

Show more Read less
Institution
PRJ301
Course
PRJ301











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
PRJ301
Course
PRJ301

Document information

Uploaded on
March 16, 2025
Number of pages
54
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

PRJ301 - 3/4 2024/2025 Exam Questions
and Detailed Answers | Get it 100%
Correct Answers



Which of the following statement is correct?

A. Data Integrity means that the data cannot be viewed by anybody other

than it's intended recepient

B. Authentication means determining whether one has access to a

particular resource or not

C. Data Integrity means that the data is not modified in transit between the

sender and the receiver. - 🧠 ANSWER ✔✔C


______includes a static file in a JSP file, parsing the file's JSP elements

A. <jsp:forward>

B. <jsp:useBean>

C. import directive

D. include directive


E. <jsp:include> - 🧠 ANSWER ✔✔d

COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
1
STATEMENT. ALL RIGHTS RESERVED

,Study the statements:

1) The special directory/WEB-INF/lib contains Java class files—servlets

and supporting code.

2) The special directory /WEB-INF/classes contains JAR files with

supporting libraries of code.

A. Only statement 1 is true

B. Only statement 2 is true

C. Both 1 and 2 are true


D. Both 1 and 2 are not true - 🧠 ANSWER ✔✔d


Which statements are BEST describe class attribute of <jsp:useBean

class=_.. /> Action?

A. The name of a bean that can be used with method instantiate of class

java.beans.Beans to load a JavaBean into memory.

B. The fully qualified class name of the Java object

C. The name used to manipulate the Java object with actions

<jsp:setProperty> and <jsp:getProperty>. A variable of this name is also

declared for use in JSP scripting elements. The name specified here is ca



COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
2
STATEMENT. ALL RIGHTS RESERVED

,D. The type of the JavaBean. This can be the same type as the class

attribute, a superclass of that type or an interface implemented by that type.

The default value is the same as for attribute class. - 🧠 ANSWER ✔✔b


Which are the correct lines of code to get information in the

following<context-param> tag in the web.xml fi

Assume that response and request refer to HttpServletResponse and

HttpServletRequest respectively.




A. response.getParameter('machineName');

B. requestgetParameter( machineName');

C. ServletContext sc = getServletContextO;

String serverName = sc.getlnitParameter("machineName");

D. ServletConfigsc = getServletConfigO;

String serverName = sc.getlnitParameterfmachineName"); - 🧠 ANSWER

✔✔----------------------


<web-app>

<concexc-param>


COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
3
STATEMENT. ALL RIGHTS RESERVED

, <parair - narr.e >mach i neN ame < / p a r air - name >

<parair.-value>cms-server</parair.-value>

</context-parair.>

</web-app>| ---- c

Consider the following java code:

//in file Book.java package com.bookstore; public class Book {

private long isbn;

public BookO{ isbn = 0;}

public long getlsbn(){ return isbn;}

public void setlsbn(long value){ this.isbn = value;}

}

Code for browse.jsp:

<jsp:useBean class="com.bookstore.Book" id="newbook"/>

LINE 1: <jsp:setProperty name="newbook" property="isbn" value="1000"/>

Which of the following statements are correct?




COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
4
STATEMENT. ALL RIGHTS RESERVED

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
NinjaNerd Liberty University
View profile
Follow You need to be logged in order to follow users or courses
Sold
206
Member since
1 year
Number of followers
4
Documents
12254
Last sold
3 days ago
NinjaNerd

Here You will All Documents and Package Deals Offered by Seller NinjaNerd.

3.8

31 reviews

5
14
4
5
3
7
2
2
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions