Skip to main content

Posts

Showing posts from January, 2020

Logic Gates(लॉजिक गेट्स )

Logic Gates(लॉजिक गेट्स ) o     The logic gates are the main structural part of a digital system. o     Logic Gates are a block of hardware that produces signals of binary 1 or 0 when input logic requirements are satisfied. o     Each gate has a distinct graphic symbol, and its operation can be described by means of algebraic expressions. o     The seven basic logic gates includes: AND, OR, XOR, NOT, NAND, NOR, and XNOR. o     The relationship between the input-output binary variables for each gate can be represented in tabular form by a truth table. o     Each gate has one or two binary input variables designated by A and B and one binary output variable designated by x. AND GATE :(एंड गेट ) The AND gate is an electronic circuit which gives a high output only if all its inputs are high. The AND operation is represented by a dot (.) sign. OR GATE:(ओर  गेट ) The OR gate is an electronic circuit which gives a high output if one or more of its inputs

C++ switch(स्विच)

C++ switch(स्विच) हेलो स्टूडेंट्स आज मै आपको c++ में स्विच स्टेटमेंट के बारे में बताता हूँ | जब हमको कोई मल्टीप्ल कंडीशंस को एक्सेक्यूटे कराना हो तो हम स्विच स्टेटमेंट का यूज़ करते है |  The C++ switch statement executes one statement from multiple conditions. It is like if-else-if ladder statement in C++ . switch (expression) {       case  value1:          //code to be executed;           break ;    case  value2:        //code to be executed;           break ;    ......      default :           //code to be executed if all cases are not matched;         break ;      }     Figure No:1 C++ Switch Example(स्विच का उदाहरण ) #include <iostream>    using   namespace  std;   int  main ()  {           int  num;          cout<< "Enter a number to check grade:" ;            cin>>num;              switch  (num)    / /( स्विच के साथ एक्सप्रेशन लिखना

What is Linux.(लिनक्स क्या है ?)

What Is Linux( लिनक्स क्या है ?) In the simple language Linux(लिनक्स ) is an operating system (OS).  लिनक्स एक बेसिक ऑपरेटिंग सिस्टम है ये बिलकुल विंडोज ,एप्पल , मैक  की तरह ही होता है |  We all are familiar with other operating systems like Microsoft windows, Apple Mac OS, iOS, Google android, etc, just like them linux is also an operating system. An operating system is a software that enables communication between computer hardware and software.  It conveys input to get processed by the processor and brings output to the hardware to display it.  This is the basic function of an operating system. Although, it performs many other important tasks, let's not talk about that. Linux is around us since mid 90s. It can be used from wristwatches to supercomputers.  It is everywhere in our phones, laptops, PCs, cars and even in refrigerators. It is very much famous among the developers and normal computer users. figure :1

C++ Control Statement(कण्ट्रोल स्टेटमेंट)

हेलो Students  आज हम लोग कण्ट्रोल स्टेटमेंट के बारे में पढेंगे | ये कण्ट्रोल स्टेटमेंट हमारी प्रोग्रामिंग लैंग्वेज में बहुत usefull होता है ये स्टेटमेंट आपको बताते है की हम प्रोग्राम को कैसे बना सकते है |  तो चलते है। ......  C++ if-else In C++ programming, if statement is used to test the condition. There are various types of if statements in C++. if statement if-else statement nested if statement if-else-if ladder C++  if  Statement T he C++ if statement tests the condition. It is executed if condition is true. if(Condition) { // Code to be executed } #include <iostream.h>  // Input output Stream Header File     i nt  main ()  {       int  num = 10;  // num = variable, int= Data Type                 if  (num % 2 == 0)                  {                     cout<< "It is even number" ;                 }        return  0;   }   if num=10 and num is modulous 2 equal to Zero means म