11th Standard Syllabus & Materials
11th Standard
TN 11th Tamil இயற்கை வேளாண்மை,சுற்றுச்சூழல் -செய்யுள் - மனோன்மணீயம் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil என்னுயிர் என்பேன் -துணைப்பாடம் - இசைத்தமிழர் இருவர் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மொழி கலை -செய்யுள் - ஒவ்வொரு புல்லையும் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - இலக்கணம் - பகுபத உறுப்புகள் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - துணைப்பாடம் - வாடிவாசல் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - செய்யுள் - குறுந்தொகை Important Questions And Answers Study Material - QB365 Set A

Published on: 27/09/2019
Functions
Download Tamil Nadu 11th Standard Computer Science question papers, model tests, one-mark questions, important questions, and public exam papers in PDF format. Free study materials and answer keys for TN State Board students.
Questions + Answers key
Take MCQ Computer Science Test

1.
Write the important of ctype.h header file.
2.
Write a note on const keyword?
3.
Write the syntax of function definition
4.
Differentiate srand ( ) and rand ( ) function.
5.
Give an example of using isalnum() function?
6.
What is the function of gets() and puts() function?
7.
What is the function of getchar () and putchar() function?
8.
Name any four functions belongs to stdio.h?
9.
What is stdio.h?
10.
What does header file includes?
11.
Write a note on Local Scope.
12.
What is Parameter and list its types?
13.
What are importance of void data type.
14.
Write about strlen() function.
15.
Define Functions.
1.
This header file defines various operations on characters. The various character functions available in C++. The header file ctype.h is to be included to use these functions in a program
2.
The scope operator reveals the hidden scope of a variable. The scope resolution operator (::) is used for the following purpose. To access a Global variable when there is a Local variable with same name.
3.
The general syntax of a function definition is:
Return_Data _Type Function _ name (parameter list)
{
Body of the function
}
4.
The srand() function in C++ seeds the pseudo random number generator used by the rand() function. The seed for rand() function is 1 by default. It means that if no srand() is called before rand(), the rand() function behaves as if it was seeded with srand(1). The srand() function takes an unsigned integer as its parameter which is used as seed by the rand() function. It is defined in < cstdlib >or< stdlib.h >header file.
5.
int r=isalnum('5');
cout << isalnum('A') << '\t' << r;
But the statements given below assign 0 to the variable n, since the given character is neither an alphabet nor a digit.
charc = '$';
int n = isalnum(c);
cout << c;
Output:
0
6.
Function gets() reads a string' from standard input and stores it into the string pointed by the variable. Function puts() prints the string read by gets() function in a newline.
7.
The predefined function getchar() is used to get a single character from keyboard and putchar() functions is used to display it.
8.
getchar(), putchar(), gets(), puts()
9.
stdio.h is a header file contains pre-defined "standard input/output" functions
10.
Data types and constants used with the library functions are defined in them
11.
(i) A local variable is defined within a block. A block of code begins and ends with curly braces { }.
(ii) The scope of a local variable is the block in which it is defined.
(iii) A local variable cannot be accessed from outside the block of its declaration.
(iv) A local variable is created upon entry into its block and destroyed upon exit
12.
Arguments or parameters are the means to pass values from the calling function to the called function. The variables used in the function definition as parameters are known as formal parameters. The constants, variables or expressions used in the function call are known as actual parameters.
Types : Default arguments and Constant Arguments.
13.
Void type has two important purposes:
(I) To indicate the function does not return a value
(ii) To declare a generic pointer
14.
The strelen() takes a null terminated byte string source as its argument and returns its length. The length does not include the null(\0) character.
15.
A large program can typically be split into small subprograms (blocks) called as functions where each sub-program can perform some specific functionality. Functions reduce the size and complexity of a progrann, makes it easier to understand, test, and check for errors.
11th Standard Syllabus & Materials
11th Standard
TN 11th Tamil பீடு பெற நில் - செய்யுள் - காவடிச்சிந்து Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - உரைநடை - மலை இடப்பெயர்கள் : ஓர் ஆய்வு Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மாமழை போற்றுதும் - துணைப்பாடம் - யானை டாக்டர் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மாமழை போற்றுதும் - செய்யுள் - ஐங்குறுநூறு Important Questions And Answers Study Material - QB365 Set A
Tamilnadu Stateboard 11th Standard Subjects

Maths

Commerce

Economics

Biology

Business Maths and Statistics

Accountancy

Computer Science

Physics

Chemistry

Maths

Biology

Economics

Physics

Chemistry

History

Business Maths and Statistics

Computer Science

Accountancy

Computer Applications

History

Computer Technology

Commerce

Computer Applications

Computer Technology

Tamil

English

French
Tamilnadu Stateboard Standards