01 Apr 2026
Computational Techniques Syllabus Map
A compact SEM-I map for programming topics from Python basics up to conditionals and loops.
Computational techniques begin before typing code. A problem must first be translated into data, formulas, decisions, and repeated steps. Python is used here because its syntax is readable, so the main attention can remain on the physical or mathematical idea being computed.
A useful habit is to ask four questions before writing a program:
- What quantities are known?
- What quantity is required?
- Which formula or rule connects them?
- Does the calculation need selection, repetition, or stored data?
Flow of ideas
- Python basics introduce statements, variables, comments, and simple scripts.
- Data structures organize values using lists, strings, tuples, and dictionaries.
- Integer and floating point arithmetic explains exact and approximate numerical work.
- Operators and expressions build calculations from numbers, variables, and logical conditions.
- Functions package repeated calculations into reusable blocks.
- Conditionals choose different actions depending on a test.
- Loops repeat a calculation using
whileorfor.
A minimal calculation
mass = 2.0
velocity = 3.0
kinetic_energy = 0.5 * mass * velocity**2
print(kinetic_energy)
Recommended order
Study the notes in the sequence of their dates. The programming part is cumulative: loops become easier only when expressions, data types, and functions are already comfortable.
Program-writing order
For a programming question, first identify the inputs, the formula or logic, and the output. Then write the code with meaningful variable names. If the question is numerical, give a small sample calculation or sample output.
Most short programs in this unit follow one of these patterns:
- read or assign numerical data;
- apply a formula;
- repeat a calculation using a loop;
- store values in a list;
- print the result in a readable form.
Practice questions
- Write a Python program to evaluate a physics formula.
- Find the average of a set of readings stored in a list.
- Use
if-elseto classify a numerical result. - Use a loop to print a table of values.
- Define a function and call it for different inputs.
Discussion