Skip to main content

Posts

Showing posts from 2018

Flow Chart with advantages and disadvantages in C Language:-

    A  flowchart  is a type of  diagram  that represents an  algorithm ,  workflow  or process. The flowchart shows the steps as boxes of various kinds, and their order by connecting the boxes with arrows. This diagrammatic representation illustrates a solution model to a given  problem . Flowcharts are used in analyzing, designing, documenting or managing a process or program in various fields.  Flow charts are used in analyzing , designing , documenting or managing a process or program in various fields. Like other types of diagrams , they help visualize what is going on and thereby help understand a process , and perhaps also find less-obvious features within the process.   There are several applications and visual programming languages that use flow charts to represent and execute programs.Generally these are used as teaching tools for beginner students. Many software packages exist that can create flowcharts automatic...

Languages in computer

                 LANGUAGES * Low level language:-           Low level language is machine dependent language. This language is the machine codes in which the instructions are given in machine language in the form of 0 and 1 to a computer system.the main function of low level language is to operate , manage and manipulate the hardware and system components.    Low level language is divided into two parts:-             i> Machine language             ii> Assembly language   i>  Machine language:-             It is one of the low level language which is the first generation language developed for communication with a computer. It is written in machine code which represents 0 and 1 binary digits inside the computer string which makes it easy to understand and perform the operations.   ...

'Array' data structure in 'c' language

In  programming languages , an  array  is a way of storing several items. These items must have the same type (only integers, only  strings , ...) because an array can not store different kinds of items. Every item in an array has a number so the  programmer  can get the item by using that number. This number is called the index. In some programming languages, the first item has index 0, the second item has index 1 and so on. But in other languages, the first item has index 1 (and then 2, 3, ...). When the programmer creates an array, they must give the  size  of the array. This is the number of items that can be stored in the array. If the programmer wants to store more items, then they must create a new array. This is because the size of an array can not be changed. Arrays in C :- I n the  programming language   C , arrays can be created like this: int array[5]; This creates an array of integers and it can store 5 in...

Tokens and its types in 'C'

   Tokens are the smallest individual unit of a program or in simple words it is a main part of C program.Tokens are the building blocks of any program. The smallest individual and basic unit of a C programming is called c tokens.      *    Normally there are six types of tokens in C:- i> Keywords:-          Keywords are special words that are used to give a special meaning to the program and can't be used as variable and constant.They are basically a sequence of characters that have fixed to mean. For example:-                 auto     double      long     break                 float    short        char     if                while    continue   int       void etc. All...

Looping Constructs used in C langeuage:-

    In any programming language loops are used to execute a set of statements repeatedly until a particular condition is satisfied.           The loop directs a program to perform a set of operations again and again until a specified condition is true. Looping statement is used when we want to execute statements until a condition is true.C contains following type of looping statement:- * The for loop * The while loop * The do-while loop   * For loop:-            for loop is used to execute a set of statements for a given number of times , means if we want to execute statements till a certain number of time , for loop is used.   Syntax:                  for(start value; end value ; increment/decrement)                    {                       ...

main() Function And Its Necessity For C Programming

    All c language must have a main() function. It's the core of every program. The main() function doesn't really have to do anything other than be present inside your 'C' source code.Eventually, it contains instructions that tell the computer to carry out whatever task your program is designed to do. abut it's not officially required to do anythings.                 The main() function uses its parentheses to contain any information typed after the program name at the command prompt. This is useful for more advanced programming.              Beginning programmers should keep in mind what those parentheses are there for , but you should first build up your understanding of c before you dive into that quagmire.           The braces are used for organization. They contains programming instructions that belong to the function. Those programming instructions are how the fu...

'Structured Programming' In C Language

          The structured programming refers to the process in which we break the overall job down into separate pieces of modules.The modules are further can be broken into smaller sigments or pieces which are known as submodules . Modules must be chosen in such a way that we can specify how there is a contact between each pair of modules.  This specifies two things:- 1] What the module will do? 2] What assumptions is it making about the behaviour of the other modules? In particular, we must specify what inputs a particular module is to recieve from the various other modules and what outputs it is required to provide for them.   In other words, structured programming is a subset of procedural programming that enforces a logical structure on the program being written to make it more efficient and easier to understand and modify. Structured programming frequently employs a top-down design model,in which developers map out the overall program ...

Dell 'The Best Laptop Company'

Dell  is an  American   multinational  computer technology company based in  Round Rock, Texas , United States, that develops, sells, repairs, and supports computers and related products and services. Dell is named after its founder  Michael Dell , the company is one of the largest technological corporations in the world, employing more than 103,300 people in the U.S. and around the world.   Dell sells  personal computers  (PCs),  servers ,  data storage devices ,  network switches ,  software , computer  peripherals ,  HDTVs , cameras, printers, MP3 players, and electronics bu ilt by other manufacturers. The company is well known for its innovations in  supply chain management  and  electronic commerce , particularly its direct-sales model and its "build-to-order" or "configure to order" approach to manufacturing—delivering individual PCs configured to customer specifications.   Del...