0% found this document useful (0 votes)
205 views3 pages

Programming HSC ICT

The HSC ICT Programming Guide covers essential concepts in C programming, including variables, data types, input/output functions, operators, conditions, loops, and arrays. It emphasizes the conversion from flowcharts to algorithms to code, provides examples, and includes practice questions and tips for understanding code output. Important board questions from previous years are highlighted, focusing on loops, algorithms, and flowcharts.

Uploaded by

ritama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
205 views3 pages

Programming HSC ICT

The HSC ICT Programming Guide covers essential concepts in C programming, including variables, data types, input/output functions, operators, conditions, loops, and arrays. It emphasizes the conversion from flowcharts to algorithms to code, provides examples, and includes practice questions and tips for understanding code output. Important board questions from previous years are highlighted, focusing on loops, algorithms, and flowcharts.

Uploaded by

ritama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

HSC ICT Programming Guide

Part 1: C Programming er Basic Concept

* Variable & Data Type (int, float, char, etc.)

* Input/Output: scanf(), printf()

* Operator: +, -, *, /, %, ==, !=, >, <, &&, ||, !

* Condition: if, else if, else

* Loop: for, while, do-while

* Array er basic dharana (1D only)

* Syntax bhul korle output asbena - eta bojha dorkar.

Part 2: Algorithm, Flowchart theke C Code

* Flowchart -> Algorithm -> Code conversion practice

* Example: Number odd/even check

* Example: Largest among 3 numbers

* Array input-output diye 5 ta value er sum

Example Code:

int a;

scanf("%d", &a);

if(a % 2 == 0) printf("Even");

else printf("Odd");

Part 3: MCQ & Output-based Question

* Output bujhte hole: Code line by line bujhbo

* MCQ te mostly condition/loop diye confuse kore


HSC ICT Programming Guide

Example:

int a = 5, b = 2;

printf("%d", a % b);

Answer: 1

* Loop MCQ short e:

int i;

for(i=1;i<=3;i++) printf("%d", i);

Output: 123

Part 4: Board Questions (Important)

* 2020: Loop based question

* 2019: Algorithm to code (largest number)

* 2018: Flowchart based program

* Practice korte hobe: Loop, Condition, Input/Output

-> Trick: Condition + Loop + Output ei 3ta part valo korle 80% Programming done!

Tips & Shortcuts

* % er kaj mod (vagshesh)

* scanf("%d", &x); - always '&' dite hobe

* Condition true hole if-er vitore dhuke, na hole else

* for loop e shesh e i++ mane increment


HSC ICT Programming Guide

* Output question solve korar best way - nijer mathay execute koro line by line.

You might also like