My Profile
Active Members
TodayLast 7 Days
more...
Awards & Gifts
Online Exams
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian
cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
|
Download Model question papers & previous years question papers
|
Posted Date: 05 May 2009 Posted By: Aravind Shankar.K Member Level: Silver
|
2008 Bharathidasan University B.C.A Object oriented programming:JAVA Question paper
DURATION:2 Hrs Max:50 Marks DATE: 28-07-08 TIME :9.15a.m-11.15a.m
I Answer the following. (8*1=8) 1. OOPS allows us to decompose a problem into a number of entities called _____. 2. The wrapping up of data and methods into a single unit is known as _____ . 3. _____ means the ability to take more than one form. 4. What will be the output of the following code? byte x= 64, y; y=(byte) (x<<2); System. out. println(y); 5. What will be the output of the following code: byte b; double d=417.35; b=(byte) d; System. out. println(b); 6. Given the value of a given variable, write the statement, without using if construct, which will produce the absolute value of the variable. 7. Java compiler produces an intermedia code known as _______ for a machine that does not exist. 8. Define type casting. II. Answer the following in short. (3*6=18) 1. a) Why is Java known as platform-neutral languages? (or) b) List the eight basic data types used in Java? 2. a) How is Java strongly associated with the Internet? (or) b) What is scope of a variable? 3. a) List at least five major differences between C and Java? (or) What is initialization? Why is it important? III .Answer in detail. (2*12=24) 1. a) In what ways does a switch statement differ from if statement. Explain. (or) b) Write a program to find the number of and sum of all integers freater than 100 and less than 200 that are divisible by 7. 2. a) Form a program to display the series of numbers in a triangle. (or) b) Compare the terms of their functions, the following pairs of statements: a) while and d….while b) while and for c) break and continue.
Return to question paper search
|
|
|
Submit Previous Years University Question Papers and make money from adsense revenue sharing program
Are you preparing for a university examination? Download model question papers
and practise before you write the exam.
|
Advertise Here
|