CS131 Brewin++ Interpreter

Project #2: Brewin++ Interpreter CS131 Spring 2023 Due date: May 21st, 11:59pm Please check Campuswire for clarifications/updates frequently Introduction…………………………………………………………………………………………………………………. 3 Static Typing……………………………………………………………………………………………………………. 3 Default Return Values from Functions…………………………………………………………………………. 4 Local Variables………………………………………………………………………………………………………….4 Inheritance………………………………………………………………………………………………………………. 5 Polymorphism………………………………………………………………………………………………………….. 6 Brewin++ Language Detailed Spec………………………………………………………………………………..7 Static Typing……………………………………………………………………………………………………………. 7 All fields must have a type specified………………………………………………………………………. 7 Methods must now have a […]

CS131 Brewin++ Interpreter Read More »

CS 131 Spring 2023: Project Starter

# CS 131 Spring 2023: Project Starter Hey there! This is a template repository that contains the necessary boilerplate for [CS 131](https://ucla-cs-131.github.io/spring-23/)’s quarter-long project: making an interpreter. The project specs are as follows: 1. [Project 1 Spec](https://docs.google.com/document/d/1pPQ2qZKbbsbZGBSwvuy1Ir-NZLPMgVt95WPQuI5aPho) 1. [Project 2 Spec](https://docs.google.com/document/d/1simlDMO0TK-YNDPYjkuU1C3fcaBpbIVYRaKD1pdqJj8/edit?usp=sharing) There are three stages to the project; students are currently at the second. Thus,

CS 131 Spring 2023: Project Starter Read More »

interpreterv1

The module that brings it all together! We intentionally keep this as small as possible, delegating functionality to various modules. from classv1 import ClassDef from intbase import InterpreterBase, ErrorType from bparser import BParser from objectv1 import ObjectDef class Interpreter(InterpreterBase): Main interpreter class that subclasses InterpreterBase. def __init__(self, console_output=True, inp=None, trace_output=False): super().__init__(console_output, inp) self.trace_output = trace_output

interpreterv1 Read More »

Serial Navier Stokes

#include #include #include #include #include using namespace std; const int Nx = 201; const int Ny = 101; const double Lx = 0.1, Ly = 0.05; const double rho = 1000, nu = 1e-6; const double P_max = 0.5; const double t_end = 50.0; const double dt_min = 1.e-3; const double courant = 0.01; const

Serial Navier Stokes Read More »

Coursework Assignment

MPI Programming Assignment– Solving the Navier Stokes Equation Theory and discretisation In this coursework you will be solving the same set of equations that you did for the Modelling and Numerical Methods (MNM) coursework. The governing equation – The aim of this assignment is to write a parallel solver for the Navier- Stokes equation. At

Coursework Assignment Read More »

New Microsoft Word Document (2)

In this assignment you will be playing the part of a computer hardware and networking consultant for a firm known as “Made to Measure Computers” – MTMC. “Nuts & Bolts Imaging” is a new customer for your firm which specialises in producing sophisticated animation graphics for parts for the automotive industry.  They have been very successful

New Microsoft Word Document (2) Read More »

COMP2300 Assignment 2 Light Show

ANU School of Computing Lectures Labs Assessments Resources People Policies Help COMP2300/6300/ENGN2219 / Assessments / Assignment 2: Light Show Assignment 2: Light Show Create a light and sound show on your micro:bit Photo by Arno Senoner on Unsplash On this page Rules and Policies Specification Deliverables Marking Criteria Ideas For Implementation Pass (50 -59%) Credit

COMP2300 Assignment 2 Light Show Read More »

FIT3152 Assignment 02 2023

Faculty of Information Technology FIT3152 Data analytics – 2023: Assignment 2 ● The objective of this assignment is to gain familiarity with classification models using R. ● This is an individual assignment. Suggested Length Due Date Generative AI Use ● This assignment is worth 30% of your total marks for the unit. ● It has

FIT3152 Assignment 02 2023 Read More »

COMP8325 Ass1 Part2

Faculty of Science & Engineering COMP8325 Applications of Artificial Intelligence for Cyber Security Assignment 1 Part 2 Description Total Marks: 12 Weighting: 12% Deadline: Monday, May 29, 11:55 pm. LEARNING OUTCOME This assignment deals with the recovery of digital evidence. On successful completion, you will be able to • Engage with the material learned in

COMP8325 Ass1 Part2 Read More »

Pipebend 2023

MINOR LOSS COEFFICIENT OF PIPE BEND Pressure differences in pipe are measured in locations indicated in the figure below. The distances are: L1 = 500 mm, L2 = 100 mm, L3 = 100 mm and L4 = 500 mm. The pipe diameter is constant and the pipe is located horizontally. The aim of the work

Pipebend 2023 Read More »