open List open Nfa (*********) (* Types *) (*********) type regexp_t = | Empty_String | Char of char | Union of regexp_t * regexp_t |…
let rec map f xs = match xs with | [] -> [] | x :: xt -> (f x)::(map f xt) let rec fold…
# =========================================== # =====DON’T modify the following code======= # =========================================== class Ship attr_reader :start_position, :orientation, :size def initialize(start_position, orientation, size) @start_position = start_position @orientation =…
Family Name ……………………………….. Given Name ………………………………… Student No. …………………………………. Signature …………………………………… THE UNIVERSITY OF NEW SOUTH WALES School of Electrical Engineering & Telecommunications MID-SESSION EXAMINATION…
2020 Winter term 2 Unit 1b – Static Scalars and Arrays 1 CPSC 213 2020 ST1 © 2020 Jonatan Schroeder ▪ Reading ▪ Companion: 1,…
Family Name Other Names Global ID Date ______________________ ______________________ ______________________ ______________________ Diplomas Electrical and Telecommunications Engineering EE1111 Question Possible Marks Actual Marks 1 30 2…
Family Name Other Names Global ID Date ______________________ ______________________ ______________________ ______________________ Diplomas Electrical and Telecommunications Engineering EE1111 Question Possible Marks Actual Marks 1 30 2…
Directions to Candidates This paper contains 7 pages. Candidates must ATTEMPT ALL questions. Answer each question in a separate answer booklet. Marks for each question…
Family Name ……………………………….. Given Name ………………………………… Student No. …………………………………. Signature ……………………………………. THE UNIVERSITY OF NEW SOUTH WALES School of Electrical Engineering & Telecommunications MID-SESSION EXAMINATION…