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

Programming Terminologies Comparison

This guide compares 18 fundamental programming concepts across C, Java, and Python. Key differences include program entry points, syntax styles, and variable declarations. The document highlights how each language handles functions, data types, and control structures.

Uploaded by

toxicteenxx
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)
2 views3 pages

Programming Terminologies Comparison

This guide compares 18 fundamental programming concepts across C, Java, and Python. Key differences include program entry points, syntax styles, and variable declarations. The document highlights how each language handles functions, data types, and control structures.

Uploaded by

toxicteenxx
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

Fundamental Programming Terminologies (C, Java, Python)

This guide compares 18 core programming concepts across C, Java, and Python.

1. Program

- C: Uses main() function as entry point.

- Java: Uses public static void main().

- Python: Directly runs from top.

2. Statement

- A single instruction: int x = 5; or print("Hello")

3. Syntax

- C/Java: Use semicolons, braces, types

- Python: Uses indentation and colons

4. Indentation

- Required in Python, optional in C/Java

5. Variables

- C/Java: int x = 5;

- Python: x = 5

6. Keywords

- Reserved words like int, class, def, etc.


7. Comments

- C/Java: // or /* */

- Python: #

8. Function / Method

- Python: def add(a, b):

- C: int add(int a, int b)

- Java: static int add(int a, int b)

9. Arguments / Parameters

- Function inputs (typed in C/Java, untyped in Python)

10. Return

- return value from function

11. Print Statement

- C: printf()

- Java: System.out.println()

- Python: print()

12. Data Types

- C: int, float

- Java: int, double

- Python: inferred types

13. Input Statement

- C: scanf()
- Java: Scanner sc = new Scanner(System.in);

- Python: input()

14. Boolean

- C: 0, 1

- Java: true, false

- Python: True, False

15. Comparison Operators

- ==, !=, >, < in all languages

16. Logical Operators

- C/Java: &&, ||, !

- Python: and, or, not

17. Conditionals

- C: if (x > 5) { ... }

- Python: if x > 5:

18. Code Block

- C/Java: use {}

- Python: use indentation

You might also like