Skip to content

Aravind-Kannan/wd-201-aravind-kannan-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository for Pupilfirst WD-201 Course Assignments

L2: Introduction to ruby

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 tag
    • resolve 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

L3: Object-oriented programming

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 todos
    • class 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).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages