Giter Site home page Giter Site logo

smalldatabase's Introduction

This directory contains a skeleton for CS61B Project 1.

CONTENTS:

ReadMe                  This file.
        
Makefile                A makefile (for the 'make' program) that will compile
                        your files and run tests.  You must turn in a Makefile,
                        'make' must compile all your files, and 
                        'make check' must perform all your tests.  Currently,
                        this makefile is set up to do just that with our
                        skeleton files.  Be sure to keep it up to date.

db61b                   A subdirectory containing skeletons for the 
                        db61b package:

  Main.java             The main program---entry point to the db61b system.
  Utils.java            Assorted utility methods.
  DBException.java      A custom exception to report user errors.
  Table.java            Abstraction for one table.
  Row.java              Abstraction for one row of a table.
  Column.java           Abstraction for extracting column values from rows of a
  			table.
  Literal.java		A kind of Column that has a constant value.
  Condition.java        Reprsents a comparison between column values.
  TableIterator.java	A modified iterator for obtaining the rows of a table.
  CommandInterpreter.java
			Translates and executes commands.
  Tokenizer.py		Used by CommandInterpreter to read input and break it
  			into meaningful pieces.
  Makefile              A makefile that controls compilation and style checking.


testing                 Subdirectory holding files for integration testing:

  Makefile              A makefile containing instructions for performing
                        tests on your project.

  students.db, enrolled.db, courses.db
                        Sample database tables from the project handout.

  test1.in, test2.in    Input files for testing.  The makefile will respond
                        to 'make check' by running these files through your
                        program, filtering the output through 
                        testing/test-filter, and comparing the results with 
                        the corresponding .out files.  You should add more 
                        files to the list in Makefile.
                        REMINDER: These are samples only.  They DON'T 
                        constitute adequate tests.

  test1.out, test2.out  Output that is supposed to result from test1.in
                        and test2.in, with the first line, all prompts,
                        and all blank lines removed (which is what 
                        test-filter does).

  testing.py            A Python 3 module containing a framework for integration
                        testing.   Used by tester.py.

  tester.py             A Python 3 program that tests your project.  It runs
                        your program with each .in file, comparing the output
                        with the corresponding .out file and producing a report
                        of the result.


smalldatabase's People

Contributors

trpham avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.