[PDF] 3rd-sem-object-oriented-programming-using-c-computer-sample





Previous PDF Next PDF



Indian Institute of Technology Kharagpur

30 Sept 2013 Questions have been shuffled across different question papers. 7. No ... c * y / z + y / z * c)); printf("Expr_2 = %lf " x - s * t * - c ...



Model Question Papers

28 Nov 2018 ... C suitable program. Explain each of the parameter it takes in detail. 6 CO5 L3. 1.4.1. 7(c) A file consists of binary data. Write a program to ...



Question Paper EN : JAM 2023

(C) If ′( ̅) < the firm will sell some of its capital. (D) If ′( ̅) =



IIT MADRAS ZANZIBAR SCREENING TEST 2023

For Question 5 and 6 select the one word that has nearly the same meaning as the italicized word in the context of the sentence. Questions 7-10 are based 



SECTION – A

the full employment output equals 1000 the full employment equilibrium price level in the economy is . (in integer). END OF THE QUESTION PAPER.



Indian Institute of Technology Kharagpur

2 Sept 2013 Answer all questions in the space provided in this question paper itself. ... Consider the C program below (with gaps to be filled in) to perform ...



Introduction to C Programming

16 Feb 2023 ... question papers for the course (duration 03 hours). 1. The question paper will have ten questions. Each question is set for 20 marks. 2 ...



Indian Institute of Technology Kharagpur

25 Nov 2013 This question paper comprises 6 questions in 16 pages (8 sheets). 01 ... (c) Fill up the missing codes in the function below where void Swap ...



Model Question Paper for the M.Tech. Admissions Test

Disclaimer about this document: This question paper is a model for the admissions-test to IEOR depart- ment at IIT Bombay. C. Communication skills play a ...



C programming for Problem Solving[18CPS13/23] QUESTION

C programming for Problem Solving[18CPS13/23]. QUESTION BANK PREAPRED BY: Dr.Jyoti Metan. Module 1 : Introduction to Computer Hardware & Software. Sl. No.



Indian Institute of Technology Kharagpur

30-Sept-2013 Questions have been shuffled across different question papers. ... (c) What will be the output of the program if nMax is initialized to 2K ...



Indian Institute of Technology Kharagpur

25-Nov-2013 Programming and Data Structures (CS 11001). Students: 700 ... This question paper comprises 6 questions in 16 pages (8 sheets).



3rd-sem-object-oriented-programming-using-c-computer-sample

Sample Question Paper. Program Name. : Computer Engineering Program Group. Program Code. : CO/CM/IF/CW. Semester. : Third. Course Title.



PROGRAMMING FOR PROBLEM SOLVING DIGITAL NOTES B

C is a high-level language used for system software and new application code. ALGORITHM: Algorithms was developed by an Arab mathematician. It is chalked out 



BCA-I-II-III-YEAR.pdf

BCA-103 Programming in C++ The question paper contains 3 sections. ... Examiner will prepare question paper of Practical Examination.



1 of 28

C. This logo can be reproduced as shown above by using a four colour screen printing process. D. The visual properties of the English font match the 





IIT ASHRAM BRINGS SAMPLE PAPER - Vadodara

The question paper consists of 4 Sections. If A is B's brother B is C's sister and C is D's ... Pre-Foundation Program for 6th



Online BSc Degree and Diploma Program

02-Nov-2020 IIT Madras India's top technical institute



IIT ASHRAM BRINGS SAMPLE PAPER

The question paper consists of 4 Sections. are marked a b



Programming in C: Basics - IIT Kharagpur

Programming in C: Basics CS10001: Programming & Data Structures Dept of CSE IIT KGP Pallab Dasgupta Professor Dept of Computer Sc & Engg Indian Institute of Technology Kharagpur



Model Question Paper C-PROGRAMMING FOR PROBLEM SOLVING (18

question we try to verify it by writing iterative and recursive code for the following image Consider the functions drawSquareIter and drawPatternRec Both create the same final image drawSquareIter is an iterative function whereas drawPatternRec is a recursive one (a) Following is the incomplete code for the function drawSquareIter Fill



CS8251 - PROGRAMMING IN C UNIT-I PART A

3 Write any two preprocessor directives in C Preprocessor directive instructions are used to instruct the preprocessor to expand/translate the source program before compilation The two types of preprocessor directives are #define to define Macro Global constant #include to include library files 4



Model Question Paper C-PROGRAMMING FOR PROBLEM SOLVING

Model Question Paper I/II Semester C-PROGRAMMING FOR PROBLEM SOLVING (18CPS13/23) Time: 3 hrs Max Marks: 100 Note: Answer any FIVE full questions choosing one full question from each module MODULE 1 1 a Explain different types of computer (6Marks) b What is Software? Explain different types of software (6 Marks) c



Programming in C - IIT Kharagpur

• C is a general-purpose structured programming language – Resembles other high-level structured programming languages such as Pascal and Fortran-77 – Also contains additional features which allow it to be used at a lower level • C can be used for applications programming as well as for systems programming



Searches related to iit c programming question papers filetype:pdf

programming for Problem Solving[18CPS13/23] QUESTION BANK PREAPRED BY: Dr Jyoti Metan Module 1 : Introduction to Computer Hardware & Software Module : II Branching & Looping Module : III Array and Strings Module IV : Functions & Recursion Module: V Structures Pointers Preprocessor Directives

How long is model question paper I/II?

    Model Question Paper I/II Semester C-PROGRAMMING FOR PROBLEM SOLVING (18CPS13/23) Time: 3 hrs. Max. Marks: 100 Note: Answer any FIVE full questions, choosing one full question from each module.

How long is model question paper Programming in C and data structures?

    Model Question Paper PROGRAMMING IN C AND DATA STRUCTURES Model Question Paper PROGRAMMING IN C AND DATA STRUCTURES (14PCD13/14PCD23) Time: 3 hrs.

How long is C-programming for problem solving (18cps13/23)?

    Model Question Paper C-PROGRAMMING FOR PROBLEM SOLVING (18CPS13/23) MODULE 1 OR Model Question Paper I/II Semester C-PROGRAMMING FOR PROBLEM SOLVING (18CPS13/23) Time: 3 hrs. Max. Marks: 100 Note: Answer any FIVE full questions, choosing one full question from each module.
1

Scheme - I

Sample Question Paper

Program Name : Computer Engineering Program Group

Program Code : CO/CM/IF/CW

Semester : Third

Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs.

Instructions:

(1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order

Q.1 Attempt any Five of the following 10 Marks

A. Explain with suitable example, syntax of for loop in C++.

B. Explain concept of abstract class.

C. State the use of scope resolution operator and its use in C++.

D. State use of new operator.

E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer

Q.2 Attempt any Three of the following 12 Marks

A. Write a C++ program that replaces the string "Computer" in the String "Diploma in Computer Engineering" with string "Information Technology". B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named 'Train' representing following members:

Data members :-

- Train Number 22316

Employee

Employee Name, Employee

ID

Getdata(), Putdata() Salary : Private derived

from Employee

Basic Pay, HRA, DA, CLA

Calculate Salary()

D Q.3 A A B C D Q.4 A A B C M

Write a

D. State a

overrid

Attempt an

A. Write a

functio

B. Write a

C. Answe

a. b.

D. State r

Attempt an

A. A hi cl in

B. Write

is 34 5

C. Write a

- Train N - Source - Destin - Journ e - Capaci

Member fun

- Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following

Define con

Give reason

rules of oper ny Three of

An education

ierarchical r lasses to rep nformation a a C++ prog

521 , output

a C++ prog Name e ation ey Date ity nctions: ise members

Train data

y data gram to test ints of differ f the follow gram to calcu to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cl a rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two compl e ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i rse order.(Ex ng "+"opera 2 function

2 Marks

using friend file r.

2 Marks

. The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member.

Q.5 Attempt any Two of the following 12 Marks

A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as:

John 34567

Hari 56788

Use a class object to store each set of data.

C. Define a class named 'Bank Account' to represent following members:

Data members :-

- Account Number - Name of Depositor - Account Type - Balance Amount

Member functions:

- Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers.

Q.6 Attempt any Two of the following 12 Marks

A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test private: int x; public:

Test(int x = 0) { this->x = x; }

void change(Test *t) { this = t; } void print() { cout << "x = " << x << endl; } void main()

Test obj(5);

Test *ptr = new Test (10);

obj.change(ptr); obj.print(); 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5

Scheme - I

Sample Test Paper - I

(40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group

Program Code : CO/CM/IF/CW

Semester : Third

Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour

Instructions:

(1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order

Q.1 Attempt any FOUR of the following 8 Marks

a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers.

Q.2 Attempt any THREE of the following 12 Marks

a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316
6

Scheme - I

Sample Test Paper - II

(60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group

Program Code : CO/CM/IF/CW

Semester : Third

Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour

Instructions:

(1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order

Q.1 Attempt any FOUR of the following 8 Marks

a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations.

Q.2 Attempt any THREE of the following 12 Marks

a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316
7 b. Correct the syntactical and logical errors in the following and explain program: class test

Private:

int m; public: void getdata() cout<<"Enter No:"; cin>> m; void display() cout<T->getdata();

T->display();

test *p; p=new test; p.getdata(); (*p).display(); c. Write a C++ program to overload area() function to calculate area ofquotesdbs_dbs10.pdfusesText_16
[PDF] ikea cigna

[PDF] il 1040 form 2018 pdf

[PDF] il area code map

[PDF] il est en cours de cheminement

[PDF] il faut être de son temps translation

[PDF] il y a combien de continents

[PDF] il y a combien de mois dans une annee

[PDF] il y a combien de personnes dans ta famille

[PDF] ile de france nombre de deces covid

[PDF] ile kcal ma cheeseburger z mc

[PDF] iliad pronunciation guide

[PDF] illegal activities in hotel rooms

[PDF] illegal apartment eviction

[PDF] illegal apartment nyc tenant rights

[PDF] illegal apartment?