We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Current Final Term Papers Spring 2012 Date: 16-July-2012 to 27-July-2012

Current Final Term Papers Spring 2012 Papers, July 2012, Solved Final Term Papers, Solved Papers, Solved Past Papers, Solved MCQs

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 2809

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

A-o-a Dear fellows,

                          I have given my cs506 paper today. Total 52 questions which included MCQS(80% from past papers) + new and subjective totally from current papers shared on group and past papers. I would like to appreciate the efforts of students who share their current papers here and wanted to suggest all of you to prepare the past paper and currently shared subjective and objective both. So, share current papers and past papers for the better results.

(one suggestion while uploading question of current papers if possible also share their solution)

 Please find the attached files from which u can prepare the solved MCQs and solved subjective. Here goes the two supreme files

My current paper of cs506:

 

Q1: Write 6 features of JSF? 5

Q2:What is Package? How Packages are organized? 5

Many times when we get a chance to work on a small project, one thing we intend to do os to put all java files into a single directory(folder). It is quick, easy and hamless. Hwever, if our small project gets bigger the number of files is increasing, putting all these files into the same directory would bea nightmare for us. In java we can avoid this sort of problem by using packages.

In simple terms, a set of java classes organized for convenience in the same directory to avoid the name collisions. Packages are nothing more than the way we organize files into different directories according to their functionality, usability as well as category they should belong to.

 

Q 3:Write the name of types of Custom Tags? (5 Marks)

1-     simple tgs

2-     custom tags

3-     tags with attributes

4-     tags with bodies

(explanation from handouts)

Q 4:What do yoy know about  expression languages?      3

The EL is not a programming or scripting language, provides a better way to simplify expressions in JSP. It is a simple language that is geared up towards looking up objects, its properties and performing simple operations on it. It is inspired by both the ECMA Script XPath expression language.

Q5: describe servlet context (2)

Servlet contex belongs to one web application. Therefore it ca be used for sharing resources among servlets in the same web application.

Q6:Advantages of Cookies over re-writing URLs? 5

Q 7: What are two ways of request dispatching? Explain

Q 8: Database connectivity steps? 5

There are following steps required to create a new Database using JDBC application:

  1. Import the packages . Requires that you include the packages containing the JDBC classes needed for database programming. Most often, using import java.sql.* will suffice.
  2. Register the JDBC driver . Requires that you initialize a driver so you can open a communications channel with the database.
  3. Open a connection . Requires using the DriverManager.getConnection() method to create a Connection object, which represents a physical connection with datbase server.

To create a new database, you need not to give any database name while preparing database URL as mentioned in the below example.

  1. Execute a query . Requires using an object of type Statement for building and submitting an SQL statement to the database.
  2. Clean up the environment . Requires explicitly closing all database resources versus relying on the JVM's garbage collection.

Q 9: What are methods of java bean design conventions? (5)

Q10: explain ResultSet? 3

 

 

Q 11: What is Expression in JSP? Give an example. (5 Mark) Answer:- (Page 335)

 

The format of writing a Java expression is: <%= Java expression %> These expressions are evaluated, after converted to strings placed into HTML page at the place it occurred in JSP page Examples of writing Expressions are:

 

 <h2> Time: <%= new java.util.Date() %> </h2>

will print current data & time after converting it to String

 <h2> Welcome: <%= request.getParameter(―name‖)%> </h2>

 

will print the name attribute

 

 

Q 12:  Write briefly two characteristics of Expression Language?

 

 The Expression Language, not a programming or scripting language, provides a way to simplify expressions in JSP. It is a simple language that is geared towards looking up objects, their properties and performing simple operations on them. It is inspired form both the ECMAScript and the XPath expression language.

Q 13: why do  we need tiers if we have layers? 5

Layers are simply logical grouping of the software components that make up the application or service, wheras Tiers refer to the physical residence of those layers. In simple words layers represents the logical view of application while Tiers represents physical view of application.

Q 14: Why is direct call of paint() method not recommended?

 

Q 15:What is the difference between variable declared inside a declaration part and variable in scriplet part?

BEST OF LUCK

HERE is the attached file of current paper as well

 

 

 

 

 

 

 

 

Attachments:

CS506 Current Paper Spring 2012 by Zindagi ji 

1. write down the code for making a graphical interface 
2. what are two ways to read initialization parameters of a servlet ?
3. which litrals are supported by expression language
4. if java does not use layout managers then wht difficulties would he face when creating graphical user inter face?
5. wht are the expression language
6. wht r the advantage of using custom tags ?
7. how objects become elegible for garbage colllection ?

Cs506 – Final Term Current  solved Papers (July 2012)

Attachments:

Thanks Dear MOAAZ BHAI!!!

U are nice

cs506 subjective paper

java code program  to find exception error
how to servlet extend to functionality of web server
how to define and use error page in JSP
different b/w layers and tiers
when does compiler supply default constructor for our code
what is jsp scirplet & explain it
what type of information can be appended to URL?
why do we need expression language
can we overload the main() method
why the session tracing is necessary
why are java bean design conversion
different b/w web page and wed services.?

My today paper of CS506 Fawad ur Rehman

 

  1. What are java Beans?    2
  2. How could you destroy the session in servelets?      2
  3. What type of problem persists with struts framework?           2
  4. Name two method use to compare strings?       2
  5. Diff b/w paint() and repaint() method?           3
  6. What is the difference between variable declared inside a declaration part and variable declared in scriplet part?             3
  7. Six features of JSF?                                   3
  8. Difference of forward and send redirect?         3
  9. What is Twin Tag Libraries?                     5
  10. Advantages of Cookies over URL?            5
  11. Types of Custom Tag?            5
  12. Why there are no global variable in Java?         5

5 marks
what is custom tag? why do we need it?
what are the advantage of cookies over url re writing..?
what is a difference b/w value binding and method binding..
Steps to write an applet in java?

3 marks
disadvatages of URL rewriting..
6 feature of jsp?
why compiler show checked exception but not an unchecked exception?

What is impact a java bean object can produce when it is stored in an application?

Dear fellows i have made a comprehensive subjective solved answers from past papers. Please pray for me too.

RSS

Latest Activity

+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion CS202 - Fundamentals of Front End Development Assignments No. 1 Due Date Nov 14, 2019 in the group CS202 Fundamentals of Front End Development
5 minutes ago
+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion CS202 - Fundamentals of Front End Development Assignments No. 1 Due Date Nov 14, 2019 in the group CS202 Fundamentals of Front End Development
6 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGT211 GDB Fall 2019 Solution & Discussion in the group MGT211 Introduction To Business
7 minutes ago
Mian Ali added a discussion to the group MCM520 Contemporary Mass Media
11 minutes ago
Mian Ali joined + M.Tariq Malik's group
13 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion EDU302 Human Development and Learning Assignment No 01 Fall 2019 Solution & Discussion in the group EDU302 Human Development and Learning
13 minutes ago
Profile IconMian Ali, Muhammad Daniyal and Usman Mughal joined + M.Tariq Malik's group
16 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS508 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 12-11-2019 in the group CS508 Modern Programming Languages
16 minutes ago
+ !! SARAH replied to Rana Ali's discussion Tell some words in the Shan of Hazart Muhammad (S.A.W)
18 minutes ago
Hiba Sani joined + M.Tariq Malik's group
20 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion MTH301 Calculus II GDB Fall 2019 Solution & Discussion
20 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH301 Calculus II GDB Fall 2019 Solution & Discussion in the group MTH301 Calculus II
21 minutes ago
+ M.Tariq Malik added a discussion to the group MTH301 Calculus II
22 minutes ago
Preçîõûš replied to + M.Tariq Malik's discussion MGT101 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 13-11-2019 in the group MGT101 Financial Accounting
24 minutes ago
Hiba Sani replied to + M.Tariq Malik's discussion CS401 Assignment No 01 Fall 2019 Solution & Discussion in the group CS401 Computer Architecture and Assembly Language Programming
24 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion BIO201 Basic Cell Biology Assignment No 01 Fall 2019 Solution & Discussion in the group BIO201 Basic Cell Biology
26 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion BIO201 Basic Cell Biology Assignment No 01 Fall 2019 Solution & Discussion
27 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion BIO202 Biochemistry-I Assignment No 01 Fall 2019 Solution & Discussion in the group BIO202 Biochemistry-I
27 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion BIO202 Biochemistry-I Assignment No 01 Fall 2019 Solution & Discussion
27 minutes ago
+ M.Tariq Malik added a discussion to the group BIO201 Basic Cell Biology
27 minutes ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service