UP Board Solutions Class 12 Computer Chapter 11 Arrays

Get the most accurate UP Board Solutions for Class 12 Computer Science Chapter 11 सरणियों here. Updated for the 2026 27 academic session, these solutions are based on the latest UP Board textbooks for Class 12 Computer Science. Our expert-created answers for Class 12 Computer Science are available for free download in PDF format.

Detailed Chapter 11 सरणियों UP Board Solutions for Class 12 Computer Science

For Class 12 students, solving UP Board textbook questions is the most effective way to build a strong conceptual foundation. Our Class 12 Computer Science solutions follow a detailed, step-by-step approach to ensure you understand the logic behind every answer. Practicing these Chapter 11 सरणियों solutions will improve your exam performance.

Class 12 Computer Science Chapter 11 सरणियों UP Board Solutions PDF

UP Board Solutions Class 12 Computer Chapter 11 ऐरज

UP Board Solutions For Class 12 Computer Chapter 11

ऐरेज

BoardUP Board
TextbookNCERT
ClassClass 12
SubjectComputer
ChapterChapter 11
Chapter Nameऐरेज
Number Of Questions Solved25
CategoryUP Board Solutions

बहुविकल्पीय प्रश्न (1 अंक)

 

Question 1. किसी ऐरे के तत्त्व को किससे पहचाना जाता है? .
(a) सबस्क्रिप्ट से
(b) वैरिएबल के नाम से
(C) क्रम संख्या से
(d) इनमें से कोई नहीं
Answer:
(a) ऐरे में, ऐरे के नाम के बाद सबस्क्रिप्ट का प्रयोग किया जाता है।

In simple words: Array elements are identified by their subscript (index), which specifies their position relative to the array's name.

🎯 Exam Tip: Understanding subscripts is crucial for accessing and manipulating specific elements within an array. This is a fundamental concept for array-based problems.

 

Question 2. सबस्क्रिप्टेड वैरिएबल को क्या कहा जाता है?
(a) फंक्शन
(b) क्लास
(c) ऑब्जेक्ट
(d) ऐरे
Answer: (d) ऐरे
In simple words: A subscripted variable is essentially an element within an array, accessed using its index.

🎯 Exam Tip: Remember that a subscripted variable refers to an individual element of an array, allowing direct manipulation of specific data points.

 

Question 3. यदि = द्विविमीय ऐरे है, तो = [3] [4] सूचित करता है कि x में है। [2016]
(a) 3 कॉलम व 4 रो
(b) 4 कॉलम व 3 रो
(c) 34 एलीमेण्ट्स
(d) इनमें से कोई नहीं
Answer: (b) 4 कॉलम व 3 रो
In simple words: In a 2D array declared as `x[rows][columns]`, the first dimension specifies rows and the second specifies columns. So, `x[3][4]` means 3 rows and 4 columns.

🎯 Exam Tip: For 2D arrays, always clarify whether the first dimension represents rows or columns, as different conventions exist, though `rows` then `columns` is common.

 

Question 4. int marks[3][2] क्या प्रदर्शित करता है?
(a) वैरिएल
(b) द्विविमीय ऐरे
(c) एकविमीय ऐरे
(d) फंक्शन।
Answer: (b) द्विविमीय ऐरे में, ऐरे को घोषित करने का प्रारूप data_type array_name[rows][columns];
In simple words: `int marks[3][2]` declares a two-dimensional array named `marks` that can store integer values, organized into 3 rows and 2 columns.

🎯 Exam Tip: Declaring 2D arrays involves specifying both the number of rows and columns, which determines its structure and total storage capacity.

 

Question 5. Arr[5][8], मैमोरी में कितने तत्त्वों के लिए स्थान सुरक्षित करेगा?
(a) 40
(b) 400
(c) 58
(d) 13
Answer:
(a) Arr[5][8] में, पंक्तियों (Rows) की संख्या 5 तथा स्तम्भों (Columns) की संख्या 8 है तथा यह कुल मिलाकर (5 x 8 =) 40 तत्वों के लिए स्थान सुरक्षित करेगा।

In simple words: An array declared as `Arr[5][8]` will reserve space for 40 elements, calculated by multiplying the number of rows (5) by the number of columns (8).

🎯 Exam Tip: The total number of elements in a multi-dimensional array is the product of its dimensions, directly impacting memory allocation.

 

Question 6. स्ट्रिंग में प्रयुक्त चिह्न 10 क्या कहलाता है?
(a) नल कैरेक्टर
(b) स्पेशल कैरेक्टर
(c) गारबेज कैरेक्टर
(d) इनमें से कोई नहीं
Answer:
(a) नल कैरेक्टर

In simple words: The null character (represented as `\0`) signifies the end of a string in C and C++, allowing functions to know where the string terminates.

🎯 Exam Tip: The null character is fundamental for string manipulation, as it marks the boundary of string data in memory.

अतिलघु उत्तरीय प्रश्न (1 अंक)

 

Question 1. ऐरे को परिभाषित कीजिए। [2013, 03]
अथवा
ऐरे को केवल एक वाक्य में व्यक्त कीजिए। [2018]
Answer: एक प्रकार के डाटा के समूह को एक साथ प्रदर्शित करने के लिए जिस तकनीक का प्रयोग किया जाता है, उसे ऐरे कहते हैं।
In simple words: An array is a collection of elements of the same data type, stored at contiguous memory locations and accessed using a single variable name along with an index.

🎯 Exam Tip: A clear, concise definition of an array, highlighting its homogeneity and contiguous storage, is essential for scoring points.

 

Question 2. एकविमीय ऐरे को घोषित करने का प्रारूप लिखिए।
Answer: Largest data_type array_name [size] ;
In simple words: A one-dimensional array is declared by specifying its data type, name, and the total number of elements (size) it can hold.

🎯 Exam Tip: Correct syntax for array declaration, including data type, array name, and size within square brackets, is crucial for compiler recognition.

 

Question 3. ऐरे कितने प्रकार के होते हैं? [UP 2003]
Answer: ऐरे दो प्रकार के होते हैं
• एकविमीय ऐरे
• द्विविमीय ऐरे
In simple words: Arrays are primarily categorized into one-dimensional (linear) and two-dimensional (matrix-like) based on how their elements are organized.

🎯 Exam Tip: Knowing the types of arrays and their basic characteristics is a foundational concept. Questions often ask for examples of each type.

 

Question 4. एकविमीय ऐरे से डाटा कितने प्रकार से पढ़ सकते हैं?
Answer: एकविमीय ऐरे से डाटा को दो प्रकार से पढ़ सकते हैं
• लूप का प्रयोग करके
• बिना लूप के ।
In simple words: Data from a one-dimensional array can be read either by iterating through it using loops (like `for` or `while`) or by directly accessing individual elements without a loop if their indices are known.

🎯 Exam Tip: While direct access is possible for individual elements, loops are the most efficient way to process or read multiple elements in an array systematically.

 

Question 5. द्विविमीय ऐरे में प्रारम्भिक मान कैसे दे सकते हैं?
Answer: द्विविमीय ऐरे में प्रारम्भिक मान देने का प्रारूप data_type array_name [rows] [columns] = {value1, value2, ..., valueN};
In simple words: Two-dimensional arrays can be initialized at the time of declaration by providing a list of values enclosed in curly braces, which the compiler then assigns row by row.

🎯 Exam Tip: Correct initialization syntax for 2D arrays, including nested curly braces for readability (though not strictly required for a flat list of values), ensures proper data assignment.

 

Question 6. स्ट्रिंग को घोषित करने का प्रारूप क्या होता है?
Answer: char string_name [size];
In simple words: A string is declared in C++ as a character array, specifying its name and the maximum number of characters it can hold.

🎯 Exam Tip: Remember that strings in C-style programming are essentially character arrays, and their declaration includes the `char` data type and a size limit.

लघु उत्तरीय प्रश्न I (2 अंक)

 

Question 1. ऐरे की उदाहरण सहित संक्षिप्त व्याख्या कीजिए। [2018]
Answer: एक प्रकार के डाटा के समूह को एक साथ प्रदर्शित करने के लिए जिस तकनीक या वैरिएबल का प्रयोग किया जाता है, उसे ऐरे (Array) या सबस्क्रिप्टेड वैरिएबल (Subscripted variable) कहते हैं। ऐसा ऐरे, जिसमें ऐरे एलीमेण्ट की संख्या को व्यक्त करने के लिए केवल एक ही सबस्क्रिप्ट का प्रयोग किया जाता है, एकविमीय ऐरे कहलाता है।
एकविमीय ऐरे को घोषित करना अन्य वैरिएबल की तरह, ऐरे को भी प्रोग्राम में प्रयोग करने से पहले घोषित करना होता है।
प्रारूप
data type array_name [size];
उदाहरण
int age [100]; float salary [15];
द्विविमीय ऐरे में, डाटा सारणी के रूप में संग्रहीत किया जाता है, जिसमें पंक्तियों (Rows) तथा स्तम्भों (Columns) का संयोजन (Combination) होता है। द्विविमीय ऐरे को मैट्रिक्स (Matrix) के नाम से भी जाना जाता है।
द्विविमीय ऐरे को घोषित करना
प्रारूप
data_type array_name [rows][columns);
उदाहरण
int x [3] [4]; float matrix [20] [25]; पहली स्टेटमेण्ट में से 3 व कॉलम 4 है, इसलिए ऐरे का साइज (3 x 4 =) 12 होगा।
In simple words: An array is a data structure storing a collection of similar data types. A one-dimensional array uses a single index for elements, while a two-dimensional array uses two indices (rows and columns) to store data in a table-like format, often called a matrix. Both must be declared before use.

🎯 Exam Tip: Clearly differentiating between one-dimensional and two-dimensional arrays, including their declaration syntax and common use cases, is key to a complete answer.

 

Question 2. ऐरे को कैसे घोषित किया जाता है?
Answer: ऐरे को घोषित करने के लिए सबसे पहले ऐरे का डाटा टाइप बताना होता है। कि वह int, chart, float आदि में से किस टाइप का है। फिर ऐरे का नाम और उसके साथ पैरेनथेसिस ([ ]) में ऐरे की संख्या लिखनी होती है। प्रारूप data_type array_name [size] ।
In simple words: To declare an array, you must specify its data type (e.g., `int`, `char`, `float`), followed by its name, and then the size (number of elements) in square brackets.

🎯 Exam Tip: The declaration `data_type array_name[size];` is fundamental. Incorrect data type or size specification will lead to compilation errors.

 

Question 3. एकविमीय ऐरे का प्रारम्भिक मान रखना आवश्यक क्यों होता है?
Answer: ऐरे को घोषित करने के बाद उसका प्रारम्भिक मान रखना आवश्यक होता है अन्यथा उसमें निरर्थक मान (Garbage value) भर जाता है, इसलिए ऐरे को कम्पाइल करते समय ही उसका प्रारम्भिक मान दे सकते हैं, जिससे उसमें निरर्थक मान न आए। प्रारम्भिक मान देते समय, यदि सूची के मानों की संख्या ऐरे के साइज से कम है तो केवल उतने ही तत्त्वों (Elements) को प्रारम्भिक मान दिया जाएगा और शेष का मान शून्य रख दिया जाएगा।
In simple words: Initializing a one-dimensional array is crucial because, without it, array elements contain garbage values. Assigning initial values prevents unpredictable program behavior, and if fewer values are provided than the array size, the remaining elements are typically zero-initialized.

🎯 Exam Tip: Emphasize the concept of "garbage value" and the importance of initialization to ensure predictable and correct program execution.

 

Question 4. एकविमीय ऐरे में लूप की सहायता से डाटा इनपुट कीजिए।
Answer: एकविमीय ऐरे में लूप की सहायता से डाटा इनपुट निम्न उदाहरण द्वारा समझा जा सकता है। void main() { int rollno [5]; for (int i = 0; 1 < 5; i++) { cout<<"Enter the Roll No.” <>rollno[i]; } }
In simple words: You can input data into a one-dimensional array using a `for` loop, iterating from the first element (index 0) up to the array's size, prompting for each element's value.

🎯 Exam Tip: Using loops for array input and output is a standard and efficient practice, demonstrating a good grasp of iterative control structures.

 

Question 5. स्ट्रिंग से क्या तात्पर्य है?
Answer: चिह्न (” “) (Quotation marks) के अन्तर्गत लिखा गया कोई भी संख्यात्मक, शाब्दिक तथा विशेष चिह्न स्ट्रिंग कहलाता है। C++ में, वर्गों की संख्या या स्ट्रिंग को वर्गों का ऐरे माना जाता है, जिसे एक अलग डाटा टाइप का नाम न देकर char ऐरे ही कहा जाता है। स्ट्रिंग के अन्त में नल कैरेक्टर (NO) लगा होता है, जो स्ट्रिंग की समाप्ति को प्रदर्शित करता है।
In simple words: A string is a sequence of characters, numbers, or symbols enclosed in quotation marks. In C++, it's treated as an array of characters, always terminated by a null character (`\0`) to mark its end.

🎯 Exam Tip: Define a string as a character array and highlight the critical role of the null terminator (`\0`) in C/C++ string handling.

लघु उत्तरीय प्रश्न II (3 अंक)

 

Question 1. द्विविमीय ऐरे से डाटा को कैसे पढ़ा जाता है?
Answer: द्विविमीय ऐरे से डाटा को पढ़ने के लिए दो लूपों की आवश्यकता होती है। उदाहरण: void main() int arr [2] [3], r, c; for(r = 0; r < 2; r++) { for(c = 0; c < 3; c++) { cout<<"Enter the value"<>arr[r][c]; } } for(r = 0; r < 2; r++) { for(c = 0; c < 3; c++) { cout<<"Array"<In simple words: To read or process data in a two-dimensional array, you typically use nested loops: an outer loop for iterating through rows and an inner loop for iterating through columns.

🎯 Exam Tip: Demonstrating nested loops for 2D array traversal is a key skill, showing how to systematically access each element by its row and column indices.

 

Question 2. एक C++ का प्रोग्राम लिखिए, जिसमें 5 परीक्षार्थियों की उम्र और ग्रेड इनपुट किए जाते हैं। यदि छात्रों की उम्र 20 वर्ष से अधिक हो और ग्रेड 'B' हो, उनकी उम्र व ग्रेड प्रिण्ट करें।
Answer: #include void main() { int age [5], i; char grade [6]; for (i=0; i<5; i++) cout<<“Enter age and grade of student"<>age[i]>>grade [i]; } for (i=0; i<5; i++) { if ((age [1]>=20) && (grade[i]=='B')) { cout<<"\n age="< } } }
आउटपुट Enter age and grade of student 1: 25 A Enter age and grade of student 2:25 B Enter age and grade of student 3:33 A Enter age and grade of student 4:24 A Enter age and grade of student 5:12 A age = 25 grade = B
In simple words: This program takes age and grade for 5 students, stores them in arrays, and then iterates to print the age and grade for students who are 20 or older and have a 'B' grade.

🎯 Exam Tip: Programs involving conditional filtering of array data require careful use of loops and `if` statements to apply criteria to each element.

 

Question 3. इनपुट स्ट्रिंग में उपस्थित अक्षरों की संख्या बताने हेतु C++ में एक प्रोग्राम लिखिए। [2010]
Answer: #include #include #include void main() { clrscr(); int charcnt=0, i; char ch, str[125]; cout<<“Enter a string:"; gets (str); for (i=0; str [i] != “\0';i++) charcnt=i; cout<<"\nTotal Characters:" <आउटपुट Enter a string : Arihant Total Characters : 7
In simple words: This C++ program prompts the user to enter a string and then counts the number of characters in it by iterating until the null terminator is encountered.

🎯 Exam Tip: When counting characters in a C-style string, remember to iterate until the null character (`\0`) is found, as it marks the end of the string.

 

Question 4. स्ट्रिंग को प्रारम्भिक मान देने की प्रक्रिया लिखिए।
Answer: स्ट्रिंग को प्रारम्भिक मान देना आवश्यक होता है। C++ में, स्टिगों को दो विधियों द्वारा प्रारम्भिक मान दिया जा सकता है। उदाहरण
char name [30]= “RAHUL SHARMA";
अथवा char name [30] = { ‘R', 'A', 'H', 'U', 'L',' ', 's', 'H', 'A', 'R', ‘M', 'A', '\0' }; दूसरे उदाहरण में '\0' (Null character) का प्रयोग किया गया है जो स्ट्रिंग के अन्त को दर्शाता है, परन्तु पहले उदाहरण में '\0' प्रयोग करने की आवश्यकता नहीं है, क्योंकि स्ट्रिंग का मान कोटेशन चिह्नों (” “) में दिया है, जिसे कम्पाइलर स्वतः ही स्ट्रिंग मान लेगा।
In simple words: Strings can be initialized in C++ using either a string literal (double quotes), where the null terminator is added automatically, or by providing individual characters in curly braces, explicitly including the null terminator (`\0`).

🎯 Exam Tip: Proper string initialization is crucial. Highlight both methods—using string literals and character arrays—and the automatic versus manual inclusion of the null terminator.

दीर्घ उत्तरीय प्रश्न (5 अंक)

 

Question 1. एकविमीय ऐरे को उदाहरण सहित विस्तार से समझाइए ।
Answer: ऐसा ऐरे, जिसमें ऐरे एलीमेण्ट की संख्या को व्यक्त करने के लिए केवल एक ही सबस्क्रिप्ट का प्रयोग किया जाता है, एकविमीय ऐरे कहलाता है।
एकविमीय ऐरे को घोषित करना अन्य वैरिएबल की तरह, ऐरे को भी प्रोग्राम में प्रयोग करने से पहले घोषित करना होता है।
प्रारूप
data type array_name [size]
उदाहरण int age [100]; float salary[15];
एकविमीय ऐरे का प्रारम्भिक मान रखना
ऐरे को घोषित करने के बाद उसका प्रारम्भिक मान रखना आवश्यक होता है। अन्यथा उसमें निरर्थक मान (Garbage value) भर जाता है, इसलिए ऐरे को कम्पाइल करते समय ही उसका प्रारम्भिक मान दे सकते हैं।
प्रारूप
data_type array_name [size] = {valuel, value2, ..., valueN);
उदाहरण
int marks [5]={50,70, 89,90,75};
उदाहरण
एकविमीय ऐरे की सहायता से डाटा इनपुट करना व उसका रिवर्स ऑर्डर (Order) प्रिण्ट कराना।
#include<iostream.h> #include<conio.h> void main() { clrscr(); int A[5], i, n=5;j = n-1, temp; cout<<"Enter the array element"<<end1; for (i=0;i<n; i++) { cin>>A[i]; } for(i=0, j = n-1;i<n/2;i++,j−) { temp=A[i]; A[i]=A[j]; A[j] =temp; } cout<<“Reverse array"<<end1; for (i=0;i<n;i++) { cout<<A[i]<<” “; } getch(); }
आउटपुट Enter the array element 4 5 6 2 6 Reverse array 6 2654
In simple words: A one-dimensional array stores a list of elements of the same type using a single index. It must be declared with a data type, name, and size. Initializing it prevents garbage values. You can perform operations like inputting data and reversing elements using loops.

🎯 Exam Tip: A comprehensive answer for a long question on 1D arrays should cover definition, declaration, initialization, and demonstrate practical application with a code example showing input, processing, and output.

 

Question 2. द्विविमीय ऐरे को उदाहरण सहित समझाइए ।
Answer: द्विविमीय ऐरे में, डाटा सारणी के रूप में संग्रहीत किया जाता है, जिसमें पंक्तियों (RowB) तथा स्तम्भों (Columns) का संयोजन (Combination) होता है। द्विविमीय ऐरे को मैट्रिक्स (Matrix) के नाम से भी जाना जाता है।
द्विविमीय ऐरे को घोषित करना
प्रारूप: data_type array_name [rows] {columns];
उदाहरण int x [3] [4] ; float matrix [20] [25];
पहली स्टेटमेण्ट में से 3 व कॉलम 4 है, इसलिए ऐरे का साइज (3 x 4 =) 12 होगा। द्विविमीय ऐरे को प्रारम्भिक मान देना
एकविमीय ऐरे की तरह द्विविमीय ऐरे में भी उसका प्रारम्भिक मान रखना आवश्यक होता है, इसलिए ऐरे को कम्पाइल करते समय ही उसका प्रारम्भिक मान दे सकते हैं।
प्रारूप data_type array_name [rows] [columns] ={value1, value2, ..., valueN);
अथवा
data_type array_name[rows] [columns] ={{value of 1st row}, {value of 2nd row},....};
उदाहरण
int x [3] [4] = (1, 2, 3, 4, 5, 6, 7, 8, 9,10, 11, 12}},
अथवा int x [3][4] = (1, 2, 3, 4), (5, 6, 7, 8}, (9, 10, 11, 12} };
उदाहरण मैट्रिक्स को प्रिण्ट करना #include<iostream.h> void main () { int m, n, A[10] [10],i,j; cout<<"Enter the number of rows: “; cin>>m; cout<<"Enter the number of columns : “; cin>>n; cout<<“Enter the elements of the matrix” <<end1; for(i=0;i<m; i++) { for(j=0; j<n; j++) { cin>>A[i][j]; } } cout<<“Matrix”<<end1; for (i=0; i<m;i++) { for(j=0; j<n; j++) { cout<<A[i] [j]<<” “; } cout<<end1; } }
आउटपुट Enter the number of rows : 3 Enter the number of columns :3 Enter the elements of the matrix 567895643 Matrix 5 6 7 8 9 5643
In simple words: A two-dimensional array stores data in a tabular form, like a matrix, using two indices for rows and columns. It's declared with `data_type array_name[rows][columns]` and can be initialized with lists of values. You can input and print its elements using nested loops.

🎯 Exam Tip: For 2D arrays, focus on the table-like structure, nested loop traversal, and initialization methods (both flat and nested list formats) to provide a comprehensive explanation.

 

Question 3. ऐरे से आप क्या समझते हैं? एकविमीय तथा द्विविमीय ऐरे में अन्तर उदाहरण सहित समझाइए। [2007]
अथवा
एकविमीय ऐरे तथा द्विविमीय ऐरे में अन्तर उदाहरण सहित स्पष्ट कीजिए। [2010]
Answer: एक प्रकार के डाटा के समूह को एक साथ प्रदर्शित करने के लिए जिस तकनीक का प्रयोग किया जाता है, उसे ऐरे कहते हैं। एकविमीय ऐरे तथा द्विविमीय ऐरे में अन्तर

एकविमीय ऐरेद्विविमीय ऐरे
इस ऐरे में, एलीमेण्ट की संख्या व्यक्त करने
के लिए केवल एक ही सबस्क्रिप्ट का प्रयोग
किया जाता है।
इस ऐरे में, एलीमेण्ट की संख्या व्यक्त करने
के लिए दो सबस्क्रिप्ट का प्रयोग किया
जाता है।
प्रारूप data_type
array_name[size];
प्रारूप data_type
array_name[rows] [columns];
उदाहरण int age [50];उदाहरण int a [3] [4];

उदाहरण एकविमीय ऐरे की सहायता से डाटा इनपुट करना व उसका रिवर्स ऑर्डर (Order) प्रिण्ट कराना।
#include<iostream.h> #include<conio.h> void main() { clrscr(); int A[5], i, n=5;j = n-1, temp; cout<<"Enter the array element"<<end1; for (i=0;i<n; i++) { cin>>A[i]; } for(i=0, j = n-1;i<n/2;i++,j−) { temp=A[i]; A[i]=A[j]; A[j] =temp; } cout<<“Reverse array"<<end1; for (i=0;i<n;i++) { cout<<A[i]<<” “; } getch(); }
आउटपुट Enter the array element 4 5 6 2 6 Reverse array 62654
In simple words: An array is a collection of similar data. A 1D array uses one index, while a 2D array uses two (rows and columns). The key difference lies in the number of subscripts used to access elements and their logical organization (linear vs. table).

🎯 Exam Tip: When comparing array types, a clear table format highlighting differences in subscript count, structure, and declaration syntax is highly effective. Always include a relevant example.

 

Question 4. C++ में, दस संख्याओं की ऐरे में सबसे छोटी तथा सबसे बड़ी संख्या छापने हेतु प्रोग्राम लिखिए। [2009]
Answer: #include<iostream.h> void main() { int Arr[100], n, i, small, large; cout<<“Enter number of elements that you want to insert:”; cin>>n; for (i=0; i<n; i++) { cout<<"Enter element “<<i+1<<“:”; cin>>Art [i]; } small = Arr[0]; large = Arr [0]; for (1=0; i<n; i++) { if (Arr[i]<small) small=Arr[i]; if (Arr[i]>large) large=Arr[i]; } cout<<"\nLargest element is:" <<large; cout<<"\n Smallest element is:" <<small; getch(); }
आउटपुट Enter number 1elements that you want to insert: 10 Enter element 1: 23 Enter element 2: 65 Enter element 3: 34 Enter element 4: 89 Enter element 5: 76 Enter element 6: 45 Enter element 7: 44 Enter element 8: 65 Enter element 9: 23 Enter element 10:12 Largest element is : 89 Smallest element is: 12
In simple words: This C++ program finds the largest and smallest numbers in an array by first assuming the first element is both, then iterating through the rest to update these values if a smaller or larger element is found.

🎯 Exam Tip: To find min/max in an array, initialize `min` and `max` with the first element, then traverse the rest of the array, updating `min` or `max` whenever a new smaller or larger element is encountered.

UP Board Solutions Class 12 Computer Science Chapter 11 सरणियों

Students can now access the UP Board Solutions for Chapter 11 सरणियों prepared by teachers on our website. These solutions cover all questions in exercise in your Class 12 Computer Science textbook. Each answer is updated based on the current academic session as per the latest UP Board syllabus.

Detailed Explanations for Chapter 11 सरणियों

Our expert teachers have provided step-by-step explanations for all the difficult questions in the Class 12 Computer Science chapter. Along with the final answers, we have also explained the concept behind it to help you build stronger understanding of each topic. This will be really helpful for Class 12 students who want to understand both theoretical and practical questions. By studying these UP Board Questions and Answers your basic concepts will improve a lot.

Benefits of using Computer Science Class 12 Solved Papers

Using our Computer Science solutions regularly students will be able to improve their logical thinking and problem-solving speed. These Class 12 solutions are a guide for self-study and homework assistance. Along with the chapter-wise solutions, you should also refer to our Revision Notes and Sample Papers for Chapter 11 सरणियों to get a complete preparation experience.

FAQs

Where can I find the latest UP Board Solutions Class 12 Computer Science Chapter 11 सरणियों for the 2026 27 session?

The complete and updated UP Board Solutions Class 12 Computer Science Chapter 11 सरणियों is available for free on StudiesToday.com. These solutions for Class 12 Computer Science are as per latest UP Board curriculum.

Are the Computer Science UP Board solutions for Class 12 updated for the new 50% competency-based exam pattern?

Yes, our experts have revised the UP Board Solutions Class 12 Computer Science Chapter 11 सरणियों as per 2026 exam pattern. All textbook exercises have been solved and have added explanation about how the Computer Science concepts are applied in case-study and assertion-reasoning questions.

How do these Class 12 UP Board solutions help in scoring 90% plus marks?

Toppers recommend using UP Board language because UP Board marking schemes are strictly based on textbook definitions. Our UP Board Solutions Class 12 Computer Science Chapter 11 सरणियों will help students to get full marks in the theory paper.

Do you offer UP Board Solutions Class 12 Computer Science Chapter 11 सरणियों in multiple languages like Hindi and English?

Yes, we provide bilingual support for Class 12 Computer Science. You can access UP Board Solutions Class 12 Computer Science Chapter 11 सरणियों in both English and Hindi medium.

Is it possible to download the Computer Science UP Board solutions for Class 12 as a PDF?

Yes, you can download the entire UP Board Solutions Class 12 Computer Science Chapter 11 सरणियों in printable PDF format for offline study on any device.