Pages

Recommended Downloads

Sunday, 25 September 2016

Love Percentage Calculator using PHP Project ~ mkniit

[PHP PROJECTS] LOVE PERCENTAGE USING PHP SOURCE CODE

gniitsolution
mkniit

Love Percentage Calculator using PHP source code: This PHP project is used to calculate your love percentage. This code will provide you approximate values. Do not take this as a serious one. This simple project was developed for fun making purposes. Lovers can use this calculator for valuing their love. Users have to enter their name & partners name in the text boxes. After have to click calculate button. Then the Love percentage will be displayed on the screen.

Friday, 16 September 2016

Friday, 9 September 2016

SOFTWARE ENGINEERING OBJECTIVE MT SOLVED ~ mkniit

THERE ARE 57 QUESTIONS THE ANSWERS OF SELECTED QUESTIONS WERE MAY BE RIGHT OR WRONG SO TRY IT YOURSELF


CORE JAVA PMR 4

Question-1  Implement the Employee DAO Factory & JDBC 

Answer:-


package temp;



public class EmployeeDAOFactory {

    

  

  public static void main(String[] args){

  EmployeeDAOJDBCImpl edji=new EmployeeDAOJDBCImpl();

  edji.AddEmployee(1,"hita", "IT");

  edji.AddEmployee(2, "meenal", "IT");

  edji.AddEmployee(3, "deepika", "IT");

  edji.AddEmployee(4, "aniket", "IT");

  edji.AddEmployee(5, "piyu", "HR");

  edji.RemoveEmployee(5, "piyu", "HR");

  

  }

}

&

CORE JAVA PMR 3

Question-1  Write a java program to check the URL.


Answer:-

import java.util.Scanner;

import java.util.regex.Matcher;

import java.util.regex.Pattern;

class UrlChecker

 {

        public static void main(String[] args) {

        Pattern Mypattern = Pattern.compile("^((https?|ftp)://|(www|ftp)\\.)[a-z0-9-]+(\\.[a-z0-9-]+[a-z]+)+([/?].*)?$");

        Scanner input = new Scanner(System.in);

        System.out.println("Enter the Url to be checked: ");

        String name = input.nextLine();

        Matcher Mymatcher = Mypattern.matcher(name);

        Boolean Myboolean = Mymatcher.matches();

        if (Myboolean == true) 

{

            System.out.println("Url is correct");

       

 }

CORE JAVA PMR 2

Question-1  Area Abstraction.


Answer:-

import java.util.Scanner;

 

abstract class calcArea {

    abstract void findTriangle(double b, double h);

    abstract void findRectangle(double l, double b);

    abstract void findSquare(double s);

    abstract void findCircle(double r);

}

 

class findArea extends calcArea {

 

    void findTriangle(double b, double h)

    {

        double area = (b*h)/2;

        System.out.println("Area of Triangle: "+area);

    }

CORE JAVA LAB@HOME 12

Question-1  Solve the Errors in the bank application.
                    
                   1. Create a Java application. Chapter10_Exercise03.

 2. Create a class. FileOperation. in the Java application. Chapter10_Exercise03.

     3. Replace the existing code in the FileOperation.java file with the following code:




Answer:-


import java.io.BufferedReader;

import java.io.BufferedWriter;

import java.io.FileReader;

import java.io.FileWriter;

import java.util.Scanner;

public class FileOperation {

CORE JAVA LAB@HOME 11

Question-predict the output.

Answer:-

Animal

ELEPHANT
TIGER
BUFFALO
GIRAFFE
LEOPARD
Country

CORE JAVA LAB@HOME 10

Question-1 Accept the two number and perform the operation.

Answer:-

import java . util . Scanner;


public class Divison {


 public static void main (String args []) {

  

  int num1, num2, result;

  Scanner input = new Scanner (System . in);

  System.out.println ("Enter the 1st number");

  num1 = input . nextInt ();

CORE JAVA LAB@HOME 9

Question-1 Differentiate Between the checked and unchecked also write algorithm.


Answer:-

view sourceprint?

01 package com.javacodegeeks.snippets.basics;

02

03 import java.io.File;

04 import java.io.IOException;

05

06

07 public class CheckedUncheckedExceptions {

08

09 public static void main(String[] args) {

10

11

CORE JAVA LAB@HOME 8

Question-1 Accept the three letter an the display the matching lettter the user.

Answer:-

import java . util . Scanner;

import java . util . regex . Matcher;

imort java  . util . regex . Pattern;


 public class TestRegx {


 public static void main (String [] args) {

 Scanner sc = new Scanner (System . in);

 String input;


 System.out..print ("Enter the string: ");

CORE JAVA LAB@HOME 7

Question-1 Deque Object.

Answer:-   The following answer are in the Image format.

CORE JAVA LAB@HOME 6

Question-1 Create Interface write all step that would be followed.

Answer:-

1 open the petcomposition project as the main project.

 a select file > open project.

 b browse t d:\labs\06-interfaces\practices.

 c select petcomposition and select the "open as main project chek box.

 d click the open project button.


2 expand the project diretories.


3 run the project. you should see output in the output window.


4 centralize all <name> functionality.

  a create a nameable interface (under the com.example package).