0% found this document useful (0 votes)
6 views2 pages

C++ Object-Oriented Exam Questions

Uploaded by

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

C++ Object-Oriented Exam Questions

Uploaded by

sri.srikarthi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

NOBLE COLLEGE OF ARTS AND SCIENCE FOR WOMEN, PALAVANATHAM

2024-2025
DEPARTMENT OF COMPUTER SCIENCE & BCA
Internal Examination–II
Class : I [Link]. Computer Science Date : 04.10.2024
Subject : Object Oriented Analysis And Design & C++ Time : 2hrs.
Subject Code : ECSPC12 Total Marks : 40

SECTION-A
Choose the correct answer 6X1=6 Marks
1. What is the size of int data type in C++?
(a)4bytes (b)2bytes (c)8 bytes (d) 16bytes
2. Which of the following is a float-point type in C++?
(a)int (b) double (c) char (d)unsigned int
3. Which operator is used to access the memory address of a variable in C++?
(a) &and operator (b) *dereference operator (c) ->arrow operator (d) . dot operator
4. Which operator is used for dynamic memory allocation in C++?
(a) new (b) malloc (c) alloc (d) alloc_mem
5. What is the size of the void data type?
(a)1 byte (b)2 byte (c)4 byte (d)void data type has no data type
6. Which operator is used to access the member function and variable of a class through a
pointer in C++?
(a)dot operator (b)arrow operator (c)scope resolution operator (d) colon operator

NOBLE COLLEGE OF ARTS AND SCIENCE FOR WOMEN, PALAVANATHAM


2024-2025
DEPARTMENT OF COMPUTER SCIENCE & BCA
Internal Examination–II
Class : I [Link]. Computer Science Date :04.10.2024
Subject : Object Oriented Analysis And Design & C++ Time :2hrs.
Subject Code : ECSPC12 Total Marks : 40

SECTION-A
Choose the correct answer 6X1=6 Marks
1. What is the size of int data type in C++?
(a)4bytes (b)2bytes (c)8 bytes (d) 16bytes
2. Which of the following is a float-point type in C++?
(a)int (b) double (c) char (d)unsigned int
3. Which operator is used to access the memory address of a variable in C++?
(a) &and operator (b) *dereference operator (c) ->arrow operator (d) . dot operator
4. Which operator is used for dynamic memory allocation in C++?
(a) new (b) malloc (c) alloc (d) alloc_mem
5. What is the size of the void data type?
(a)1 byte (b)2 byte (c)4 byte (d)void data type has no data type
6. Which operator is used to access the member function and variable of a class through a
pointer in C++?
(a)dot operator (b)arrow operator (c)scope resolution operator (d) colon operator
SECTION-B
Answer all the questions 2 X7 = 14 Marks
7. (a) Describe the Elements of the object model?
(or)
(b) Explain Basic concept of oop?
8. (a) What is data type? Describe the different type of data type?
(or)
(b)Write an example and explain the use of Inline function?

SECTION-C
Answer any TWO questions 2 X10 = 20 Marks
9. What are the different forms of inheritance supported by C++.Explain with examples?
10. Write down the details about control structure with examples?
11. Discuss details about User defined data type?

SECTION-B
Answer all the questions 2 X7 = 14 Marks
7. (a) Describe the Elements of the object model?
(or)
(b) Explain Basic concept of oop?
8. (a) What is data type? Describe the different type of data type?
(or)
(b)Write an example and explain the use of Inline function?

SECTION-C
Answer any TWO questions 2 X10 = 20 Marks
9. What are the different forms of inheritance supported by C++.Explain with examples?
10. Write down the details about control structure with examples?
11. Discuss details about User defined data type?

You might also like