Repository for Pupilfirst WD-201 Course Assignments
Assignment: Recursive DNS resolver
Location: l2/
Files:
lookup.rb
contains the code for:parse_dns
function converts the file into a source-destination hash along with record type tagresolve
function appends canonical records' destination to lookup_chain and calls itself recursively on the target. If the record is address, then it returns the lookup chain with final IPv4 address.
zone
contains various address and canonical records of diffrent domains
Assignment: Implement a todo list using classes
Location: l3/
Files:
todos.rb
contains the code for:class Todo
contains the data members and related methods to check for status of each todo from(overdue, due_today, due_later) and also has a formatter method which formats the string into displayable todo in a list of todosclass TodosList
contains data memeber to store the list of todos and methods to display the entire list and also to filter the tasks with a particular status from (overdue, due_today, due_later).