0% found this document useful (0 votes)
6 views1 page

Programming Basics: Key Concepts Explained

The document provides programming notes covering key concepts such as IF/ELSE statements, loops, arrays, functions, and pointers, with fill-in-the-blank exercises for each topic. It also highlights common mistakes like using '=' instead of '==', infinite loops, invalid array indices, and uninitialized pointers. These notes serve as a concise reference for fundamental programming concepts and common pitfalls.

Uploaded by

rahanahmed929
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)
6 views1 page

Programming Basics: Key Concepts Explained

The document provides programming notes covering key concepts such as IF/ELSE statements, loops, arrays, functions, and pointers, with fill-in-the-blank exercises for each topic. It also highlights common mistakes like using '=' instead of '==', infinite loops, invalid array indices, and uninitialized pointers. These notes serve as a concise reference for fundamental programming concepts and common pitfalls.

Uploaded by

rahanahmed929
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

PROGRAMMING NOTES (COMPLETE PACK)

1. IF / ELSE STATEMENTS
- Used for decision making.
Fill in the blanks:
1. The ______ statement checks a condition.
2. The ______ block runs when condition is false.

2. LOOPS
Fill in the blanks:
1. A for loop has three parts: initialization, ______, update.
2. A while loop checks condition ______ running code.

3. ARRAYS
Fill in the blanks:
1. Arrays store elements in ______ memory.
2. Array index starts from the number ______.

4. FUNCTIONS
Fill in the blanks:
1. A function returns a value using the keyword ______.
2. A function without return type is called ______.

5. POINTERS
Fill in the blanks:
1. A pointer stores the ______ of a variable.
2. The * symbol is used to get the ______ at the stored address.

COMMON MISTAKES
- Using = instead of ==
- Infinite loops
- Invalid array index
- Using uninitialized pointers

You might also like