CBSE Class 11 Computer Science Output Worksheet

Download Class 11 Computer Science Worksheets for Output

Access printable practice worksheets for Output designed to align with the 2026-27 academic syllabus for Class 11 Computer Science. These structured exercises help students evaluate their conceptual understanding and improve exam readiness.

Access Output Questions and Exercises

Access the complete worksheet PDF for Output below. Regular practice with these targeted questions builds familiarity with standard exam patterns and helps secure higher marks in final Computer Science evaluations.

 TOPIC : OUTPUT QUESTIONS


1. Find the output of the following program. Assume all required header files are already being included in the program.

void Position(int &C1, int C2 = 3)
{ C1 += 2;
C2 += 1; }
void main()
{ int P1 = 20, P2 = 4;
Position(P1);
cout<< P1 << ", " << P2 <Position(P2, P1);
cout<< P1 << ", " << P2 <

2. Find the output of the following program. Assume all required header files are already being included in the program.

void Withdef(int HisNum = 30)
{ for (int I = 20; I <= HisNum; I += 5)
cout<< I << " ";
cout<void Control(int&MyNum)
{ MyNum += 10;
Withdef(MyNum); }
void main()
{
int YourNum = 20;
Control(YourNum);
Withdef();
cout<< "Number = " <

3. Find the output of the following program. Assume all required header files are already being included in the program.

void Encode(char Info[], int N);
void main()
{ char Memo[] = "Justnow";
Encode(Memo, 2);
cout<< Memo <void Encode(char Info[], int N)
{ for (int I = 0; Info[I] != '\0'; I++)
if (I % 2 == 0)
Info[I] = Info[I] - N;
else if (islower(Info[I]))

Info[I] = toupper(Info[I]);
else
Info[I] = Info[I] + N; }

4. Find the output of the following program. Assume all required header files are already being included in the program.

void ChangeIt(char Text[], char C)
{
for (int K = 0; Text[K] != '\0'; K++)
{ if (Text[K] >= 'F' && Text[K] <= 'L')
Text[K] = tolower(Text[K]);
else if (Text[K] == 'E' || Text[K] == 'e')
Text[K] = C;
else if (K % 2 == 0)
Text[K] = toupper(Text[K]);
else
Text[K] = Text[K - 1]; }
}
void main()
{ char oldText[] = "pOwERALone";
ChangeIt(oldText, '%');
cout<< "New TEXT:" <

5. Find the output of the following program. Assume all required header files are already being included in the program.

void Convert(char Str[], int Len)
{
for (int Count = 0; Count < Len; Count++)
{
if (isupper(Str[Count]))
Str[Count] = tolower(Str[Count]);
else if (islower(Str[Count]))
Str[Count] = toupper(Str[Count]);
else if (isdigit(Str[Count]))
Str[Count] = Str[Count] + 1;
Else Str[Count] = '*'; }
}
void main()
{
char Text[] = "CBSE Exam 2015";
int Size = strlen(Text);
Convert(Text, Size);
cout<< Text <for (int C = 0, R = Size - 1; C < Size / 2; C++, R--)
{ char Temp = Text[C];
Text[C] = Text[R];
Text[R] = Temp; }

cout<< Text <

6. Study the following program and select the possible output from it. Assume all required header files are already being included in the program.

void main()
{
randomize();
int Points,LIMIT=5;
Points = 100 + random(LIMIT);
for (int P = Points; P >= 100; P--)
cout<< P << "#";
cout<(i) 103#102#106#100# (ii) 100#101#102#103
(iii) 100#101#102#103#104# (iv) 104#103#102#101#100#

7. In the following C++ program what is the expected value of MyMarks from Options (i) to (iv) given below. Justify answer. Assume all required header files are already being included in the program.

void main()
{ randomize();
int Marks[] = { 99, 92, 94, 96, 93, 95 }, MyMarks;
MyMarks = Marks[1 + random(2)];
cout<(i) 99 (ii) 94 (iii) 96 (iv) None of the above

8. Go through the C++ code shown below, and find out the possible output or outputs from the suggested output options (i) to(iv). Also, write the least value and highest value, which can be assigned to the variable guess. Assume all required header files are already being included in the program.
void main()
{ randomize();
int Guess, High = 4;
Guess = random(High) + 50;
for (int C = Guess; C <= 55; C++)
cout<< C << "#"; }
(i) 50 # 51 # 52 # 54 # 55 # (ii) 52 # 53 # 54 # 55 #
(iii) 53 # 54 # (iv) 51 # 52 # 53 # 54 # 55

9. Observe the following program SCORE.CPP carefully, if the value of Num entered by the user is 5, choose the correct possible output(s) from the options from (i) to (iv), and justify your option. Assume all required header files are already being included in the program.

void main()
{ randomize();

intNum, Rndnum;
cin>>Num;
Rndnum = random(Num) + 5;
for (int N = 1; N <= Rndnum; N++)
cout<< N << ""; }
Output Options:
(i) 1 2 3 4 (ii) 1 2 (iii) 1 2 3 4 5 6 7 8 9 (iv) 1 2 3

10. void main()
{ int A[]={30, 40, 50, 20, 10, 5};
int split=3,k;
for(k=0; k<6; k++)
{ if(kA[k] +=k;
else A[k] *=k; }
for (int k=0; k<6; k++)
{ (k%2==0)? cout<

11. Answer the questions based on the following structure definition:

struct Product
{int code;
char itemname[20];
float price; };
Product P[ ]={ {111,”Tooth Paste”,30.50},{222,”Hair Brush”,78.60},{333,”Bath
Soap”,25.50},{444,”Shampoo”,43.45}};
Give the values of the following:
a) P[1].price b) P[1].itemname[3] c) P[2].price+15 d) P[3].itemname

12. Predict the output of the following program :

#include
void Change(int &x, int y, int z=12)
{int a=x+z;
x=x-y;
y=x*10;
cout<void main( )
{int g=7,k=20,p= -5;
Change(g,k);
cout<Change(k,p,g);
cout<

Please click on below link to download CBSE Class 11 Computer Science Output Worksheet

Exam Preparation Worksheet for Class 11 Computer Science Output

Output Printable Worksheet for Class 11 Computer Science

Explore reliable practice questions for Output tailored for Class 11 Computer Science learners. Use these structured worksheets to evaluate preparedness and strengthen problem-solving skills.

How to Use These Practice Sheets

Built using the official NCERT book for Class 11 Computer Science, these practice materials provide reliable academic guidance. Pair your practice with our recommended NCERT solutions to master optimal problem-solving approaches.

Enhance Speed with Online Practice

Follow up your worksheet practice by attempting the interactive online Computer Science MCQ test for this chapter to evaluate your execution speed. All platform resources are free to access.

FAQs

Where can I download the latest PDF for CBSE Class 11 Computer Science Output Worksheet?

You can download the teacher-verified PDF for CBSE Class 11 Computer Science Output Worksheet from StudiesToday.com. These practice sheets for Class 11 Computer Science are designed as per the latest CBSE academic session.

Are these Computer Science Class 11 worksheets based on the 2026-27 competency-based pattern?

Yes, our CBSE Class 11 Computer Science Output Worksheet includes a variety of questions like Case-based studies, Assertion-Reasoning, and MCQs as per the 50% competency-based weightage in the latest curriculum for Class 11.

Do you provide solved answers for CBSE Class 11 Computer Science Output Worksheet?

Yes, we have provided detailed solutions for CBSE Class 11 Computer Science Output Worksheet to help Class 11 and follow the official CBSE marking scheme.

How does solving CBSE Class 11 Computer Science Output Worksheet help in exam preparation?

Daily practice with these Computer Science worksheets helps in identifying understanding gaps. It also improves question solving speed and ensures that Class 11 students get more marks in CBSE exams.

Is there any charge for the Class 11 Computer Science practice test papers?

All our Class 11 Computer Science practice test papers and worksheets are available for free download in mobile-friendly PDF format. You can access CBSE Class 11 Computer Science Output Worksheet without any registration.