COMPUTER STUDIES (X) – GUESS PAPER 2026
The Innovative Academy
Prepared by Sir Rana Arsalan
Getting Notes for All Subject and All Classes # 03130227250
SECTION “A” MCQs (COMPULSORY)
Q1. Choose the correct answer:
i) The combination of three input variables for a logic gate, how many outputs are expected altogether:
- Three
- Six
- Eight
- Nine
ii) Traversing an array means accessing:
- first element
- last element
- any specific element
- each and every element
iii) The (==) operator belongs to:
- Assignment operator
- Logical operator
- Relational operator
- None of these
iv) This operator adds the first operand to the second operand and gives the result to first operand:
- +=
- =
- ++
-
v) cout << (12 - 6) / 2:
- 3
- 6
- 9
- 12
vi) break statement is used with:
- if
- switch
- for
- while
vii) All errors detected by users are typically:
- Syntax Errors
- Semantic Errors
- Run-Time Errors
- Logical Errors
viii) In C++ by default, variable names cannot be longer than:
- 30 characters
- 32 characters
- 34 characters
- 36 characters
ix) Repeat 10, forever commands of Scratch software are available in block:
- Motion
- Control
- Looks
- Sensing
x) Inverter in logic gates is called:
- AND Gate
- OR Gate
- NOT Gate
- NOR Gate
xi) In C++, main() returns which data type by default:
- integer
- float
- character
- none of these
xii) A bool data stores value in the form of:
- true
- false
- true or false
- none of these
SECTION “B” SHORT QUESTIONS (24 Marks)
Q2.
What do you mean by problem within the context of problem solving process?
OR
Write the definition of Algorithm and give two examples in daily life.
Create an algorithm to find the sum of two numbers.
OR
What is the importance of using a Flowchart?
Q3.
Highlight the difference between Linear and Non-linear data structure.
OR
What is meant by a computer program? What is the role of syntax?
Q4.
What is the purpose of Integrated Development Environment (IDE)?
OR
Write a short note on C++ programming language.
Q5.
Sort out the given variable names as correct or incorrect:
i) A5
ii) 7B
iii) d#5
iv) char
v) cout
vi) f13
OR
Distinguish between Declaring a variable and Initializing a variable.
Q6.
Differentiate between Single line comments and Multi line comments.
OR
Construct the truth table for three input NAND gate.
Q7.
Define the concept of Sprite and Script in Scratch.
OR
Briefly overview the Stage Preview window and Script Area.
Q8.
State the purpose of any three blocks in Scratch:
i) Motion
ii) Events
iii) Control
iv) Looks
Q9.
Write a C++ program to determine the average of any three numbers.
OR
What is reserved word? Write three examples.
Q10.
What is a String in C++?
OR
How do Arithmetic Assignment operators work?
Q11.
In basic structure of C++, what is the purpose of #include<iostream>?
Q12. Output of program:
int a=10, b=20;
cout << "\n" << (a!=b) << endl;
cout << "\n" << (a==b) << endl;
cout << "\n" << (a>=b) << endl;
return 0;
OR
Describe how the "switch" statement works.
SECTION “C” DESCRIPTIVE QUESTIONS (24 Marks)
Q13.
What is the use of Costume Tab?
OR
Write the output of program:
int i;
for(i=1; i<=5; i++)
cout << "\n" << "PAKISTAN";
cout << "\nThe End";
return 0;
Q14.
Describe all Logical Operators with example.
OR
Define Nested loop and write output:
int a,b;
for(a=1; a<=2; a++)
{
for(b=3; b>=1; b--)
cout << "\nPractical Centre";
}
return 0;
Q15.
Discuss any THREE steps of problem solving process:
i) Define the problem
ii) Generate alternative solution
iii) Evaluate and select alternative
iv) Implement and follow up
OR
Explain logic gates (symbols, expressions, truth table):
i) AND Gate
ii) NOR Gate
iii) OR Gate
Q16.
Define a Flowchart and explain symbols.
OR
Design a Flowchart:
- Input 3 numbers
- Calculate sum and percentage
- If percentage > 70 → “Well done”
- Otherwise → “Work hard”
Formula:
Percentage = (sum / 300) × 100
Comments
Post a Comment
If you have any doubts, Please let me know .