+91 8709096776

Computer Courses c,c++ ,java,php,python,html,css, javaScript,website design and develoment ,app's development BCA,MCA center

Our Courses

Python Introduction

Python is a general purpose, dynamic, high-level, and interpreted programming language. It supports Object Oriented programming approach to develop applications. It is simple and easy to learn and provides lots of high-level data structures. 1. Python is an open source, object-oriented, high-level powerful programming language. 2. Developed by Guido van Rossum in the early 1990s. Named after Monty Python 3. Python runs on many UNIX variants, on the Mac, and on Windows 2000 and later. 4. Available for download from http://www.python.org.

Python classes in chapra

Python is a high-level, general-purpose, interpreted programming language

  1. High-level

Python is a high-level programming language that makes it easy to learn. Python doesn’t require you to understand the details of the computer in order to develop programs efficiently.

  1. General-purpose

Python is a general-purpose language. It means that you can use Python in various domains including:

    • Web applications
    • Big data applications
    • Testing
    • Automation
    • Data science, machine learning, and AI
    • Desktop software
    • Mobile apps
    • The targeted language like SQL which can be used for querying data from relational databases.
    • Interpreted

    Python is an interpreted language. To develop a Python program, you write Python code into a file called source code.
    To execute the source code, you need to convert it to the machine language that the computer can understand. And the Python interpreter turns the source code, line by line, once at a time, into the machine code when the Python program executes.
    Compiled languages like Java and C# use a compiler that compiles the whole source code before the program executes.
    Interpreters usually take less amount of time to analyze the source code. However, the overall execution time is comparatively slower than compilers.
    No Object Code is generated, hence are memory efficient.

    Program, to print hello world in python

    computer courses in chapra python courses in chapra

    Download Python IDLE.    http://www.python.org  ,Type the above code, Save it and Click on Run option

    1. Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.

    It is used for:

    1. web development (server-side),
    2. software development,
    3. mathematics,
    4. System scripting.

    Variables
    Variables are containers for storing data values.
    x = 5
    y = "John"   //here x and y is a type of variable
    print(x)
    print(y)

    Assigning Values to Variables

    Python variables do not need explicit declaration to reserve memory space. The declaration happens automatically when you assign a value to a variable. The equal sign (=) is used to assign values to variables.

    programmng courses in chapra Here x store the value 22 so x is the variable

    Rules for naming a variable are as follows –

    • The variable name should either begin with an Uppercase(A to Z) or Lowercase(a to z) character or an underscore(_).
    • One should always remember to use a meaningful name for variables in Python. For example – no_of_chocolates makes more sense than noc.
    • Which brings us to the next point. If a variable has multiple words, it is advised to separate them with an underscore.
    • One should ensure that a variable name should not be similar to keywords of the programming language.
    • One should also remember that even variable names are case-sensitive.
    • A variable should not begin with a digit or contain any white spaces or special characters such as #,@,&.
    • Example of good variable names – my_name, my_dob.
    • Example of bad variable names – #n, 22dob.

     

     

Operators in python

Operators in Python are special symbols that carry arithmetic or logical operations. Operators are used to perform operations on variables.

print(10 + 5) //Here + symbol is operator and 10 and 5 is the operands

Operators are divided into 7 categories in Python according to their type of operation.

 

bca college in chapra

Python Arithmetic Operators

Arithmetic operators are used with numeric values to perform common mathematical operations:

x = 5
y = 3

print(x + y)

# Examples of Arithmetic Operator
a = 9
b = 4
   
# Addition of numbers
add = a + b
# Subtraction of numbers 
sub = a - b
# Multiplication of number 
mul = a * b
# Division(float) of number 
div1 = a / b
# Division(floor) of number 
div2 = a // b
# Modulo of both number
mod = a % b
   
# print results
print(add)
print(sub)
print(mul)
print(div1)
print(div2)
print(mod)
python class in chapra

Relational Operators:

 Relational operators compares the values. It either returns True or False according to the condition.

# Examples of Relational Operators
a = 13
b = 33
   
# a > b is False
print(a > b)
   
# a < b is True
print(a < b)
   
# a == b is False
print(a == b)
   
# a != b is True
print(a != b)
   
# a >= b is False
print(a >= b)
   
# a <= b is True
print(a <= b)

Principle of functioning of Relational Operators:

• For numeric types the values are compared after removing trailing zeros after decimal point from a floating point number. For example 4 and 4.0 will be treated equal (After removing trailing zeros from 4.0 it becomes 4).

• Strings are compared on the lexicographical order i.e. dictionary order.

• Capital alphabets are considered lesser than small alphabets.

• Two lists or two tuples are treated similar if they have same elements in same order.

• Boolean True is equal to 1 and Boolean False is equal to 0 for comparison purposes

c++ class in chapra
LOGICAL OPERATORS  
programming institute in chapra  

#take user input as int
a=int(input())

# logical AND operation

if a%4==0 and a%3==0:
print("divided by both 4 and 3")

# logical OR operation
if a%4==0 or a%3==0:
print("either divided by 4 or 3")

# logical NOT operation
if not(a%4==0 or a%3==0):
print("neither divided by 4 nor 3")

 

The truth table of a logical operator or expression gives the result of every truth combination of  P P and  Q Q. The truth tables for “and” and “or” are given in the following figure.

 

# Python program to demonstrate
# logical and operator

a = 10
b = 10
c = -10

if a > 0 and b > 0:
print("The numbers are greater than 0")

if a > 0 and b > 0 and c > 0:
print("The numbers are greater than 0")
else:
print("Atleast one number is not greater than 0")

 
# Python program to demonstrate
# logical or operator
  
a = 10
b = -10
c = 0
  
if a > 0 or b > 0:
    
print("Either of the number is greater than 0")
else:
    
print("No number is greater than 0")
  
if b > 0 or c > 0:
    
print("Either of the number is greater than 0")
else:
    
print("No number is greater than 0")
 
# Python progam to demonstrate
# logical not operator

a = 10
if not a:
print("Boolean value of a is True")
if not (a%3 == 0 or a%5 == 0):
print("10 is not divisible by either 3 or 5")
else:
print("10 is divisible by either 3 or 5")
 

 

 

Python Data Types

Variables can hold values, and every value has a data-type. Python is a dynamically typed language; hence we do not need to define the type of the variable while declaring it. The interpreter implicitly binds the value with its type.

here are different types of data types in Python.

Some built-in Python data types are:

  • Numeric data typesint, float, complex
  • String data typesstr
  • Sequence typeslist, tuple, range
  • Binary typesbytes, bytearray, memoryview
  • Mapping data typedict
  • Boolean typebool
  • Set data typesset, frozenset
 

Python numeric data type is used to hold numeric values like;

  1. int - holds signed integers of non-limited length.
  2. long- holds long integers(exists in Python 2.x, deprecated in Python 3.x).
  3. float- holds floating precision numbers and it’s accurate up to 15 decimal places.
  4. complex- holds complex numbers.
 
 
#create a variable with integer value.  
a=100  
print("The type of variable having value", a, " is ", type(a))	
 

Python String Data Type

 

The string is a sequence of characters. Python supports Unicode characters. Generally, strings are represented by either single or double-quotes.

a = "string in a double quote" 
b= 'string in a single quote' 
 print(a)  
print(b)

 

 

 

 

DDTP (Diploma in Desktop Publishing)

Duration:

Modules

  • PageMaker
  • CorelDRAW
  • Photoshop
  • Scanning

Scope: In Press, News Papers, Magazines, Advertisement Agencies, etc. as a DTP operator, As a operator of photo editing in studio.

DWPD (Diploma in Web Page Designing)

Duration: 6 Months

Modules

  • HTML
  • DHTML
  • Gif Animator
  • FrontPage
  • Flash
  • Java Script

Scope:Web Page designer, Advertisement Manager.

CFA (Certificate in Financial Accounting)

Duration: 3 Months

Modules

  • Accounts
  • Tally with Inventory

Scope:Accountant, accounts executive, financial consultant, office assistant.

CCH (Certificate in Computer Hardware)

Duration: 1 Months

Modules

  • Assembling
  • Software Installation

DCH (Diploma in Computer Hardware)

Duration: 6 Months

Modules

  • computer peripheral
  • Assembling &trouble shooting
  • Software Installation
  • Networking

Scope:

  • You will gain knowledge in basics of hardware.
  • This is a foundation course for further career advancement in Trouble Shooting, Networking and Internet working.
  • Open your own service centre.
  • Work in a Hardware Unit.

DMS (Diploma in Multimedia Science)

Duration: 9 Months

Modules

  • Adobe Photoshop
  • Corel draw
  • Gif Animations
  • MircoMedia Flash
  • Illustrator
  • Media Studio Pro 6.0
    • Audio Editor
    • Video Editor
    • Video Paint
    • Video Capture
  • Graph FXSaver Pro

Scope: Capable of Doing Audio Video Editing, Graphics Designer, Capable of Doing animation work, Advertisement Design & Works.

PGDCP (Post Graduate Diploma in Computer Programming)

Duration: 12 Months

Modules

  • DCA
  • DCP

PGDDTP (Post Graduate Diploma in Desktop Publishing)

Duration: 12 Months

Modules

  • DCA
  • DDTP

PGDWPD (Post Graduate Diploma in Web Page Designing)

Duration: 12 Months

Modules

  • DCA
  • DWPD

DCAA (Diploma in Computer Application & Accountancy)

Duration: 9 Months

Modules

  • DCA
  • CFA

ADIT (Advance Diploma in Information Technology)

Duration: 12 Months

Modules

  • DWPD
  • JAVA
  • JAVA Script

ADCA (Advance Diploma in Computer Application )

Duration: 12 Months

Modules

  • DCA
  • DDTP
  • CFA

Scope: Office Assistant, EDP Personnel, Data Entry Operator Accountant, Accounts Executive, Logisticts Incharge, financial Consultants, In Press, News Papers, Magazines, Advertisment Agencies, etc.as a DTP operator, As a operator of photo editing in studio.

MDDA (Master Diploma in Designing and Accounting )

Duration: 12 Months

Modules

  • DCA
  • DDTP
  • CFA
  • DWPD

MDSH (Master Diploma in Software and Hardware )

Duration: 12 Months

Modules

  • DCA
  • DDTP
  • CFA
  • DWPD
  • DCH

MDSHE (Master Diploma in Software and Hardware Engineering)

Duration: 18 Months

Modules

  • DCA
  • DDTP
  • CFA
  • DWPD
  • DCH

MDIT (Master Diploma in Information Technology)

Duration: 24 Months

Modules

  • DCA
  • DCP
  • DDTP
  • DWPD
  • ADIT

NCTT (Nursery in Computer Teacher Training)

Duration: 9 Months

Modules

  • CF
  • Dos
  • Windows
  • Ms-Office 2003/2007
    • Ms-Word
    • Ms-Excel
    • Ms-Powerpoint
    • Ms-Access
  • Introduction of Internet, E-Mail, Multimedia
  • CD Reading, Writing & Loading Techniques
  • PageMaker
  • Photoshop
  • Corel Drawss
  • Tally
  • Teaching Methods
  • Personality Development
  • Office Management Tips
  • Communication Skills
  • Group Discussions

MD-CTT (Master Diploma in Computer Teacher Training)

Duration: 12 Months

Modules

Semesters-1

  • CF
  • Dos
  • Windows
  • Ms-Office 2003/2007
    • Ms-Word
    • Ms-Excel
    • Ms-Powerpoint
    • Ms-Access
  • Introduction of Internet, E-Mail, Multimedia
  • PageMaker
  • Photoshop
  • Corel Draw
  • CD Reading, Writing & Loading Techniques

Semesters-2

  • Tally
  • C
  • C++
  • Visual Basic
  • Sql
  • Teaching Methods
  • Personality Development
  • Office Management Tips
  • Communication Skills
  • Group Discussions