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