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

Compter Science Unit No 03

Uploaded by

mhassan812
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)
45 views2 pages

Compter Science Unit No 03

Uploaded by

mhassan812
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

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‬‬

‫وقنیسںیمدنبایےسزتادہدہاتاتاکس۔۔۔۔۔الہکتاےہ۔‬ ‫‪.‬‬

‫ڈنکلنشی ک‬
‫الج۔۔۔۔۔۔۔ںیمدمددیتیےہ۔‬ ‫‪.‬‬
‫ولصیفں‬ ‫رکتاروں‬ ‫زگرتا‬ ‫ہیامتم‬

‫اکرٹکیفےہتاںیہن؟‬ ‫انںیمےسوکنیسڈنکنشیہیاتبیتےہہک‬ ‫‪.‬‬

‫ایڈنکنشیوکیئیھب۔۔۔۔۔ارپسکینشیوہیتکسےہ۔‬ ‫‪.‬‬

‫ارگ ٹنمٹیٹسےکادنرایاور ٹنمٹیٹسوہوتہیرٹسرچک۔۔۔۔۔الہکتا‬ ‫‪.‬‬


‫ےہ‪:‬‬

‫سنیٹم‬
‫رٹنکول نیس۔۔۔۔۔۔۔ااسقمیکوہیتںیہ۔‬ ‫‪.‬‬

‫سنلنک سنیٹم‬
‫سن نیس۔۔۔۔۔۔۔ااسقمیکوہیتںیہ۔‬ ‫‪.‬‬

‫لمتشموہتاےہ‪:‬‬ ‫‪.‬‬

‫ارگایرکرٹکیدنہہسوطبران ُپاتیلےہ۔وہایکرپپرکےاگ؟‬ ‫‪.‬‬

‫رگوسرلیسیاکبلطمےہ‪:‬‬ ‫‪.‬‬

You might also like