Professional Documents
Culture Documents
Solved MCQs
Solved MCQs
Solved MCQs
Objective Type
تس
1. Encircle the Correct Option. (1 x 89 = 89) ےک رگد دارئہ اگلںیئ۔ وجاب در .1
1) A ........... is a statement or work that needs to be solved. ) ۔۔۔۔۔۔۔۔۔۔ ےس رماد اکی ااسی اکم ای رپورگام ےہ وج لح بلط وہ۔1
a) Flowchart ) ولفاچرٹa b) algorithm ) اوگلرمھتb c) proposition ) رپی وپزنشیc d) problem ) ہلئسمd
2) In order to solve a problem , it is important to follow a .............. . ) یسک ہلئسم وک لح رکےن ےک ےیل اکی ۔۔۔۔۔۔۔۔۔ رپ لمع رکان رضوری ےہ ۔2
a) systematic approach b) direct approch ) ڈارئٹکی رطہقی اکرb c) in direct approach d) All of these ) ہی امتمd
) مظنم رطہقی اکرa ) ان ڈارئٹکی رطہقی اکرc
3) The process of finding solutions to difficult problems is called. ) لکشم اسملئ اک لح التش رکےن ےک لمع وک ۔۔۔۔۔۔۔۔۔۔ رکان ےتہک ںیہ ۔3
a) trace table ) رٹسی لبیٹa b) truth table ) رٹوھت لبیٹb c) defining a problem ) ہلئسم اک نیعتc d) problem solving ) ہلئسم اک لحd
4) Which one from the following is not a step to solve a problem systematically ?
) دنمرہج ذلی ںیم ےس وکن اس رمہلح ہلئسم وک مظنم رطےقی ےس لح رکےن اک ںیہن ےہ ؟4
a) defining a problem b) understanding a problem c) planning a solution d) trace table ) رٹسی لبیٹd
) ہلئسم اک نیعتa ) ہلئسم وک انھجمسb ) لح اک ااختنب رکانc
5) Which one from the following is a step to solve a problem systematically ? ) دنمرہج ذلی ںیم ےس وکن اس رمہلح ہلئسم وک مظنم رطےقی ےس لح رکےن اک ےہ ؟5
a) defining a problem b) understanding a problem c) planning a solution d) all of these ) ہی امتمd
) ہلئسم اک نیعتa ) ہلئسم وک انھجمسb ) لح اک ااختنب رکانc
6) A well-defined problem is the one that does not contain. ) اکی واحض ہلئسم ںیم وکیئ ۔۔۔۔۔۔۔۔۔۔۔۔۔ ںیہن وہیت ۔6
a) error ) یطلغa b) validation ) وڈیلینشیb c) ambiguities ) طلغ یمہفc d) none of these ) وکیئ یھب ںیہنd
7) A problem , which does not have any ambiguities , is called. ) ہلئسم سج ںیم وکیئ طلغ یمہف ںیہن وہیت اےس ےتہک ںیہ ۔7
a) Defining a problem b) Understanding a problem c) Candid solution ) ڈنیکڈولسنشc d) Problem analysis
) ہلئسم اک نیعت رکانa ) ہلئسم وک انھجمسb ) ہلئسم اک زجتہی رکانd
8) If the problem is not defined well then which one strategy from the following programmer can use to define the problem.
) ارگ ہلئسم واحض ہن وہوت رپورگارم دنمرہج ذلی ںیم ےس وکن اس رطہقی ااتیخر رکےک ہلئسم اک نیعت رکاتکسےہ ۔8
a) Gain background knowledge b) Use guesses ) ادنازہ اگلانb c) Draw a picture ) وصتری انبانc d) All of these ) ہی امتمd
) ےلئسم اکسپ رظنم ولعمم رکانa
9) Strategy in which programmer try to know the situation and circumstances in which the problem is happening is.
) رطہقی سج ںیم رپورگارم ان احالت ووااعقت وک اجےنن یک وکشش رکےت ںیہ نج یک وہج ےس ہلئسم دیپا وہ راہ وہاتےہ ۔9
a) Gain background knowledge b) Use guesses ) ادنازہ اگلانb c) Divide and conquer d) Prototype ) ومنہنd
) ےلئسم اک سپ رظنم ولعمم رکانa ) میسقت رکواور واحض رکوc
10) The strategy in which programmer try to guess the unknown information through appropriate guesses is.
وہ ےہ ۔، ) رطہقی سج ںیم رپورگارم دعم دایتسب ولعمامت اک ادنازہ اگلےن یک وکشش رکاتےہ10
a) Gain background knowledge b) Use guesses ) ادنازہ اگلانb c) Act it out ) اٹکی اٹ آؤٹc d) Prototype ) ومنہنd
) ےلئسم اک سپ رظنم ولعمم رکانa
11) Which one from the following is not the strategy to define a problem ? ) دنمرہج ذلی ںیم ےس وکن اس رطہقی اکی ہلئسم اک نیعت رکےن ےک ےیل ںیہن ےہ ؟11
a) Gain background knowledge b) Use guesses ) ادنازہ اگلانb c) Draw a picture ) وصتری انبانc d) Act it out ) اٹکی اٹ آؤٹd
) ےلئسم اک سپ رظنم ولعمم رکانa
12) The strategy of defining a problem based on past experience is known as. ) تمکح یلمع سج اک ااصحنر امیض ےک رجتابت رپ ےہ ۔12
a) Gain background knowledge b) Use guesses ) ادنازہ اگلانb c) Draw a picture ) وصتری انبانc d) All of these ) ہی امتمd
) ےلئسم اکسپ رظنم ولعمم رکانa
13) Before jumping into the solution of the problem , it is important to. ) ےلئسم وک لح رکےن ےس ےلہپ رضوری ےہ ہک اےس ۔13
a) Understand a problem b) Define a problem ) نیعت ایک اجےئb c) Draw a picture ) وصتری انبیئ اجےئc d) Use guess ) ادنازہ اگلای اجےئd
) اھجمس اجےئa
14) The advantage of clear understanding of a problem is. ) اکی ہلئسم وک واحض وطررپ ےنھجمس اک افدئہ ےہ ۔14
a) It easier to solve b) It help to save money c) It help to save time d) All to these ) ہی امتمd
تق
) اس اک لح آاسن وہ اجاتےہa ) ہی ےسیپ اچبےن ںیم دمد دیتی ےہb ) ہی و اچبےن ںیم دمددیتی ےہc
15) Before problem solving , programmer need to first ........... a problem. ) یسک ےلئسم وک لح رکےن ےس ےلہپ اس اک ۔۔۔۔۔۔۔۔۔۔۔۔ رکان اچےیہ ۔15
a) Analyse ) زجتہیa b) Understand ) انھجمسb c) Define ) نیعتc d) Selection ) ااختنبd
16) How many W's are there in problem solving ? ) ہلئسم لح رکےن ںیم ےنتک ڈویلب(وساالت ) وپےھچ اجےت ںیہ ؟16
a) 2 a) 2 b) 3 b) 3 c) 4 c) 4 d) 5 d) 5
17) ............. helps to understand a given problem . (OR) ........... helps to solve the problem quickly.
ےئی
ےئگ ےلئسم وک ےنھجمس ںیم دمدداتی ےہ ۔ (ای) اکی ۔۔۔۔۔۔۔۔۔۔۔۔۔ اس وک زیتی ےس لح رکےن ںیم دمد داتی ےہ ۔ ) ۔۔۔۔۔۔۔۔۔۔۔۔۔ د17
a) Problem analysis b) Defining a solution ) ہلئسم اک نیعتb c) Selection best solution d) None of these ) وکیئ یھب ںیہنd
) ےلئسم اک زجتہیa ) رتہبنی لح اک ااختنبc
18) The next step after analyzing a problem. ) ہلئسم اک زجتہی رکےن ےک دعب االگ رمہلح ےہ ۔18
a) Planning a solution b) Defining a problem c) Selection best solution d) Understanding a problem
) لح یک وصنمہب دنبی رکانa ) ہلئسم اک نیعت رکانb ) رتہبنی لح اک ااختنب رکانc ) ہلئسم وک انھجمسd
19) .............. is a process helps us to find the right strategy for problem solving.
) لمع وج ںیمہ ےلئسم ےک لح ےک ےیل رمالح ںیم ےس رتہب رمہلح اک ااختنب رکےن ںیم دمد داتیےہ ۔19
a) Planning a solution b) Defining a problem c) Selecting best solution d) Understanding a problem
) لح یک وصنمہب دنبی رکانa ) ہلئسم اک نیعت رکانb ) رتہبنی لح اک ااختنب رکانc ) ہلئسم وک انھجمسd
تس
20) Right strategy for planning a solution is. ) لح یک وصنمہب دنبی ےک ےیل در تمکح یلمع ےہ ۔20
a) Divide and conquer b) Guess , check and improve c) Act it out ) اٹکی اٹ آؤٹc d) All of these ) ہی امتمd
) میسقت رکںی اور حتف احلص رکںیa ) ادنازہ اگلںیئ اور رتہبانبںیئb
21) The phase / step in which programmer find the right strategy for problem solving is.
تس
وہ ےہ ۔، تمکح یلمع یک یھب رضورت وہیت ےہ ) وہ رمہلح سج ںیم رپورگارم وک ہلئسم لح رکےن ےک ےیل در21
a) Defining a problem b) Planning a solution c) Problem analysis d) Understanding a problem
) ہلئسم اک نیعت رکانa ) لح یک وصنمہب دنبی رکانb ) ہلئسم اک زجتہی رکانc ) ہلئسم وک انھجمسd
22) Strategy divide a complex problem into a smaller problem is known as. وہ الہکیت ےہ ۔،) تمکح یلع وج دیچیپہ ےلئسم وک وھچےٹ ولئسمں ںیم میسقت رکیت ےہ ے22
a) Divide a conquer b) Guess, check and improve c) Act it out ) اٹکی اٹ آؤٹc d) All of these ) ہی امتمd
) میسقت رکںی اور حتف احلص رکںیa ) ادنازہ اگلںیئ اور رتہب انبںیئb
23) The strategy of planning a solution in which designer guess a solution to problem and then checks the correctness of the problem is.
وہ ےہ ۔، ) تمکح یلمع سج ںیم ڈزیارنئ ےلئسم ےک لح اک ادنازہ اگلات ےہ اور رھپ لح یک دریتس وک کیچ رکاتےہ23
a) Guess , check and improve b) Divide and conquer c) Act it out ) اٹکی اٹ آؤٹc d) Prototype ) ومنہنd
) ادنازہ اگلںیئ اور رتہب انبںیئa ) میسقت رکںی اور حتف احلص رکںیb
تس
24) Strategy in which designer defines the list of " to-do " task is. وہ ےہ ۔، ایتررکاتےہ ) تمکح یلمع سج ںیم ڈزیارنئ اکومں یک رہف24
a) Guess , check and improve b) Divide and conquer c) Act it out ) اٹکی اٹ آؤٹc d) Prototype ) ومنہنd
) ادنازہ اگلںیئ اور رتہب انبںیئa ) میسقت رکںی اور حتف احلص رکںیb
25) Strategy that may help a designer to understand the important components of the solution is.
وہ ےہ ۔، ) تمکح یلمع وج لح ےک امہ زجو وک ےنھجمس ںیم ڈزیارنئ یک دمد رک یتکس ےہ25
a) Divide and conquer b) Act it out ) اٹکی اٹ آؤٹb c) Prototype ) ومنہنc d) All of these ) ہی امت مd
) میسقت رکںی اور حتف احلص رکںیa
26) The selection of strategy depends upon the. ) تمکح یلمع اک ااصحنر ےلئسم یک ۔۔۔۔۔۔۔۔۔۔۔۔ رپ وہاتےہ ۔26
a) Nature of the problem b) complexity of the problem c) Algorith ) اوگلرمھتc d) All of these ) ہی امتمd
) ونتیعa ) دیچیپیگb
27) Technique that draw a pictorial representation of the solution is that. وہ ےہ ۔، ) کینکت وج لح یک وصتریی امندنئیگ رکیت ےہ27
a) Divide and conquer b) Act it out ) اٹکی اٹ آؤٹb c) Prototpe ) ومنہنc d) All of these ) ہی امتمd
) میسقت رکںی اور حتف احلص رکںیa
28) It is quite important that one strategy may be more suitable to implement a solution than the.
) ہی تہب امہ ےہ ہک اکی تمکح یلمع یسک ےلئسم وک لح رکےن ںیم ۔۔۔۔۔۔۔۔۔۔ تمکح یلمع ےس رتہب وہ۔28
a) 3rd one ) رسیتیa b) 4th one ) وچیھتb c) 5th one ) اپوچنںیc d) Other one ) دورسی امتمd
29) The word " candid " refers to something spontaneous and. ) ظفل " ڈنیکڈ " ۔۔۔۔۔۔۔۔۔ اک وحاہل داتی ےہ ۔29
a) Undefined ) ریغ رعتفی دشہa b) Unplanned ) ریغ وصنمہب دنبیb c) Planned ) وصنمہب دنبیc d) All of these ) ہی امتمd
30) A candid solution can help to save. ڈنیکڈ ولسنش ۔۔۔۔۔۔۔۔۔۔ اچبےن ںیم دمد داتیےہ ۔ ) اکی30
تق
a) Money ) ہسیپa b) Energy ) ارنیجb c) Time ) وc d) All of these ) ہی امتمd
31) It is ........ that the candid solution is the actual solution of a problem. ) ہی ۔۔۔۔۔۔۔۔۔۔۔۔۔ ےہ ہک ےلئسم اک ڈنیکڈ ولسنش تقیقح ںیم اس اک لح وہ۔31
a) Not necessary ) رضوری ںیہنa b) Necessary ) رضوریb c) Important ) امہc d) Not Important ) امہ ںیہنd
32) Last step of problem solving is that. ) ہلئسم لح رکےن اک آرخی رمہلح ےہ ۔32
a) Defining a problem b) Selecting the best c) Problem analysis d) Understanding a problem
) ہلئسم اک نیعت رکانa solution ) رتہبنی لح اک ااختنب رکانb ) ہلئسم اک زجتہی رکانc ) ہلئسم وک انھجمسd
33) When one or more solutions are there for one particular problem , then we can choose the best possible solution . This process is called.
) بج اکی ہلئسم وک لح رکےن ےک اکی ای اکی ےس زایدہ لح وموجد وہں اور ان ںیم ےس بس ےس رتہبنی لح اک ااختنب رکایل اجات ےہ وت اس ااختنب رکےن ےک لمع وک ہلئسم اک ۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔ ےتہک ںیہ33
۔
a) Selecting the best b) Understanding a problem c) Analyzing a problem d) Defining a problem
solution ) رتہبنی لح اک ااختنب رکانa ) ہلئسم وک انھجمسb ) ہلئسم اک زجتہی رکانc ) ہلئسم اک نیعت رکانd
ےئی
34) From the available solutions the best solution of the problem is that has. ) ہلئسم ےک د ےئگ لح ںیم ےس رتہبنی لح وہ وہاتےہ وج ۔34
a) Less number of steps b) More effective c) Both A and B d) None of these ) وکیئ یھب ںیہنd
) مک ادقاامت راتھکےہa ) دورسے لح ےس زایدہ ومرث وہاتےہb ) دوونں افل اور یبc
35) ............ are helpful to know about the steps used to solve a problem. ) ۔۔۔۔۔۔۔۔۔ اکی ےلئسم وک لح رکےن ےک ادقاامت ںیم زایدہ دمداگر وصتر ایک اجاتےہ ۔35
ن ٹ
a) Flowchart ) ولفاچرٹa b) Algorithm ) اوگلرمھتb c) Trace table ) رٹسی لبیٹc d) Translator ) رٹا سلی رd
36) A flowchart is a ........... presentation of the steps to solve a problem. ) ولفاچرٹ یسک ےلئسم ےک لح ےک رمالح یک ۔۔۔۔۔۔۔۔۔۔۔۔۔ امندنئیگ رکاتےہ ۔36
a) Good ) ایھچa b) Graphical ) وصترییb c) Visualize ) رصبیc d) Effective ) ومرثd
37) In problem solving, flowcharts can be used to . ) ہلئسم لح رکےت وہےئولفاچرٹ لح یک (ےک) ۔۔۔۔۔۔۔۔۔۔۔۔۔ ےک ےیل اامعتسل ایک اجاتکسےہ ۔37
a) Plan a program ) رپورگامa b) Plan a technique ) کینکیٹb c) Plan a method ) رطہقی اکرc d) Plan a solution ) وصنمہب دنبیd
40) The requirements for a flowchart are include. ) ولفاچرٹ ےک ولازامت ںیم اشلم ےہ۔40
a) Input ) ان ٹپa b) Output ) آؤٹ ٹپb c) Decision making ) ہلصیف اسزیc d) All of these ) ہی امتمd
42) The ............ steps are used for performing calculations and storing the results of calculations.
) ۔۔۔۔۔۔۔۔۔ اک رمہلح اسحب اتکب رکےن اور اتنجئ وک وٹسر رکےن ےک ےیل اامعتسل ایک اجاتےہ ۔42
a) Input ) ان ٹپa b) Output ) آؤٹ ٹپb c) Processing ) رپوگنسیسc d) Decision-making ) ہلصیف اسزیd
43) The processing step in flowchart include. ) ولفاچرٹ ںیم رپوگنسیس ےک رمہلح ںیم اشلم ےہ ۔43
a) Increasing/ decreasing two b) Adding/multiplying two values c) dividing two values d) All of these ) ہی امتمd
values ) دو دقماروں ںیم یمک یشیبa ) دو دقماروں یک عمج ای رضبb ) دو دقماروں یک میسقتc
44) To determine whether a statement is true or false , and taking appropriate steps accordingly , is called.
تس
اور اس ےک اطمقب انمبس ادقاامت رکان الہکاتےہ ۔،) اس ابت اک نیعت رکان ہک آای اکی ایبن در ےہ ای طلغ44
a) decision making ) ہلصیف اسزیa b) Input ) ان ٹپb c) Output ) آؤٹ ٹپc d) Processing ) رپوگنسیسd
45) In flowchart output are used to . ) ولفاچرٹ ںیم آؤٹ ٹپ اک اامعتسل ایک اجاتےہ ۔45
a) taking data from user b) displaying information c) processing input d) calculation input ) کیلکونشیل ان ٹپd
) ویزر ےس ڈاٹی انیلa ) رپوگنسیس ان ٹپc
) ولعمامت وک اظرہ رکانb
ٹل
46) ......... exhibits the processed results / information . شیپ رکیت ےہ ۔ رز/ ) ۔۔۔۔۔۔۔۔۔۔۔ ولعمامت ےک اتنجئ46
a) Decision making ) ہلصیف اسزیa b) Input ) ان ٹپb c) Output ) آؤٹ ٹپc d) Processing ) رپوگنسیسd
47) Which one from the following is not a requirement for a flowchart ? ) دنمرہج ذلی ںیم وکن اس ولفاچرٹ ےک ولازامت ںیم اشلم ںیہن ےہ ؟47
a) Decision making ) ہلصیف اسزیa b) Input ) ان ٹپb c) Output ) آؤٹ ٹپc d) Goto ) وگوٹd
48) Flowcharts explain a process clearly through. ) ولفاچرٹ اکی لمع وک واحض وطررپ ایبن رکاتےہ ۔48
a) Symbol ) العوتمں ےسa b) Algorithm ) اوگلرمھت ےسb c) Text ) نتم ےسc d) Both A and B
B اورA ) دوونںd
49) The steps in a flowchart are shown by. ) اکی ولفاچرٹ ںیم رمالح ےک اہبؤ وک اظرہ ایک اجاتےہ ۔49
ن ٹ
a) Lines and arrows b) Connector ) ک یک ر ےسb c) terminal ) رٹلنیم ےسc d) rectangular ) لیطتسم ےسd
) ریکلوں اور ریتوں ےسa
تم
50) Arrow symbol in flowchart indicate. نیعت رکیت ےہ ۔ ) ولفاچرٹ ںیم ریت یک الع50
a) flow line ) ولفالنئ اکa b) terminal ) رٹلنیم اکb c) input ) ان ٹپ اکc d) output ) آؤٹ ٹپ اکd
تم
51) Rectangle symbol in flowchart is used for. ) ولفاچرٹ ںیم لیطتسم یک الع اامعتسل وہیت ےہ ۔51
ن ٹ
a) input ےک ےیل ) ان ٹپa b) processing ) رپوگنسیس ےک ےیلb c) connectore ) ک یک ر ےک ےیلc d) Both A and B B اورA) دوونںd
تم
52) Parallelogram symbol in flowchart is used for. اامعتسل وہیت ےہ ۔ ) ولفاچرٹ ںیم وتمازی االضع یک الع52
کن ٹ
a) connector ) کی ر ےک ےیلa b) decision ) ہلصیف اسزی ےک ےیلb c) input/output d) Both A and B
آؤٹ ٹپ ےک ےیل/ ) ان ٹپc B اورA) دوونںd
تم
53) Circle ( oval ) symbol in flowchart is used for . ) ولف اچرٹ ںیم رسلک یک الع اامعتسل یک اجیت ےہ ۔53
ٹ ن
a) input ) ان ٹپ ےک ےیلa b) output ) آؤٹ ٹپ ےک ےیلb c) connector ) ک یک ر ےک ےیلc d) flow line ) ولفالنئ ےک ےیلd
54) Studying ............ is a fundamental part of computer science . ) ۔۔۔۔۔۔۔۔۔۔۔۔ انھکیس ویپمکرٹ اسسنئ اک اکی اینبدی زجو ےہ ۔54
a) Flowchart ) ولفاچرٹa b) Algorithm ) اوگلرمھتb c) Trace table ) رٹسی لبیٹc d) All of these ) ہی امتمd
55) An algorithm is a set of steps to solve a ......... ) اوگلرمھت ۔۔۔۔۔۔۔۔۔۔۔ لح رکےن ےک رمالح اک ومجمہع ےہ ۔55
a) complexity ) دیچیپیگa b) condition ) ڈنکنشیb c) problem ) ہلئسمc d) flowchart ) ولفاچرٹd
57) Firstly , to solve a problem programmer formulate a. ) رپورگارم ہلئسم لح رکےن ےک ےیل بس ےس ےلہپ واحض رکاتےہ ۔57
a) algorithm ) اوگلرمھتa b) flowchart ) ولفاچرٹb c) trace table ) رٹسی لبیٹc d) All of these ) ہی امتمd
58) Usually an algorithm takes an input and then after processing , produces some.
ےسج وہ رپوسیس رکےن ےک دعب ۔۔۔۔۔۔۔۔۔۔۔ ایہم رکاتےہ۔، ) اعم وطررپ اوگلرمھت وک ان ٹپ ایہم یک اجیت ےہ58
a) Input ) ان ٹپa b) Output ) آؤٹ ٹپb c) Process ) رپوسیسc d) None of these ) وکیئ یھب ںیہنd
61) Every algorithm must have .......... point. ) رہا وگلرمھت اک اکی ۔۔۔۔۔۔۔۔۔۔۔ ہطقن وہاتےہ ۔61
a) ending ) ااتتخیمa b) starting ) ادتبایئb c) one ) اکیc
d) Both A and B B اورA) دوونںd
تم
62) .......... is used to give name to data in computer memory . یسک یھب وماد وک ویپمکرٹ ومیمری ںیم انم دےنی ےک ےیل اامعتسل وہیت ےہ ۔ ) ۔۔۔۔۔۔۔۔۔۔۔ یک الع62
ٹیس ) ان ٹپc d) If , Else
a) Flowcahrt ) ولفاچرٹa b) Set )b c) Input اسلی،) افd
63) Which Function is used to check the condition . ) وکن اس نشکنف ڈنکنشی اجےنچن ےک ےیل اامعتس وہاتےہ ۔63
ٹیس ) ان ٹپd
a) If , Else اسلی، ) افa b) Goto ) وگوٹb c) Set )c d) Input
تم
64) Which notation of an algorithm is used for displaying values ? ادقار داھکےن ےک ےیل اامعتسل وہیت ےہ ؟ ) اوگلرمھت یک وکن یس الع64
) آؤٹ ٹپa b) Goto ٹیس ) ان ٹپd
a) Output ) وگوٹb c) Set )c d) Input
تم
65) Which notation of an algorithm is used to get input from a user ? ) اوگلرمھت یک وکن یس الع اصرف ےس ان ٹپ ےنیل ےک ےیل اامعتسل وہیت ےہ ؟65
ٹیس ) ان ٹپd
a) Start ) اٹسرٹa b) Goto ) وگوٹb c) Set )c d) Input
66) Suppose a = 5 and b = 7 , if ( a < 5 ) set c to 10 else set c to 20. Writing else part is ...........
انھکل ۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔ ےہ ۔ if ( a < 5 ) set c to 10 else set c to 20 وت وکb = 7 اورa = 5 ) ارگ66
a) Optional ) رضوریa b) Mandatory ) رضوری ںیہن ےہb c) Both A and B B اورA) دوونںc d) None of these ) وکیئ یھب ںیہنd
ےتکس
67) There can be ........... algorithm to solve the same problem. ںیہ ۔ ) اکی ےلئسم وک لح رکےن ےک ےیل ۔۔۔۔۔۔۔۔۔۔۔ اوگلرمھت وہ67
a) One ) اکیa b) Two ) دوb c) Three ) نیتc d) Multiple ) یئکd
68) Which algorithm is better , its depend upon the ---------- of the available solution of an algorithms.
) وکن اس اوگلرمھت رتہب ےہ اس اک ااصحنر اوگلرمھت یک ۔۔۔۔۔۔۔۔۔۔۔۔ رپ وہاتےہ ۔68
a) Efficiency ) اکرزگاریa b) Complexity ) دیچیپیگb c) Importance ) اتیمہc d) All of these ) ان امتمd
69) Efficiency of an algorithm is measured on the bases of. ) یسک یھب اوگلرمھت یک اکرزگاری اجیچن اجیتکس ےہ ۔69
a) Number of steps b) Space used in computer c) Complexity ) دیچیپیگ ےسc d) Both A and B
) رمالح یک دعتادےسa memory ) ویپمکرٹ یک ومیمری ےک اامعتسل ےسb B اورA) دوونںd
70) Which one from the following in not a measurement of an algorithm ? ) دنمرہج ذلی ںیم ےس وکن اس اوگلرمھت یک امیپشئ ای اینبد ںیہن ےہ ۔70
a) Complexity ) دیچیپیگa b) Number of steps c) Space used in computer d) All of these ) ہی امتمd
) رمالح یک دعتاد ےسb memory ) ویپمکرٹ یک ومیمری ےک اامعتسل ےسc
71) An algorithm is considered more efficient if it takes ......... to reach the result.
تس
ہجتین داھکیاتےہ وت اےس زایدہ ومرث اھجمس اجاتےہ ۔ ) ارگ اکی اوگلرمھت ۔۔۔۔۔۔۔۔۔۔۔ ںیم در71
a) More number of steps b) one step ) اکی رمہلحb c) two steps ) دو رمالحc d) less number of steps
) زایدہ رمالحa ) مک رمالحd
72) An algorithm using ......... in computer memory is considered more efficient with respect to memory space.
) اوگلرمھت وج ۔۔۔۔۔۔۔۔۔۔۔ اامعتسل رکے ااھچ اوگلرمھت اھجمس اجاتےہ ہب تبسن اس اوگلرمھت ےک وج ۔۔۔۔۔۔۔۔۔۔۔ اامعتسل رکے ۔72
a) Less space ) مک ہگجa b) more space ہگج ) زایدہb c) no space ) وکیئ ہگجc d) One space اکی ہگج )d
73) Which algorithm from the following is not considered more efficient ? ) دنمرہج ذلی ںیم ےس وکن اس اوگلرمھت رتہب ںیہن اھجمس اجےئ اگ ؟73
a) takes more steps b) takes less steps c) take less memory ) وج مک ویمری ےلc d) Both B and C C اورB) دوونںd
) وج زایدہ رمالح ےلa ) وج مک رمالح ےلb
74) One algorithm takes less steps and other one takes less memory , which one considered efficient ?
ان ںیم ےس وکن اس رتہب اھجمس اجےئ اگ ؟، ) اکی اوگلرمھت وج مک رمالح اتیل ےہ اور دورسا وج مک ویمری اتیل ےہ74
a) First one ) الہپa b) Second one ) دورساb c) Both ) دوونںc d) None of these ) وکیئ یھب ںیہنd
75) ........... means the solution is working but not giving required results. ) ۔۔۔۔۔۔۔۔۔۔ اک بلطم ےہ ہک اوگلرمھت اکم رکراہ ےہ رگم ولطمہب اتنجئ ںیہن دے راہ ۔75
نٹ
a) Logical error ) اللکیج اریرa b) Random error ) رڈنیم اریرb c) Syntax error ) سی یکس اریرc d) Run time error ) رن اٹمئ اریرd
تخ
76) How can programmer identify the logical error from algorithm ? ) رپورگارم اوگلرمھت ےس یقطنم یطلغ یک انش ےسیک رک اتکسےہ ؟76
a) By Trace table b) By Flowchart ) ولفاچرٹ ےسb c) By Testing ) گنٹسیٹ ےسc d) All of these ) ان امتم ےسd
) رٹسی لبیٹ ےسa
77) A trace table is a technique used to test ............ ) رٹسی لبیٹ اکی کینکیٹ ےہ وج ۔۔۔۔۔۔۔۔ وک ٹسیٹ رکےن ےک ےیل اامعتسل وہیت ےہ ۔77
a) Algorithm ) اوگلرمھتa b) Flowchart ) ولفاچرٹb c) Problem ) ہلئسمc d) Solution ) لحd
78) The trace table usually takes the form of a ........... ) اعم وطر رپ رٹسی لبیٹ ںیم ۔۔۔۔۔۔۔۔ اور ۔۔۔۔۔۔۔۔۔ وہےت ںیہ ۔78
a) Multi-Column ) اکی ےس زایدہ اکملa b) Multi-Row ) اکی ےس زایدہ اطقرںیb c) Both A and B d) Only two rows and columns
B اورA) دوونںc ) رصف اکی اطقر اور اکملd
79) In trace table each column showing. ) رٹسی لبیٹ ںیم رہ اکمل اظرہ رکاتےہ ۔79
a) Names of date ) ڈاٹی اک انمa b) Number of columns ) اکمل اک ربمنb c) Values of the data ) ڈاٹی یک تمیقc d) All of these ) ان امتم وکd
80) In trace table each row showing. ) رٹسی لبیٹ ںیم رہ اطقر اظرہ رکیت ےہ ۔80
a) Number of rows ) اطقر اک ربمنa b) Values of the data c) Names of data ) ڈاٹی اک انمc d) All of these ) ان امتم وکd
) ڈاٹی یک تمیقb
81) In trace table the blank means. ) رٹسی لبیٹ ںیم اخیل اخےن ےس رمادےہ ہک ۔81
a) There is a change b) There is no relation c) There is a no change d) There is a effect
) وکیئ دبتیلی ےہa ) وکیئ قلعت ںیہن ےہb ) وکیئ دبتیلی ںیہن ےہc ) وکیئ ارث ںیہن ےہd
82) In trace table " " ۔۔۔۔۔۔means that. ) رٹسی لبیٹ ںیم " ۔۔۔۔۔۔ " ےس رمادےہ ۔82
a) Value is concerned b) Value is not converned c) Both A and B B اورA) دوونںc d) None of these ) وکیئ یھب ںیہنd
) وویلی اک وکیئ قلعت ےہa ) وویلی اک وکیئ قلعت ںیہن ےہb
83) Testing an algorithm using invalid data ensures that the algorithm can grace fully handle .
) اس مسق یک گنٹسیٹ اک دصقم ہی وہاتےہ ہک اس ابت وک ینیقی انبای اج ےکس ہک اوگلرمھت طلغ ان ٹپ وک یھب تبثم ادناز ںیم ڈنہل رکےت وہےئ اصرف وک اغیپم داتیےہ ہک83
a) Expected data input b) Expected data output c) Unexpected data inputs d) None of these ) وکیئ یھب ںیہنd
تس تس تس
) ان ٹپ در ےہa ) آؤٹ ٹپ در ےہb ) ان ٹپ در ںیہن ےہc
84) The kind of testing helps programmer to improve the quality of solution is that.
تب
وہ ےہ ۔، وہیت ےہ ) گنٹسیٹ یک مسق وج رپورگارم وک اوگلرمھت یک وکایٹل ڑباھےن ںیم دمداگر اث84
a) Invalid data for testing b) Valid data for testing c) Boundary data for testing d) Numeric data for testing
تس تس
) اندر ڈاٹی گنٹسیٹa ) در ڈاٹی گنٹسیٹb ) ابؤڈنری ڈاٹی گنٹسیٹc ) ربمن ڈاٹی گنٹسیٹd
85) Which solutions are not reached through proper algorithms or work planning ? ) سک لح وک انمبس اوگلرمھت الپگنن ےس ںیہن اھکل اجات۔85
a) Prepared solution ) ایتر دشہ لحa b) Candid solution ) ڈنیکڈلحb c) Strategized solution d) Best solution ) رتہبنی لحd
) تمکح یلمع رپ ینبم لحc
86) ............ is a graphical representation of an algorithm. ) اوگلرمھت اک اکی وصتریی ااہظر ےہ ۔86
a) Matrix ) اقبلa b) Graph ) رگافb c) Flowchart ) ولفاچرٹc d) Solution ) لحd
تم
87) Which symbol in the flowchart is used to either start or end the flowchart. اجیت ےہ ؟ ) ولفاچرٹ ںیم وکن یس الع آاغز اور ااتتخم ےک ےیل ےاامعتسل یک87
ٹ ن
a) Terminal ) رٹلنیمa b) Connector ) ک یک رb c) Process ) رپاسیسc d) Decision ) ڈاڈنمئd
88) ........ means to test if the required solution is there. ) ۔۔۔۔۔۔۔ اک بلطم ےہ ہک آای ولطمہب لح وموجد ےہ ای ںیہن ۔88
ش
فیک ن
a) Verification ) ورییa b) Algorithm ) اوگلرمھتb c) Validation ) وڈیلیشیc d) Flowchart ) ولفاچرٹd
89) In an ........... error , the solution is working but not giving required results.
تس
وجاب ںیہن دے راہ وہات۔ ) ۔۔۔۔۔۔۔۔ مسق یک یطلغ یک وہج ےس اوگلرمھت لچ راہ وہاتےہ رگم در89
نٹ
a) Random error ) اڈنی اریرa b) Logical erro ) اللکیج اریرb c) Syntax error ) سی یکس اریرc d) Runtime error ) رن اٹمئ اریرd