NEB Class 11 • Computer Science • C Programming • Practice Set
C Arrays & Strings Practice Set: NEB 11 Computer
Master C Arrays and Strings through clear concepts, representations, a reliable answer method and exam-focused practice.
Worked practice
Build the result from meaning, not memory
An array stores a fixed sequence of same-type elements in contiguous positions indexed from zero. A C string is a character array terminated by the null character.
Worked example
int a[5]={2,4,6,8,10}; has a[0]=2 and a[4]=10. char name[6]=”Nepal” includes five letters plus \0.
The governing relationship is For an array of n elements, valid indices are 0 through n−1. Reserve space for the terminating \0 when storing a string and pass the array length when a function needs bounds. Check the convention, geometry or boundary condition before calculation.
Independent practice ladder
- Define the key physical quantities and give their SI units.
- Draw and label the relevant wave, ray, mode or energy diagram.
- Recalculate the worked example after changing one input by a factor of two.
- Explain the result without equations.
- Create a Nepal-relevant situation such as a classroom speaker, musical pipe, optical slit or thermal machine.
- Compare two cases and predict the larger output before calculating.
- Find and repair one deliberately wrong sign, node or unit.
- Write a three-mark answer and a five-mark answer.
Answer protocol: diagram → known data → principle → symbolic equation → SI substitution → result → physical check. Accessing index n, confusing array size with last index, comparing strings with ==, or reading unbounded text into a small buffer.
NEB answer method
Model → evidence → equation → check
First identify the system and what the question asks. Label the diagram, apparatus or reaction with SI quantities, then state the principle before selecting an equation. Solve symbolically where possible and check units, limiting cases and chemical or physical meaning.
| Stage | Question | Evidence |
|---|---|---|
| Model | What is idealised? | Assumption stated |
| Representation | Which diagram fits? | Labels or balanced equation |
| Calculation | Which relation follows? | Symbols then SI values |
| Evaluation | Does it make sense? | Unit, sign and trend check |
Make the idea concrete in Nepal
Connect the model to a school laboratory, household technology, health, environment, energy or local material. The example should clarify the science rather than merely mention a place. Compare a prediction with an observation and record uncertainty.
Review the NEB Class 11 Computer Science revision roadmap and the complete Computer Science guide. For online or physical tuition, call 9846662070.
Frequently asked questions
Questions students ask about C Arrays and Strings
An array stores a fixed sequence of same-type elements in contiguous positions indexed from zero. A C string is a character array terminated by the null character.
For an array of n elements, valid indices are 0 through n−1. Reserve space for the terminating \0 when storing a string and pass the array length when a function needs bounds.
Draw the situation, list known quantities in SI units, choose the governing relation symbolically, substitute once and finish with a unit and reasonableness check.
Accessing index n, confusing array size with last index, comparing strings with ==, or reading unbounded text into a small buffer.
Alternate one concept explanation, one diagram and two numericals. Revisit errors after a day instead of only rereading the solution.
For online or physical KTM Tuition classes, call 9846662070. After Grade 12, the MKS Education panel below gives preparation and pre-counselling contacts.
References and next steps
Scope checked against CDC Nepal; concept support from an institutional reference and OpenStax Science. Continue with the C Arrays and Strings cluster.
Ask about online or physical tuition
For focused Class 11 and Class 12 subject tuition, lesson clarification, worked-example practice and exam preparation, call 9846662070. Class mode, timetable, teacher availability and fees should be confirmed directly before enrolment.
Related Study Guides
- C Arrays & Strings Study Guide: NEB 11 Computer
- Internet, Web Browsers, Search Engines & CMS: NEB Class 11 Computer Guide
- C Arrays & Strings: NEB Class 11 Computer Guide
- Internet, Web Browsers, Search Engines & CMS Study Guide: NEB 11 Computer
- C Loops & Iteration Practice Set: NEB 11 Computer
- HTML Tags, Attributes, Links, Images, Lists, Tables & Forms: NEB Class 11 Computer Guide
- C Loops & Iteration Study Guide: NEB 11 Computer
- HTML Tags, Attributes, Links, Images, Lists, Tables & Forms Study Guide: NEB 11 Computer
- C Loops & Iteration: NEB Class 11 Computer Guide
- HTML Tags, Attributes, Links, Images, Lists, Tables & Forms Practice Set: NEB 11 Computer
- C Input, Output & Selection Statements Practice Set: NEB 11 Computer
- CSS Fundamentals for NEB Class 11: NEB Class 11 Computer Guide
MKS Education • Putalisadak
Plan Your Next Step After Grade 12
Ask MKS Education about IELTS, PTE, DET and SAT preparation or study-abroad pre-counselling. Confirm the current class mode, counselling schedule, fees and admission support directly before enrolling.
- Landline01-5921177
- Mobile9818173800
- Email[email protected]
- Websitemks.edu.np
- LocationPutalisadak, Kathmandu
