MLI-007

No. of Printed Pages : 7

POST GRADUATE DIPLOMA IN LIBRARY AUTOMATION AND NETWORKING (PGDLAN) Term-End Examination June, 2013 MLI-007 : PROGRAMMING Maximum Marks : 50

Time : 2 hours

(VVeightage : 40)

Note : (i)

There are three parts in this question paper. Part A : C++ Part B : Java Part C : Visual Basic

(ii)

Candidates are advised to attempt only the part opted by them.

(iii)

Mention clearly the part attempted before answering.

(iv)

All parts carry equal marks.

(v)

Answer all questions. All questions carry equal marks. Illustrate your answers with suitable examples and diagrams, wherever necessary. Write the relevant question number before writing the answer.

MLI-007

1

P.T.O.

PART-A (C++) 1.1 What is encapsulation ? What are its advantages ? How can encapsulation be enforced in C++ ? Give an example code segment. OR 1.2 Explain how, working of a member function different from friend function and a non-member function ?

2.1 What is inheritance in C++ ? Discuss the various ways of inheritance of a class. Give an example for each. OR 2.2 Explain the constraints on GOTO statement. Give an example demonstrating the necessity of using a GOTO Statement.

3.1 What are generic class ? Why are they useful ? Explain with an example how these are implemented in C++. OR 3.2 Draw a flow chart and write an algorithm that accepts a string as input and calculate its length.

MLI-007

2

4.1

Write a program in C++ to implement a class named "Publication" that stores the book details (like title, price, year, author, publisher, etc) to search the books by the users. Note : Make necessary assumptions, if necessary. OR

4.2

Write a program in C++ to implement a class named "Banking" that stores the users details (like name, account number, account type, balance, etc) to perform the functions Money_Deposit and Money_Withdrawal by the users. Note : Make necessary assumptions, if necessary.

5.0

Write short notes (about 250 words each) on any two of the following : (a)

Virtual function

(b)

Fourth Generation Languages

(c)

Operator Overloading

(d)

Exception Handling

MLI-007

3

P.T.O.

PART - B (Java) 1.1 Write atleast five advantages of programming using Java. OR 1.2 Discuss various levels of access protection available in Java.

2.1 Explain the advantages and limitations of Interfaces. Also, write how these can be created and implemented. OR 2.2 Explain the use of a 'static variable' and a 'static method' with the help of an example for each.

3.1 Explain function overloading with the help of an example code segment. OR 3.2 What is the difference between 'type casting' and 'type conversion' ? How is type conversion and type casting implemented in Java ?

4.1 Write a program in Java to find the highest common factor of two numbers. OR MLI-007

4

4.2 Write a program in Java to compute the area of a rectangle, triangle and square using the concept of polymorphism.

5.0 Write short notes (about 250 words each) on any two of the following : (a)

Try... catch statement

(b)

Packages in JAVA

(c)

Constructors and Destructors

(d)

Object Oriented Programming

MLI-007

5

P.T.O.

PART- C (Visual Basic) 1.1

Why Visual Basic is known as Event Driven language ? Explain the different object oriented features of Visual Basic. OR

1.2

What is meant by control array ? Describe the steps to create a control array.

2.1

UNTIL and Differentiate between DO WHILE loops using an example for each. DO OR

2.2

3.1

Explain the use and associated events (atleast two) for the following controls : (a) Label

(b) List Box

(c) Check Box

(d) Image

Explain different Date and Time functions available in VB, along with an example for each. OR

3.2

What is the purpose of 'Flex Grid Control' ? Explain the following properties in context to Flex Grid Control : (a)

Col Position

(b)

Row Height

(c)

Clip

MLI-007

4.1

Write an event procedure that accepts a string and print the reverse of it. OR

4.2

Write an event procedure that accepts a lower case string and displays it in upper case.

5.0

Write short notes (about 250 words each) on any two of the following : (a)

Graphical User Interface

(b)

MDI Form

(c)

OLE (object linking and embedding)

(d)

Indexes

MLI-007

7

POST GRADUATE DIPLOMA IN LIBRARY AUTOMATION AND ...

LIBRARY AUTOMATION AND. NETWORKING (PGDLAN). Term-End Examination. June, 2013. MLI-007 : PROGRAMMING. Time : 2 hours. Maximum Marks : 50.

87KB Sizes 0 Downloads 136 Views

Recommend Documents

POST GRADUATE DIPLOMA IN LIBRARY AUTOMATION AND ...
LIBRARY AUTOMATION AND. NETWORKING (PGDLAN). Term-End Examination. June, 2013. MLI-007 : PROGRAMMING. Time : 2 hours. Maximum Marks : 50.

POST GRADUATE DIPLOMA IN LIBRARY Q AUTOMATION AND ...
POST GRADUATE DIPLOMA IN LIBRARY. Q. AUTOMATION AND NETWORKING. (PGDLAN). 0. Term-End Practical Examination. Q. December, 2013.

POST GRADUATE DIPLOMA IN LIBRARY Q AUTOMATION AND ...
POST GRADUATE DIPLOMA IN LIBRARY. Q. AUTOMATION AND NETWORKING. (PGDLAN). 0. Term-End Practical Examination. Q. December, 2013. MLIL-006 : CONTENT DEVELOPMENT. Time Allowed : 2 Hours. Maximum Marks : 50. (Practical Work : 40. Viva Voce : 10). (Weight

POST GRADUATE DIPLOMA IN LIBRARY ...
POST GRADUATE DIPLOMA IN LIBRARY. AUTOMATION AND NETWORKING o. (PGDLAN). cNi. Term-End Practical Examination. C). December, 2013. MLIL-004 : NETWORKING AND INTERNET. TECHNOLOGY. Time Allowed : 2 Hours. Maximum Marks : 50. (Practical Work : 40. Viva V

POST GRADUATE DIPLOMA IN FINANCIAL MARKETS PRACTICE
POST GRADUATE DIPLOMA IN FINANCIAL. MARKETS PRACTICE. O. Term-End Examination. O. June, 2015. O. MFP-4 : CURRENCY AND DEBT MARKETS.

POST GRADUATE DIPLOMA IN INFORMATION SECURITY (PGDIS)
(a) CASCO. (b) Cyber - terrorism. (c) TRIPS Agreement. (d) Cyber defamation. (e) Liability of internet service provider. 2. What is the role of certifying authority ?

POST GRADUATE DIPLOMA IN INTERNATIONAL BUSINESS ...
INTERNATIONAL BUSINESS. OPERATIONS/MASTER OF. Term-End Examination. December, 2015. 1130-03 : INDIA'S FOREIGN TRADE. Time : 3 Hours.

POST GRADUATE DIPLOMA IN PRE PRIMARY EDUCATION ...
Answer the following question in about. 600 words. Discuss the government initiatives for the development of Early Childhood Care and. Education (ECCE) in India. OR. "Preschool education strengthens child's social competencies". Do you agree with the

POST GRADUATE DIPLOMA IN INFORMATION SECURITY (PGDIS ...
Section A - Answer all the questions. Section B - Answer all the questions. Section C - Answer any three questions out of four. SECTION A. Answer all the questions. 1. Write short notes on the following : 15. (a) User Account Policy. (b) ISO 27001. (

POST GRADUATE DIPLOMA IN INTELLECTUAL PROPERTY ...
POST GRADUATE DIPLOMA IN s71fl. INTELLECTUAL PROPERTY ... Distinguish between technical and business trade secrets. 6. Define secret information.

POST GRADUATE DIPLOMA IN INFORMATION SECURITY (PGDIS)
Note : Section 'A'-Answer all the questions. Section 'B'-Answer all the questions. Section 'C'-Answer any three questions out of four. SECTION - A. Answer all the questions. 1. Write short notes (any four). 12. (a) CASCO. (b) Cyber - terrorism. (c) T

POST GRADUATE DIPLOMA IN 14) INFORMATION SECURITY ...
INFORMATION SECURITY (PGDIS). Term-End Examination. O. June, 2016. MSE-024 : POLICY, STANDARDS AND LAWS. Time : 3 hours. Maximum Marks : 70.

post graduate diploma in hospital and health management
(b) Nursing care methods. (c) Medical equipment maintenance. (d) Quality assessment in the Hospital. Laboratory Services. (e) Disaster Mammal. DHHM-2. 1.

MVP-001 POST GRADUATE DIPLOMA IN FOOD SAFETY AND ...
MVP-001. No. of Printed Pages : 5. POST GRADUATE DIPLOMA IN FOOD SAFETY. AND QUALITY MANAGEMENT (PGDFSQM). Term-End Examination.