Java Language Fundamentals: Identifiers, Variables, Data Types, and Operators
Reserved Keywords
Keywords are strings reserved by the Java language for specific purposes. There are 50 keywords in total, all in lowercase. Note that const and goto are reserved words and cannot be used as identifiers. Additionally, true, false, and null are not keywords; they are literal values representing boolean states and empty reference ...
Posted on Tue, 09 Jun 2026 18:19:38 +0000 by jungalist
C Language Types and Expressions for Embedded Systems
Keywords
1.1 Data Type Keywords
The fundamental data type keywords in C include:
char, short, int, long, float, double
struct, union, enum, signed, unsigned, void
On a 32-bit platform, the following table shows the memory allocation for each type:
Type
Description
Size in Bytes
char
Character type
1 byte
short
Short integer
2 bytes ...
Posted on Fri, 05 Jun 2026 17:42:16 +0000 by Wizard4U
C# Fundamentals: Variables, Data Types, and Core Concepts
Variables
Variables store data in memory for use in your programs.
Declaration syntax:
dataType variableName;
variableName = value;
The assignment operator = assigns the value on the right to the variable on the left. It does not represent equality in the mathematical sense.
Shorthand declaration:
dataType variableName = value;
Data Types
// ...
Posted on Sat, 30 May 2026 22:01:32 +0000 by nepton
JavaScript Operators: Special Cases and Type Coercion
JavaScript operators share many similarities with those in Java, but several exhibit unique behaviors speicfic to the language's dynamic typing.
Division and Modulus with / and %
In JavaScript, the number type encompasses both integers and floats. The division operator (/) yields an integer result only if the division is exact; otherwise, it pr ...
Posted on Thu, 28 May 2026 20:39:03 +0000 by BLottman
Python Core Mechanics: Environment, Numerics, and Operations
Environment Configuration and Execution
Python operates as an interpreted scripting language compatible with Linux shells. It is widely utilized for scientific computation, automation, cloud services, web scraping, data analysis, and AI interfaces, often leveraging extensive third-party libraries.
Running Scripts in Linux
Modern Ubuntu distribu ...
Posted on Tue, 26 May 2026 20:51:15 +0000 by zevious
Bash Conditional Expressions and Operators
Conditional Expression Syntax
Bash supports four syntax forms for condition testing:
Syntax
Description
test expression
Uses the test command
[ expression ]
Single brackets, functionally identical to test
[[ expression ]]
Double brackets, enhanced version of the above
((expression))
Double parentheses, typically used with if statem ...
Posted on Mon, 25 May 2026 19:41:41 +0000 by True`Logic
Java Operators: Arithmetic, Relational, Bitwise, Logical, and More
Arithmetic operators are used in mathematical expressions and behave as they do in algebra. Assuming integer variables x = 10 and y = 20:
Operator
Description
Example
+
Addition
x + y == 30
-
Subtraction
x - y == -10
*
Multiplication
x * y == 200
/
Division
y / x == 2
%
Modulus (remainder after division)
y % x == 0
++
Increment ...
Posted on Wed, 20 May 2026 20:48:18 +0000 by Guldstrand
Comprehensive Guide to C++ Operators
C++ provides a rich set of operators for various programming tasks. These operators enable arithmetic computations, logical evaluations, bitwise manipulations, assignments, and more. Understanding their categories, usage, and precedence is fundamental for effective C++ programming.
Arithmetic Operators
These operators perform mathematical calcu ...
Posted on Mon, 18 May 2026 13:08:56 +0000 by xsist10
Core Mechanics of Python Integer Types and Operators
Exponentiation and Arithmetic Logic
Python handles integer exponentiation using the double asterisk operator. When calculating powers, the base value is raised to the specified exponent.
base_val = 5
power_val = 2
result_val = base_val ** power_val
print(result_val) # Output: 25
In this scenario, the base value is 5 and the exponant is 2. The ...
Posted on Mon, 18 May 2026 10:26:57 +0000 by mithras
JavaScript Basics: Operators, Control Flow, Functions, and Arrays
1. Operators
JavaScript provides two primary equality comparison operators:
== (loose equality): performs type coercion before comparing values.
=== (strict equality): compares both value and type without coercion.
Example:
let age1 = 20;
let age2 = "20";
console.log(age1 == age2); // true (after string-to-number coercion)
console. ...
Posted on Sat, 16 May 2026 11:56:17 +0000 by BrianPeiris