Class Subject Time Allowed Marks Date
th
10 Computer Science 1:20 hr 30 05-12-2024
Unit No 3
Student Father’s
Roll#
Name Name
Test Session Round I [PT-3] 2024 – 25
.2: Write short answers to any (4) questions. 08
i. What is conditional logic? رشموطقطنمایکوہیتںیہ؟ .i
ii. What is mean by control statements? رٹنکولسٹمینٹےسایکرمادےہ؟ .ii
سیٹم
iii. How many types of control statements in C language? وگنیلجئںیمرٹنکول نیسیکینتکااسقمںیہ؟C .iii
سیٹم
iv. What is sequential statements? وکیسئیشل نیسایکوہیتںیہ؟ .iv
سیٹم
v. What are selection statements? نشکیلس نیسیکرعتفیےیجیک۔ .v
Q.3: Write short answers to any (3) questions. 06
سیٹم
Why do we need conditional statements? ںیمہڈنکلنشی نیسیکرضورتویکںوہیتےہ؟ .
What is diff b/w if and if-else statement? With سیٹمنٹںیماثمولںےکاسھتفرقرکںی۔if-elseسیٹمنٹاورIf .
examples.
Describe shortly the parts of nuanced statement. ئیسنڈسیٹمنٹڈاھےچنےکفلتخموصحںکورصتخموطررپایبنرکںی۔ .
What is switch case structure? وسچئسیکرٹسرچکایکوہتاےہ؟ .
Q.4: Write short answers to any (3) questions. 06
Write the flowchart of if-else statement. اکولفاچرٹانبںیئ۔If-else .
سنلنک
What is the use of nested selection structure? ئیسنڈ سنرٹسرچکاکایکاامعتسلےہ؟ .
Write down the structure of if statement. ٹنمٹیٹساکڈاھہچنںیھکل۔If .
What is meant by associated code? وکڈےسایکرمادےہ؟ .
Part II
Attempt any (2) Questions. 5+5=10
م ٹسی
Q.5: - What are control statements? How many types of وگنیلجئینتکمسقیکرٹنکولC۔رٹنکول نیسایکوہیتںیہ؟05وسالبمن
سیٹم
control statements provided by C language? Explain نیسایہمرکیتےہ؟واضحےیجیک۔
Q.6: - Write a program that takes a character entered by user ۔ایرپورگامںیھکل۔وجایرکرٹکیانپاتیلےہاورارگوہ06وسالبمن
is displays “DIGIT” if the character entered by user is a “NOT DIGIT”“رپپرکتاےہورہنDIGIT”دنہہسوہوت
digit between 0 to 9. Otherwise displays “NOT DIGIT” رپپرکتاےہ۔
نلکس
Q. 7: -Write a detailed note on nested selection structure. ۔ئیسنڈ سنرٹسرچکرپاییلیصفتونٹںیھکل۔:7وسالبمن
Class Subject Time Allowed Marks Date
th
10 Computer Science 10 Min 10 05-12-2024
Unit No 3
Student Father’s
Roll#
Name Name
Test Session Round I [PT-3] 2024 – 25
وقنیسںیمدنبایےسزتادہدہاتاتاکس۔۔۔۔۔الہکتاےہ۔ .
ڈنکلنشی ک
الج۔۔۔۔۔۔۔ںیمدمددیتیےہ۔ .
ولصیفں رکتاروں زگرتا ہیامتم
اکرٹکیفےہتاںیہن؟ انںیمےسوکنیسڈنکنشیہیاتبیتےہہک .
ایڈنکنشیوکیئیھب۔۔۔۔۔ارپسکینشیوہیتکسےہ۔ .
ارگ ٹنمٹیٹسےکادنرایاور ٹنمٹیٹسوہوتہیرٹسرچک۔۔۔۔۔الہکتا .
ےہ:
سنیٹم
رٹنکول نیس۔۔۔۔۔۔۔ااسقمیکوہیتںیہ۔ .
سنلنک سنیٹم
سن نیس۔۔۔۔۔۔۔ااسقمیکوہیتںیہ۔ .
لمتشموہتاےہ: .
ارگایرکرٹکیدنہہسوطبران ُپاتیلےہ۔وہایکرپپرکےاگ؟ .
رگوسرلیسیاکبلطمےہ: .