Posts

Recent Post

Python for beginners

In this post some basic topics defined the Python programfor Python for beginners.
√ Python is that types of computer programing which can be used to both "Procedural programing" and "Object-Oriented programing". It was developed by Guido Van Rossum in 1991. Python got it's name from a comedy series on BBC Radio from 1970 that name was "Monty Python's Flying Circus". It is easy and free to use.
√ Some basic features of Python make popular today. These are:-
1. It is easy to use and learn.
2. Python is a general-purpose programing language which can be used for both scientific and non-scientific programing language.
3. It is a vast library of add-on modules and very simple high level programing language.
4. It is a platform independent programing language.
3. Python programs are easily readable and understandable.
** Environment of Python
Python need to have interpreter and compiler installed in the computer to write and run. It is based on…

Visual Basic

Visual BasicAbout Visual Basic:- **Visual Basic is a High-Level programming language for creating applications that run under the Microsoft Windows Environment.**'Visual' refers to the method used to create the Graphical User Interface.  'Basic' refers to the BASIC (Beginners All-purpose Symbolic Instruction Code) programming language. Visual Basic frequently used terms:-→ Forms:- Windows that we create for user interface are called forms. → Controls:- These are the graphical features that are drawn in forms to allow user interaction. Command buttons, option buttons, check boxes, text boxes, and picture boxes are examples of controls. → Objects:- Forms and Controls are collectively referred to as objects. →Properties:- Values or characteristics associated with Visual Basic objects are termed properties. Name, Caption, Height, Width, and Font are examples of properties. → Methods:- These are built-in procedures that can be invoked to impart some action to a particular object.…

Java Series

Image
Java Series...Write a program to find the sum of series, taking the values of 'a' and 'n' from the user.


import java.util.*;
public class Series
{
    //Function to find Sum of Series
    public void main()     {         Scanner sc=new Scanner(System.in);         System.out.print("Enter the Value of a and n:-> ");         int a,i,n;         double s=0;         a=sc.nextInt();         n=sc.nextInt();         for(i=1;i<n;i++)         {             s=s+(a/(i+1));             System.out.println("Sum Of Series= "+s);         }     } }
OutputEnter the Value of a and n:-> 3 7 Sum Of Series= 1.0 Sum Of Series= 2.0 Sum Of Series= 2.0 Sum Of Series= 2.0 Sum Of Series= 2

Array Of Java (BlueJ)

Image
Array Simple Array Programming in Java
Write a Program to Input and Store 'n' Number in an Array 'ar'. Input a Number from the User and Check whether it is present an Array or not, using Linear Search Algorithm.


import java.util.*;
class Ar1
{
    private int [] ar;
    private Scanner sc;
    //Default Constructor
    public Ar1()
    {
        ar=null;
        sc=new Scanner(System.in);     }     //Function to Input and Store Array Elements     public void Input_Store()     {         System.out.println("Enter the size of Array");         int n=sc.nextInt();         ar=new int[n];         for(int i=0; i<ar.length; i++)         {             System.out.println("Enter the value of Array ar["+i+"]");             ar[i]=sc.nextInt();         }     }     //Function to check whether the no. is present or not     public void Ar1()     {         System.out.println("Enter the Number to be searched");         int key=sc.nextInt();         boolean present=false;    …

Short Definition Of Java Terms

Short Definition (Sort in Alphabetical Order "A to E") "A" 1.Attributes:- The Data stored within the Object is called the Attributes.  For example:- An Employee in an Organization has an Employee ID, Mobile Number, Date Of Birth, etc. are differentiates the various Objects to find Employee Identification. 2.Abstraction:- It is to separate the behavior of an Object from the actual details that implements the Object's behavior. It is Hiding Data that are not needed for presentation.  3.Access Specifiers:- The accessibility of members of a Class can be controlled using Access Specifiers. Java allows four types of Access Specifiers, these are Public, Private, Protected, and Default. 4.Abstract:- The keyword Abstract declares a class as abstract which means not all its Methods are defined or Implemented.  5.Arrays:- An Array is a contiguous block of memory location storing similar type of data and referred to by a common name. Individual data are referred to as elements …