CBSE Class 11 Computer Science Programming Question Worksheet Set B

Access the latest CBSE Class 11 Computer Science Programming Question Worksheet Set B. We have provided free printable Class 11 Computer Science worksheets in PDF format, specifically designed for Programming Question. These practice sets are prepared by expert teachers following the 2025-26 syllabus and exam patterns issued by CBSE, NCERT, and KVS.

Programming Question Computer Science Practice Worksheet for Class 11

Students should use these Class 11 Computer Science chapter-wise worksheets for daily practice to improve their conceptual understanding. This detailed test papers include important questions and solutions for Programming Question, to help you prepare for school tests and final examination. Regular practice of these Class 11 Computer Science questions will help improve your problem-solving speed and exam accuracy for the 2026 session.

Download Class 11 Computer Science Programming Question Worksheet PDF

TOPIC : Programming QUESTIONS ( Structures and User defined Functions )

1 Write a function called zero_small() that has two integer arguments being passed by reference and sets the smaller of the two numbers to 0. Write the main program to access the function.

2 Write a function that receives two numbers as an argument and display all odd numbers between these two numbers. Call this function from main( ).

3 Write a function SECOND_HIGHEST() having one dimensional float array as an argument and returns the second highest value. Write main function to call this function and supply the required argument.

4 P is one-dimensional array of integers. Write a C++ function to efficiently search for a data VAL from P. If VAL is present in the array then the function should return value 1 and 0 otherwise. Write main function to call this function.

5 Given two arrays of integers A and B of sizes M and N respectively. Write a function named MIX () with four arguments (A,B,C,M,N) which will produce a third array named C. such that the following sequence is followed.

All even numbers of A from left to right are copied into C from left to right.
All odd numbers of A from left to right are copied into C from right to left.
All even numbers of B from left to right are copied into C from left to right.
All old numbers of B from left to right are copied into C from right to left.
A, B and C are passed as arguments to MIX ().
e.g., A is {3, 2, 1, 7, 6, 3} and B is {9, 3, 5, 6, 2, 8, 10}
the resultant array C is {2, 6, 6, 2, 8, 10, 5, 3, 9, 3, 7, 1, 3}

6 Write a function (having a string as an argument to) to count number of vowels in the string. Function should return number of vowels. Write main function to call this function and display the result.

7 Write a program to do the following:

• Define a structure POINT with TWO integer elements: X AND Y
• Declare a variable P1 of type POINT and simultaneously initialise it with 0,0
• Declare another variable P2 of type POINT and copy the values of P1 in P2
• Display the values in P1 and P2
• Obtain new values of P1 and P2 from the user
• Display the values in P1 and P2
• Calculate the distance between P1 and P2 and store the result in D and display D.

8 An array stores details of 25 students (rollno, name, and marks in three subjects). Write a program to create such an array and print out a list of students who have failed in more than two subjects

Please click on below link to download CBSE Class 11 Computer Science Programming Question Worksheet Set B

Chapter 05 Getting Started with Python
CBSE Class 11 Computer Science Python Modules Worksheet
z More Worksheets for Class 11 Computer Science
CBSE Class 11 Computer Science Boolean Logic Worksheet
CBSE Class 11 Computer Science Data Management Worksheet Set A
CBSE Class 11 Computer Science Data Management Worksheet Set B
CBSE Class 11 Computer Science Data Management Worksheet Set C
CBSE Class 11 Computer Science Data Management Worksheet Set D
CBSE Class 11 Computer Science Data Management Worksheet Set E
CBSE Class 11 Computer Science Data Representation Worksheet
CBSE Class 11 Computer Science If Else Statements Worksheet
CBSE Class 11 Computer Science Operation And Expressions Worksheet
CBSE Class 11 Computer Science Output Worksheet
CBSE Class 11 Computer Science Programming and Computational Thinking Worksheet Set A
CBSE Class 11 Computer Science Programming and Computational Thinking Worksheet Set B
CBSE Class 11 Computer Science Programming and Computational Thinking Worksheet Set C
CBSE Class 11 Computer Science Programming and Computational Thinking Worksheet Set D
CBSE Class 11 Computer Science Programming Methodology Worksheet
CBSE Class 11 Computer Science Programming Question Worksheet Set A
CBSE Class 11 Computer Science Programming Question Worksheet Set B
CBSE Class 11 Computer Science Vacation Assignment Worksheet
CBSE Class 11 Computer Science Worksheet Set A
CBSE Class 11 Computer Science Worksheet Set B
CBSE Class 11 Computer Science Worksheet Set C
CBSE Class 11 Computer Science Worksheet Set D
CBSE Class 11 Computer Science Worksheet Set E Solved
CBSE Class 11 Computer Science Worksheet Set F Solved
CBSE Class 11 Computer Science Worksheet Set G Solved
CBSE Class 11 Computer Science Worksheet Set H Solved
CBSE Class 11 Computer Science Worksheet Set I Solved
CBSE Class 11 Computer Science Worksheet Set J Solved

Programming Question CBSE Class 11 Computer Science Worksheet

Students can use the Programming Question practice sheet provided above to prepare for their upcoming school tests. This solved questions and answers follow the latest CBSE syllabus for Class 11 Computer Science. You can easily download the PDF format and solve these questions every day to improve your marks. Our expert teachers have made these from the most important topics that are always asked in your exams to help you get more marks in exams.

NCERT Based Questions and Solutions for Programming Question

Our expert team has used the official NCERT book for Class 11 Computer Science to create this practice material for students. After solving the questions our teachers have also suggested to study the NCERT solutions  which will help you to understand the best way to solve problems in Computer Science. You can get all this study material for free on studiestoday.com.

Extra Practice for Computer Science

To get the best results in Class 11, students should try the Computer Science MCQ Test for this chapter. We have also provided printable assignments for Class 11 Computer Science on our website. Regular practice will help you feel more confident and get higher marks in CBSE examinations.

Where can I download the latest PDF for CBSE Class 11 Computer Science Programming Question Worksheet Set B?

You can download the teacher-verified PDF for CBSE Class 11 Computer Science Programming Question Worksheet Set B 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 competency-based pattern?

Yes, our CBSE Class 11 Computer Science Programming Question Worksheet Set B 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 Programming Question Worksheet Set B?

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

How does solving CBSE Class 11 Computer Science Programming Question Worksheet Set B 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 Programming Question Worksheet Set B without any registration.