Computer Programming


Apply Now

COMPUTER PROGRAMMING

 

Table of Contents

About the tutorial

Audience

Prerequisites

Copyright & disclaimer

Table of contents

 

1 Overview

Introduction to computer program

Introduction to computer programming

Uses of computer programming

Computer programmer

Algorithm

 

2 basics

 

3 Environment

Text editor

Compiler

Interpreter

Online compilation

 

4 Basic syntax

Hello world program in C

Syntax error

Hello world program in java

Hello world program in python

 

5 DATA TYPES

C and java data types

Python data types

 

6 VARIABLES

Creating variables

Store values in variables

Access stored values in variables

Variables in java

Variables in python

 

7 KEYWORDS

C programming reserved keywords

Java programming reserved keywords

Python programming reserved keywords

 

 

8 OPERATORS

Arithmetic operators

Relational operators

Logical operators

Operators in java

Operators in python

 

9 DECISION STATEMENTS

If.. else statement

If ..else if… else statement

The switch statement

Decisions in java              

Decision in python

 

10 Loops

The while loop

The do… while loop

The do…while loop

The break statement

The continue statement

Loops in java

Loops in python

 

11 NUMBERS

Math operations on numbers

Numbers in java

Numbers in python

 

12 CHARACTERS

Escape sequences

Characters in java

Character in python

 

13 ARRAYS

Create arrays

Initializing arrays

Accessing array elements

Arrays in java

Strings in python

 

14 Strings

Basic string concepts

Strings in java

Strings in python

 

15 Functions

Defining function

Calling a function

Functions in java

Functions in python

 

16 FILE/O

Computer files

File input/output

File operation modes

Opening files

Closing a file

Writing a file

Reading a file

Reading a file

File I/o in java

File I/O in python

17 SUMMARY