Coder Social home page Coder Social logo

csc_413_a3_interpreter_part_2_josephedradan's Introduction

CSC 413 Assignment 3 README

Name: Joseph Edradan

Email: [email protected]

Running autorun.py

output of autorun.py

12 of 15 should be correct because python will use floats if the numerator and denominator do not result into an int.

Running file: advance-for-statement-iteration-return.txt
Python 3.8.4:                      ['111', '0', '0', '111']
Java Pseudo Python Interpreter:    ['111', '0', '0', '111']
Correct

Running file: arithmetic.txt
Python 3.8.4:                      ['3', '9', '21']
Java Pseudo Python Interpreter:    ['3', '9', '21']
Correct

Running file: assign-print-variables.txt
Python 3.8.4:                      ['1', '2', '3', '4']
Java Pseudo Python Interpreter:    ['1', '2', '3', '4']
Correct

Running file: complex-for-statement.txt
Python 3.8.4:                      ['55', '66', '78', '91', '105', '96', '136', '153', '171', '190', '210']
Java Pseudo Python Interpreter:    ['18', '12', '28', '14', '24', '24', '31', '18', '39', '20', '42']
Incorrect

Running file: complex-function.txt
Python 3.8.4:                      ['27.0']
Java Pseudo Python Interpreter:    ['27']
Incorrect

Running file: complex-while-statement.txt
Python 3.8.4:                      ['1', '2', '3', '4', '6', '8', '9', '12', '16', '18', '24', '36', '48', '72', '144']
Java Pseudo Python Interpreter:    ['1', '2', '3', '4', '6', '8', '9', '12', '16', '18', '24', '36', '48', '72', '144']
Correct

Running file: extra-credit.txt
Python 3.8.4:                      ['10']
Java Pseudo Python Interpreter:    ['10']
Correct

Running file: fibonacci-iterative.txt
Python 3.8.4:                      ['0', '1', '1', '2', '3', '5', '8', '13', '21', '34']
Java Pseudo Python Interpreter:    ['0', '1', '1', '2', '3', '5', '8', '13', '21', '34']
Correct

Running file: fibonacci-recursive.txt
Python 3.8.4:                      ['55']
Java Pseudo Python Interpreter:    ['55']
Correct

Running file: if-statements.txt
Python 3.8.4:                      ['3', '9', '5', '8']
Java Pseudo Python Interpreter:    ['3', '9', '5', '8']
Correct

Running file: scopes.txt
Python 3.8.4:                      ['15', '3']
Java Pseudo Python Interpreter:    ['15', '3']
Correct

Running file: simple-for-statement.txt
Python 3.8.4:                      ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
Java Pseudo Python Interpreter:    ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
Correct

Running file: simple-function.txt
Python 3.8.4:                      ['0.0', '0.0']
Java Pseudo Python Interpreter:    ['2', '0', '1']
Incorrect

Running file: simple-print.txt
Python 3.8.4:                      ['1', '10', '3']
Java Pseudo Python Interpreter:    ['1', '10', '3']
Correct

Running file: simple-while-statement.txt
Python 3.8.4:                      ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
Java Pseudo Python Interpreter:    ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
Correct

12 out of 15 Correct relative to Python 3.8.4

Original Repo: https://github.com/sfsu-computer-science/a3-interpreter-part-2-josephedradan.git

csc_413_a3_interpreter_part_2_josephedradan's People

Contributors

josephedradan avatar github-classroom[bot] avatar

Watchers

 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.