实验

人工智能-产生式系统实验(动物识别)

1.实验目的 1.熟悉知识的表示方法2.掌握产生式系统的运行机制3.产生式系统推理的基本方法。 2.实验内容 运用所学知识,设计并编程实现一个小型动物识别系统,能识别虎、金钱豹、斑马、长颈鹿、鸵鸟、企鹅、信天翁等七种动物的产生式系统。规则库:r1: IF 该动物有毛发 THEN 该动物是哺乳动物r2 ......
人工智能 人工 动物 智能 系统

实验5

实验任务1.1 源代码 1 #include<stdio.h> 2 #define N 5 3 4 void input(int x[],int n); 5 void output(int x[],int n); 6 void find_min_max(int x[],int n, int *pmi ......

实验5

任务1源码 1 #include<stdlib.h> 2 #include <stdio.h> 3 #define N 5 4 5 void input(int x[], int n); 6 void output(int x[], int n); 7 void find_min_max(int x ......

实验五。

实验一 找到最大最小的数; 都指向x(a)数组首元素; 找出数组中最大值; 不可以,作用域结束,函数内的数组所占内存空间释放,指针变为野指针; 实验二: s1的大小是24;sizeof是数组所占字节数;strlen统计字符个数不算‘\0’; 不可以,s1的地址是const类型,而后面的字符串返回的是 ......

实验5 C语言指针应用编程

实验任务1(1) 1 #include <stdio.h> 2 #define N 5 3 void input(int x[], int n); 4 void output(int x[], int n); 5 void find_min_max(int x[], int n, int *pmin ......
指针 语言

Java实验课预约系统网站源码

简介 教师发布实验课以及时间上课人数地点等,学生预约做实验,教师审核预约,如果审核通过后学生取消将扣除学生的信用分。实验到期不可报名系统自动结束实验。 演示视频 https://www.bilibili.com/video/BV1Pv4y1f7ox/?share_source=copy_web&vd ......
实验课 源码 系统 网站 Java

实验五

实验任务一 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int *pmax); ......

实验4 现代C++标准库与类模板

实验任务5:1.代码:textcoder.hpp: 1 #pragma once 2 3 #include <iostream> 4 #include <vector> 5 #include <array> 6 #include <string> 7 using namespace std; 8 9 ......
模板 标准

实验5

task1.1 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int *pmax ......

实验5

一、1-1、① 使最大值、最小值赋值到对应指针变量 ②全部指向 X首元素地址 1-2、①最大值地址 ②可以 二、2-1、①24 数组s1占用字节数 数组s1长度 ②不能 数组s1没有初值和大小,不能正常创建 ③是 2-2、①字符串 “。。。happy” 的地址 指针变量s1的大小 字符串 “。。。h ......

实验5_C语言指针应用编程

1.task_1 (1) 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int ......
指针 语言

实验5_c语言指针应用编程

task1_1 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x ......
指针 语言

实验5

四、实验结论1. 实验任务1task1_1.c程序源码,和,运行结果截图 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min ......

实验五

任务一 1.1 代码 1 void find_min_max(int x[], int n, int *pmin, int *pmax); 2 3 int main() { 4 int a[N]; 5 int min, max; 6 7 printf("录入%d个数据:\n", N); 8 inpu ......

实验五

task1.1 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int ......

实验5

task1_1.c源码 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int ......

实验五

实验一 找到最大最小的数; 都指向x(a)数组首元素; 找出数组中最大值; 不可以,作用域结束,函数内的数组所占内存空间释放,指针变为野指针; 实验二: s1的大小是24;sizeof是数组所占字节数;strlen统计字符个数不算‘\0’; 不可以,s1的地址是const类型,而后面的字符串返回的是 ......

实验5

实验1 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 5 4 5 void input(int x[], int n); 6 void output(int x[], int n); 7 void find_min_max(int x[] ......

实验5

实验5 实验5.1.1源码 #include <stdio.h> #include<stdlib.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], in ......

实验5 C语言指针应用编程

实验任务1 代码task1_1.c 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n ......
指针 语言

实验5

任务1 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int *pmax); i ......

实验五

task1.1 1.源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #define N 5 4 5 void input(int x[], int n); 6 void output(int x[], int n); 7 void find_min_ma ......

实验五

task1_1 code #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int ......

实验5

task1.1 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int *pmi ......

实验4 现代C++标准库与类模板

实验任务5TextCoder.hpp #pragma once #include<iostream> #include<string> using namespace std; class TextCoder { public: TextCoder(string text0) : text{ tex ......
模板 标准

实验4 现代C++标准库与类模板

实验任务5 #pragma once #include<iostream> #include<string> using namespace std; class TextCoder { public: TextCoder() = default; TextCoder(string str); st ......
模板 标准

实验4 现代C++标准库与类模板

实验任务1 源代码: #include <iostream> using std::cout; using std::endl; // 类A的定义 class A{ public: A(int x0, int y0): x{ x0 }, y{ y0 } {} void show() const { ......
模板 标准

实验4 现代C++标准库与类模板

实验任务5TextCoder.hpp源码 1 #include<iostream> 2 #include<string> 3 4 using std::string; 5 6 class TextCoder { 7 private: 8 string text; 9 void encoder(); ......
模板 标准

设计模式实验

软件设计 石家庄铁道大学信息学院 实验 21:观察者模式 本次实验属于模仿型实验,通过本次实验学生将掌握以下内容: 1、理解观察者模式的动机,掌握该模式的结构; 2、能够利用观察者模式解决实际问题。 [实验任务一]:股票提醒 当股票的价格上涨或下降5%时,会通知持有该股票的股民,当股民听到价格上涨的 ......
设计模式 模式

高飞实验

实验21 package shiyan21; import java.util.ArrayList; public class Gufen extends Subject{ public void up(){ System.out.println(" 股份上涨100% "); for(Observe ......