The document is a class test for Computer Science for Class 10 students, focusing on Chapter 4. It includes multiple choice questions (MCQs) and short answer questions related to data structures, arrays, and loops. The total marks for the test are 30, with specific instructions for each section.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
15 views
Class 10 Computer Science Ch 4
The document is a class test for Computer Science for Class 10 students, focusing on Chapter 4. It includes multiple choice questions (MCQs) and short answer questions related to data structures, arrays, and loops. The total marks for the test are 30, with specific instructions for each section.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Apex Academy
Class Test (Chapter 4)
Name ………………………… Date ……….. Subject: Computer Science Class: 10 Total Marks: 30 Obtained Mark: Section A: Multiple Choice Questions (MCQs) (Choose the correct answer. Each question carries 1 mark.) (1×10) 1. Which one is data structure? a) Loop b) Selection c) Constant d) Array 2. The index of first element of array is always: a) 0. b) 1 c) 2 d) 3 3. …………. structure allows repetition of a set of instructions. a) Loop b) Data c) Control d) Conditional 4. …………. Is a unique identifier used to refer to an array. a) Array data type b) Array Size c) Array index d) Array name 5. What is an index number of last element of an array with 7 elements? a) 6 b) 3 c) 7 d) 5 6. …………. Can be used as an array index. a) Keywords b) Else c) Variable d) If 7. How many times “Punjab” will print by using the above statements: a) 5 b) 1 c) 2 d) 3 8. Which is not a type of loop? a) Repeat b) For c) While d) Do while 9. To access an element of array ……… can be used as an index: a) Variable b) Positive integer c) Real number d) Both a & b 10. Each run of a loop is called: a) Iteration b) Duration c) Cycle d) Test
Section B: Short Questions (10×2)
1. Write down the general syntax of For loop. 2. Write an example of array initializing. 3. Define data structure. 4. What are nested loops? 5. How does an array differ from simple variable? 6. How many kinds of loops C language provide? 7. How array elements are accessed? 8. Draw a flowchart that represents the For loop structure 9. What is an array? 10. Write a program using For loop to display “Pakiatan” three times on the screen.