0% found this document useful (0 votes)
85 views8 pages

Vyankatesha Computech: Certificate in C & C++ Programming (CCC) - THEORY PAPER

1. The document contains a C++ programming theory exam paper with two sections - (A) Fill in the blanks and (B) True or False. 2. Section A contains 15 fill in the blank questions testing concepts like inheritance, I/O streams, functions, variables, operators, headers etc. 3. Section B contains 10 true/false questions on concepts like constructors, comments, friend functions, case-sensitivity, encapsulation and dynamic memory allocation in C++.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views8 pages

Vyankatesha Computech: Certificate in C & C++ Programming (CCC) - THEORY PAPER

1. The document contains a C++ programming theory exam paper with two sections - (A) Fill in the blanks and (B) True or False. 2. Section A contains 15 fill in the blank questions testing concepts like inheritance, I/O streams, functions, variables, operators, headers etc. 3. Section B contains 10 true/false questions on concepts like constructors, comments, friend functions, case-sensitivity, encapsulation and dynamic memory allocation in C++.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 8

VYANKATESHA COMPUTECH

Certificate In C & C++ Programming (CCC) - THEORY PAPER


TIME 1 HR Marks: 50

A) FILL IN THE BLANKS WITH PROPER WORDS: (30)


1) _________________ variable are used to store floating point numbers.

a) Float b) int c) str

2) cout is an _________________ from a standard C++ Library.

a) Object b) Class c) constant

3) A _________________ is place to store information.

a) Variable b) Constants c) None

4) Each element of an array can be referred by the array name and a _________________.

a) Superscript b) Array value c) Subscript

5) _________________ is the concept of using same name for two or more functions.

a) Overloading b) Member Function c) Class

6) A special member function for automatically created class is called _________________.

a) Constructor b) Destructor c) Dynamic Memory

7) ________________ is the minimum range of Signed Integer.

a) -32680 b) -32687 c) -32768

8) A Constructor is called whenever ________________.

a) A Object is Declared b) An Object is used c) A Class is declared

9) An ___________________ is a collection of data items its called elements.

a) Array b) Structure c) None

10) ___________________ is used to represent pointer symbol.

a) + b) & c) *

11) ___________________ keyword is used to create structures.

a) Structure b) Struct x c) Struct

12) Do-While Loop tests the condition ____________________.

a) At the top of the Loop b) At the Middle of the Loop c) At the End of the Loop
13) The Exit() Function is a ________________. P.T.O.

a) Closer Function b) Prototype Function c) Standard Library Function

14)In C++ >> operator is called

a) Extraction b) Insertion c)Greater than d)None

15) In C++ standard header file is used in every programme is ________

a) #include<iostream.h> b)#include<conio.h> c) #include<stdio.h> d)#include<math.h>

B) TRUE OR FALSE: (20)


01) C++ is a Complied Language.

a) TRUE b) FALSE

02) C++ us a case sensitive language.

a) TRUE b) FALSE

03) Destructor can be overloaded.

a) TRUE b) FALSE

04) C++ was originally developed by Bjarne Stroustrup.

a) TRUE b) FALSE

05) In ‘C’ program, all variables must be declared before they are used.

a) TRUE b) FALSE

06) scanf function is used to display information on the Monitor.

a) TRUE b) FALSE

07) Do while loop tests the condition at the End of the Loop.

a) TRUE b) FALSE

08) New operator is use in C Language

a) TRUE b)FALSE

09) Protected access specifier is use in only in inheritance

a) TRUE b)FALSE

10) One base class and two derived class is one of the example of Multiple Inheritance

a) TRUE b)FALSE
VYANKATESHA COMPUTECH
Certificate In C & C++ Programming (CCC) - THEORY PAPER
TIME 1 HR Marks: 50

A) FILL IN THE BLANKS WITH PROPER WORDS: (30)


1) _________________ variable are used to store floating point numbers.

a) Float b) int c) str

2) printf is an _________________ statement in C.

a) Input b) Output c) constant

3) A _________________ is place to store information.

a) Variable b) Constants c) None

4) Each element of an array can be referred by the array name and a _________________.

a) Superscript b) Array value c) Subscript

5) _________________ is the concept of using different datatatype variable.

a) Structure b) Array c) Switch

6) A special variable which store memory address only is called _________________.

a) Pointer b) Variable c) File

7) ________________ is the minimum range of Signed Integer.

a) -32680 b) -32687 c) -32768

8) A format specifer for character is ________________.

a) %c b) %d c) %s

9) An ___________________ is a collection of data items its called elements.

a) Array b) Structure c) None

10) ___________________ is used to represent pointer symbol.

a) + b) & c) *

11) ___________________ keyword is used to create structures.


a) Structure b) Struct x c) Struct

12) Do-While Loop tests the condition ____________________.

a) At the top of the Loop b) At the Middle of the Loop c) At the End of the Loop

P.T.O.

13) The Turnery Operator is a ________________.

a) Condition Operator b) Looping Operator c) Structure Operatopr

14)In C && operator is called _______

a) and b) or c)Not d)None

15) In C standard header file is used in every programme is ________

a) #include<iostream.h> b)#include<conio.h> c) #include<stdio.h> d)#include<math.h>

B) TRUE OR FALSE: (20)


01) C is a Complied Language.

a) TRUE b) FALSE

02) C us a case sensitive language.

a) TRUE b) FALSE

03) Switch is looping statement

a) TRUE b) FALSE

04) C was originally developed by Bjarne Stroustrup.

a) TRUE b) FALSE

05) In ‘C’ program, all variables must be declared before they are used.

a) TRUE b) FALSE

06) scanf function is used to display information on the Monitor.

a) TRUE b) FALSE

07) Do while loop tests the condition at the End of the Loop.

a) TRUE b) FALSE

08) == operator is use in C Language

a) TRUE b)FALSE
09) For is looping statement

a) TRUE b)FALSE

10) Group of the same datatype element is called Array

a) TRUE b)FALSE
VYANKATESHA COMPUTECH
C++ Programming THEORY PAPER
TIME 1 HR Marks: 50

A) FILL IN THE BLANKS WITH PROPER WORDS: (30)


1. Which allows you to create a derived class that inherits properties from more than one base class?

A. Multilevel inheritance B. Multiple inheritance C. Hybrid Inheritance D. Hierarchical Inheritance

2. The standard input stream, which refers to the keyboard, is called


A. cin
B. cout
C. stin
D. stout

3. In C++ a function contained within a Class is called ________________.

1. A Member Function 2. An Operator 3. A Class Function

4. Which feature in OOP allows reusing code?

A) Polymorphism B) Inheritance C) Encapsulation D) Data hiding

5. A Constructor is called whenever ________________.


1. A Object is Declared 2.An Object is used 3.A Class is declared
6. _________________ is used to destroy the objects that have been created by a constructor

1. Constructor 2.Destructor 3. Class

7. C++ is a ___________________________________.

1. Machine Oriented Programming 2 Object Oriented Programming 3. Low Level Language

8. A _________________ can have access to only other static members

1. static function 2. static member 3.static properties

9. In C++ standard header file is used in every programme is ________

a) #include<iostream.h> b)#include<conio.h> c) #include<stdio.h> d)#include<math.h>

10. The body of a C++ function is surrounded by _____


A. parentheses
B. angle brackets
C. curly brackets
D. square brackets

11. C++ Language has been developed by _________________.


1. Bjarne Strastroup 2.Ken Thompson 3. Dennis Ritchie
P.T.O.
12. _________________ variable are used to store floating point numbers

1. Float 2.int 3.str

13. A special variable which store memory address only is called _________________.

a) Pointer b) Variable c) File

14. The major Goal of Inheritance in C++ is ________________.

1.To help Modular Programming 2.To Extend Capability of Code 3.To hide details of Base Classes

15. The constructor has the same name as the _________________.

1. Variable 2. Class 3.Object

B) TRUE OR FALSE: (20)


1. Constructors can be virtual.

a) TRUE b)FALSE

2. The Standard C++ Comment is /.

a) TRUE b)FALSE

3. Friend Function is a member function of class.

a) TRUE b)FALSE

4. In C++ variable can be declared any where within the program.

a) TRUE b)FALSE

5. C++ us a case sensitive language.

a) TRUE b)FALSE

6. Destructor can be overloaded.

a) TRUE b)FALSE

7. The Mechanism by which the data & function are bound together with in an object
definition is called Encapsulation.

a) TRUE b)FALSE

8. It is not possible to overload the function

a) TRUE b)FALSE

9. New operator is use to declare the memory dynamically

a) TRUE b)FALSE

10. Friend function works as a bridge of two class

a) TRUE b)FALSE

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy