MABS Institution
11th Computer Science Monthly Test -1 ( Introduction to C++ )-Aug 2020
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Name any four Escape sequence with nongraphical character.
-
If a= 58, find a = a++ + ++a; a=a++ + ++a
-
What is the value of i of the following code executes?
a) int i = 8; int n = i >>=2; b) int i=17 i >>=1; -
Given the following expression fine the result if the value of a = 5, b = 6, c = 7:
(i) (a> b) && (b < c)
(ii) (a = = b) && (b > c)
(iii) ! (a> b) -
What are the two values associated with a symbolic variable?
-
Write a note an insertion or put to operator.
-
What is the use of a header file?
-
Differentiate float type and double type intiatigations?
-
What is association?
-
Differentiate “=” and “==”.
-
-
Write a C++ program to find the sum of two integer numbers?
-
Is C++ case sensitive? What is meant by the term “case sensitive”?
-
-
Write the following in real constants.
(i) 15.223
(ii) 211.05
(iii) 0.00025. -
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
-
Assume a=10, b=15; What will be the value of a^b?
-
Write a C++ program to evaluate the expression : \(p=\frac { { \left( a+b \right) }^{ 3 } }{ \left( a-b \right) } \)
-
Write the benefits of C++;
-
Explain steps involved in creating and execution of C++ program.
-
Explain any five type of expression used in C++ Give an example for each.
-
Write a program to accept perpendicular and base of a right angles triangle. Calculate and display hypotenuse, area, and perimeter of the triangle.
-
-
Write a C++ program that initializes three variable namely hours worked, Pay rate and tax rate and then calculates and prints payment amount and Tax payable as hours worked x pay rate and payment amount x tax rate respectively
-
Write a program to find the difference between Simple Interest and Compound Interest when Principal, Rate and Time are given, (principal = 500, Rate = 10, Time = 2).
-
-
What are the types of Errors?
-
Explain any five familion applications developed by C++?
-
Explain Bitwise Shift operator with an example.