Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

319 total results found

4. Arithmetic Operators

Alprog - Elektro KKI Module 1 : Introduction to C

4.1 Basic Arithmetic Operators Operator Operation Python Example C Example + Addition a + b a + b - Subtraction a - b a - b * Multiplication a * b a * b / Division a / b a / b % Modulus a % b a % b 4.2 Important Division Differences Integer D...

Module 10 - Final Project

Digital Sistem Design (PSD/DSG)

5. Flow Control

Alprog - Elektro KKI Module 1 : Introduction to C

5.1 Conditional Statements 5.1.1 if Statement Python vs C Syntax: Python: if condition: statement1 statement2 elif another_condition: statement3 else: statement4 C: if (condition) { statement1; statement2; } else if (another_condition)...

Module 1 - AI Usage Ethics

Ethics in Class

6. More Migration Guide: From Python to C

Alprog - Elektro KKI Module 1 : Introduction to C

6.1 Common Syntax Differences Feature Python C Comments # This is a comment // This is a comment Block Comments """Multi-line""" /* Multi-line */ Code Blocks Indentation { } braces Statement End Line break ; semicolon Boolean Values True, False ...

Modul 9: OOP - Inheritance

Alprog - Elektro KKI

After completing this module, students are expected to: - Understand the concept of inheritance in OOP - Implement various types of inheritance in C++ - Use access specifiers in inheritance - Understand the concept of method overriding - Apply inheritance...

7. Best Basic Practices and Style Guidelines

Alprog - Elektro KKI Module 1 : Introduction to C

7.1 Naming Conventions Variables: Use descriptive names (student_count, not sc) Constants: Use uppercase (MAX_SIZE, PI) Functions (we will learn more about this in the next module): Use verb-noun pattern (calculate_area, print_result) 7.2 Code Organization #...

Module 3 - Propagasi Signal LoRa

Telecommunication

8. Practical Examples

Alprog - Elektro KKI Module 1 : Introduction to C

8.1 Complete Program Examples Example 1: Simple Calculator #include <stdio.h> int main() { float num1, num2, result; char operator; printf("Enter first number: "); scanf("%f", &num1); printf("Enter operator (+, -, *, /): "); ...

9. Common Debugging Tips

Alprog - Elektro KKI Module 1 : Introduction to C

9.1 Compilation Errors Missing semicolons: Add ; at the end of statements Undeclared variables: Declare variables before using them Type mismatches: Ensure compatible types in assignments (this mostly happens in function parameters or calling, we will learn m...

Module 10 : OOP - Polymorphism

Alprog - Elektro KKI

After completing this module, students are expected to: - Understand the concept of polymorphism in OOP - Implement compile-time polymorphism (function and operator overloading) - Implement runtime polymorphism (virtual functions) - Use abstract classes an...

Part 1 - Understanding Linked List

Algorithm Programming Module 2 - Linked List

Definition of Linked List A Linked List is a linear data structure consisting of elements called nodes. Each node has two main parts: Data – stores the value of the element. Pointer/Reference – points to the next node (or the previous node in a Doubly Lin...

Module 10 - Dynamic Programming

Algorithm Programming

Part 2 - Types of Linked List

Algorithm Programming Module 2 - Linked List

Types of Linked Lists Based on the structure of linked lists, they can be classified into several types: Singly Linked List Doubly Linked List Circular Linked List 1. Singly Linked List The singly linked list is the simplest form of linke...

Module 2 - Introduction to AVR Assembly

Embedded System (MBD)

Module 1 - Setup

Embedded System (MBD)

Part 3 - Searching

Algorithm Programming Module 2 - Linked List

1. Searching in a Custom Singly Linked List #include <bits/stdc++.h> using namespace std; // Linked list node class Node { public: int key; Node* next; }; // Add a new node at the front void push(Node** head_ref, int new_key) { ...

Part 4 - Manual VS STL List

Algorithm Programming Module 2 - Linked List

A doubly linked list is a data structure where each node contains a pointer to the next and previous nodes, allowing traversal in both directions. In C++, you can implement it manually or use the built-in STL std::list. Differences between Manual Doubly Linke...