MABS Institution
11th Computer Science Monthly Test - 1 ( Functions )-Aug 2020
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
What is stdio.h?
-
Write the importance of main() function
-
Write the output of the following program.
#include < string.h >
#include < iostream >
using namespace std;
intmain()
{
char source[] = "Computer Science";
cout << "\nGiven String is "<< source<< " its Length
is " << strlen(source);
return 0;
} -
Write the character functions available in ctype.h?
-
Write a note on?
(i) isupper() (ii) toupper'() (iii) strupn() -
Write a program using pow( ) and sin( ) function.
-
What is divide and conquer?
-
Write anote on isdigit ().
-
Write short note on pow() function in C++.
-
What is return statement with example?
-
-
Write a note on isalpha() function.
-
What is the difference between isuppr() and toupper() functions?
-
-
What is the use of return statement?
-
Define library functions.
-
What is isdigt ( )? Give example
-
Write a program to accept any integer number and reverse it.
-
Given data: Principal amount Rs. 50000
Number of years 5
Rate of interest 7
To find the simple interest of the above mentioned given data. Write a C++ program using inline functions. -
Write about function prototype
-
Explain scope of variable with example.
-
-
Explain Inline function with an example
-
What are the different forms of function return? Explain with example.
-
-
Explain about address method.
-
Explain the use of scope resolution operator with an example
-
Explain Call by value method with suitable example.
-
What is Recursion? Write a program to find GCD using recursion.