10th Class Computer Science Chapter 3 Input and Output Handling Short Questions Answer
| Class: | 10th Class | Subject: | Computer |
| Chapter: | Chapter 3 | Board: | All Boards |
We are providing all Students from 5th class to master level all exams preparation in free of cost. Now we have another milestone achieved, providing all School level students to the point and exam oriented preparation question answers for all science and arts students.
After Online tests for all subjects now it’s time to prepare the next level for Punjab board students to prepare their short question section here. We have a complete collection of all classes subject wise and chapter wise thousands questions with the right answer for easy understanding.
Here we are providing complete chapter wise Computer Science questions and Answers for the 10th class students. All the visitors can prepare for their 10th class examination by attempting below given question answers.
In this List we have included all Punjab boards and both Arts and Science students. These Boards students can prepare their exam easily with these short question answer section
Lahore Board 10th classes short questions Answer
Rawalpindi Board 10th classes short questions Answer
Gujranwala Board 10th classes short questions Answer
Multan Board 10th classes short questions Answer
Sargodha Board 10th classes short questions Answer
Faisalabad Board 10th classes short questions Answer
Sahiwal Board 10th classes short questions Answer
DG Khan Board 10th classes short questions Answer
Bahwalpur Board 10th classes short questions Answer
All above mention Punjab Boards students prepare their annual and classes test from these online test and Short question answer series. In coming days we have many other plans to provide all kinds of other preparation on our Gotest website.
How to Prepare Punjab Board Classes Short Question Answer at Gotest
- Just Open the desired Class and subject which you want to prepare.
- You have Green bars which are Questions of that subject Chapter. Just click on Bar, it slides down and you can get the right answer to those questions.
- You can also Rate those question Answers with Helpful or not to make it more accurate. We will review all answers very carefully and also update time to time.
Now you can start your preparation here below
10th Class Computer Science Chapter 3 Input and Output Handling Short Questions Answer
[toggle title=”What is the difference between ERR and ERL variables? ” state=”close”]
ERR When an error occurs its code is assigned to a special variable named ERR.
[/toggle][toggle title=”What is meant by transfer of control? ” state=”close”]
Transfer of control transfers the flow of execution of a program from one part of the program to another part there are two types of transfer of control
Conditional Transfer of Control
Unconditional Transfer of Control
[/toggle][toggle title=”What is the purpose of conditional transfer of Control? ” state=”close”]
The conditional transfer of control causes the switching of the control from one part of the program to the other depending on a certain condition GOTO n1,n2,n3
[/toggle][toggle title=”What is selection structure? ” state=”close”]
Selection structure decide which substitute program is to be executed In GW-BASIC we use the IF THEN and IF THEN ELSE statements to apply selection structure.
[/toggle][toggle title=”What is the purpose of unconditional transfer ‘F’ control? ” state=”close”]
The unconditional transfer of control transfers the control from one part of the program to the other without any condition In this unconditional transfer of control the program control switches to a specific line by skipping one or more lines without any condition.
[/toggle][toggle title=”What is the purpose of ON ERROR GOTO statement? ” state=”close”]
This command enables error trapping feature of GW-BASIC and specify the first line of error handing routine.
[/toggle][toggle title=”Write the types of control structure? ” state=”close”]
There are three types of control structure these care sequence selection and loop.
[/toggle][toggle title=”How does IF-THEN ELSE statement work in BASIC? ” state=”close”]
The IF-THEN-ELSE statement is a decision making statement as it decides the path of the program It helps in making comparison and testing whether a condition is true or not.
[/toggle][toggle title=”Define sequence structure? ” state=”close”]
In Sequence structure instruction are executed according to the increasing order of their line number.
[/toggle][toggle title=”Write down the syntax of ON GOTO statement? ” state=”close”]
The Syntax of ON GOTO expression GOTO n1,n2,n3
Interpretation:
The expression is a valid BASIC expression and n1,n2,n3 are the valid number in the program where the control will be transferred. The range of value of numeric variable or expression is 0 to 255
[/toggle][toggle title=”When the WHILE WEND is useful? ” state=”close”]
This is useful where the programmer does not know in advance how many times the loop will be executed.
[/toggle][toggle title=”Explain the purpose of GOTO statement and write down its syntax? ” state=”close”]
GOTO statement is used to unconditionally transfer control from a program line to specific line without of the normal program sequence.
[/toggle][toggle title=”Define selection structure? ” state=”close”]
A selection structure chooses which alternative program statement to execute.
[/toggle][toggle title=”How many types of loop? ” state=”close”]
There are three types of loop.
i. FOR …………… NEXT LOOP.
ii. WHILE…………. WEND LOOP
iii. NESTED LOOP
[/toggle][toggle title=”Which statement are used to control iterations in BASIC? ” state=”close”]
Control of Iteration: Loop statements are used to control iteration in Basic language for this purpose FOR NEXT and WHILE WEND loop structures are used.
[/toggle][toggle title=”Define control structure? ” state=”close”]
Control structure control the flow of execution of a program.
[/toggle][toggle title=”Define unconditional transfer of control? ” state=”close”]
In unconditional transfer of control the program control switches to a specific line by skipping one or more lines without any condition.
[/toggle][toggle title=”Define ERR? ” state=”close”]
When an error occurs its code is assigned a unique code to a special variable named ERR.
[/toggle][toggle title=”How many types of control structure in BASIC? ” state=”close”]
There are three types of control structure in BASIC
1. Sequence structure
2. Selection structure
3. Loop
[/toggle][toggle title=”What are the name of logical operator? ” state=”close”]
There are three logical operator AND, OR, NOT.
[/toggle][toggle title=”What is the syntax of IF THEN statement? ” state=”close”]
1. If expression THEN statement
2. If expression then line number
[/toggle][toggle title=”How we can exit from an error handing routine?
We can exit from an error handling routine using the resume Next Resume line number or END statement.
[/toggle][toggle title=”When the WHILE WEND is useful? ” state=”close”]
This is useful where the programmer does not know in advance how many times the loop will be executed.
[/toggle][toggle title=”Age of different candidates appearing before a selection board of PIA is accepted through the keyword? ” state=”close”]
1. INPUT AGE A
2. IF A THEN 30 ELSE
3. PRINT Candidate eligible
4. GOTO 60
5. PRINT Candidate is not eligible
6. INPUT Would you like to input again
[/toggle][toggle title=”When we require loop structure? ” state=”close”]
We often face problem whose solution may require executing a set of statement repeatedly in such situation we use loop structure.
[/toggle][toggle title=”What is IF THEN ELSE statement? ” state=”close”]
The keyword ELSE is used to specify two different alternative with IF statement.
[/toggle][toggle title=”Write a program to print the table of given number” state=”close”]
10 CLS
20 INPUT Enter the value of Table …..T
25N=1
30 while N =10
40 RES= T*N
50 Print t x n RES
60 N=N+1
70 WEND
80 END
[/toggle][toggle title=”Write a program to calculate are and circumference of a circle. The program should get the radius of the circle from the user and display result? ” state=”close”]
10 CLS
20 INPUT Enter R of circle
30 Area = 3.14 r*r*
40 CIRCUM = 2*3.14
50 PRINT Area of the circle Area
60 PRINT Circumference of circle CIRCUM
70 END
[/toggle][toggle title=”Write a program to calculate the area of a triangle? ” state=”close”]
10 CLS
20 INPUT Enter the base of the triangle base
30 INPUT Enter the altitude of the triangle altitude
40 Area base altitude
50 PRINT Area of Triangle
60 END
[/toggle][toggle title=”What is condition? ” state=”close”]
A condition is an expression that either evaluates to true or false. [/toggle]
How to Write Perfect Short Answers?
In Board Exams, the examiner looks for specific keywords and presentation. Here is how to attempt Chapter 3 questions:
- Ideal Length: Write 3 to 5 lines for each short question. Too short gets fewer marks, too long wastes time.
- Highlighting: Use a Blue Marker to highlight key dates, names, or scientific terms in your answer.
Can't find what you're looking for? Search below: