IBM Test For Svecw By S.Adinarayana

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Abhiram
A
Abhiram
Community Contributor
Quizzes Created: 3 | Total Attempts: 933
| Attempts: 113 | Questions: 31
Please wait...
Question 1 / 31
0 %
0/100
Score 0/100
1. Which database is provided as default with RAD v7.0

Explanation

The default database provided with RAD v7.0 is Derby.

Submit
Please wait...
About This Quiz
IBM Test For Svecw By S.Adinarayana - Quiz

This test is a practice test powered by S. Adinarayana for svecw

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. Every JSP Converted to Servlet?

Explanation

Every JSP is converted to a servlet before it is executed by the server. This is because JSP is a high-level language that is easier for developers to work with, but the server understands only servlets. So, during the execution process, the JSP file is converted into a servlet by the server's JSP compiler. Therefore, the correct answer is true.

Submit
3. A developer is using a new java class wizard to create a new java class , but does not enter a super class  when creating the new class , what will happen?

Explanation

When a developer uses the new java class wizard to create a new java class without entering a super class, the default super class that will be assigned to the new class is the java.lang.object class. This means that the new class will inherit the properties and methods of the java.lang.object class.

Submit
4. What is the default target runtime available while creating dynamic web project In RAD 7.0?

Explanation

The default target runtime available while creating a dynamic web project in RAD 7.0 is WebSphere Application Server V6.1.

Submit
5. What are the four options available when any developer selects Local history.

Explanation

The correct answer is A) Compare with, replace with previous, replace with, restore from. These options are available when a developer selects Local history. "Compare with" allows the developer to compare the current version with a previous version. "Replace with previous" allows the developer to replace the current version with the previous version. "Replace with" allows the developer to replace the current version with another version. "Restore from" allows the developer to restore the file from a previous version.

Submit
6. Which component of an application server routes the user request either to web server or to web container



Explanation

The web server plugin is the component of an application server that routes the user request either to the web server or to the web container. It acts as a bridge between the web server and the web container, allowing the user request to be directed to the appropriate component based on the configuration. This plugin is responsible for handling the communication and coordination between the web server and the web container, ensuring that the user request is processed correctly.

Submit
7. A developer configures Servlet a with Load on start up value of 1 and Servlet B with Load on start up value 2, what is the effect of this ?

Explanation

The correct answer is that Servlet A will load first, followed by Servlet B. This is because the load-on-startup value determines the order in which servlets are initialized when the server starts up. Servlet A has a load-on-startup value of 1, while Servlet B has a load-on-startup value of 2. Servlets with lower load-on-startup values are loaded and initialized before servlets with higher values. Therefore, Servlet A will load and initialize first, followed by Servlet B.

Submit
8. Which one is  not a Servlet life cycle method

Explanation

The correct answer is "Paint". Paint is not a Servlet life cycle method. The Servlet life cycle methods are Init, Service, and Destroy. Init is called when the servlet is first created, Service is called to process client requests, and Destroy is called when the servlet is being taken out of service.

Submit
9. WWhat are the types of problems and the associated icons in the Problems view  




 

Explanation

The correct answer is "error, warning, information". In the Problems view, different types of problems are displayed with associated icons. Errors are represented by red icons, warnings by yellow icons, and information by blue icons. This allows users to quickly identify and prioritize the issues in their project.

Submit
10. Application Server = Web Container +____________.

Explanation

An application server consists of a web container and an EJB container. The web container manages the execution of web applications, while the EJB container manages the execution of enterprise Java beans (EJBs). EJBs are server-side components that provide business logic and are used to develop scalable and robust enterprise applications. Therefore, the correct answer is the EJB container.

Submit
11. Which one out of the following a developer use for the business logic



Explanation

A developer uses Bean for the business logic because Beans are Java classes that encapsulate data and provide methods to manipulate that data. They are commonly used in Java EE applications to handle the business logic and interact with the database. Servlets, HTML, and JSP are not specifically designed for business logic implementation, but they can be used in combination with Beans to create a complete application.

Submit
12.   Developer wants to create a fast view, what is the way to create the fast view in IBM RAD.

Explanation

To create a fast view in IBM RAD, the developer can simply drag the view onto the shortcut bar. This allows for quick and easy access to the view, improving efficiency and productivity.

Submit
13. A developer received a made java project with 100 packages , each package contains at least 50 java classes , what is the convenient way to navigate and analysis this project

Explanation

The most convenient way to navigate and analyze this project would be to open it in the java browsing perspective. This perspective is specifically designed for Java development and provides various tools and views that can help with navigation and analysis of the project. It allows for easy exploration of packages, classes, and their relationships, making it easier to understand the structure and functionality of the project.

Submit
14. A developer wants to visually examine and modify a Web application using an application framework, such as Struts or JavaServer Faces ,  what kind of diagram he should choose



Explanation

A web diagram would be the most suitable choice for a developer who wants to visually examine and modify a web application using an application framework like Struts or JavaServer Faces. A web diagram provides a visual representation of the different components and their relationships within a web application, allowing the developer to easily understand and modify the structure and flow of the application. This diagram can help in identifying any potential issues or areas for improvement in the web application.

Submit
15. A developer is coding a jsp and wants to write the Script for the Submit button , which view he should choose to do this?
 


Explanation

The Quick Edit View is the most suitable option for the developer to write the script for the Submit button in a JSP. This view provides a convenient and efficient way to edit the code quickly without the need to navigate through multiple pages or sections. It allows the developer to directly access and modify the relevant code for the Submit button, making the coding process more streamlined and efficient.

Submit
16. A developer has a static web project? Which archive he can use to export it?

Explanation

A developer can use the WAR (Web Application Archive) format to export a static web project. The WAR format is specifically designed for web applications and includes all the necessary files and resources needed to deploy the project on a web server. It allows for easy distribution and deployment of web applications, making it the appropriate choice for exporting a static web project.

Submit
17. In which folder RAD stores the Master.css file?




Explanation

The correct answer is "Themes" because RAD stores the Master.css file in the Themes folder.

Submit
18. What are the three modes in a server can be started?


Explanation

The correct answer is "Normal, Debug, Profile". These are the three modes in which a server can be started. In the Normal mode, the server runs in its regular state, handling incoming requests and serving clients. The Debug mode is used for troubleshooting and debugging purposes, allowing developers to step through the code and track down issues. The Profile mode is used for performance analysis, collecting data on the server's execution and identifying areas for optimization.

Submit
19. Which one out of the following a developer use as a controller


Explanation

A developer would use a Servlet as a controller in a web application. Servlets are Java classes that are used to handle requests and responses between the client and the server. They act as a middle layer between the user interface and the business logic of the application. Servlets can receive requests from the client, process them, and generate dynamic content to be sent back as a response. They are commonly used in Java web development to handle the control flow and logic of the application.

Submit
20. A developer wants to configure 404 error page for a dynamic web project from where he can do this?

Explanation

The correct answer is "From Deployment descriptor of Project". In a dynamic web project, the developer can configure the 404 error page by specifying it in the deployment descriptor (web.xml) file. The deployment descriptor is an XML file that contains configuration information for the web application, including error page mappings. By adding the appropriate error-page element in the web.xml file and specifying the error code (404) and the corresponding error page, the developer can configure the 404 error page for the project.

Submit
21.     A developer wants to share the preferences setting with there team members how he can do this.

Explanation

The correct answer is "Select File->Export->General->Preferences and select export all" because this option allows the developer to export all preferences settings in the workspace. The other options either do not provide the option to export preferences or do not specify the correct menu path to access the preferences export feature.

Submit
22. A developer wants to make a jsp as a part of logical flow from the web site navigation diagram , by which means he can move the jsp to Web Diagram editor?

Explanation

The correct answer is to right click on the JSP at the Web site navigation diagram and click show page in web diagram editor. This option allows the developer to directly move the JSP to the Web Diagram editor for further editing and integration into the logical flow of the website.

Submit
23. At which point RAD publishes the application to server?

Explanation

The application is published to the server when the server is started. This means that the application is made available and ready to be accessed by users once the server is up and running. It is important for the server to be started in order for the application to be deployed and accessible to users.

Submit
24. How to open the admin console of a server?

Explanation

The correct answer is to right click on the server at the server view and select open admin console. This option allows the user to access the admin console directly from the server view by simply right clicking on the server and selecting the appropriate option. This is a convenient and quick way to open the admin console without having to navigate through other menus or open a browser.

Submit
25. While running a login.jsp , a developer passes user name and password to it , after pressing the Login button , the control is not going to the intended page , what might be the problem

Explanation

The problem might be that the input controls and Submit button are not placed inside a form. This is necessary in order for the data entered by the user to be submitted to the intended page. Without a form, the data will not be sent and the control will not be redirected to the intended page.

Submit
26. A developer wants to add the file association for mpeg file for a java project how he can do this.

Explanation

not-available-via-ai

Submit
27. ---------- are programs that run on a web server and build in web pages dynamically

Explanation

Servlets are programs that run on a web server and build web pages dynamically. They are Java-based and are used to handle the requests and responses between the web server and the client. Servlets are often used in combination with JSP (JavaServer Pages) to create dynamic web applications. Struts and JSF are both frameworks that can be used with servlets to simplify the development process, but they are not programs themselves. Therefore, the correct answer is Servlet.

Submit
28. Name two features that add the correct import statement in the Java Editor.

Explanation

The Organize feature in the Java Editor automatically arranges the import statements in alphabetical order and removes any unused imports. The quickfix feature suggests and automatically adds the necessary import statement when a class or package is referenced but not imported. These two features together help in managing and adding the correct import statements in the Java Editor.

Submit
29. What is the advantage of using the Refactor Move feature, as opposed to moving a Java source file manually outside of Rational Application Developer?

Explanation

The advantage of using the Refactor Move feature is that it verifies every reference to the resource within the workspace and updates all references. This means that if the file is moved using this feature, all the references to that file within the workspace will be updated automatically. On the other hand, if the file is manually moved outside of Rational Application Developer, these references will not be updated.

Submit
30. What is quickfix feature in Rad environment

Explanation

The quickfix feature in the Rad environment suggests a solution to the highlighted error. It provides recommendations or options to fix the error automatically, making it easier for the user to resolve the issue efficiently. This feature helps in improving productivity and reducing the time required to correct errors in the Rad environment.

Submit
31. Name the three views associated with the Data Perspective.

Explanation

The three views associated with the Data Perspective are Database Explorer, Data Project Explorer, and DB Output. The Database Explorer allows users to view and interact with the database schema, tables, and data. The Data Project Explorer provides a hierarchical view of the data projects and their associated files. The DB Output view displays the output generated by executing SQL queries or other database operations. These three views are essential for managing and working with data in a database system.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 22, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Aug 01, 2010
    Quiz Created by
    Abhiram
Cancel
  • All
    All (31)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which database is provided as default with RAD v7.0
Every JSP Converted to Servlet?
A developer is using a new java class wizard to create a new java...
What is the default target runtime available while creating dynamic...
What are the four options available when any developer selects Local...
Which component of an application server routes the user request...
A developer configures Servlet a with Load on start up value of 1 and...
Which one is  not a Servlet life cycle method
WWhat are the types of problems and the associated icons in the...
Application Server = Web Container +____________.
Which one out of the following a developer use for the business logic
  Developer wants to create a fast view, what is the way to...
A developer received a made java project with 100 packages , each...
A developer wants to visually examine and modify a Web application...
A developer is coding a jsp and wants to write the Script for the...
A developer has a static web project? Which archive he can use to...
In which folder RAD stores the Master.css file?
What are the three modes in a server can be started?
Which one out of the following a developer use as a controller
A developer wants to configure 404 error page for a dynamic web...
    A developer wants to share the preferences setting...
A developer wants to make a jsp as a part of logical flow from the web...
At which point RAD publishes the application to server?
How to open the admin console of a server?
While running a login.jsp , a developer passes user name and password...
A developer wants to add the file association for mpeg file for a java...
---------- are programs that run on a web server and build in web...
Name two features that add the correct import statement in the Java...
What is the advantage of using the Refactor Move feature, as opposed...
What is quickfix feature in Rad environment
Name the three views associated with the Data Perspective.
Alert!

Advertisement