-
实验4
实验任务1 源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #define N 4 4 #define M 2 5 6 void test1(){ 7 int x[N] = {1,9,8,4}; 8 int i; 9 10 printf("sizeof( -
20254126王溪泽 实验三报告
20254126王溪泽《Python程序设计》实验三报告 课程:《Python程序设计》 班级: 2541 姓名: 王溪泽 学号:20254126 实验教师:王志强 实验日期:2026年4月28日 必修/选修:专选课 1.实验内容 实验一:创建服务端和客户端,服务端在特定端口监听多个客户请求。客户端 -
实验四
程序一 include < stdio.h> include < stdlib.h>int main() double a,b,c; scanf("%1f %lf %lf",&a, &b,&c); if(a+b>cssa+c>b&&b+c>a) if(a== b&&a== c) printf("构成 -
实验4
task1源代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = { 1, 9, 8, 4 }; int i; printf("sizeof(x) = %d\n", sizeof(x)); for (i = 0 -
20252307 实验三 《Python程序设计》 实验报告
学号 2025-2026-2 《Python程序设计》实验三报告 课程:《Python程序设计》 班级: 2523 姓名: 万书林 学号:20252307 实验教师:王志强 实验日期:2026年4月27日 必修/选修: 公选课 1.实验内容 (1)使用 Python 语言基于 TCP Socket -
实验四
task1 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 5 void test1() { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 9 // 输出数组x占用的内存字节数 10 printf("sizeof(x -
实验4 C语言数组应用编程
实验1 源代码 #include <stdio.h> #include<stdlib.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; // 输出数组x占用的内存字节数 printf("sizeof(x -
实验4
task1 源代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", sizeof -
实验四
任务一 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 5 void test1() { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 9 // 输出数组x占用的内存字节数 10 printf("sizeof(x) -
实验4
任务1 点击查看代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = { 1, 9, 8, 4 }; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", siz -
20252811 2025-2026-2 《网络攻防实践》第七周作业
一、实践内容: 1.1 实验要求 (1)使用Metasploit进行Linux远程渗透攻击 任务:使用Metasploit渗透测试软件,攻击Linux靶机上的Samba服务Usermap_script安全漏洞,获取目标Linux靶机的主机访问权限。实践步骤如下: ①启动Metasploit软件,可根 -
2025-2026-2 《Python程序设计》实验三报告
学号 2025-2026-2 《Python程序设计》实验三报告 课程:《Python程序设计》 班级: 2543 姓名: 阳志敏 学号: 20254324 实验教师:王志强 实验日期:2026年4月27日 必修/选修: 公选课 1.实验内容 1.1实验目的 创建服务端和客户端,服务端在特定端口监听 -
20242218 2025-2026-2 《Python程序设计》实验三报告
20242218 2025-2026-2 《Python程序设计》实验三报告 课程:《Python程序设计》 班级: 2422 姓名: 段锦坤 学号:20242218 实验教师:王志强 实验日期:2026年4月27日 必修/选修: 公选课 1.实验内容 创建服务端和客户端,服务端在特定端口监听多个客 -
20253904 2025-2026-2 《网络攻防实践》第七周作业
20253904 2025-2026-2 《网络攻防实践》第七周作业 Part 1 Linux操作系统安全攻防 1. 实验环境 (1)使用Metasploit进行Linux远程渗透攻击 任务:使用Metasploit渗透测试软件,攻击Linux靶机上的Samba服务Usermap_script安全漏 -
实验三
task1: 问题一: 功能:接收一个整数形式的分数,根据分数的区间,返回对应的等级字符(A/B/C/D/E)。 形参类型:int(整型)。 返回值类型:char(字符型)。 问题二: 1.缺少break语句,逻辑错误; 2.字符串与字符混用,类型不匹配。 task2: 问题一: 计算一个整数n的各 -
实验3
#include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = score_to_grade(scor -
20242219 《Python 程序设计》实验2报告
20242219 2025-2026-2 《Python程序设计》实验二报告 课程:《Python程序设计》 班级: 2422 姓名: 陈儒俊 学号: 20242219 实验教师:王志强 实验日期:2026年4月13日 必修/选修: 公选课 1.实验内容 (1)编写计算器程序 设计并完成一个完整的应 -
实验3
任务1 1 #include<stdio.h> 2 3 char score_to_grade(int score); 4 5 int main(){ 6 int score; 7 char grade; 8 9 while(scanf("%d",&score)!=EOF){ 10 grade=sc -
实验三
实验1 代码 1 #include <stdio.h> 2 3 char score_to_grade(int score); // 函数声明 4 5 int main() { 6 int score; 7 char grade; 8 9 while(scanf("%d", &score) != E -
实验三 C语言函数应用编程
实验三 C语言函数应用编程 任务一 1 #include <stdio.h> 2 3 char score_to_grade(int score); // 函数声明 4 5 int main() { 6 int score; 7 char grade; 8 9 while(scanf("%d", &