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

10th Assesment

The document is a test paper for 10th-grade students, consisting of objective and subjective questions related to programming concepts, specifically arrays and loops. It includes multiple-choice questions, short answer questions, and programming tasks. The test has a total of 30 marks and is designed to be completed within 60 minutes.

Uploaded by

numanullah2000
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)
2 views

10th Assesment

The document is a test paper for 10th-grade students, consisting of objective and subjective questions related to programming concepts, specifically arrays and loops. It includes multiple-choice questions, short answer questions, and programming tasks. The test has a total of 30 marks and is designed to be completed within 60 minutes.

Uploaded by

numanullah2000
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/ 2

Name: __________________________ Date: _______________

Test Class: 10th Time Allowed: 60 Minutes


Maximum Marks: 30 Obtained Marks:

( OBJECTIVE TYPE )

Q 1: Four possible options are given for each statement mark  on the correct option.
(06)

A B C D A B C D A B C D

1 Ⓐ Ⓑ Ⓒ Ⓓ 6 Ⓐ Ⓑ Ⓒ Ⓓ 11 Ⓐ Ⓑ Ⓒ Ⓓ
2 Ⓐ Ⓑ Ⓒ Ⓓ 7 Ⓐ Ⓑ Ⓒ Ⓓ 12 Ⓐ Ⓑ Ⓒ Ⓓ
3 Ⓐ Ⓑ Ⓒ Ⓓ 8 Ⓐ Ⓑ Ⓒ Ⓓ 13 Ⓐ Ⓑ Ⓒ Ⓓ
4 Ⓐ Ⓑ Ⓒ Ⓓ 9 Ⓐ Ⓑ Ⓒ Ⓓ 14 Ⓐ Ⓑ Ⓒ Ⓓ
5 Ⓐ Ⓑ Ⓒ Ⓓ 10 Ⓐ Ⓑ Ⓒ Ⓓ 15 Ⓐ Ⓑ Ⓒ Ⓓ

A B C D

1 An array is a ——— structure? Loop Control Data Conditional

Increment/
2 ———part of for loop is executed first .? Condition Body Initialization
decrement
Array elements are stored at ———
3 Contiguous Scattered Divided None
memory location?
——— is the unique identifier used to
4 Data type Array name Array size None
refer to the array .?
To initialize the array in a single statement,
5 At the time of After Before A&B
initialize it ——— declaration
Using loops inside loop is called ———
6 For While Do-while Nested
loop?

Name: __________________________ Date: _______________


Test Class: 10th Time Allowed: 60 Minutes
Maximum Marks: 30 Obtained Marks:

( SUBJECTIVE PART )

PART – I

Q 2: Write short answers to any seven (07) questions. (7x2=14)


i. What is the use of nested loops?
ii. Describe the structure of for loop?
iii. Write the general syntax of initialize an array ?
iv. What do you mean by iteration in a loop ?
v. Write general syntax of for loop ?
vi. What is the advantages of initializing an array at the time of declaration ?
vii. How is loop used to write values in array ?

PART – II

ATTEMPT ALL LONG QUESTION EACH QUESTION CARRY EQUAL MARKS: (05)
Q 3: write a program that inputs a number and determine whether the
Given Number is prime or not ?
Q 4: Write a program that five times displays the number from 1 to 10?

You might also like