Thursday, December 3, 2020

C TOKENS IN A PROGRAMMING LANGUAGE

 C  TOKENS

Tokens  in c is  the most important elements to be used in a creating 

program in c  the smallest individual unit in c program is known as a 

token or lexical unit  c  tokens can  be classified as  follows 

1.keywords

2.identifiers

3.constants

4.strings

5.special symbols

6.operators

c keywords

c keyword is the words that convey a special meaning to the c compiler.

the keywords cannot be used as a variable name because by doing so, we

are trying to assign a new meaning to the keyword which is not allowed.

the list of c keywords is given below:

1.auto     2.continue     3.enum     4. if   5.short       6. switch     7. volatile    8.break    9.  default   10. extern    11. int      12. signed      13.typedef  14.while      15.case      16.  do   17. float   18.long     19. sizeof    20.union       21.char   22. double  23. for         24. register   25.static  26.unsigned     27. const      28. else      29.goto    30.return    31. struct    32. void

thans for  reading  this post so please  share  and follow this blog.

Sunday, October 18, 2020

Basic data structures in c programming language

 data structure

 a data structure is a way of  collecting and organizing data in  such a way

 that  we  can  organize  this  data   as   a   record   like way  any  person 

which  will   have  both man   name age  or  address that's  it  now  we can

 store a record or  information in  a  file or database as data  structure

 for  example 

                        Ram                   21                Delhi  

                        Rohan                 18               Lucknow

Basic type of data structures

we have   discussed anything that  can  store  data can be could as  a  data 

structure, hence integer, float, boolean, char, etc,  all  are the data structure

they are known as a primitive  data structure

then we also have  some complex  data structure which is used to  store 

large and connected data some example of an abstract data structure are

Linked list

Tree

Graph

Stack, queue, etc

all these data structures allow   us to perform different operation s on data

we select these data structures based  on which type of operation is 

required we  will look into these data structure in more details in our later

lessons.

  



Saturday, May 9, 2020

basic knowledge computer fundamental

                           BASIC COMPUTER FUNDAMENTAL 

                                          KNOWLEDGE


      What is computer 

         computer is an advance electronic device this means to calculate any mathematical value or 
         programmable  machine computer can not anything without a  program.
         

       The main hardware part of computer system 

           Processor

           Main memory

           Secondary memory 

           Input devices

           Output devices

         What is processor 

             A processor, or "microprocessor," is a small chip that resides in computers and                   other electronic devices. Its basic job is to receive input and provide the appropriate
           output .

        Main memory (primary memory )

  • ROM
  • RAM          
   ROM (Read only memory)

    Short for read-only memory, ROM is a storage medium that is used with computers and other electronic devices. As the name indicates, data stored in ROM may only be read. ... Unlike RAM (random access memory), ROM is non-volatile, which means it keeps its contents regardless of whether or not it has power  
  • Programmable Read only memory (PROM)
  • Erasable programmable Read only memory (EPROM)
  • Electrical Erasable programmable Read Only memory (EEPROM)

      RAM (Random access memory)
       
     Random-access memory (or simply RAM) is the memory or information storage in a             computer that is used to store running programs and data for the programs. Data                   (information) in the RAM can be read and written quickly in any order. Normally,
       the random access memory is in the form of computer chips.

  • Dynamic RAM(DRAM)

  • Synchronous DRAM(SDRAM)
  • Static RAM(SRAM)

 Image result for measure of memory capacity  

 Type of ram

ram is available in two basic types.
  • dynamic random access memory (dram)
  • static random access memory (SRAM)
type of ram
type of ram

1.dynamic random access memory

dynamic random access memory-DRAM
DRAM

The dram is a type of random access memory in computers. it uses memory cell which is a combination of transistor and capacitor to store each bit of binary data 0 or 1.

in the memory cell, the capacitor either charged or discharged to indicated the on or off. which signal further converted into binary number 0 or 1 to understand.




     




what is ड्रोन तकनीक

ड्रोन तकनीक एक उन्नत तकनीक है जो आजकल बहुत ज्यादा चर्चा में है। ड्रोन एक ऐसी उपकरण होता है जो बिना किसी मानव संचार के उड़ सकता है। इसका उपयो...