Algorithms and Programming PHP 7
ExerciseCreate a login system by implementing an array/list with a maximum of 10 indices, where there are two menu options for login using email/username. If the email/username or password is incorrect, the program should loop back. If the email/username and password are correct, a login success message should appear. Implement object-oriented programming by creating functions for input and functions for validating the email/username and password. Here’s the expected ...
Algorithms and Programming PHP 6
Array/ListAn array (or list) is a collection that contains multiple pieces of data. Generally, an array has indices (a sequence in the collection of data) that start from 0. To declare an array, you can add square brackets "[]" after the variable name and initialize it with curly braces "{}," separating each data element with a comma ",". Basic Example of Using an Array: 1234567891011121314151617181920<?php// Create Empty Array/List$buah = array();$hobi =...
Algorithms and Programming PHP 5
Object Oriented ProgrammingObject Oriented Programming (OOP) is a programming paradigm based on the concept of "objects." For example, consider a remote-controlled toy car: the car itself is the object, and the remote control is the tool used to operate it. The RC car can be controlled to move forward, backward, left, and right through the remote, which illustrates the basic concept of object-oriented programming. Programming languages like PHP support OOP through features like func...
Algorithms and Programming C/C++ SYS Course 4
Pointer & AddressKetika komputer dijalankan, komputer akan menjalankan sebuah program yang memiliki sebuah alamat/address yang biasanya disimpan didalam memori komputer. Pointer sendiri merupakan Pengalihfungsi sebuah variabel dari a ke b ataupun sebaliknya. Pointer mengimplementasikan address sebagai syarat penggunaannya. Jika kita memiliki sebuah variabel, maka variabel tersebut akan tersimpan didalam sebuah memori yang memiliki sebuah alamat unik khusus (yang kita sebut sebagai ad...
Algorithms and Programming PHP 4
Control Structure IILoopingLooping, or iteration, is a program structure that causes repeated execution of a block of code. There are two types of loops: Loops with a known number of iterations (For Loop) Loops with an unknown number of iterations (While Loop) For LoopThe For Loop is commonly used when the number of iterations is known. It can be declared using the keyword for, followed by the initialization of the starting value, a condition to stop, and the increment/decrement of the...
Algorithms and Programming PHP 3
Control Structure IThis is a paradigm for directing the flow of a program in a specific direction. To master the material on control structures in PHP programming, there are several key points that need to be understood. Boolean Expression Operator Comparison Operator Logical Operator Program Construction Control structures are divided into two categories: Branching Structure Looping Structure Conditional Structure (Conditional Statement)Branching Constructs & Program BlockA branchi...
Algorithms and Programming PHP 2
Data TypesIn programming languages, a data type is a category that defines the type of data being represented. Each piece of data has a different data type, such as numeric data, character data, and others. The common data types in programming are known as primitive data types (meaning they are the most frequently encountered types in programming and are also the oldest types available today). C/C++ is a pioneering programming language for primitive data types and has inspired the creati...
Algorithms and Programming PHP 1
IntroductionBefore learning the PHP programming language, it is generally recommended to study a few foundational concepts that will facilitate your understanding of PHP. OverviewAt the outset, students are introduced to small programs that contain the building blocks of programming: expressions, assignments, conditionals, and loops. In reality, a program is a mixture of these building elements. Students need to synthesize and integrate their knowledge by "deconstructing" sample pro...
Sentiment Analysis Webinar
Machine Learning Lifecycle is a process or a series of steps that must be followed to leverage machine learning and artificial intelligence technology. In this webinar, we will explain how to create a good and proper Machine Learning system lifecycle, including activities such as Machine Learning System Design and Structuring Machine Learning projects in accordance with industry standards. [{"url":"/assets/images/publication/Sentiment-Analysis-Webinar/0.jpeg","alt":"","title":""}] Sca...
CSS 3
Garis banyak digunakan untuk menghias bagian sisi sebuah elemen. Pada tutorial ini, kita akan belajar: Cara Membuat Garis Mengatur Ukuran dan Warna Jenis-jenis Garis Memberikan garis pada sisi tertentu Membuat Garis yang pojoknya tumpul Membuat Garis dengan Gambar CSS BorderCara Membuat Garis dengan CSSGaris dapat kita buat dengan properti border. Properti yang digunakan untuk membuat garis pada CSS adalah border. Properti ini memiliki 3 nilai yang harus diberikan: Ukuran garis Jenis Garis...




