Difference Between For, While, Do-while loop in C++ (Hindi/Urdu) | Easy Learning Classroom
Do while:
Its format is:
do statement while (condition);
Its functionality is exactly the same as the while loop, except that condition in the do-while loop is evaluated after the execution of statement instead of before, granting at least one execution of statement even if the condition is never fulfilled.
While loop:
while (expression) statement
For loop Statement:
Its format is:
for (initialization; condition; increase) statement;
and its main function is to repeat statement while condition remains true, like the while loop. But in addition, the for loop provides specific locations to contain an initialization statement and an increase statement. So this loop is specially designed to perform a repetitive action with a counter which is initialized and increased on each iteration.
It works in the following way:
1. initialization is executed. Generally it is an initial value setting for a counter variable. This is executed
only once.
2. condition is checked. If it is true the loop continues, otherwise the loop ends and statement is skipped
(not executed).
3. statement is executed. As usual, it can be either a single statement or a block enclosed in braces { }.
4. finally, whatever is specified in the increase field is executed and the loop gets back to step 2.
-------------------------------------------------------------------------------------------------
Operating Systems playlist -
https://www.youtube.com/playlist?list=PLhmA3HN6Mpp3FqSuSNbvxErqHFBbpfinS- Best from Operating Systems:
Introduction to Operating System | Kernal and User Mode | OS Functions | Easy Learning Classroom -
https://youtu.be/EyAKYEKMBFEVon Neumann Architecture | A Simple CPU Model | Fetch-Execute Algorithm | Easy Learning Classroom -
https://youtu.be/lJ3RFLvmYjcHow Operating System is loaded | Booting Sequence | Computer Boot Process | Easy Learning Classroom -
https://youtu.be/gNZRDn9VFcc-------------------------------------------------------------------------------------------------
Theory of Computation or Automata Theory tutorials playlist -
https://www.youtube.com/playlist?list=PLhmA3HN6Mpp3G-onZAnI6lOgSyEeZlCdZ- Best from Theory of Automata:
Defining language | Kleene closure | String | Sigma | Alphabet set | Easy Learning Classroom -
https://youtu.be/-__9L9dyUgcPushdown Automata for a^nb^m where N is less than M | Theory of computation| Easy Learning Classroom -
https://youtu.be/Bbc5C7ccqiwPushdown Automata for a^mb^m+nc^n where m,n=1,2,3,... | Easy Learning Classroom -
https://youtu.be/gSQ-6-heTs4-------------------------------------------------------------------------------------------------
Like Our Page on Facebook -
https://www.facebook.com/groups/easylearning.cs For further queries please join our Facebook group, meet your fellows and discuss your problems:
https://www.facebook.com/groups/easylearning.csEmail us at -
[email protected]---------------------------------------------------------------------------------------------------------
Note: All logos of easy learning used in slides and designing of slides belongs to me and I am the owner of these slides. The content used in the slides is mostly gathered from book, Modern Operating System β Tanenbaum.
Β© 2019 Easy Learning, All Rights Reserved.
---------------------------------------------------------------------------------------------------------
Copyright Disclaimer under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in the favor of fair use.
---------------------------------------------------------------------------------------------------------
-~-~~-~~~-~~-~-
Please watch: "Vmware and Redhat | Downloading + Installation | Complete video tutorial | Easy Learning Classroom"
https://www.youtube.com/watch?v=jyuKdDKmgMg-~-~~-~~~-~~-~-
About the Site π
This site provides links to random videos hosted at YouTube, with the emphasis on random. π₯
Origins of the Idea π±
The original idea for this site stemmed from the need to benchmark the popularity of a video against the general population of YouTube videos. π§
Challenges Faced π€
Obtaining a large sample of videos was crucial for accurate ranking, but YouTube lacks a direct method to gather random video IDs.
Even searching for random strings on YouTube doesn't yield truly random results, complicating the process further. π
Creating Truly Random Links π οΈ
The YouTube API offers additional functions enabling the discovery of more random videos. Through inventive techniques and a touch of space-time manipulation, we've achieved a process yielding nearly 100% random links to YouTube videos.
About YouTube πΊ
YouTube, an American video-sharing website based in San Bruno, California, offers a diverse range of user-generated and corporate media content. π
Content and Users π΅
Users can upload, view, rate, share, and comment on videos, with content spanning video clips, music videos, live streams, and more.
While most content is uploaded by individuals, media corporations like CBS and the BBC also contribute. Unregistered users can watch videos, while registered users enjoy additional privileges such as uploading unlimited videos and adding comments.
Monetization and Impact π€
YouTube and creators earn revenue through Google AdSense, with most videos free to view. Premium channels and subscription services like YouTube Music and YouTube Premium offer ad-free streaming.
As of February 2017, over 400 hours of content were uploaded to YouTube every minute, with the site ranking as the second-most popular globally. By May 2019, this figure exceeded 500 hours per minute. π
List of ours generatorsβ‘
Random YouTube Videos Generator
Random Film and Animation Video Generator
Random Autos and Vehicles Video Generator
Random Music Video Generator
Random Pets and Animals Video Generator
Random Sports Video Generator
Random Travel and Events Video Generator
Random Gaming Video Generator
Random People and Blogs Video Generator
Random Comedy Video Generator
Random Entertainment Video Generator
Random News and Politics Video Generator
Random Howto and Style Video Generator
Random Education Video Generator
Random Science and Technology Video Generator
Random Nonprofits and Activism Video Generator