- Basic Programming Concepts
This chapter attempts to cover the basics of computer programming using simple and practical approach for the benefit of the participants. A computer program is simply a set of instructions given to the computer to process data & information and perform desired tasks. Computer programming is the process of giving a set of instructions to the computer.
- Introduction to Programming
- Introduction to Programming Language
- How To Write Source Code
- Using Source Code
- Compiled and Interpreted Languages
- Programming Syntax
In this chapter, the you’ll get to know about the programming syntax. In computer science, a syntax is a set of rules or structure to create instructions which the computer can understand easily. The purpose of syntax in programming is to represent the statements in a computer understandable format.
- Request Input
- Datatype and Variables
This chapter introduces datatypes and variables. When it comes to programming, datatypes and variables are very critical. No programming language can operate without the use of datatypes and variables. Datatypes or simply type is the specification of the kind of data. It denotes the kind of data or value it is. Almost all programming languages support different datatypes like integer, character, boolean etc. A variable is a piece of memory or we can say a container which stores data or value. The datatype of the variables is defined to store the data as per the requirements in the program.
- Working with Characters and Strings
- Using Operators
- What are Variable and Datatype?
- Strong, Loose and Duck-typed Languages
- Working with Numbers
- Using White Space
- Adding Comments to code for Human Understanding
- Understanding Conditional Code
This chapter covers conditional logic and introduces conditional statements. Decision making is critical to computer programming. There will be different scenarios when you will be given two or more options and you will have to select an option based on the given conditions. For that you’ll have to include conditional statements within your program. There are different statements available to implement conditions within the program. These are if-else statement, netted if statement and switch-case statement.
- Working with if Statement
- Building with Complex Conditions
- Setting Comparison Operators
- Writing the Switch Statement
- Introduction to Modular Code
This chapter covers an introduction to Modular code. The modular programming is a process of fragmenting or dividing a computer program into separate sub-programs or modules. A module is a separate software component which can often be used in a variety of applications and functions with other components of the system. Similar functions are grouped together in the same unit of programming code and separate functions are developed as separate units of code so that the code can be reused by other applications.
- Breaking your Code a Part
- Creating and Using Functions
- Working with Parameters and Arguments
- Variable Scope
- Splitting Code into Different Files
- Introduction to Iteration Using Loops
- What is Iteration?
- Creating a While Statement
- Writing a For Loop
- Strings in Detail
This chapter attempts to cover Strings. A string is typically a contiguous sequence of symbols or values. Technically, a string is an array of characters which includes letters, numerals, symbols and punctuation marks. The length is an important characteristic of string which is nothing but the count of total characters in a string. The length can be any natural number. A useful string in different programming applications is an empty string which contains no characters and the string length is zero. Another important term in strings is a substring which is any contiguous sequence of characters within a string. This chapter covers details of strings operations like adding two strings and converting characters to uppercase and lowercase etc.
- Using String Concatenation
- How to find Patterns in Strings
- What are Regular Expressions?
This chapter is all about collections. A collection is referred to as a grouping of data items that have some shared significance to the problem being solved and need to be operated upon together in some controlled manner. Generally, data items will be of same type or in languages supporting inheritance, derived from parent type. A collection is a concept which is applicable to abstract data types and does not prescribe a specific implementation as a concrete data structure, though often there is a conventional choice.
- Working with Arrays
- Nature of Arrays
- Looping through Collections
- Collections in Other Languages
- Programming Approach
This chapter will cover the programming approach. Object oriented programming languages provide multiple effective techniques which are important for programming and design. The vital thing is look for the designs that fit the problems and use the language constructs that best represent the designs in the code.
- Introduction to Programming Approach
- Writing Pseudo Code
- Input and Output Basics
This chapter covers the basics of input and output which are the two important aspects of programming. The term Input is referred to as supplying data or information to the computer program while output is the information received from the computer which could be the result of any specified operation or process. There are multiple programming languages which include built-in functions for accepting input data and supply it to the computer program for specified tasks. The same data will be processed by the computer and will be returned back in the form of output. The output could be any data displayed on the screen or any information printed on the paper through printer.
- Input-output and Persistence
- Reading and Writing from the DOM
- Event Driven Programming
- What is File I-O
- When we Make Mistakes
This chapter will cover the know hows of debugging. While writing the programs, there will be different situations where an error will occur. The error can be fixed by debugging the code. Debugging, in computer programming, is a multistep process that involves identifying a problem, isolating the source of the problem, and then either correcting the problem or determining a way to work around it. The final step of debugging is to test the correction or workaround and make sure it works.
- What is debugging?
- Tracing Through a Section of Code
- Understanding Error Messages
- Using Debuggers
- What is Object-Orientation?
This chapter attempts to cover the details object oriented programming. Object-oriented programming (OOP) as the name suggests is the language which works around objects. OOP refers to a type of computer programming (software design) in which programmers not only define the datatype of a data structure, but also the types of operations that can be applied to the data structure. There are multiple object oriented programming languages available such as Java, C++ and C#.
- Introduction to Object-Oriented Languages
- Classes and Objects
- Review of Object-Oriented Languages
- Advanced Topics
This chapter covers some of the advanced concepts of programming like memory management, algorithms and multithreading. Multithreading is process of executing multiple processes or threads concurrently, appropriately supported by the operating system. Multitasking can be achieved by the use of Multiprocessing and Multithreading. However, multithreading is used more frequently because threads share a common memory area. Threads don't allocate separate memory area so saves memory, and context-switching between the threads takes less time than process.
- Memory Management Across Languages
- What are algorithms?
- What is Multi-Threading?
- More About Languages
This chapter covers more about languages. A programming language is a standard computer language which is designed to interact with computer or other machines. Programs can be created to perform specified tasks and to control the behavior of the machines with the help of programming languages.
- What are Languages?
- C-based Languages
- The Java World
- .NET Languages- C# and Visual Basic .NET
- Introduction to Programming Final Quiz