Posts

IP- Program to find a given number is Perfect Number or not?

Image
Objective: To find the given number is Perfect Number or not? Program should accept a number through Net beans GUI, and on click of a button should find out a given number in a text field TFNum is Perfect Number or not. What are Perfect Numbers? Perfect Numbers are those numbers who's sum of individual factors is same as the number itself, with an  exception the number itself should not be included as one of the factors. Net beans using Java Solution  along with a screen shot: (Keeping in mind the students of class XI/XII having Informatics Practices as one of their subject) Screen shot: When you enter 9, for example which is not a perfect number: when you enter 6, which is a perfect number: private void BtnFindActionPerformed(java.awt.event.ActionEvent evt) {                                              int n=Integer.parseInt(TFNum.getText());         int sum=0; for(int i = 1; i < n; i++)         {         if(n % i == 0)         {        

IP - Program to generate Fibonacci Series

Image
Write a program to generate a Fibonacci series up to a given number using Net beans (Java)? Introduction to Fibonacci Series  Lets try to understand  What is Fibonacci Series?   It is a series of numbers that follows some pattern generated by adding previous two numbers, where first two numbers are 0 and 1.  Fibonacci series has quite a lot contribution to our life. Browse the internet and you will be able to find lot many, just by googling it. I have also summarized these useful links a single page -  Click here  to get more information about Fibonacci series.  Fibonacci Series using Java (Net beans)  private void Fibogen ActionPerformed (java.awt.event.ActionEvent evt) {                                              int N=Integer.parseInt(TF_UL.getText());         int a=0,b=1,c=a+b;         TA_FS.append(a+", " + b + ", ");         while(c<=N)         {             TA_FS.append(c+", ");             a=b;            

Java and Java using Netbeans - What is the Difference?

Image
What is Java?   Informatics Practices : Coaching at Edukers - Uttam Nagar, New Delhi 59 Java is a truly Object Oriented Programming Language.When I say truly it simply means it strictly follows all the Object Oriented Programming concepts. In Java you can't do without Classes and Objects. Java as a language and Java using NewBeans - Difference: Net Beans is an IDE (Integrated Development Environment) aimed at making development process easier. You will have to dirty your hands bit less when when working with Java using netbeans than otherwise. You can drag and drop things from tool pallete, moment you type netbeans assists you with syntax and many other things to just make things very userfriendly. For example, I mentioned earlier that jave can't do without classes and objects - You will have to write a piece of code that has to be wrapped up inside a class. In java that might just ask for some expertiese but when you are working with java using netbeans - most

Importance of CBSE Informatics Practices for class XI/XII - all misunderstood

Image
Why IP?  What is the need of Informatics Practices?    Edukers - A Premier Training Institute at Uttam Nagar, ND IP or Informatics Practices and CS short for Computer Science both are aimed at introducing students with Logic Development and Programming. Software Development has now become one of the most sought after fields after12th. Informatics Practices covers all the aspects related to software development. Software Development without database is incomplete. IP gives major attention to the Database processes, using MySQL.  IP in XI/XII covers from basics to advance programming skills  starting from - Introduction to computers (Hardware and Software aspects), programming skills, MySQL - relational database management system, Importance of IT applications such as e-Comerce, e-governance and e-learning etc., SQL Queries and problem solving using JAVA.  Java programming is covered using NetBeans as an IDE fo Java. That makes learning Java much more easier and stude