实验

软件设计实验4:抽象工厂模式

实验4:抽象工厂模式 本次实验属于模仿型实验,通过本次实验学生将掌握以下内容: 1、理解抽象工厂模式的动机,掌握该模式的结构; 2、能够利用抽象工厂模式解决实际问题。 [实验任务一]:人与肤色 使用抽象工厂模式,完成下述产品等级结构: 实验要求: 1. 画出对应的类图; 2. 提交源代码; publ ......
工厂 模式 软件

软件设计实验5:建造者模式

实验5:建造者模式 本次实验属于模仿型实验,通过本次实验学生将掌握以下内容: 1、理解建造者模式的动机,掌握该模式的结构; 2、能够利用建造者模式解决实际问题。 [实验任务一]:计算机组装 使用建造者模式,完成下述任务:计算机组装工厂可以将CPU、内存、硬盘、主机等硬件设备组装在一起构成计算机,计算 ......
模式 软件

实验三

test1.c 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #include <windows.h> 5 #define N 80 6 7 void print_text(int line, int col, ch ......

实验三_C语言函数应用编程

实验一 源代码 #include<stdio.h> #include<stdlib.h> #include<time.h> #include<windows.h> #define N 80 void print_text(int line,int col,char text[]); void pri ......
函数 语言

实验3

实验任务1 实验任务2.1 实验任务2.2 实验任务3 实验任务4 实验任务5 实验任务6 ......

实验3 c语言函数应用编程

task1 1 源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 #include<windows.h> 5 #define N 80 6 7 void print_text(int line, int col,cha ......
函数 语言

实验3

实验任务1 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); // 函 ......

实验三

task1 代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); / ......

实验3 C语言函数应用编程

task1 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 #include<Windows.h> 5 #define N 80 6 7 void print_text(int line,int col,char text[ ......
函数 语言

《Java 并发编程的艺术》实验03 等待通知机制的实现

等待通知机制的实现 需求分析 实验内容 设计一个任务队列,多个任务线程同时从队列中取出任务进行处理。当任务队列为空时,任务线程需要进入等待状态,直到新的任务到达。当有新的任务到达时,需要通知其中一个任务线程来处理新任务。 基于 Object Monitor 实现 实验目的 学习如何使用等待通知机制来 ......
机制 艺术 Java

《Java 并发编程的艺术》实验02-4 JUC Executor的使用

Executor 框架的使用 ThreadPoolExecutor 简介 Executor 机制实现了工作单元和执行机制的分离 ThreadPoolExecutor 实现了 Executor 接口,是 Java 线程池的根本实现类之一。它提供了更丰富的配置参数,例如核心线程数、最大线程数、线程空闲时 ......
Executor 艺术 Java JUC 02

《Java 并发编程的艺术》实验02-1 JUC 并发容器和框架的使用

JUC 并发容器和框架的使用 ConcurrentHashmap 简介 线程安全的哈希表,Hashmap 在 多线程环境下的替代 实验 实验目的:了解并发容器 ConcurrentHashmap 的使用方法 实验内容: 基础:直接使用 Thread 实现 多个线程同时往ConcurrentHashM ......
容器 框架 艺术 Java JUC

《Java 并发编程的艺术》实验02-2 JUC 原子操作类的使用

JUC 原子操作类的使用 实验目的 掌握Java原子类的使用方法,了解原子类在多线程环境下的特点和使用场景。 实验过程 导入Java原子类的库 创建AtomicInteger对象 使用原子方法对count进行操作 实验参考代码 public class AtomicExample { public ......
原子 艺术 Java JUC 02

《Java 并发编程的艺术》实验02-3 JUC 并发工具类的使用

JUC 并发工具类的使用 CountDownLatch 简介 CountDownLatch 是Java并发包中的一个基本类,它可以用来在多个线程间同步操作。 其主要功能是允许一个或多个线程等待,直到其他线程完成它们的操作后再继续执行。 CountDownLatch 是通过一个计数器实现的,计数器的初 ......
工具 艺术 Java JUC 02

实验3 C语言函数应用编程

1.实验任务1 task1源代码: 1 #include <stdlib.h> 2 #include <time.h> 3 #include <windows.h> 4 #define N 80 5 6 void print_text(int line, int col, char text[]); ......
函数 语言

实验三

#include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); // 函数声明 vo ......

实验三

tesk1 代码 #include<time.h> #include<windows.h> #define N 80 void print_text(int line,int col,char text[]); void print_spaces(int n); void print_blank_l ......

实验3

任务1源码 任务1结果 生成随机弹幕: 任务2源码 任务2结果 任务3源码 任务3结果 任务4源码 迭代 递归 任务4结果 迭代 递归 任务5源码 任务5结果 任务6源码 任务6结果 任务7源码 1 #define _CRT_SECURE_NO_WARNINGS 2 #include<stdio.h ......

实验三

task1 源代码: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); ......

实验三

1.实验任务1 每间隔1秒生成随机位置的hi Novermber 实验任务2 实验任务3 实验任务4 实验任务5 实验任务6 ......

实验3 C语言函数应用编程

一,实验目的 二,实验准备 三,实验内容 1,实验任务1 task1.c 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 #include<Windows.h> 5 #define N 80 6 7 void print_t ......
函数 语言

实验三

实验3.1 实验3.1源码 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[ ......

认证崩溃(中)之暴力破解和靶场实验一

暴力破解(Brute Force)也称字典攻击、枚举测试、穷举法测试,就是将每个可能的结果逐个比较,直到找出正确结果为止。本文介绍暴力破解的理论知识和pikachu靶场实验-基于表单的暴力破解。 ......
靶场 暴力

实验3

task1 1.代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #include <windows.h> 5 #define N 80 6 void print_text(int line, int col, c ......

实验三

#include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line,int col,char text[]); void print_s ......

实验3

一、实验任务1 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); ?/ ......

实验三

task1: 源代码: #include<stdio.h> #include<stdlib.h> #include<time.h> #include<windows.h> #define N 80 void print_text(int line,int col,char text[]); void ......

实验三

实验三 任务一 代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 #include<windows.h> 5 #define N 80 6 void print_text(int line,int col,char te ......

实验3 C语言函数应用编程

实验任务1 1 #include<stdio.h> 2 #include<math.h> 3 #include <stdlib.h> 4 #include <time.h> 5 #include <windows.h> 6 #define N 80 7 void print_text(int lin ......
函数 语言

实验三

实验1 每隔100ms在随机显示字符串 实验2 一致 实验3 实验4 实验5 实验六 实验七 #include<stdio.h> int func(int n2,int n3); int main() { int n=0; int flag=0; while(1){ int n2,n3; n2=n* ......