Paper C 2004

  • July 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Paper C 2004 as PDF for free.

More details

  • Words: 286
  • Pages: 2
University Of Peshawar Computer Science (Part-II) Paper-C 2004 Time: 3 hrs

Maximum Marks: 25

Note: Attempt any FIVE questions selecting TWO questions from section-A and three from section-B. All questions carry equal marks. SECTION-A Q1. a). b). c). Q2. Q3. Q4.

Differentiate between the following: Traditional Approach and Database Approach. Compound key and Composite key. Hierarchical Data Model and Network Data Model. What is Database Management System (DBMS)? Discuss different functions of DBMS. What is integrity? Discuss different steps that should be taken to ensure data integrity. Write short notes on any THREE of the following: a). Relational Data Model. b). DBA c). Types of Security. d). SQL and its feature. SECTION-B

Q5. Differentiate between the following. a). C & C++ b). Structure programming and Object-Oriented Programming. c). Constructor and Destructor. Q6. a). What is Object-Oriented Programming? What are the main characteristics of Object-oriented programming? b). Write a few names of Object-oriented languages. Q7. a). Write note on Functions in C++ language. b). Write a program to sort any 10 numbers in an ascending order for sorting process, use function and print the result in main function.

Q8. a). b). Q9. a). b).

What is class? How would you differentiate between Class and Object? How the class and Object are declared in C++ Program. Write a program in C++ by using a class to calculate the Factorial of any given number. The class should have its constructor functions. What is Operator Overloading? Why do we need operator overloading? Write the names of the operators that cannot be overloaded. Write a C++ Program showing overloading any binary operator.

Q10. Write short notes on any TWO of the following. a). Polymorphism b). Copy Constructor. c). Friend Functions. --------------------------------------------

Related Documents

Paper C 2004
July 2020 1
Ponty Eje C 2004
April 2020 0
September 2004 Paper 1
November 2019 5
Physics 2004 Paper I
November 2019 28