hands-on machine learning with scikit-learn and tensorflow代码答案
2020-01-10 03:09:51 13.07MB 机器学习 深度学习
1
实验七 Java多线程 一、实验目的: 熟悉利用Thread类建立多线程方法。 熟悉利用Thread接口建立多线程方法。 二、实验内容: 1. 阅读下列程序,分析并上机检验其功能。 class DelayThread exends Thread{ private static int count=0; private int no; private int delay; public DelayThread(){ count++; no=count; } public void run(){ try{ for (int i=0;i<10;i++){ delay=(int)(Math.random()*5000); sleep(delay); System.out.println(“Thread ”+no+” with a delay ”+delay); } }catch(InterruptedException e){}}} public class MyThread{ public static void main(String args[]){ DelayThread thread1=new DelayThread(); DelayThread thread2=new DelayThread(); thread1.start(); thread2.start(); try{ Thread.sleep(1000);}catch(InterruptedException e){ System.out.println(“Thread wrong”);}}} 2.讲上列程序利用Runnable接口改写,并上机检验。 3.利用多线程编写一个模拟时钟(AWT程序、Runnable接口),有时/分/秒针 编写一个应用程序,创建三个线程分别显示各自的时间。 三、实验要求: 1. 通过实验掌握Thread 、Runnable使用方法; 2. 程序必须能够实现多线程; 3. 程序必须能够完成题目要求; 4. 写出实验报告。 四、实验步骤: 首先分析程序功能,再通过上机运行验证自己的分析,从而掌握通过Thread类建立多线程的方法。 通过将扩展Thread类建立多线程的方法改为利用Runnable接口的方法,掌握通过Runnable接口建立多线程的方法。
2019-12-21 22:01:24 2KB JAVA
1
易学C++,一整套:电子版pdf(可直接复制粘贴),源码+课后系统答案 这本书好的没得说,我觉得是国产C++入门圣经,0基础学起,真是相见恨晚,靠
2019-12-21 21:26:20 3.63MB 易学C++ 全套 代码 答案
1
CCF考试职业认证c++历年真题及部分代码答案
2019-12-21 21:24:52 110KB CCF认证C++
1
吴恩达深度学习第一课第四周编程作业(包括习题、代码、答案、数据集、完美跑通)。亲测完美跑通。
2019-12-21 21:22:53 10.05MB 吴恩达 深度学习 作业 代码
1
吴恩达深度学习第二课第一周编程作业(包括习题、代码、答案、数据集、完美跑通)。亲测完美跑通。
2019-12-21 21:22:53 10.23MB 吴恩达 深度学习 编程作业
1
算法与数据结构之LeetCode题目详解PDF+python-C++-java各版本答案源代码大合集,代码质量不错。配套的PDF解释也很清楚
2019-12-21 21:00:07 1.28MB LeetCode详解 代码答案 python c++
1
黑书 刘汝佳 包含习题代码答案 算法艺术与信息学竞赛 适合竞赛练习
2019-12-21 20:58:01 18.46MB 黑书  刘汝佳
1