## COMP1231 Web Programming

Introduction It’s time to put all your JavaScript skills to the test to build an app combining everything you’ve learned about JavaScript so far. In this assignment, you are required to build 10 functions. Goals and Outcomes  Reverse engineering the built-in functions and built user define functions  Write decision-making statements and control structures…

## Linear Algerbra Let vector space V be vector space of single variable real functions. Let real numbers a,b be fixed.

Q1. Let vector space V be vector space of single variable real functions. Let real numbers a,b be fixed. Let ∈ ∗ defined as . The differentiation operator is given by () = ′ on with adjoint ∗. What is ∗()? Q2. Let and be linear transformations from to . Give an explicit counter example…

## COMP1710 Assignment + Report: Semester 1 2020

COMP1710 Assignment + Report: Semester 1 2020 Summary of submission snapshot deadlines: Assignment Part 1: 11:00am Monday 30/03/2020 Break week 1 (06/04/2020) Assignment Part 2: 11:00am Monday 27/04/2020 Week 8 (04/05/2020) Assignment Part 3: 11:00am Monday 25/05/2020 Week 12 (01/06/2020) Report : 23:59 (11:59pm) Sunday 31/05/2020 Week 12 (07/06/2020) Assignment The purpose of the overall…

This content is for IT & Web programming task members only.

## Task 1 Logic Functions C

Task 1: Logic Functions in C Create a console ‘C’ application to perform the following three input logic functions. Your application should be user friendly. Logic Functions AND OR NAND NOR EXOR Shift Left Shift Right All of the above binary functions has two inputs (AND,OR etc.) except Shift operations and the output must be…

# Assignment 1: A Dynamic String Array

In this assignment your task is to implement, and test, a set of functions that implement a dynamic array of strings.

## Getting Started

For this assignment, put all the code you write into a single file named `a1.cpp`. that starts like this:

```// a1.cpp

/////////////////////////////////////////////////////////////////////////
//
// Student Info
// ------------
//
// Name : <put your full name here!>
// St.# : <put your full SFU student```

# Assignment 2: An Object-oriented Dynamic String Array

In this assignment your task is to essentially re-do a assignment 1, but this time using object-oriented programming. The resulting `str_vec` class is much easier to use than the version in assignment 1 because it manages its memory automatically.

## Getting Started

For this assignment, all the code you write should be put into a file named `a2.cpp` that looks like this:

```// a2.cpp

/////////////////////////////////////////////////////////////////////////
//
// Student Info
// ------------
//
// Name : <put your full name here!>
// St.# : <put your full SFU student```

## CMPT 135 Assignment 3: Chatbots

Assignment 3: Chatbots In this assignment your task is to implement and test a number of different chatbots. Each different chatbot is implemented in a class that inherits from the Chatbot base class given below. Getting Started For this assignment, all the code you write should be put into a file named a3.cpp that looks…

# Assignment 4: Recursion

In this assignment, your task is to practice writing recursive functions. The questions are in the file `a4.h`, and each question asks you to write a recursive function according to a specification given in the source code itself.

The functions are specified using pre-conditions, post-conditions, and constraints. For example, here is the specification for a function that sums the integers from 1 to n:

```// Pre-condition:
//    n >= 0
// Post-condition:
//    Returns the sum of the first n integers, i.e. 1 + 2 + 3 + ... + n.
//    If n is 0, then 0 is returned.
// Constraints:
//    Must be implemented using recursion (and no loops). You can write
//    helper functions if necessary.
// Note:
//    You don't need to worry about sums that overflow int.
int sum(int n);
```

The pre-condition states what must be true before the function is called, and the post-condition states what must be true after the functions finishes running correctly (assuming that the pre-condition held before it was called).

The constraints part of the specification lists any other things that must be true for the function. In this assignment, the major constraint is that no loops are allowed in any of the code you write.

Important: No loops are permitted in any of the code you write for this assignment (not even in the test functions).

## Testing

For each function, you must also write a corresponding test function that automatically runs tests on the function to help ensure it is working correctly. Typically, this is a series of `assert` statements that call the function and compare its results to the known correct answer.

For example, the test function for `sum` from above could be written like this:

`void`

## Programming Concepts Assignment

Programming Concepts Assignment (March 2020) The purpose of this assignment is to show how well you can develop a programming project. It will give you an opportunity to display your knowledge of the Python programming language. This assignment is marked initially with a maximum score of 100. It is then weighted to contribute 25% to…