Tuesday 14 March 2017

Core Java Assignment 8

A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 8


Create the following HTML page

Core Java Assignment 7


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 7

Prepare a "resume.html" that might include such information as:
a) distinguishing marks
b) special interests
c) work history

Sunday 12 March 2017

UGC Net Computer Science December 13 Paper 3 Page 3 Solved

UGC Net Computer Science December 13 Paper 3 Page 3 Solved

UGC Net Computer Science December 13 Paper 3 Page 3 Solved

21. Given the following statements :
S1 : The grammars S → asb | bsa |
        ss | a and S → asb | bsa | a are not equivalent.
S2 : The grammars S → ss | sss |
        asb | bsa | λ and S → ss | asb | bsa | λ are equivalent.

Which of the following is true ?

(A) S1 is correct and S2 is not correct.
(B) Both S1 and S2 are correct.
(C) S1 is not correct and S2 is correct.
(D) Both S1 and S2 are not correct.
Answer B
Explanation :-

Saturday 11 March 2017

Library Management Project


Library Management Project Baner

Girfa Library Management is window based software written in VB.Net. This software covers all working aspect of a library. You can use this software at any school, college or any book shop that run their own paid library. Due to flexible of this software, which achieve all the activity of library Management task in an efficient way. The simplicity of the software need little bit training for execution. Power of software is wide range of report generation which makes audit work easy. Various types of setting option in option menu like book issue day, fine amount and many more makes this software dynamic.

Friday 10 March 2017

Polymorphism

Polymorphism Banner


“One name many form.”

Polymorphism gives the ability to dynamic programming to a language which reduces to write repeated code for each module. You can use polymorphism for flexible programming for example if you‘re making software for a school and you need to print record of different type person which may be student, teacher, non teaching staff etc. So without using polymorphism you need to make separate function for each person related record printing. which lead to increase complexity. In polymorphism you need to make a function for printing record and rewrite different version of this as printing which are isolated by function signature. So you have a better approach to solve your need with flexible coding.

Wednesday 8 March 2017

UGC Net Computer Science December 13 Paper 3 Page 2 Solved

UGC Net Computer Science December 13 Paper 3 Page 2 Solved

UGC Net Computer Science December 13 Paper 3 Page 2 Solved

11. Match the following style rules for reusability :
              List – I                                                              List – II
a. Keep methods coherent                                       i. Write a method to get the last element of a list
b. Keep methods small                                            ii. Maintain parallel structure when possible
c. Keep methods consistent                                   iii. Breaking a method into smaller parts
d. Provide uniform coverage                                 iv. Performs a single function or a group
                                                                                     of closely related  functions.

Tuesday 7 March 2017

Check Your Mind

Sunday 5 March 2017

Strong Number

Write a program to check strong number?

A strong number said to be if sum of factorial of each digit from n is equal to given number
i.e           145 = 1! + 4! + 5!
                       = 1 + 24 + 120

                      =145

/*   ***********************************
           Girfa : Student Help
           Strong Number Program

Perfect Number


 Program to check perfect number

A number said to perfect if sum of all its divisor is equal to given number

i.e

Image from wikipedia

/*   ***********************************
           Girfa : Student Help
           Magic Number Program

Saturday 4 March 2017

Magic Number


Program for check whether a number is Magic or Not

A Magic number said to Magic on the behalf of following rule
  • Sum of each digit (1729=1+7+2+9=19)
  • Reverse obtain sum of digit i.e. (19=91)

Thursday 2 March 2017

MySQL Insert Record





Table Structure

Field
Type
Null
Default
Comments
roll
int(11)
No 

 Auto Increment
name
varchar(50)
No 


city
varchar(50)
No 


sub
varchar(30)
No 





Object Oriented Approach


<?php 
$servername = "localhost";
$username = "root";
$password = "";

Core Java Assignment 6

Core Java Assignment 7

A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 6


Write a Java Program to create three interfaces, each with two methods. Inherit a new
interface from the three, adding a new method. Create a class by implementing the new

Core Java Assignment 5


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 5


Write an applet with a JTextArea where the user can enter some text. The applet should
have a button. When the user clicks on the button, the applet should count the number of

Core Java Assignment 4

Core Java Assignment 4

A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 4


Design a Calculator using Java Applet/Swing. The display should have all the digit buttons
along with buttons for operations +,-,*, / and =. There is a designated panel to show the
current results. If a digit button is clicked, the number is displayed on the panel. If an

Core Java Assignment 3

Core Java Assignment 2


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 3


Write a Java Program to create three new types of exceptions. Write a class with a method

Core Java Assignment

Core Java Assignment


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 2


Open a text file so that you can read the file one line at a time. Read each line as a String

Core Java Assignment

Core Java Assignment


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 1

Write a program that can create a concordance ( A concordance lists every word that
occurs in the document, and for each word it gives the line number of every line in the

Wednesday 1 March 2017

Java Syllabus

Java Syllabus


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.


Java
Syllabus

S. No.
Topic
Minimum number of hours
1
Introduction to Object Oriented Programming
14
2
Introduction to Java programming Language.
32
3
Introduction to UML.
14

                 Lectures  = 60
Practical/tutorials = 60
                      Total = 120

Detailed Syllabus


1. Introduction to Object Oriented Programming 14 Hrs.

Java Course Objective


NIELIT A Level Java Objective

A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Objective of the Course


The course is designed to impart knowledge and develop skills required to solve real world problems using object oriented approach, Java Language constructs and Unified Modelling Language. This course covers the subject in 3 sections, viz, Introductions to Object Oriented Programming, Introduction to Java Programming Language, Introduction to UML.

Tuesday 28 February 2017

Flash Shape Change Animation

Flash Shape Change Animation

This post will help you to learn shape change animation in flash 8 just go through following steps with image screen shot


Monday 27 February 2017

Bootstrap Tutorial


Bootstrap Tutorial
Bootstrap is a set different type of CSS Class.  Which help you to make responsive website that adjust its visual appearance dependent on target device resolution? For use   Bootstrap you just need to add bootstrap.min.css in head.

Saturday 25 February 2017

Dynamic Array Java Script


Dynamic Array Java script

Enter Name :



Source Code

<!DOCTYPE> 
<html>

Friday 24 February 2017

CSS Drop Down Menu


CSS Drop Down Menu





This is your page text underneath of menu and menu will overlap this text because of z index

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

Wednesday 22 February 2017

Java Script Button




Button Effect CSS


      

Monday 20 February 2017

Selection Sort

In computer science, a selection sort is a sorting algorithm, specifically an in-place comparison sort. It has O(n2) time complexity, making it inefficient on large lists, and generally performs worse than the similar insertion sort. Selection sort is noted for its simplicity, and also has performance advantages over more complicated algorithms in certain situations, particularly where auxiliary memory is limited.

Bubble Sort

Bubble sort, sometimes incorrectly referred to as sinking sort, is a simple sorting algorithm that works by repeatedly stepping through the list to be sorted, comparing each pair of adjacent items and swapping them if they are in the wrong order. The pass through the list is repeated until no swaps are needed, which indicates that the list is sorted. The algorithm gets its name from the way smaller elements "bubble" to the top of the list. Because it only uses comparisons to operate on elements, it is a comparison sort. Although the algorithm is simple, most of the other sorting algorithms are more efficient for large lists.

Sorting Data Structure

Java Script Event


Java Script Event

Java script is a scripting language intended to handle event, rise from different controls of HTML. If you want to learn java script then you need to first learn about event.

An event is generated by a control,page or any other type of activity . Event is generated through user, software, browser,server etc. with the help of  event system acknowledge that something is happening  . Example of different types of events are click,double click,mouse over , mouse out etc. When an event is generated an event handler is require to capture that particular event. I have added some example of most fundamental event in following code. After that you will be able handle some important event .

Sunday 19 February 2017

Image Hover CSS Effect


Image Hover Effect CSS


Girfa : Student Help
Girfa : Student Help
Girfa : Student Help



Girfa : Student Help


<div class="container">
  <img src="girfa.jpg" class="image">
  <div class="overlay">
    <div class="text">Girfa : Student Help</div>
  </div>
</div>

CSS Code


.container {
  position: relative;
  width: 50%;
}

Saturday 18 February 2017

CSS Image Formatting


Image Formatting CSS





<img src="girfa.jpg" style="margin-left:20px;border-radius: 8px;"/>



<img src="girfa.jpg" style="border-radius: 50%;"/>

CSS Text Formatting

Font Color,Size,Font Sytle

<span style="color:blue;font-size:xx-large;font-style:italic">Font Color,Size,Font Sytle</span>

Font Face Demo

<span style="font-family:Geneva, Arial, Helvetica, sans-serif;">Font Face Demo</span>

Friday 17 February 2017

Least Common Multiple

Q : Write a program to input two numbers and find out Least Common Multiple?

The smallest positive number that is a multiple of two or more numbers.

Solution : 

/*   ################################
     Girfa Student Help
     LCM
     for more visit : http://girfahelp.blogspot.in/p/c-language.html
     ################################

Greatest Common Factor

Q : Write a program to calculate Greatest Common Factor ?

The highest number that divides exactly into two or more numbers. It is the "greatest" thing for simplifying fractions!
Greatest Common Factor of 12 and 16 is 4 because after 4 there is not any number which devide both 12 and 16.

Solution : 


/*   ################################
     Girfa Student Help
     HCF
     for more visit : http://girfahelp.blogspot.in/p/c-language.html
     ################################

Perfect Number C Language Program

Q: Write a program to check whether a number is prime or not?
(A number said to be perfect if sum of all factor less than given number then equal to given number)Input : 6

Solution : 

/*   ################################
     Girfa Student Help
     Perfect Number
     for more visit : http://girfahelp.blogspot.in/p/c-language.html
     ################################
*/
#include<stdio.h>

Thursday 16 February 2017

Product of digit

Q : Write a program to calculate product of digit of a given page ?

Solution : 

Even Odd Calculation

Q : Write a program to sum all even and odd number from 1 to given number ?

Solution : 

Square and Cube of a given number

Q : Write a program to calculate of square and cube of a given number ?

Solution :

First n Multiplies of given number

Q : Write a program to display First n Multiplies of given number?

Solution : 

Perfect number program

Q : Write a program to check whether a number is perfect or not ?

A perfect number is a positive integer that is equal to the sum of its proper positive divisors, that is, the sum of its positive divisors excluding the number itself. 

Example : 
6 = 1 + 2 + 3, 
28 = 1 + 2 + 4 + 7 + 14, 
496 = 1 + 2 + 4 + 8 + 16 + 31 + 62 + 124 + 248 

Solution :

HCF and LCM Java Program

Q : Write a program to input two number and find out HCF and LCM ?

Solution : 


class lcm {
 void get(m1, m2) {

Tuesday 14 February 2017

Progress Tag HTML 5

Progress Tag HTML 5 Example


In making of a website , we often need to provide essential feedback to a user informing them of the progress of their request or task, be it uploading a file, playing a video, or importing data.

Progress Tag HTML 5

Meter Tag HTML 5

Meter Tag HTML 5 Example

The HTML <meter> tag specifies a scalar measurement within a known range (a gauge).

Meter Tag HTML 5 Example


<meter value="3" min="0" max="10">2 out of 10</meter><br>