Input Output Statements

1. What is an alternative name for an object?

  • Function
  • Variable
  • Reference
  • Initialization
View Answer
Reference 

2. The Const modifier on its own is equivalent to :

  • Const float
  • Const int
  • Const Char
  • None of these
View Answer
Const int

3. Setw ( ) and Setprecision ( ) manipulators are use to ?

  • Formate output data
  • Formate Processing data
  •  Formate Input data
  •  None of the these
View Answer
Formate output data 

4. Which data type is used for an empty set of values and non – returning function?

  • Void data types
  • float data types
  •  Double data types
  • None of these
View Answer
Void data types 

5. Which of the following has no reference?

  • Array
  • Pointer
  • Reference
  •  All of these
View Answer
 All of these

6. A memory location that is shared by two or more different variables is known as :

  • Enumeration
  • Union
  • Structure
  • Class
View Answer
Union

7. To identify the type of data and associated operations of handling it is known as :

  • Data function
  • Data type
  •  Data handing
  • None of these
View Answer
Data type 

8. Which of the following is not a user-defined derived data type?

  • Union
  •  Structure
  •  Class
  • Function
View Answer
Function

9. Binary search algorithm uses :

  • Divide and conquer method
  •  Bubble sorting technique
  • Linear way to search values
  • None of these
View Answer
Divide and conquer method 

10. Sequence of objects that have same type is called :

  •  Stack
  • Array
  • Operator
  • Function
View Answer
Array 

11. Which is a type of data type?

  • Derived types
  •  Fundamental type
  • Both a and b
  • None of these
View Answer
Both a and b 

12. Who describes all the properties of a data type?

  • Structure
  • Main
  • Object
  • Class
View Answer
Class 

13. An alternative method for naming integer constants is known as : Computer Sc

  • Enumeratien
  •  Union
  • Function
  • Structure
View Answer
Enumeratien 

14. ASCII value of Ais :

  • 64
  • 65
  • 96
  •  97
View Answer
65

15. What is the size of the w chart in C ++?

  • 4
  • 2 or 4
  •  2
  • Based on the number of bits in the system
View Answer
Based on the number of bits in the system 

16. The data type that is not composed of other data types is known as :

  •  Derived data types
  •  Composed data types
  • Fundamental data types
  • None of the above
View Answer
Fundamental data types

17. The minimum range of unsigned char is :

  •  0 to 255
  •  0 to 244
  •  -128 to 127
  • none of these
View Answer
 0 to 255

18. A variable that holds a memory address :

  • Pointer
  •  Array
  • Function
  • None of these
View Answer
Pointer 

Leave a Comment