NEB Class 11 • Computer Science • C Programming • Practice Set

C Input, Output & Selection Statements Practice Set: NEB 11 Computer

Master C Input, Output and Selection Statements through clear concepts, representations, a reliable answer method and exam-focused practice.

ConceptsWorked reasoningNEB practice
C Input, Output and Selection Statements concept diagramA wave, measurement markers and an energy arrow illustrate the central relationships.

Worked practice

Build the result from meaning, not memory

C input/output functions exchange formatted data with streams, while selection statements choose a path from conditions. Correct format specifiers, addresses and Boolean expressions are essential.

Worked example

int n; scanf(“%d”,&n); if(n%2==0) printf(“Even”); else printf(“Odd”); reads an integer and selects exactly one result.

The governing relationship is Use printf for formatted output; scanf requires an address such as &n for ordinary variables. if/else and switch should cover intended cases without accidental fall-through. Check the convention, geometry or boundary condition before calculation.

Independent practice ladder

  1. Define the key physical quantities and give their SI units.
  2. Draw and label the relevant wave, ray, mode or energy diagram.
  3. Recalculate the worked example after changing one input by a factor of two.
  4. Explain the result without equations.
  5. Create a Nepal-relevant situation such as a classroom speaker, musical pipe, optical slit or thermal machine.
  6. Compare two cases and predict the larger output before calculating.
  7. Find and repair one deliberately wrong sign, node or unit.
  8. Write a three-mark answer and a five-mark answer.

Answer protocol: diagram → known data → principle → symbolic equation → SI substitution → result → physical check. Omitting & in scanf, mismatching a format specifier and type, writing = instead of ==, or forgetting break in a switch case.

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.

StageQuestionEvidence
ModelWhat is idealised?Assumption stated
RepresentationWhich diagram fits?Labels or balanced equation
CalculationWhich relation follows?Symbols then SI values
EvaluationDoes 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 Input, Output and Selection Statements

C input/output functions exchange formatted data with streams, while selection statements choose a path from conditions. Correct format specifiers, addresses and Boolean expressions are essential.

Use printf for formatted output; scanf requires an address such as &n for ordinary variables. if/else and switch should cover intended cases without accidental fall-through.

Draw the situation, list known quantities in SI units, choose the governing relation symbolically, substitute once and finish with a unit and reasonableness check.

Omitting & in scanf, mismatching a format specifier and type, writing = instead of ==, or forgetting break in a switch case.

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 Input, Output and Selection Statements cluster.

NEB +2 tuition support

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.

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.