Read and download free pdf of CBSE Class 11 Computer Science Worksheet Set G Solved. Download printable Computer Science Class 11 Worksheets in pdf format, CBSE Class 11 Computer Science All Chapters Worksheet has been prepared as per the latest syllabus and exam pattern issued by CBSE, NCERT and KVS. Also download free pdf Computer Science Class 11 Assignments and practice them daily to get better marks in tests and exams for Class 11. Free chapter wise worksheets with answers have been designed by Class 11 teachers as per latest examination pattern
All Chapters Computer Science Worksheet for Class 11
Class 11 Computer Science students should refer to the following printable worksheet in Pdf in Class 11. This test paper with questions and solutions for Class 11 Computer Science will be very useful for tests and exams and help you to score better marks
Class 11 Computer Science All Chapters Worksheet Pdf
1. Write the names of the header files to which the following functions belong:
i) islower( ) ii) strcpy( )
2. What are the formal parameters and actual parameters of a function?
3. Write definition for a structure EREC that stores information about an employee such as empid, name, address and salary. The address member of EREC stores the information houseno, area and city.
4. How is call-by-value method of function invoking different from call-by-reference method?
Give appropriate examples supporting your answer.
5. Illustrate the use of #define in C++ to define a macro.
6. Give the output of the following program:
#include
void Calc(int &X, int Y=200)
{int TEMP = X + Y;
X += TEMP;
if(Y != 200)
cout<
int main()
{
int A=50, B=20;
Calc(B);
cout<Calc(B);
cout<return 0;
}
7. Write a program using functions to accept a string and a character in the main( ) function. Pass this string and the character to a function named check( ), check how many times the character is present in the string and display the result within the function check( ).
8. Define a structure customer with the following members : Idno, name, units and amount. Write a C++ Program to read Idno, name and number of units consumed for n customers and compute amount as per the following criteria :
Units Amount
1 - 100 200 baiza per unit
101 -300 400 baiza per unit
> 300 500 baiza per unit
For example , if the units consumed is 350, then
amount = 100*0.200 + 200*0.400 + 50*0.500
Display Idno, name, number of units and total amount for n customers.
9. Write a program using functions to check whether a number is perfect or not. The function name is Perfect( ).The number is accepted within the function and result is displayed within the function.
VALUE POINTS
1. i) ctype.h
ii) string.h
2. Formal parameters – parameters appear in the parameter list of function header.
Actual parameters- parameters appear in the function call.
3. struct address
{int houseno;
char area[26];
char city[26];
};
struct EREC - 1 mark
{
int empid;
char name[20];
address adr;
float salary;
};
4. Call by value method
1. In this method, the values of actual parameters are copied into the formal parameters and the fn. Works with its own copy of values
2. The changes in the formal parameters will not be reflected into the actual parameters.
3. The main benefit of this method is that you cannot alter the variables that are used to call the fn. And the original copy of the argument value remains intact.
Any example
Call by reference method
1. In this method, the reference to the original values is passed in the fn.
2. The same value can now be accessed by the original variable name and the reference variable name.
3. Thus, the called fn. Does not create its own copy of the original values, rather it refers to the original values with different names.
4. Thus any change with the data in the fn. Is reflected back in main().
Any example
5. Macro: A macro is a single line function with or without arguments. A macro without arguments is treated like a symbolic constant. A macro with arguments has its arguments substituted for replacement text when macro is expanded.
A macro substitutes text only and does not check for datatypes.
e.g. #define SQUARE(X) X * X
void main()
{
---
cout<
O/P 25
- 1 mark explanation
- 1 mark example
6. Output:
50240
50680
- 1 mark for each correct line
7. for declaration & input statements
for correct logic
for displaying
8. for declaration & input statements
for correct logic
for displaying
9. for declaration & input statements
for correct logic
for displaying
Please click on below link to download CBSE Class 11 Computer Science Worksheet Set G Solved
CBSE Class 11 Computer Science Python Modules Worksheet |
CBSE Class 11 Computer Science Strings Worksheet |
CBSE Class 11 Computer Science Lists Worksheet |
CBSE Class 11 Computer Science Dictionary And Sorting Worksheet |
CBSE Class 11 Computer Science Tuples Worksheet |
All Chapters CBSE Class 11 Computer Science Worksheet
The above practice worksheet for All Chapters has been designed as per the current syllabus for Class 11 Computer Science released by CBSE. Students studying in Class 11 can easily download in Pdf format and practice the questions and answers given in the above practice worksheet for Class 11 Computer Science on a daily basis. All the latest practice worksheets with solutions have been developed for Computer Science by referring to the most important and regularly asked topics that the students should learn and practice to get better scores in their examinations. Studiestoday is the best portal for Printable Worksheets for Class 11 Computer Science students to get all the latest study material free of cost. Teachers of studiestoday have referred to the NCERT book for Class 11 Computer Science to develop the Computer Science Class 11 worksheet. After solving the questions given in the practice sheet which have been developed as per the latest course books also refer to the NCERT solutions for Class 11 Computer Science designed by our teachers. After solving these you should also refer to Class 11 Computer Science MCQ Test for the same chapter. We have also provided a lot of other Worksheets for Class 11 Computer Science which you can use to further make yourself better in Computer Science.
You can download the CBSE Practice worksheets for Class 11 Computer Science All Chapters for the latest session from StudiesToday.com
Yes, the Practice worksheets issued for All Chapters Class 11 Computer Science have been made available here for the latest academic session
There is no charge for the Practice worksheets for Class 11 CBSE Computer Science All Chapters you can download everything free
Regular revision of practice worksheets given on studiestoday for Class 11 subject Computer Science All Chapters can help you to score better marks in exams
Yes, studiestoday.com provides all the latest Class 11 Computer Science All Chapters test practice sheets with answers based on the latest books for the current academic session