From Fedora Project Wiki

No edit summary
No edit summary
Line 1: Line 1:
==Programing==
==Programing==


* [[Help:introduction ]]  : describes Wat is explained here about programing.
* [[introduction ]]  : describes Wat is explained here about programing.
* [[Help:Goto Statment]]  : provides more details about goto statment in c programing
* [[Goto Statment]]  : provides more details about goto statment in c programing
* [[Help:Guestions to be answered]]  : GIves guestions to answer.
* [[Guestions to be answered]]  : GIves guestions to answer.
* [[Fedora Project:User pag]] defines the proper location for user pages.
* [[Fedora Project:User pag]] defines the proper location for user pages.
* [[Help:Talk]] describes the usage of Talk or Discussion pages.
* [[Help:Talk]] describes the usage of Talk or Discussion pages.


Additional help pages can be found in the [http://www.mediawiki.org/wiki/Help:Contents Media Wiki Help]
<math>Insert formula here</math>


==introduction==
Computer programming (often shortened to programming) is a process that leads from an original formulation of a computing problem to executable computer programs. Programming involves activities such as analysis, developing understanding, generating algorithms, verification of requirements of algorithms including their correctness and resources consumption, and implementation (commonly referred to as coding[1][2]) of algorithms in a target programming language. Source code is written in one or more programming languages. The purpose of programming is to find a sequence of instructions that will automate performing a specific task or solving a given problem. The process of programming thus often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.


==Other resources==
Related tasks include testing, debugging, and maintaining the source code, implementation of the build system, and management of derived artifacts such as machine code of computer programs. These might be considered part of the programming process, but often the term "software development" is used for this larger process with the term "programming", "implementation", or "coding" reserved for the actual writing of source code. Software engineering combines engineering techniques with software development practices.


* [[Communicating and getting help]] describes additional resources for users of Fedora.
==Goto statment==


* [[Join]] describes the many ways to get involved with Fedora Project.
A goto statement in C programming language provides an unconditional jump from the goto to a labeled statement in the same function.


NOTE: Use of goto statement is highly discouraged in any programming language because it makes difficult to trace the control flow of a program, making the program hard to understand and hard to modify. Any program that uses a goto can be rewritten so that it doesn't need the goto.


[[Category: Wiki policy]]
Syntax:
The syntax for a goto statement in C is as follows:


Hi,
==Guestions to be answered==
This is Satpal Singh from India.
Scope of goto in C
1. Demonstrate forward and backward jumps using goto in C. Observe the scope of label.
 
2. Use goto statement in one function and try to transfer control to another function by  defining label in that function and note down the scope.
 
3. How
4. Use goto statement in one file and try to transfer control to another file by defining label in that file.
 
5. Use goto statement outside a block and try to refer to label defined inside the block. A block can be any group of statements enclosed with curly braces. Try this for both forward and backward branching.

Revision as of 05:52, 3 September 2015

Programing


introduction

Computer programming (often shortened to programming) is a process that leads from an original formulation of a computing problem to executable computer programs. Programming involves activities such as analysis, developing understanding, generating algorithms, verification of requirements of algorithms including their correctness and resources consumption, and implementation (commonly referred to as coding[1][2]) of algorithms in a target programming language. Source code is written in one or more programming languages. The purpose of programming is to find a sequence of instructions that will automate performing a specific task or solving a given problem. The process of programming thus often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.

Related tasks include testing, debugging, and maintaining the source code, implementation of the build system, and management of derived artifacts such as machine code of computer programs. These might be considered part of the programming process, but often the term "software development" is used for this larger process with the term "programming", "implementation", or "coding" reserved for the actual writing of source code. Software engineering combines engineering techniques with software development practices.

Goto statment

A goto statement in C programming language provides an unconditional jump from the goto to a labeled statement in the same function.

NOTE: Use of goto statement is highly discouraged in any programming language because it makes difficult to trace the control flow of a program, making the program hard to understand and hard to modify. Any program that uses a goto can be rewritten so that it doesn't need the goto.

Syntax: The syntax for a goto statement in C is as follows:

Guestions to be answered

Scope of goto in C 1. Demonstrate forward and backward jumps using goto in C. Observe the scope of label.

2. Use goto statement in one function and try to transfer control to another function by defining label in that function and note down the scope.

3. How 4. Use goto statement in one file and try to transfer control to another file by defining label in that file.

5. Use goto statement outside a block and try to refer to label defined inside the block. A block can be any group of statements enclosed with curly braces. Try this for both forward and backward branching.