0% found this document useful (0 votes)
46 views10 pages

C++ Old Paper

1

Uploaded by

Legendary Gaming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
46 views10 pages

C++ Old Paper

1

Uploaded by

Legendary Gaming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 10
OO oa B.Tech I (Second) Semester Examination 2018-19 Course Code:ECS212 Paper ID: 09619275 Computer System and Programming in C++ Time: 3 Hours ee Note: Attempt all questions. 1, Answer any five of the following (limit your answer to 50 words). (2x5=10) a) What do you meant by flow chart? Explain. b) Differentiate between static binding and dynamic binding. ©) What is ASCII code? d) Why RAM is needed in PC? Explain. . ©) What do you meant by real time operating system? Explain. f) What is inline function? Explain. g) What is virtual destructor? h) What do you meant by keywords? 2.a) What is do-while statement? Explain syntax in detail. (5) b) Write a program to check the given number is prime or not. (5) Or a) Write the differences between for and while statements. (5) b) Write a program to explain the switch-case statement. (5) 3.a) What do you meant by memory? Differentiate between primary and secondary memory. (5) b) Convert the following: (5) i) 12, i) QAMHs Or a) What is third and fourth generation of computers? Explain. 5) b) Draw the block diagram of computer and explain CPU and CU in detail. 6) 4. 5. erators? Explain conditional and (5) a) What do you meant by op (5) assignment operators. find out the second largest in a list. b) Write a program to Or a) What is array? Differentiate between array and structure. (5) b) Write a program to check the given string is palindrome or (5) not. What do you meant by recursion? Write a program to find out the factorial using recursion. (10) Or What is inheritance? Write a program to show the concept of (10) multiple inheritance. What is function overloading? Explain with suitable program. : (10 Or ; What is virtual function? Explain with suitable program. (10) OO_ L$ Be, Computer Science IV (Fourth) Semester Examination 2014-15 Course Code: Paper ID: 0834220 SCH02 Object Oriented Programming and CH Times 3 Hours May, Marks: 70 ’ : Note: Attempt six questions in all. Q. No. 1 is compulsory. Answer any five of the following (limit your answer In 50 word: : (4x5=20) 8) What is a default constructor? How is it different from a constructor with default values? b) Can you override constructors? Comment. ©) What do you mean by Function Prototyping? d) Differentiate between class and structure. ©) What is an abstract class? Explain with example. f) What do you mean by nested class? 2) What are applications of this pointer? h) When do ne make a viral function “pure”? What are implications of making a function a pure virtual function? 1 2.a) Discuss significance of scope resolution operator(::) in cH. 6) b) What are the differences between objects and classes? Discuss Instantiation of objects. (5) 3.a) What are class templates? Create a template from array class. (5) b) When and how does the C++ compiler generate an actual function definition from its template? (5) 4.a) What are the advantages of Dynamic Binding? Explain with suitable example. (5) b) What is a virtual base class? Explain with suitable example. (3) 5.a) bv 6.a ) 7. a) b) 8. a) b) Define a class employee which counts the number of employees that are created in main function. (5) What are static data members and member functions? tatic data members and Explain all the access rules for s' member functions. (5) een inline function and macro with suitable (5) loading? Write a program to function overloading. (5) Differentiate betw examples. What is function over! demonstrate the concept of create a data file containing the n employees in a company. (5) dling? Explain it using an 6) Write a program that will name and date of birth of te What is exception han example. What is visibility mode? What are different inheritance visibility modes in C++? (5) Design a class House derived from two classes WINDOW and DOOR. Write an interactive program to model the above relationship. (5) —_—————————<—<_— B, A Tech 11 (Third) Semester Examination 2016-17 Course Code: 1CS304 Time: 3 Hours Note: 1: 4.a) b) 5.a) b) OOP and C++ Attempt six questions in all. Q. No, | is compulsory, Paper 1):0903217 Max, Marks: 60 Answer any five of the following (limit your answer to 50 words). What is derived class? (2x5=10) Explain data types and its different types with suitable example. What is object? Write any one program by using cla: Discuss. Friend Function used in C4 What is Constructor and its type. example. What is ‘Virtual function ? Explain with example. What is Pointer? Explain with suitable example. Explain type conversion. plain with Discuss the different features of Object programming in details. Explain Inheritance and its type. Write a program in C++ using inheritance. What is string and different operation on it. Write a C++ program for reverse a string function. Explain public, example. Write a CH program for addition of two matrixes. h suitable oriented (10) (5) (5) (5) by using (5) private and protected with suitable (5) (5) 6.2) What are different array in C+-, mple. b) Wrte-atC+t progam for find a number. 5 Se, 3.a) What is conditional statement and its 5 suitable example. pes? Explain o Wri aa 2) i gi b) Write a C++ program for finding a greatest = a numbers. any thre oe (3) What are the different operator and expresgs Sion Useq inC++? b) Write a program to swap a two number by using poi 6) inter, (5) B.Tech VI (Sixth) Semester Examination 2014-15 Paper ID: 08781 83 Course Code: BCS610 Object Oriented Programming System Time: 3 Hours Max. Marks: 70 Note: Attempt six questions in all. Q. No. 1 is compulsory. 1. Angwer any five of the following (limit your answer in words’ (4x5=20) 8) Define Object oriented programming (00P) and also write its advantages. b) ole various parameter passing techniques supported by Ht ions. ©) Define static data members and static member funeti d) What is pure virtual function, discuss? e) Write a note on new and delete operators. £) How default argument concept is useful in C++? Justify with an example. g) Whatis the file stream in C+ h) Write the syntax for invoking +? the friend functions. 2. What is Class? Explain the structure of a class with the help of an example. Differentiate between a class and a structure. (10) s? Explain, with examples, the three a What is a derived clas: be inherited. (10) ways in which a class can Write a C++ program using function overloading to find the area of circle and area of triangle. (10) What is Inline function? How is inline function used? Explain with an example? (10) st Write a C++ program to create a template function for quick sort and demonstrate sorting of integers and doubles. (10) What is runtime polymorphism? How virtual functions can be used to implement the runtime polymorphism? Explain with an example. (10) What is iostream in C++? Give the stream class hierarchy. (10) B.Sc, (Hons) | (Mirst) Semester [xaminalion 2017-14 Course Code: BOSTI Paper 1D; 05012H2 Computer System and Progranmlag in C44 Times 3 Hours Max, Marka: 60 — Note; Attempt all questions, Answer any five of the following (limit your answer to 50 words), (2x5=10) a) What is flow chart? by Writea for do while loop, } c) attis a static function? qd) o£: ‘Witch statement, ©) What is formatted VO? 1) Differentiate between array and variable, 8) Define the Characteristics of Ct language. h) What is ASCH? 2: Differentiate Sequence Problem, Selection Problem and Repetition Problem, (10) Or What are Statements of Problem Solving? Explain them with j example, (10) & oe What is Computer? Define its Characteristics and application with example. (10) Or a) Convert the following into its binary equivalent number system: (5) i) (EB4A)16= (?)10 ii) (84) 10=(2)2 b) Differentiate BCD, EBCDIC and Gray code. (5) 4. What is Data Networks? Define the Topology used. (10) Or Define the operators. Explain its type with example. (10) | What are functions? Define scope of variables with example. (10) Or What is classes and objects? Differentiate constructors and (10) destructors. What is polymorphism? Differentiate static and ari binding. (10) Or What is Pure virtual function? Explain with Program. (0)

You might also like