Posts

Showing posts from July, 2022

Parts of Speech - Pronouns

Image
 What is a Pronoun? Definition of Pronoun: A pronoun is a word that replaces a noun (single word)  or replaces  anything functioning as a noun (noun clause , noun phrase) . Pronouns do the same job of nouns in the sentence. I have a car . It is white. It is 2021 model.      (We used "it" in the second and third sentence to avoid repeating the noun "car".) My daughter's cat's name is " Candy ". She is white and she keeps playing all day long.      (We used "she" to replace "My daughter's cat".) What are Antecedents of Pronouns?  She likes blue color more than red . --> Who is She ? What if we did not mention the noun first? If we started with the pronoun, we will not know what does this pronoun refer to, right? Most of the time, yes, that's why we need to start with nouns and we call them Antecedents . Sometimes we don't need to start with nouns (if you start by "I", then people will know that you...

برج خور - أطول برج في العالم

Image
 برج خور - دبى برج خور - دبى إذا سبقت لك زيارة إمارة دبى الإماراتية ، فبالتأكيد قمت بزيارة "برج خليفة" أطول برج في الإمارات - حتى هذه اللحظة. لكن، يبدو أن برج خليفة,  - بعد أن حمل لقب أطول برج فى الإمارات، بل فى العالم -  يستعد لتسليم لقب أطول برج فى الإمارات إلى رفيقه فى نفس الإمارة - برج خور، أو كما يطلق عليه اسم "البرج",  والذى عند اكتمال بناءه ، سيتجاوز أيضاً برج "طوكيو سكاى ترى" ويسحب منه لقب أطول برج فى العالم.  سبب بناء برج خور عام ٢٠١٦ م أعلنت إمارة دبى الإماراتية عن مشروع بناء برج خور ، وقد كان من المقرر الإنتهاء من البرج فى عام ٢٠٢٢ م ، غير أن جائحة كورونا قد أجلت أعمال البناء. ويرجع السبب الرئيسى فى فكرة هذه البرج إلى ما حققه برج خليفة من نجاح منقطع النظير فى استقطاب أعداد مهولة من السياح لزيارته, مما ساهم فى نمو اقتصادى كبير لإمارة دبى (أغنى مدينة فى الإمارات) على وجه الخصوص , ولدولة الإمارات العربية المتحدة على وجه العموم. أيقنت دبى حكومة الإمارات مبكرا أن النفط لن يكون مصدرا للإقتصاد ولن يدوم طويلا , فقررت الإعتماد على التطوير السياحى وال...

Play Food Catcher | Game

Image
 The Food Catcher Food Catcher - Scratch Welcome to the table. You came here because you are hungry, huh? My table has rules to win . Let's know these rules before you click on the green button. How to Win? 1- Move the bowl right and left using the keyboard right and left arrows to catch the falling food. 2- Try to catch 30 falling foods before 30 seconds pass. 4- If the timer reached 30 seconds before your collect 30 foods score, you lose! Note: This game is more Keyboard friendly than mobile, though it will work with mobile.  Bon Appetite! This game has been made by scratch as a project for Harvard University programming course. Scratch is a free fun way to learn programming fundamentals even for your kids. They will learn programming without knowing that they are actually programming. With Scratch, you can make videos, games, and illustrations for your projects. This game will be upgraded upon requests in the comments, e.x: We can add levels of difficulties, increase or dec...

cs50 Week 2 Problem Set 2 Readability Solution

Image
CS50 Week 2 Problem Set 2 Readability Problem Set 2 - Readability In coding, problems have different ways to get to the solution. Below code is one way. Soon, we will be posting different codes. ** Remember: Try to change some things in the code before submitting it in order to avoid being rejected as Harvard academic honesty. The Solution: #include <cs50.h> #include <stdio.h> #include <string.h> #include <math.h> #include <ctype.h> int main(void) {     // inintiate needed variables     string text = get_string("TEXT: ");     int letters = 0;     int words = 1;     int sentences = 0;     for (int i = 0; i < strlen(text); i++)     {         if (isalpha(text[i]))         {             letters++;         }         else if (text[i] == ' ')         {   ...