Tagged articles
Conditionals
15 articles · Page 1 of 1
This tutorial uses kitchen, traffic‑light, and conveyor‑belt analogies to demystify Go's variable declarations, if statements with pre‑statements, the versatile for loop, multi‑value functions, and slice mechanics, providing clear code examples and practical pitfalls for beginners.
ConditionalsGoLoops
0 likes · 6 min read

This article explains the PHP boolean true, its role in conditionals and function return values, and demonstrates common usage through examples such as simple if statements, file writing with file_put_contents, and boolean variable assignments, illustrating how true indicates successful operations.
BackendConditionalsboolean
0 likes · 3 min read

This article presents a series of beginner‑level Python exercises—including a login system with limited attempts, a number‑guessing game, grade classification logic, a rock‑paper‑scissors simulator, and a simple shopping‑cart program—complete with full source code and step‑by‑step explanations.
ConditionalsLoopsbeginner
0 likes · 9 min read

This article introduces fundamental Python programming concepts by using everyday analogies, covering what code is, conditional statements, loops, variables, functions with parameters, modules, and classes, and provides clear example code snippets to illustrate each topic for beginners.
ClassesConditionalsLoops
0 likes · 15 min read

This article provides a comprehensive guide to Bash scripting, covering if/elif/else conditionals, case statements, four types of loops (for, while, until, select), signal trapping with trap, useful one‑liners for randomness and colored output, and several fun scripts such as a multiplication table, colored triangle, and chessboard.
ConditionalsLoopsbash
0 likes · 14 min read

This article provides a comprehensive guide to Bash scripting, covering conditional statements (if/elif/else), case selections, various loop constructs (for, while, until, select), loop control commands, parameter shifting, signal trapping with trap, and includes numerous practical code examples with detailed analysis.
ConditionalsLoopsSignal Handling
0 likes · 17 min read

This guide provides a comprehensive walkthrough of Bash scripting fundamentals, covering conditional statements, various loop constructs, signal handling with trap, and a collection of useful one‑line scripts and visual examples for everyday tasks.
ConditionalsLoopsbash
0 likes · 14 min read

This article provides a detailed Bash scripting tutorial covering conditional statements (if/elif/else, case), various loop constructs (for, while, until, select), control commands (break, continue, shift), signal handling with trap, and several practical example scripts such as a multiplication table, colored triangle, and chessboard pattern.
ConditionalsLoopsSignal Handling
0 likes · 16 min read

This guide walks you through Bash scripting fundamentals, covering conditional statements (if, case), four loop types (for, while, until, select), loop control commands (continue, break, shift), signal trapping with trap, plus practical examples and handy one‑liners for automation.
ConditionalsLoopsbash
0 likes · 12 min read


ITPUBMay 25, 2018 · Fundamentals
This tutorial explains programming fundamentals using everyday analogies, covering how code serves as a precise language for computers, the role of conditionals, loops, variables, functions, modules, and an introduction to classes, all illustrated with Python examples that model buying fruit under different scenarios.
ClassesConditionalsLoops
0 likes · 16 min read

This tutorial introduces the fundamentals of programming with Python, explaining what code is, how to use conditionals, loops, variables, functions, parameters, modules, and classes, and provides clear examples that illustrate each concept for beginners.
ClassesConditionalsLoops
0 likes · 15 min read

This comprehensive guide walks you through Bash scripting fundamentals, covering conditional statements (if, case), four types of loops (for, while, until, select), loop control commands, signal trapping with trap, useful one‑liners, and a collection of fun mini‑scripts, all illustrated with clear examples and diagrams.
ConditionalsLinuxLoops
0 likes · 11 min read

Learn how to use Bash's flow-control structures—including if, elif, else, case, for, and while loops—through clear explanations and practical code examples that demonstrate testing conditions, handling files, and automating tasks in shell scripts.
ConditionalsLoopsbash
0 likes · 6 min read


ITPUBMay 5, 2016 · Fundamentals
This guide explains how to use the shell test command and the [ ] syntax for file existence checks, interprets the special $? return code, demonstrates logical operators && and ||, and highlights spacing rules and additional test flags with clear examples.
Conditionalsbashshell
0 likes · 4 min read
![Mastering Shell Test Expressions: test vs [] with Real‑World Examples](https://wsrv.nl/?url=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz%2FWKtM9X8hT241aHhXicRAyBhjic1O02FFU1iaRueCMyNXBxv8lt4euZEQ9LPkuweBVeI4KicplNhQ6pIXTVgibRoAYBg%2F0%3Fwx_fmt%3Dpng)
This article walks through the fundamentals of Bash scripting, covering file descriptors, input/output redirection, here‑documents, combining stdout and stderr, pipe lines, the tee command, and the three main loop constructs with practical examples and tips for effective shell programming.
ConditionalsLoopsio redirection
0 likes · 21 min read
