Posts

Featured Posts

Start Your Journey with Linux Command Line

Image
Start Your Journey with the Linux Command Line: A Comprehensive Guide Whether you are a software developer, system administrator, analytics engineer, or cybersecurity enthusiast, mastering the Linux command line (terminal) is one of the single most effective skills you can acquire. While graphical user interfaces (GUIs) offer visual convenience, the command line interface (CLI) delivers unmatched speed, fine-grained system control, and seamless automation capabilities. Linux Command Line This tutorial breaks down more than 35 core Linux commands into structured, practical modules complete with real-world examples, flags, and command-chaining techniques. By building muscle memory around these fundamentals, you will elevate your daily technical workflow from basic navigation to advanced command orchestration. Why Learn the Command Line? The Linux CLI is not merely a legacy tool—it remains the foundation of modern cloud architecture, server maintenance, DevOps pipelines, and enterp...

Python 2.5.1.9 LAB: The Digit of Life

Image
 The Digit of Life The digit of life Life Path Number Calculator To know your life path number, You need to enter your birth date as numbers only to calculate your life path number. You should add the digits of the month, day, and year until you arrive at a single digit number. How digit of life  is calculated Let's see the lab question. Objectives improving the student's skills in operating with strings; converting integers into strings, and vice versa. Scenario Some say that the Digit of Life is a digit evaluated using somebody's birthday. It's simple - you just need to sum all the digits of the date. If the result contains more than one digit, you have to repeat the addition until you get exactly one digit. For example: 1 January 2017 = 2017 01 01 2 + 0 + 1 + 7 + 0 + 1 + 0 + 1 = 12 1 + 2 = 3 3 is the digit we searched for and found. Your task is to write a program which: asks the user her/his birthday (in the format YYYYMMDD, or YYYYDDMM, or MMDDYYYY - actually, the ...

Python 2.5.1.8 LAB: Anagrams

Image
 Anagrams Anagram Listen = Silent [1] An anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once.[1] For example, the word binary into brainy and the word adobe into abode. The original word or phrase is known as the subject of the anagram. Any word or phrase that exactly reproduces the letters in another order is an anagram. Now, lets see the lab question. Scenario An anagram is a new word formed by rearranging the letters of a word, using all the original letters exactly once. For example, the phrases "rail safety" and "fairy tales" are anagrams, while "I am" and "You are" are not. Your task is to write a program which: asks the user for two separate texts; checks whether, the entered texts are anagrams and prints the result. Note: assume that two empty strings are not anagrams; treat upper- and lower-case letters as equal; spaces are not taken into acc...

Python 2.5.1.7 LAB: Palindromes

Image
Python: Check If a String is a Palindrome Palindrome The Challenge improving the student's skills in operating with strings; encouraging the student to look for non-obvious solutions. Scenario Do you know what a palindrome is? It's a word which look the same when read forward and backward. For example, "kayak" is a palindrome, while "loyal" is not. Your task is to write a program which: asks the user for some text; checks whether the entered text is a palindrome, and prints result. Note: assume that an empty string isn't a palindrome; treat upper- and lower-case letters as equal; spaces are not taken into account during the check - treat them as non-existent; there are more than a few correct solutions - try to find more than one. Test your code using the data we've provided. Test data Sample input: Ten animals I slam in a net Sample output: It's a palindrome Sample input: Eleven animals I slam in a net Sample output: It's not a palindrome...

The Mystery of Conditionals - If Conditional

Image
Conditionals The Four Conditionals What are Conditionals? Conditionals are sentences that generally consist of two clauses , one which is dependent on the other. So; The conditional sentence - any conditional sentence - has two parts:  If Clause  +   ,   +  Main Clause ✅ If  you heat water to 100 degrees , | it boils . ⟹⏩ if clause | main clause ✅ Water boils   |   if you heat it to 100 degrees. ⟹ ⏩ main clause | if clause   🌞 Order is not important. The "Main Clause" can come before "if clause", only you will not use a "comma" in this case. How many forms of conditional? The Four Forms of Conditional Zero Conditional First Conditional Second Conditional Third Conditional ZERO CONDITIONAL Usage: - General truths - General habits  Zero Conditional - Structure If Clause Main Clause Examples Present simple Present simple - If it rains , I wear a coat. - If you heat metal, it expands . - If you mix red and blue, you get ...

Test on Nouns

Image
Understanding Nouns: The Building Blocks of Language In English grammar, a noun is fundamental—it identifies the who , where , and what of every sentence. At its core, a noun represents a person, place, thing, or idea. Mastering nouns improves writing clarity, sentence structure, and communication precision. Test Your Noun Knowledge The 4 Main Categories of Nouns Nouns classify the world into four primary categories: People: Teacher, doctor, friend, developer, engineer. Places: City, park, beach, office, Saudi Arabia. Things: Car, book, laptop, keyboard, data. Ideas (Abstract): Freedom, logic, happiness, courage, time. Key Distinctions: Proper vs. Common Nouns Knowing when to use capital letters depends on distinguishing between Common and Proper nouns. Noun Type Definition Examples Common Noun General name for a person, place, or thing (...

Parts of Speech - Nouns

Image
What is a Noun? parts of Speech - Nouns A Noun (n)* is a word that identifies/refers to a thing, a person, a place, a feeling,  or their names. A Pronoun is a "noun substitute". A pronoun is used to avoid the unnecessary repetition of a noun. Examples of nouns: Things: food, car, building, apartment, shop,....  (singular and plural) Persons: John, Simon (Names must start with capital letters), man, woman, girl, baby … Animals: cat, lions, panda, buffalo,.... Places: School, home, garden, heaven, America (Names of countries and cities always start with a capital letter) … Fruits: apples, tomato, orange, banana, …. Feelings: anger, fear, joy, happiness, sadness, cleverness, trust, surprise, affection, honor … Some words are nouns (n) and verbs (v) in the same time, like: love, help Some nouns come as singular (only one) and can be plural (many), like (tree, trees, foot, feet) - We call them Countable (C) Other nouns can not be plural (like   happiness, anger, John, Ahmad,)...

Python LAB 2.5.1.6 Improving the Caesar cipher

Image
 Improving the Caesar cipher Improving the Caesar Cipher Level of difficulty Hard Pre-requisites Module 1.11.1.1, Module 1.11.1.2 Objectives improving the student's skills in operating with strings; converting characters into ASCII code, and vice versa. Scenario You are already familiar with the Caesar cipher, and this is why we want you to improve the code we showed you recently. The original Caesar cipher shifts each character by one: a becomes b , z becomes a , and so on. Let's make it a bit harder, and allow the shifted value to come from the range 1..25 inclusive . Moreover, let the code preserve the letters' case (lower-case letters will remain lower-case) and all non-alphabetical characters should remain untouched. Your task is to write a program which: asks the user for one line of text to encrypt; asks the user for a shift value (an integer number from the range 1..25 - note: you should force the user to enter a valid shift value (don't give up and don't...

Popular Posts

PROJECT MAVEN | The Architecture of Algorithmic Warfare

Open Source: The Invisible Engine of Your Daily Life

Data Analysis Roadmap 2026: From Excel Lover to Python-Powered Analyst

Python 4.3.1.10 LAB: Converting fuel consumption

Python for Windows Beginners: Build Your First Automated Workflow in 10 Minutes