0% found this document useful (0 votes)
21 views2 pages

Bubble Answer Sheet Template

Uploaded by

bilalfaiz669
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

Bubble Answer Sheet Template

Uploaded by

bilalfaiz669
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Both

SCHOOL NAME

Name : ______________ Roll No : ______________ Teacher Name : ______________ Date : 23-12-2024

CLASS 10 Total Marks : 20 Passing Marks : 6.6 Paper : COMPUTER Total Time : 00:35 Mins Chapters : 4

Instructions : You have four choices for each objective type question as A, B, C and D. The choice which you think is correct; fill that circle in front
of that question number. Use marker or pen to fill the circles. Cutting or filling two or more circles will result in zero mark in that question.

BUBBLE ANSWERS SHEET

(i)

A 
B 
C 
D (ii)

A 
B 
C 
D (iii)

A 
B 
C 
D (iv)

A 
B 
C 
D

(v)

A 
B 
C 
D (vi)

A 
B 
C 
D (vii)

A 
B 
C 
D (viii)

A 
B 
C 
D

(ix)

A 
B 
C 
D (x)

A 
B 
C 
D

OBJECTIVE TYPE

Q No.1 CHOOSE THE CORRECT OPTION. (1 Marks/Q)


#‫ر‬ Questions / ‫ا ت‬ A B C D

each run of a loop is called ...... Iteration Round Process Circle


(i)
....‫۔‬ ‫رن‬ ‫پ‬ -Iteration -Round -Process -Circle

______ is the type of data that we want to store in the array. Data name Data size Data Type Data distance
(ii)
‫۔‬ ‫ظ‬ ‫ار ے‬ ‫۔۔۔۔۔۔۔۔۔۔۔۔۔ ا س ڈ‬ ‫م‬ ‫ڈ‬ ‫ڈ‬ ‫ڈ‬ ‫ڈ ڈ‬

If we want to display the whole array, then instead of


writing all the elements one by one, we can loop over the
array elements by using the loop counter as Index Subscript Superscript None of these
(iii)
array ‫ا‬ ‫ان‬
‫ما‬ ‫ےا ا‬ ‫ر ى ار ے‬ ‫ا‬
‫۔‬ ‫ار ے پ‬ ‫ر ار ے ۔۔۔۔۔۔۔۔۔ ا ل‬ ‫پ و‬

A common problem that we face is how to ________ a set


of instructions for multiple time without writing them again
Write Repeat Execute Read
(iv) and again
‫د ا‬ ‫ٹ‬ ‫ا‬
‫ر‬ ‫ات ا‬ ‫وہ‬ ‫م‬ ‫ا‬
‫۔۔۔۔۔۔۔۔۔۔‬ ‫ز دہ‬ ‫ا‬ ‫ر‬

Index can be used with the array name as ______ to


Array- Array-
access the data stored at that particular index. Array-
(v) name[index];, name[index];, Array-name;,,
‫ڈ‬ ‫اس ا‬ ‫ح‬ ‫م‬ ‫ار ے‬ ‫ا‬ name[index]
, ,
‫؟‬ ‫ر‬

If we need to write "Pakistan" thousand times on the screen,


then instead of writing printf("Pakistan"); a thousand times,
Loops If else Array All of these
(vi) we use ________.
Loops If else Array ‫م‬
‫ار‬ "Pakistan" ‫ار‬
‫۔‬ ‫ے۔۔۔۔۔۔۔۔۔۔۔ ا ل‬ ("printf("Pakistan;

Conditional Conditional Logical Nested loop


When we use a loop inside another loop , it is called -------
loop structure loop structure structure structure
(vii) ------- ‫ا‬ ‫پ دو ے پ ا ر ا ل‬ ‫ا‬
-Conditional -Conditional -Logical -Nested loop
‫۔‬
loop structure loop structure structure structure

If we want to display the whole array, then instead of


writing all the elements one by one , we can loop over the
array elements by using the ________ as array Loop run Loop statement Loop counter All of these
(viii) index. ‫پ‬ ‫پ‬ ‫پ و‬ ‫م‬
‫ما‬ ‫ا‬ ‫ےا‬ ‫ر ى ار ے‬ ‫ا‬
‫۔‬ ‫پ‬ ‫ار ے‬ ‫ا ل‬ ‫ر ار ے ا‬ ‫۔۔۔۔۔۔۔۔۔۔‬

When we want When we want When we want


What we do not
to repeat a to repeat a loop to repeat a
want to repeat a
pattern for for pattern for one
When do we use nested loops? pattern for
(ix) multiple times multiple times times
‫؟‬ ‫ل‬ ‫ا‬ ‫پ‬ multiple times
‫ن‬ ‫ا‬ ‫پ‬ ‫ا‬ ‫ن‬ ‫ا‬
‫ن‬ ‫ا‬
‫ز دہ‬ ‫ا‬ ‫ز دہ‬ ‫ا‬ ‫د ا‬ ‫ا‬
‫د ا‬
‫د ا‬ ‫د ا‬

Increment /
Part of for loop is excuted first Condition Body Initialization
(x) Decrement
‫۔‬ ‫ پ ۔۔۔۔۔۔۔۔۔‬For ‫ط‬ ‫ڈى‬ ‫ا‬
/ ‫ا‬

SUBJECTIVE TYPE (PART I)

Q No.2 ANSWER ANY FIVE OF THE FOLLOWINGS. (2 Marks/Q)


(i) Which part of for loop contained the statements to be ‫د‬ ‫وا‬ ‫د ا‬ ‫پ‬ (i)
repeated?

(ii) Why are data structures needed? ‫ور ت ں‬ ‫ڈ‬ (ii)

(iii) Declare an array of float and initialize it with the height of ‫ا‬ ‫ں‬ ‫ت‬ ‫او ر ا‬ ‫ا ےڈ‬ ‫ا‬ (iii)
seven persons.

(iv) Find errors in the following code if any. int Temp=10; int ;[ int Temp=10; int Arr[Temp ‫ں ش‬ ‫ڈ‬ ‫در ج ذ‬ (iv)
Arr[Temp];

(v) Why are loops frequently used with arrays? ‫ل ں م‬ ‫ا‬ ‫ار ے‬ (v)

(vi) What is nested loop? ‫پ‬ (vi)

(vii) Give three examples to initialize arrays of different size and ‫د‬ ‫ا ےڈ‬ ‫او ر ڈ‬ (vii)
data type.

(viii) Define loop? ‫پ‬ (viii)

(ix) Find error in the following code if any. void main() { void main() { Far(int ‫ں ش‬ ‫در ج ذ ڈ‬ (ix)
Far(int n=1;n<=,5n++) printf("%d";n) } { (n=1;n<=,5n++) printf("%d";n

(x) Find errors in the following code if any. int B[4]= {int B[4]={3,6,4,2,10,9 ‫ں ش‬ ‫ڈ‬ ‫در ج ذ‬ (x)
{3,6,4,2,10,9}

(xi) How many types of loops are available in C? ‫د ب‬ ‫ا م‬ (xi)

(xii) Write any two uses of array? ‫ل‬ ‫دو ا‬ ‫ا ے‬ (xii)

PART II

ANSWER THE FOLLOWING. (5 Marks/Q)


Q#. (3) write a program that stores the ages of five persons in an ‫ا‬ ‫او ر‬ ‫ظ‬ array ‫ا‬ ‫ا اد‬ ‫و ام‬ (3) ‫ال‬
array and then displays on screen. ‫۔‬ ‫د‬

Q#. (4) write a program that initializes an array of five elements. It ‫ف‬ ‫رف‬ ‫و ع ے۔‬ array ‫ا‬ ‫و ام‬ ‫ا‬ (4) ‫ال‬
inputs an index from the user and display the valuse at that ‫۔‬ ‫ر‬ ‫او ر ا س ا‬ ‫دا‬ ‫ا ا‬
index.

Q#. (5) What is "for" loop? Explain its working with example. ‫۔‬ ‫و‬ ‫م‬ ‫اس‬ ‫؟ ل‬ ‫" پ‬for" (5) ‫ال‬

BEST OF LUCK

You might also like