FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Get the Nursing Question Bank Android App

Access 10+ years of Question Papers with answers, notes for B.Sc Nursing on the go!

Install From Play Store

Download OU B-Tech First Year 2014 June 6006 Programming In C And C++ Question Paper

Download OU (Osmania University) B.Tech (Bachelor of Technology) First Year (1st Year) 2014 June 6006 Programming In C And C++ Question Paper

This post was last modified on 20 November 2019

--- Content provided by​ FirstRanker.com ---

Note: Answer all questions from Part-A. Answer any FIVE questions from Part-B.
PART A (25 Marks)
1 What is the minimum number of times the body of a do... while loop is executed?
2 What does printf ("%d, %d\n", 5/3, 5 `
)

--- Content provided by FirstRanker.com ---

//0 3) print to standard output?
3 Give the precedence (order of execution) of logical operators in C.
4 What is the purpose of the keyword void in a function declaration?
5 Given that k is an integer array starting at location 2000, kPtr is a pointer to k and
each integer is stores in 4 bytes of memory, what location does kPtr + 3 point to?

--- Content provided by‌ FirstRanker.com ---

6 What are enumeration constants? How do you declare them?
7 What is a scope resolution operator?
8 What is a copy constructor?
9 What is the purpose of a virtual destructor?
10 What is the difference between function overriding and overloading?

--- Content provided by‌ FirstRanker.com ---

PART ? B (50 Marks)
11 a) Write a program to compute the roots of a quadratic equation.
b) Draw the block diagram of a digital computer with various functional units.
12 a) Write a program to read a matrix of size m X n form key board and display the
same on screen using functions.

--- Content provided by‍ FirstRanker.com ---

b) What are different storage classes in C? Explain their usage.
13 a) Write a program to enter strings from user and then sort tnem in alphabetical
order ( You can use string standard library functions).
b) Explain the usage of various preprocessor directives in conditional compilation.
14 a) Write a program to implement complex number class with overloaded operators

--- Content provided by FirstRanker.com ---

4., , <<, >>,
h) What is this pointer? Illustrate different uses of it with suitable examples.
'1 5 a) In what order are class constructors and destructors are called when a derived
class object is created and deleted? Illustrate with an example.
b) What are different stream 10 manipulators? Illustrate with examples.

--- Content provided by FirstRanker.com ---

16 a) Write a C/C++ program to count the number of characters in a given text file,
b) Differentiate between break and continue.
17 Write short notes on
a) Machine and assembly languages b) Recursive functions
c) Dynamic binding

--- Content provided by‌ FirstRanker.com ---

FirstRanker.com - FirstRanker's Choice