Press "Enter" to skip to content

Posts published in “programming”

Laboratory 1 Assembly Language and the RISC-V ISA

The RISC-V Assembler and Runtime Simulator (RARS) can be downloaded from: https://github.com/TheThirdOne/rars/releases/tag/v1.5 All information is in pdf file   DOWNLOAD FILES HERE Laboratory 1 Assembly Language and the RISC-V ISA Page 1of 6School of EngineeringEEET2261–Computer Architecture and OrganisationLaboratory 1Assembly Language and the RISC-V ISA1Aims(i)To develop an appreciation for the abstraction provided by a microprocessor’s Instruction Set Architecture (ISA).(ii)To use theRISC-V specification to understand thefunctional operation of the RISC-V ISA.(iii)To implement common algorithms typical of those suited to optimisation through direct assembly language programmingusing the RV32I base ISA.(iv)To develop an appreciation for theconstraints imposed on software by the underlying ISA.(v)To utilise…

Web Service Project You are to develop – A currency converter XML web service

Web Service Project You are to develop: A currency converter XML web service A web service client requesting the currency converter XML web service The Currency Converter XML Web Service Create an ASP.net project named “WebServiceFall2019” (empty and non-HTTPS) Add a New Item: Web Service (ASMX) named CurrencyConvert.asmx Add the CurrencyConvert web service:<WebMethod()> Public Function CurrencyConvert(ByVal strCurrencyType As String, ByVal sngCurrencyIn As Single) As String Dim sngCurrencyOut As Single Select Case strCurrencyType Case “ca” sngCurrencyOut = CSng(sngCurrencyIn) * 1.1 Case “jp” sngCurrencyOut = CSng(sngCurrencyIn) * 110 End Select Return sngCurrencyOut End Function Run the web service in a browser from…

CPSC165 – Introduction to Internet Concepts and Web Design principles

CPSC165 – Introduction to Internet Concepts and Web Design principles Spring 2020 Final Project: Build a moderate-size Web Site Submission due: Friday, June 26, 2020 (11:59pm)   Project Description   In this project you will build a moderate-size Web site. The theme of the Web site is decided by the members of your project group. Each group will have 4 members, and each member should contribute equally to the project. The due date to submit Your project on Canvas is on Friday June 26, 2020 at 11:59 pm. Requirements Website should have around 15 pages (minimum 13 pages) Each of…

Chapter 1: Introduction to Economy

Ch01 Introduction-to-Economy Multiple Choice Questions 1. In countries like _____________ the command economy predominates. A. China and Vietnam B. Cuba and North Korea C. South Africa and Kenya D. Germany and France Answer: B  Reference: Explanation: 2. In which of the following countries will the national government have the greatest influence with respect to the nation’s economy? A. China B. Cuba C. Canada D. Chile Answer: B  Reference: Explanation: 3. In a command economy, the __________ either makes most economic decisions itself or at least strongly influences how the decisions are made. A. government B. market C. firm D. business…

Forecasting Chicken Wing Demand

Exercise 1: Forecasting chicken wing demand The following data represents the weekly demand for chicken wings at a local restaurant during the past six weeks: Week 1 2 3 4 5 6 Demand 650 521 563 735 514 596 Complete the following: a.    Forecast the demand for week 7 using a five-period Moving average. b.    Forecast the demand for week 7 using a three-period weighted moving average. Use the following weights to obtain your forecast: o    W1 = 0.5 o    W2 = 0.3 o    W3 = 0.2 c.    Forecast the demand for week 7 using exponential smoothing. o    Use an α value of 0.1 o    Assume…

Write a program that will open a data file (“data.csv”) containing multiple rows and columns (no missing value)

COMP-5411 FA & FB Fall 2019 Assignment 1 This is NOT a group assignment Due Date: Wednesday, October 9, 11:59 pm Late submission is NOT allowed. 1) Write a program that will open a data file (“data.csv”) containing multiple rows and columns (no missing value). Assume both your program and the data file are in the same directory so that explicitly mentioning the path is not required while loading the file. Each column represents a feature and each row is an instance. The dataset should have at least 2 continuous features, 1 categorical feature and 100 instances. Your program then…

CMSC 341 Data Structures — Projects & Support — Fall 2019

Project 2: Range Average Query Due: Tuesday, October 8, before 9:00 pm Addenda You may find it easier to store sums (rather than averages) in the RAQ and BlockRAQ data structures. If you choose to do this, your query() function must convert sums to averages. Also, your dump() function should print sums, not averages. You will need to include the cmath library in raq.cpp to use the sqrt() function. You may also include iostream (needed by dump()) and iomanip (optional, but allows for formatting of output). Objectives In this project, you will implement two different solutions for the Range Average…