C语言代写

程序代写代做 algorithm C database data structure graph 1 Introduction

1 Introduction CSCD43 DATABASE SYSTEM TECHNOLOGY Assignment 2 Assigned Friday Feb 7 Due Monday March 10 Weight: 12% of your final grade Hash Joins For the first assignment, you modified the storage layers of PostgreSQL , in particular the buffer manager. The focus of this assignment is on query processing. In order to implement a […]

程序代写代做 algorithm C database data structure graph 1 Introduction Read More »

程序代写代做 graph clock C CSCI-UA.0480-003 Parallel Computing Lab Assignment 1

CSCI-UA.0480-003 Parallel Computing Lab Assignment 1 In this lab you will write MPI code to find numbers divisible by any of the given numbers a, b, and c in the range between 2 and N (inclusive) and test scalability and performance. For example: find numbers divisible by 2, 3, and 5 in the range between

程序代写代做 graph clock C CSCI-UA.0480-003 Parallel Computing Lab Assignment 1 Read More »

程序代写代做 C graph algorithm Overview

Overview Assume you have a graph that represents some type of relationship between two people. For example, it could represent friendship in a social network like Facebook. Or it could represent co-authorship of a paper, article, or book. In these examples, we are considering the edges to be undirected. However, in social networks that have

程序代写代做 C graph algorithm Overview Read More »

程序代写代做 C graph clock CSCI-UA.0480-003 Parallel Computing Lab Assignment 1

CSCI-UA.0480-003 Parallel Computing Lab Assignment 1 In this lab you will write MPI code to find numbers divisible by any of the given numbers a, b, and c in the range between 2 and N (inclusive) and test scalability and performance. For example: find numbers divisible by 2, 3, and 5 in the range between

程序代写代做 C graph clock CSCI-UA.0480-003 Parallel Computing Lab Assignment 1 Read More »

程序代写代做 C Java 迷你项目2:线程和同步

迷你项目2:线程和同步 截止日期:2020年3月4日 那作业 与上一个小型项目一样,您可以分组工作以完成本实验。 1.使用线程和同步请求调度 在本作业中,我们将使用线程和同步来基于在课堂上研究的Producer Consumer问题实现有用的应用程序。本实验分为两部分,一个部分需要用Java完成,另一部分需要用C / C ++完成,其总体目标是使您了解使用两种广泛使用的编程语言的线程和同步概念。 该实验室的目标是实现一个多线程请求调度程序,该程序类似于流行的Apache Web服务器如何调度请求。您不需要具备Apache知识即可完成实验-只需使用下面的问题说明即可。 假设请求调度涉及一个主线程和N个从属线程。主线程“监听”请求,并将其插入请求队列。 从属线程等待请求进入请求队列,并且在新请求到达时,任何等待请求的空闲从属线程都可以接受该请求并对其进行处理。 您的目标是使用有限的缓冲区生产者-消费者框架实现该技术的调度请求。假设请求队列是大小为N(即大小为N的数组)的循环缓冲区。该方法涉 及单个生产者(即主线程)和N个消费者(即从线程)。 主线程将随机睡眠一段短时间并产生一个请求。每个请求都有一个顺序增加的请求ID和一个随机选择的请求长度(为每个新请求分配1到M秒之间的随机长度)。然后,主线程将请求插入队列,并在产生另一个请求之前随机返回睡眠一段时间。当然,如果作为受限缓冲区的请求队列已满,则主线程必须等待,然后才能将请求插入队列。 每个从属线程可以空闲或忙碌。当从属线程空闲时,它充当使用者,等待请求队列中的新请求。从线程消耗了队列中的请求后,从属线程将忙于持续时间,该持续时间等于该请求的请求长度。通过使线程在该持续时间内处于睡眠状态,可以模拟从属线程的繁忙状态。完成请求后,从属线程将返回空闲线程,并尝试使用请求队列中的未决请求。如果队列为空,则从属线程必须等待,就像生产者使用者问题中的使用者一样。 在本实验的第1部分中,您将使用Java和Monitors实现上述问题。使用课堂上讨论的概念实现有界的缓冲区生产者和使用者。使用单个生产者 (主线程)和N个使用者(从线程)运行程序。N应该是您指定为程序输 入的可配置参数。您还可以指定其他输入,例如M,请求的最大持续时间和参数,这些参数指示生产者在产生下一个请求之前应休眠的时间。主线程和从线程应如上所述生成和使用请求。让主线程和从属线程打印有用的消息,以指示它们的操作。 例如,生产者应打印诸如 生产者:产生的请求ID为n,时长为t秒,时间为CURRENT-TIME生产者:睡眠了X秒 消费者应打印诸如 使用者i:分配的请求ID n,在接下来的t秒内处理请求,当前时间为 CURRENT-TIME 使用者i:在时间CURRENT-TIME完成的请求ID n 练习的第二部分涉及使用pthreads库解决C ++中的相同问题(如果您更喜欢C ++,则允许使用C)。由于C和C ++不支持监视器,因此应使用信号量来实现解决方案。像以前一样,您的代码应实现一个生产者(主)线程和N个消费者(从属)线程。主线程和从线程应该打印指示性消息,如第1部分中所示,以指示其当前操作。 有用的参考资料如果您不熟悉pthreads,请确保在上阅读此参考资料。 Pthreds编程.简要教程也可以。 关于Java线程和同步的教程很多,例如这里.Oracle提供了并发教程这里 如何上交实验2 以下所有文件必须作为zip文件提交到Canvas上,才能获得此作业的全部功劳。 • 您的zip文件应包含所有源文件的副本。请在zip文件的单独目录中包含第1部分和第2部分的源代码 • 您的zip文件应包含一个README文件的副本,该文件标识您的实验室伙伴 (如果有),并概述了您为该作业所做的工作。它还应说明并激发您的设计选择。解释程序的设计以及同步的工作方式。简明扼要。 如果您的实现不起作用,则还应在自述文件中记录问题,最好是对为何不起作用以及如果您有更多时间如何解决问题进行解释。当然,您还应该注释您的代码。我们无法为您所不了解的事情给您功劳! • zip文件中的自述文件应包含构建说明,该构建说明应准确说明如何在 Linux上针对Java和C / C ++实现编译代码。优选地,这些将以 Makefile的形式。 • 您的README文件应包含运行说明,确切说明如何在Linux上执行编译后的代码。适用于Java和C / C

程序代写代做 C Java 迷你项目2:线程和同步 Read More »

程序代写代做 graph gui C Java database CS 355, Spring 2020, Heidi Gurung Assignment #1 (Individual), 50 points

CS 355, Spring 2020, Heidi Gurung Assignment #1 (Individual), 50 points Due Tuesday, March 3rd, 2020 12:00 noon Requirements and Extended UML Class Diagram for Chat System First, you must generate a list of requirements specifications (that is, a detailed requirements list) for the scenario below. The requirements should be divided into two sections: first,

程序代写代做 graph gui C Java database CS 355, Spring 2020, Heidi Gurung Assignment #1 (Individual), 50 points Read More »

程序代写代做 C Java html data structure COMP 273

COMP 273 Assignment 3 School of Computer Science McGill University Submit your solution in electronic form using MyCourses Read the submission instructions at the end of the document (late policy: 10 % off per day late, up to 2 days. No submissions acceted after that.) Things to consider • Welcome to Assignment 3! We will

程序代写代做 C Java html data structure COMP 273 Read More »

程序代写代做 html C compiler assembly IY2840 Coursework 2: UNIX and Application Security

IY2840 Coursework 2: UNIX and Application Security This is a blind submission, and submissions must be made in a ZIP compressed file on Moodle. This compressed file should include the coursework report and necessary source-code files. The report must be in file PDF format, other formats such as: .docx or .pages are not accepted. This

程序代写代做 html C compiler assembly IY2840 Coursework 2: UNIX and Application Security Read More »

程序代写代做 algorithm graph go chain flex C Bayesian html AI Reasoning With Uncertainty

Reasoning With Uncertainty  “So far as the laws of mathematics refer to reality they are not certain. And so far as they are certain, they do not refer to reality.” – Albert Einstein Text Chapter 5 and 9: 9.2 only, to the end of 9.2.2 Logical Implication Logical Implication  First order logic gives

程序代写代做 algorithm graph go chain flex C Bayesian html AI Reasoning With Uncertainty Read More »

程序代写代做 Java data structure html C COMP 273

COMP 273 Assignment 3 School of Computer Science McGill University Available On: February 28th, 2020 Due Date: March 18th, 2020. 11:59pm. Submit your solution in electronic form using MyCourses Read the submission instructions at the end of the document (late policy: 10 % off per day late, up to 2 days. No submissions acceted after

程序代写代做 Java data structure html C COMP 273 Read More »