Using for loop c programmes

Great! Practicing for loops in C is an excellent way to strengthen your understanding of programming logic and structure. Here are 10 C programming exercises using for loops for practice, from beginner to intermediate level: --- ✅ 1. Print Numbers from 1 to N Goal: Input n and print numbers from 1 to n. int n; printf("Enter a number: "); scanf("%d", &n); for (int i = 1; i <= n; i++) {     printf("%d ", i); } --- ✅ 2. Sum of First N Natural Numbers Goal: Input n, output sum 1 + 2 + ... + n. int n, sum = 0; printf("Enter a number: "); scanf("%d", &n); for (int i = 1; i <= n; i++) {     sum += i; } printf("Sum = %d\n", sum); --- ✅ 3. Factorial of a Number Goal: Input n, calculate n!. int n, fact = 1; printf("Enter a number: "); scanf("%d", &n); for (int i = 1; i <= n; i++) {     fact *= i; } printf("Factorial = %d\n", fact); --- ✅ 4. Multiplication Table Goal: Input n, print tabl...

COMPUTER ICT SYLLABUS


1. Generations of Computer (I-V)
 2. Block Diagram of a Computer
3. Functions of the Different Units Input unit, Output unit, Memory unit, CPU (ALU+CU)

4. Input & Output Devices Input Devices:
 a)Keyboard,
 b) Point and draw devices mouse, joystick, track ball, light pen
c) Data Scanning devices image scanner, OCR, OMR, MICR, Bar code reader, card reader
d) Voice Recognition Device e) Digitizers Output Devices:
 a) Monitor
 b) Printer laser printer, dot-matrix printer, ink jet printer
c) Projector Memories [Memory hierarchy]
5. Registers [Types of Registers]
6. Cache Memory
7. Primary Memory
 i) RAM   a) How data is stored in a RAM b) DRAM and SRAM ii) ROM a) ROM BIOS/ Firmware b) Types of ROM
8. Secondary Memories
i) Hard disk   a) Structure of a hard disk, how data is stored in a hard disk, concept of tracks, sectors, clusters, cylinders  
       b) formatting of hard dick (low level formatting and high-level formatting)
 ii) Floppy [data storage mechanism]
iii) CD [data storage mechanism] Software
 9. System Software a. Operating System
        i. Functions of O/S ii. Types of O/S b. Program Language Translators i. Assembler
      ii. Compiler iii. Interpreter  
 c. Utility Programs
 d. Communication Software
e. Performance Monitoring Software
   10. Application Software
11. Software hierarchy and dependence between the different layers
12. Computer Languages
i. Machine language
ii. Assembly language
iii. High level language Practical MS Office
 i) Microsoft Word ii) Microsoft Excel iii) Microsoft PowerPoint


NOTEBOOK:: ALSO G.K 

Comments

  1. This is a great article with lots of informative resources. I appreciate your work this is really helpful for everyone. Check out our website Input And Output Devices Of Computer for more Open Naukri related info!

    ReplyDelete

Post a Comment

Popular posts from this blog

python in brief

advance loop based C programmes