LecLabs 5.0 Prolog


Intro to Programming Languages.

[ ← Module List ]


Challenges

Lecture video introducing Prolog

Lecture video introducing Prolog facts

Lecture video introducing Prolog rules

Lecture video introducing how Prolog searches for a solution

Objective

Create a query that asks whether Romeo loves Juliet

Click Here for Follow Along Video

Requirements

Add a query 1 to the main.pl asking whether Romeo loves Juliet

Lecture video on Prolog operators

Objective

Create a query for females and males and use listing to print them out.

Click Here for Follow Along Video

Requirements

Follow the instructions of the CODE comments

Objective

Create several if statements

Click Here for Follow Along Video

Requirements

Follow the instructions of the CODE comments

Lecture video using recursion in Prolog

Lecture video covering recursive rules in Prolog

Lecture video querying graphs in Prolog

Lecture video on practically applying Prolog to a map coloring problem

Objective

Create queries and rules finding the relationship between people.

Click Here for Follow Along Video

Requirements

Follow the instructions of the CODE comments

Lecture video on practically applying Prolog to a map coloring problem

Lecture video covering the coin machine example using lists in Prolog

Lecture video covering a quick sort example using lists in Prolog

Lecture video covering other examples using lists in Prolog

Objective

Create a query for females and males and use findall to load it into a variable and write it.

Click Here for Follow Along Video

Requirements

Follow the instructions of the CODE comments

30-Day Scoreboard:

This scoreboard reflects solves for challenges in this module after the module launched in this dojo.

Rank Hacker Badges Score