You are on page 1of 2

Pakistan Public Higher Secondary School Dullewala (Bhakkar)

Test Series 2022 Test No 9 FLP 02


TH
Paper: Computer Science (Objective) Class: 10 Total Marks: 10
Name: ______________ Roll No. __________ Time: 15 Minutes
NOTE: You have four choices for each objective type question as A, B, C & 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. Use of Ink Remover or white correcting fluid is not allowed.
‫نت‬ ‫ن‬
Q No 1: Choose the correct option. 10x 1 = 10‫۔ م ن درج ہ ذی ل سواالت می ں درست ج واب کا ا خ اب کری ں۔‬1 ‫سوال مب ر‬
Sr # Questions A B C D
1 Which of the following is condition to check a is
factor of c ‫ ان میں سے کونسی سٹیٹمنٹ یہ بتاتی ہے کہ‬a A%c==0; c%a==0; a/c==0; a%c=0;
‫ متغیر‬c ‫کا فیکٹر ہے یانہیں؟‬
2 Default control structure of C language Sequential Repitation Selection Relation
‫سیکیوئینشل سی لینگویج کا ڈیفالٹ کنٹرول سٹکچر ہے‬ ‫ریپیٹیشن‬ ‫سلیکشن‬ ‫ریلیشن‬
3 The statement to be executed if the condition is false
If else Case Break
are written in the body of
statement
‫شرط غلط ہونے کی صورت میں چلنے والی سٹیٹمنٹ لکھی جاتی‬ statment statement statement
‫ہے اس کی باڈی میں‬
4 _______ is the unique identifier , used to refer to the Array
array ‫ایک مخصوص شناخت ہے جو‬ Data type Array size None
name
‫ایرے کا حوالہ دیتا ہے‬ ‫ڈیٹا ٹائپ‬ ‫ایررے سائز‬ ‫کوئی نہیں‬
‫ایرے کا نام‬
5 The value of 77 store on location int
n[]={83,62,77,97};
n[0] n[1] n[2] n[3]
‫ درج ذیل میں‬77 ‫ کی قیمت کہا محفوظ ہوگی‬int
n[]={83,62,77,97}
6 The total number of elements in an array is called Size
Index Data type Limit
‫ایرے میں موجود ارکان کی کل تعداد‚ کہالتی ہے‬
‫انڈیکس‬ ‫سائز‬ ‫ڈیٹا ٹائپ‬ ‫ حد‬/‫لمٹ‬

7 Each element of array has its own Size Index Members None
‫ارے کے ہر رکن کا اپنا ہوتا ہے‬ ‫سائز‬ ‫انڈیکس‬ ‫ممبرز‬ ‫کوئی نہیں‬
8 _____ means to transfer the control to another Including
function ‫مطلب کنٹرول دوسرے فنکشن کو‬ Calling Defining Writing
/‫شامل‬
‫___ منتقل کرنا‬ ‫کالنگ‬ ‫ڈیفائننگ‬ ‫لکھنا‬
‫انکلوڈنگ‬
9 A built in functions cannot be Re-define Re-call Use Transfer
‫بلٹ ان فنکشن نہیں ہو سکتا‬ ‫دوبارہ ڈیفائن‬ ‫دوبار کال‬ ‫استعمال‬ ‫منتقل‬
10 Another name of built in functions User Library Clients
‫بلٹ ان فنکشن کادوسرا نام ہے‬ defined function function All
function
‫الئبریری‬ ‫کالئنٹ‬ ‫تمام‬
‫یوزر ڈیفائنڈ‬
‫فنکشن‬ ‫فنکشن‬ ‫فنکشن‬

Pakistan Public Higher Secondary School Dullewala (Bhakkar)


Test Series 2022 Test No 09 FLP 02
Paper: Computer Science (Subjective) Class: 10TH Total Marks: 40
Name: ______________ Roll No. __________ Time: 1:45 Hour
‫ئ‬
Q 2: Answer briefly any FOUR questions. 4 x 2 = 8 ‫کو ی سے چ ار سواالت کے ج واب ات دی ں‬
I How sequential statement is different from control statement ‫ سیکیوئینشل سٹیٹمنٹ کنٹرول سٹیٹمنٹ سے کیسے‬i
‫الگ ہوتی ہے؟‬
ii What is use of nested selection structure? ‫ نیسٹڈ سلیکشن سٹکچر سے کیا مراد ہے؟‬ii
iii Write a if structure with description? ‫ کا سٹکچر لکھیں اور وضاحت کریں‬if iii

iv Write simple program which show "HELLO WORLD" H"ELLO WORLD"‫ ایک سادہ پروگرام لکھیں‬iv
‫جو سکرین پر دکھائے‬
v What is compound or block statement? ‫ کمپاونڈ یا بالک سٹیٹمنٹ سے کیا مراد ہے ؟‬v
vi How selection control statement works? ‫ئ‬
‫کنٹرول سٹیٹمنٹ کیسے کام کرتی ہے؟‬ ‫ سلیکشن‬vi
Q 3: Answer briefly any FOUR questions. 4 x 2 = 8 ‫کو ی سے چ ار سواالت کے ج واب ات دی ں‬
i Is loop a data structure? Explain ‫ کیا لوپ ڈیٹا سٹکچر ہے ؟‬i
ii What is advantage of initializing an array at the time of declaration? ‫ ڈیکلیئر کرتے ہوئےایرے کو انیشالئز کرنے کا‬ii
‫کیا فائدہ ہے ؟‬
iii What is data structure and give an example? ‫ ڈیٹا سٹکچر کو مثال سے واضح کریں‬iii
iv How can you declare an array? ‫ ایرے کو کیسے ڈیکلیئر کرتے ہیں؟‬iv
v Identify error for(int i=0,i<10,i++): ‫ غلطی کی نشاندہی کریں‬for(int i=0,i<10,i+ v
+):
vi How array elements are arranged in memory? ‫ ایرے ایلیمنٹ میموری میں کیسے محفوظ‬vi
‫کرتے ہیں ئ‬
Q 4: Answer briefly any FOUR questions. 4 x 2 = 8 ‫کو ی سے چ ار سواالت کے ج واب ات دی ں‬
i Enlist the parts of function definition? ‫ فنکشن ڈیفینیشن کے حصے کون کونسے ہیں بیان‬i
‫کریں؟‬
ii Describe the three advantage of using functions? ‫ فنکشن استعمال کرنے کے تین فوائد بیان کریں‬ii
iii What are function parameters? ‫ فنکشن پیرامیڑز سے کیا مراد ہے؟‬iii
iv What it mean calling a function? ‫ فنکشن کال کرنے سے کیا مراد ہے؟‬iv
v What does the return type of function indicate? ‫ فنکشن کی ریٹرن ٹائپ کیا ظاہر کرتی ہے؟‬v
vi Does ever function required function signature? ‫ کیا ہر فنکشن کیلئے فنکشن سگنیچر کی ضرورت‬vi
‫تف‬ ‫ئ ہوتی ہے؟‬
Attempt any TWO (2) question 8 X ‫کو ی سے دو سواالت کا ص ی ل سے ج واب دی ں‬
2=16
.Q 5: Write a program which take percentage as input and show grade according to table
‫ایک پروگرام لکھیں جو طالب علم کی فیصد ان پٹ کرے اور سکا گریڈ ظاہر کرے گریڈ دینے کا معیار درج ذیل ہے‬
Percentage Grade
and above 80% A
70%-80% B
60%-70% C
50%-60% D
Below 50% F

Q 6: what is for loop? Explain with example


‫ لوپ سے کیا مراد ہے مثالکے ذریعے سے اسکی وضاحت کریں‬for
Q 7: what is function signature? Discuss its structure with details
‫فنکشن سگنیچر سے کیا مراد ہے ؟ اسکے سینٹیکس کی وضاحت کریں‬

You might also like