Posts

informed Search and Uninformed Search

Image
In this blog, you will learn all about the uniform-search and inform-search. Uninformed Search Methods An  uninformed  search is a searching technique that has no additional information about the distance from the current state to the goal. so it is also called blind search. Search without information. Use no knowledge. Time-consuming More complexity. Types are DFS, BFS and UCS. ▪ informed Search Methods Informed Search is another technique that has additional information about the estimate distance from the current state to the goal. Uses knowledge to find the steps to the solution.  This information are also called Heuristic h(n).             Search with information. Use knowledge. Quick solution. less complexity. Types are A*, heuristic DFS, and CSP ▪ types of Uninformed Search Methods 1.Depth First Search The algorithm starts at the root node (selecting...

Data Type Data Structure for beginner

Image
Pending..... Data types    Abstract Data Type:  A data type that is defined by a programmer according to the point of view of the user. Abstract Data type is not defined by programming language this is a data type which we define according to our need Primitive and Non-Primitive Data Structure. Primitive.  Primitive is the most basic data types available within the Programing language. There are some examples:  boolean , byte,  char , short,  int , long,  float  and  double . These types serve as the building blocks of data manipulation in a programming language.  Non-Primitive. The data which is a collection of other data types( primitive or non-primitive) is known as the non-primitive data structure. .

How to build cv in just 5 minutes || fazal t point

Image
How to build resume? Hello!you want to build a stunning cv/resume if the answer is yes.This video is for you after watching this video you should be able to make a single page resume.Trust me guys this is the easiest way to build resume in just 5 minutes.

Create a class named Movie that can be used with your video rental business in java

Image
Create a class named Movie that can be used with your video rental business. The Movie class should have ID Number, and movie title with appropriate getter and setter methods. Also create an equal() method that overrides Object ’s equals() method, where two movies are equal if their ID number is identical. Next, create three additional classes named Action, Comedy, and Drama that are derived from Movie. Finally, create an overridden method named calcLateFees that takes as input the number of days a movie is late and returns the late fee for that movie. The default late fee is $2/day. Action movies have a late fee of $3/day, comedies are $2.50/day, and dramas are $2/day. Test your classes from a main method. Solution code: import java.sql.SQLOutput ; class Movie { int id ; String title ; public Movie ( int id , String title) { this . id = id ; this . title = title ; } public int getId () { return id ; } public void setId ( int...

A publishing company that markets both book and audio-cassette in java. (Solution)

Image
Q   Imagine a publishing company that markets both book and audio-cassette versions of its works. Create a class publication that stores the title and price of a publication. From this class derive two classes:  a. Book, which adds a page count  b. Tape, which adds a playing time in minutes. Each of these three classes should have set() and get() functions and a display() function to display its data. Write a main() program to test the book and tape class by creating instances of them, asking the user to fill in their data and then displaying the data with display(). Solution code class Publication{ int price ; String title ; public Publication ( int price , String title) { this . price = price ; this . title = title ; } public int getPrice () { return price ; } public void setPrice ( int price) { this . price = price ; } public String getTitle () { return title ; } p...

how to connect domain with hosted server using server name

Image
how to connect domain with hosted server using server name .This video is about how to connect domain with name server this is the easiest way to connect domain with hosting.we assume that you buy domain and hosting so logging to your both account and follow the step if you not understand than watch video again and again. 

iron throne voting

before you get admission for programming

Image
this video is about to know before get admission in software enginering.
Question You are supposed to write a complete Inventory system program in JAVA. All the parts’ details will be stored/retrieved using classes, methods, objects and Arrays . Below are the details of Parts:   •        PartID                           : integer •        Description                   : alphanumeric of 30 character  Manufacturer Date        : 8 character max. •        Quantity                       : integer •        Price                 ...
Question : Develop a program in JAVA that allows the user to perform the following operations   Main Menu 1)       Convert Day Integer to Day String 2)        Convert Month Integer to Month String 3)        Convert Date Integer to Date String 4)        Exits. import java.util.Scanner; public class Converssion {        public static String dayToString(int day){          if(day==1){return "first";}         else if(day==2){return "second";}         else if(day==3){return "three";}         else if(day==4){return "fourth";}         else if(day==5){return "fifth";}         else if(day==6){return "sixth";}         else if(day==7){return "seventh";}   ...

trick about html/css image

Image
This video will make you able that how to make your image vector for your web page. using adobephotoshop i am going to convert it to vector form. what is vector logo? a vector image is a image which you can add on any thing like banner ,image etc this will not effect of it's parent background mean the vector image has no background. for detail watch the video.

implementation of link list

Image
implementation of link list import java.util.Scanner; class Node{ public int data;//data public Node next;//next Node()//constructor { data=0; next=null; } Node(int data,Node next)//constructor { this.data=data; this.next=next; } //set data public void setData(int val) { data=val; } public Node setNext(Node n) {return next=n;} public int getData() {int val=data;return val;} public Node getNext() { return next;} public String toString() { return "data="+data; } }//end of node //class link list class LinkList{ public Node start; //starting node for reference public int size; //size of link list. LinkList(){start=null;size=0;} //empty public boolean isEmpty() { return start==null; } //size public int getSize() { return size; } //3 view list public void viewList() { Node temp; if(isEmpty()) { System.out.println("List is empty."); } else { temp=start; for(int i=1;i<=size;i++) { System.out.println(temp.g...