FINALTERM EXAMINATION Spring 2009 CS506- Web Design and Development Solved by Tahseen Anwar

Similar documents
CS506 Web Design & Development Final Term Solved MCQs with Reference

One application has servlet context(s).

Data Source Name (Page 150) Ref: - After creating database, you have to setup a system Data Source Name (DSN).

Advanced Java Programming

(Objective-CS506 Web Design and Development)

Introduction... xv SECTION 1: DEVELOPING DESKTOP APPLICATIONS USING JAVA Chapter 1: Getting Started with Java... 1

Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p.

CS506 today quiz solved by eagle_eye and naeem latif.mcs. All are sloved 99% but b carefull before submitting ur own quiz tc Remember us in ur prayerz

COURSE DETAILS: CORE AND ADVANCE JAVA Core Java

Unit 5 JSP (Java Server Pages)

Java SE7 Fundamentals

FINALTERM EXAMINATION SPRING 2006 CS506 - WEB DESIGN AND DEVELOPMENT (Session - 1 ) StudentID/LoginID:

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

15CS45 : OBJECT ORIENTED CONCEPTS

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

Session 8. Reading and Reference. en.wikipedia.org/wiki/list_of_http_headers. en.wikipedia.org/wiki/http_status_codes

ddfffddd CS506 FINAL TERMS SOLVED BY MCQS GHAZAL FROM IEMS CAMPUS SMD CS506 Mcqs file solved by ghazal

Java.. servlets and. murach's TRAINING & REFERENCE 2ND EDITION. Joel Murach Andrea Steelman. IlB MIKE MURACH & ASSOCIATES, INC.

Page 1

Experiment No: Group B_2

Courses For Event Java Advanced Summer Training 2018

GUJARAT TECHNOLOGICAL UNIVERSITY

[Course Overview] After completing this module you are ready to: Develop Desktop applications, Networking & Multi-threaded programs in java.

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

SUN Enterprise Development with iplanet Application Server

JAVA. 1. Introduction to JAVA

1Z Java EE 6 Web Component Developer Certified Expert Exam Summary Syllabus Questions

UNIT -5. Java Server Page

Anno Accademico Laboratorio di Tecnologie Web. Sviluppo di applicazioni web JSP

CS304- Object Oriented Programming LATEST SOLVED MCQS FROM FINALTERM PAPERS. MC

Call: Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline

JAVA. Duration: 2 Months

Java J Course Outline

Application Development in JAVA. Data Types, Variable, Comments & Operators. Part I: Core Java (J2SE) Getting Started

IT6503 WEB PROGRAMMING. Unit-I

JSP MOCK TEST JSP MOCK TEST III

112. Introduction to JSP

Java Training JAVA. Introduction of Java

Fast Track to Java EE

This course is intended for Java programmers who wish to write programs using many of the advanced Java features.

Java Programming Course Overview. Duration: 35 hours. Price: $900

directive attribute1= value1 attribute2= value2... attributen= valuen %>

DOT NET Syllabus (6 Months)

112-WL. Introduction to JSP with WebLogic

Topics Augmenting Application.cfm with Filters. What a filter can do. What s a filter? What s it got to do with. Isn t it a java thing?

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.)

CSE 336. Introduction to Programming. for Electronic Commerce. Why You Need CSE336

Advantage of JSP over Servlet

Table of Contents. Introduction... xxi

Module 3 Web Component

(800) Toll Free (804) Fax Introduction to Java and Enterprise Java using Eclipse IDE Duration: 5 days

JAVA MICROSERVICES. Java Language Environment. Java Set Up. Java Fundamentals. Packages. Operations

Distributed Multitiered Application

About the Authors. Who Should Read This Book. How This Book Is Organized

Session 9. Deployment Descriptor Http. Reading and Reference. en.wikipedia.org/wiki/http. en.wikipedia.org/wiki/list_of_http_headers

Compaq Interview Questions And Answers

Introduction to JSP and Servlets Training 5-days

web.xml Deployment Descriptor Elements

Complete Java Contents

Developing Applications with Java EE 6 on WebLogic Server 12c

UNIT -I PART-A Q.No Question Competence BTL

Specialized - Mastering JEE 7 Web Application Development

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

B2.52-R3: INTRODUCTION TO OBJECT ORIENTATED PROGRAMMING THROUGH JAVA

PES INSTITUTE OF TECHNOLOGY, SOUTH CAMPUS DEPARTMENT OF MCA INTERNAL TEST (SCHEME AND SOLUTION) II

LTBP INDUSTRIAL TRAINING INSTITUTE

Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX

A- Core Java Audience Prerequisites Approach Objectives 1. Introduction

Object Oriented Programming with Java. Unit-1

/ / JAVA TRAINING

AN ISO 9001:2008 CERTIFIED COMPANY ADVANCED. Java TRAINING.

Java Training Center, Noida - Java Expert Program

Module 5 Developing with JavaServer Pages Technology

The Struts MVC Design. Sample Content

JAVA & J2EE UNIT -1 INTRODUCTION

HttpServlet ( Class ) -- we will extend this class to handle GET / PUT HTTP requests

JAVA Training Overview (For Demo Classes Call Us )

SYLLABUS JAVA COURSE DETAILS. DURATION: 60 Hours. With Live Hands-on Sessions J P I N F O T E C H

Java Inheritance. Written by John Bell for CS 342, Spring Based on chapter 6 of Learning Java by Niemeyer & Leuck, and other sources.

Course Content for Java J2EE

CS Internet programming Unit- I Part - A 1 Define Java. 2. What is a Class? 3. What is an Object? 4. What is an Instance?

Name of subject: JAVA PROGRAMMING Subject code: Semester: V ASSIGNMENT 1

First Simple Interactive JSP example

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers

PSD1B Advance Java Programming Unit : I-V. PSD1B- Advance Java Programming

Oracle 10g: Build J2EE Applications

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)

RQs + PEs: More Servlets

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

JavaEE Interview Prep

JavaServer Pages. What is JavaServer Pages?

DOWNLOAD PDF CORE JAVA APTITUDE QUESTIONS AND ANSWERS

Core Java. Basics of Java. String Handling. OOPS Concepts. Exception Handling

Java E-Commerce Martin Cooke,

WAS: WebSphere Appl Server Admin Rel 6

Aim behind client server architecture Characteristics of client and server Types of architectures

PESIT Bangalore South Campus

Lecture 20. Java Exceptional Event Handling. Dr. Martin O Connor CA166

OBJECT ORIENTED PROGRAMMING TYm. Allotted : 3 Hours Full Marks: 70

ABOUT CORE JAVA COURSE SCOPE:

Transcription:

FINALTERM EXAMINATION Spring 2009 CS506- Web Design and Development Solved by Tahseen Anwar www.vuhelp.pk Solved MCQs with reference. inshallah you will found it 100% correct solution. Time: 120 min Marks: 75 Question No: 1 ( Marks: 1 ) - Please choose one From the Following; which we don t include in simple tag while creating JSP custom tags: Start of tag End of tag Attributes Question No: 2 ( Marks: 1 ) - Please choose one From the following; which component is/are used in directory Structure of web components: index.htm, JSP, Images etc.. Web-inf, web.xml Classes, servlets classes lib, jar files All of these Question No: 3 ( Marks: 1 ) - Please choose one From following; which is the main reason that enters a thread into dead state: a)it dies a natural death because thread completes its execution. b)it is killed because someone invoked its stop method. Both a and b.. Question No: 4 ( Marks: 1 ) - Please choose one From the following; which approach is used in java to create threads, Interface Inheritance Both Interface and Inheritance. Question No: 5 ( Marks: 1 ) - Please choose one

RPC stands for Remote Personal Computer (RPC) Remote Procedure Calls (RPC). Remote Procedure Client (RPC) Question No: 6 ( Marks: 1 ) - Please choose one From the following which one is not a built-in validator? DoubleRangeValidator LongRangeValidator LengthValidator StringValidator Question No: 7 ( Marks: 1 ) - Please choose one -------------can be used to specify dynamic attribute values for JSTL actions without using full-blown programming language. EL RT Both EL and RT Question No: 8 ( Marks: 1 ) - Please choose one The dot operator in Expression Language typically used for accessing the ------------- -------of an object. Properties Elements Values Attributes Question No: 9 ( Marks: 1 ) - Please choose one Tiers represent the view of application. Physical Logical External Question No: 10 ( Marks: 1 ) - Please choose one Layers represent the view of application. Physical Logical External Question No: 11 ( Marks: 1 ) - Please choose one Which of the following is appropriate for Page-with-Bean approach?

The code becomes a mixture of presentation, business and data access logic. The maintenance of the application becomes a nightmare. A lot of code is also get duplicated. All the business logic goes into one application. Question No: 12 ( Marks: 1 ) - Please choose one The represent the state of component. View Model Controller Component Question No: 13 ( Marks: 1 ) - Please choose one The following value of JavaBean s scope attribute has local variable. Page Request Session Application Question No: 14 ( Marks: 1 ) - Please choose one JSP action elements allow us to work with. JavaScript JavaBeans (page:367) ManagedBeans HTML Question No: 15 ( Marks: 1 ) - Please choose one A bean class have any public instance variables/attributes (fields). Can Can t Must Shouldn t Question No: 16 ( Marks: 1 ) - Please choose one Expression is a code fragment which returns. Integer String (page:334) Depends on the expression Nothing Question No: 17 ( Marks: 1 ) - Please choose one JSP file is compiled. Whenever there is some modification in the file Whenever it is accessed Whenever browser is restarted Whenever the page is refreshed

Question No: 18 ( Marks: 1 ) - Please choose one Servlet session and JSP session have abilities. Different Same Critical Question No: 19 ( Marks: 1 ) - Please choose one Which of the following is not part of http response? Result Code URI (page:243) Header fields Body Question No: 20 ( Marks: 1 ) - Please choose one In which file do we define a servlet mapping? Web.xml Servlet.mappings Servlet.xml None of the given Question No: 21 ( Marks: 1 ) - Please choose one Which of the following is a type of Java web application technologies? JSTL JSF JSP All of the given (page:249) Question No: 22 ( Marks: 1 ) - Please choose one Extra information can be appended to URL using. Extra path information Added parameters Custom change All of the given Question No: 23 ( Marks: 1 ) - Please choose one Web server is a software which provides services to access. Internet Intranet Extranet All of the given Question No: 24 ( Marks: 1 ) - Please choose one When defining a method you must include a to declare any exception that might be thrown but is not caught in the method.

try block finally block catch block throws-clause Question No: 25 ( Marks: 1 ) - Please choose one In an applet class definition, the----------method takes the place of the constructor. paint(); main(); init(); run() ; Question No: 26 ( Marks: 1 ) - Please choose one DSN stands for. Domain System Name Data Source Name Database System Name Database Simple Name Question No: 27 ( Marks: 1 ) - Please choose one From following classes; which one can t be instantiated? Super class Abstract Class Anonymous Class Concrete Class Question No: 28 ( Marks: 1 ) - Please choose one Converting bigger data types into smaller one is called ---------- Up casting Down casting In casting Out casting Question No: 29 ( Marks: 1 ) - Please choose one Java provide ------------------ Overloading Overriding Pointers Multiple Inheritance Question No: 30 ( Marks: 1 ) - Please choose one int x = 7/2; value of x is: 1

2 3.5 3 Question No: 31 ( Marks: 1 ) Given the request path below, which part is context path, servlet path and path info? /vubookshop/edu/index.html Question No: 32 ( Marks: 1 ) Write the XML tags for the following scripting elements in JSP? Comments: Declaration: Question No: 33 ( Marks: 2 ) What impact a JavaBeans object can produce when it is stored in Servlet Request object? Question No: 34 ( Marks: 2 ) What invokes a thread s run() method? Question No: 35 ( Marks: 3 ) What is the significance of error page? Question No: 36 ( Marks: 3 ) Which type of information can be appended to URL? Question No: 37 ( Marks: 3 ) Differentiate between Sequential Execution and multithreading. Question No: 38 ( Marks: 5 ) Which technology is used in JAVA to support following layers? 1. Presentation Layer 2. Business Layer 3. Data Layer Question No: 39 ( Marks: 5 ) How cookies are sent to a client? Question No: 40 ( Marks: 10 ) What are the characteristics of web services?

Question No: 41 ( Marks: 10 ) What is the usage of sleep (int time) method?