0% found this document useful (0 votes)
12 views

Class 10th Paper

Uploaded by

aliwaseem041998
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Class 10th Paper

Uploaded by

aliwaseem041998
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

ST. MARY’S HIGH SCHOOL (Regd.

)
Mid Term Examination (2024)
Paper: Computer Science Class: Xth
Time 3 hours
M. Marks (60)

SECTION “A” ( MCQ’s ) Marks


(12)
1. In binary tree, each child can have maximum:
(a) one node (b) two nodes (c) three nodes (d) four nodes

2. Each item stored in array is called as:


(a) Pop (b) Index (c) Push (d) Element

3. A type of graph data structure in which nodes are connected by edges which are
unidirectional is called as:
(a) Directed (b) Undirected (c) Unified (d) Simple

4. Double line statements are started with:


(a) */ (b) /* (c) //* (d) *//

5. The # symbol is called as:


(a) Special character (b) Pre-processor directive (c) Program character
(d) String

6. Which operator is used to input stream:


(a) > (b) << (c) >> (d) <

7. \n stand for:
(a) alarm (b) new line (c) return carriage (d) horizontal tab

8. Which operators are used to compare two relational statements:


(a) Logical (b) Relational (c) Arithmetic (d) Incremental

9. If else nested deeply is called as:


(a) nested if (b) else-if (c) if-if else (d) else-if-if

10. Exit function uses ___________ library file:


(a) studio.h (b) conio.h (c) stdlibh (d) stdx.h

11. Which is called as definite repetition loop:


(a) while (b) do-while (c) for (d) if

12. Iteration is also called as:


(a) loop (b) statement (c) structure (d) command
SECTION “B” ( Short Answer Question )

Marks (32)

NOTE: Attempt any EIGHT questions from this sections.

Each questions carry (4) marks.


Q 1. What is the difference between Algorithm and Flowchart?

Q 2. What are the advantages of developing algorithm?

Q 3. Describe Stack and Queue?

Q 4. Write down the difference between Low Level and High Level Language?

Q 5. Display Output “Hello Pakistan” with the help of COUT and PUTS()?

Q 6. Differentiate between Arithmetic and Logical Operators?

Q 7. What is the difference between Tree and Graph Data Structure?

Q 8. Write the function of For loop and While loop?

Q 9. Find out errors in the following code?

#include <iostream>

using namespace std

int main (void);

int x;

cout << “\n Enter the value of X ………..”;

cin >> x

cout << “\n The Square of X …………” << a*a;

return 0;

Q 10. What is the difference between Input and Output functions?

Q 11. Define operators and any specific type?

Q 12. Discuss all types of control statements?


SECTION “C” ( Detail - Answer Question )
Marks
(16)

NOTE: Attempt any TWO questions from this sections.

(Each questions carry 8 marks)


Q 13. How many types are there for Graph data structure? Describe briefly?

Q 14. List five common high-level language used and describe their purpose?

Q 15. Discuss different types of Errors? What are string in C++?

Q 16. Differentiate between while and do-while loop? Define Computer Program

syntax in programing language?

You might also like