随笔分类 - 课程
摘要:操作系统考点荟萃 1操作系统引论 1.1操作系统的目标和作用 操作系统是配置在计算机硬件上的第一层软件,是对硬件系统的首次扩充。 操作系统的主要目标:方便性、有效性、可扩充性和开放性。其中方便性和有效性为最主要目标。 操作系统的作用(3点):1.OS作为用户与计算机硬件系统之间的接口。2.OS作为计
阅读全文
摘要:总述:推荐两个视频翁凯C语言,C语言程序设计[北京大学·郭炜] 1.写连等 if(1< x < 2 && 3 < y < 4) { ................................. } 正确写法:1 < x && x < 2 2.中英文逗号不区分 3.运行的小黑框没有关闭就继续编译
阅读全文
摘要:离散数学II 第7-9章重难点概要 期中考试 包括计算题,论述题,证明题,应用题。计算题7道小题,论述5道小题,证明3个小题,应用1个小题。 第7章 图 7.1 零图,基图,标定图,关联(点和边),相邻(点和点),关联集(边集合),邻域(点集合),点v的度数,出度,入度,孤立点,G的最大(小)度,握
阅读全文
摘要:module alu(x, y,instruction,overflow,result); parameter bit_width=4; input [bit_width-1:0]x,y; input [2:0] instruction; output overflow; output [bit_w
阅读全文
摘要:逻辑上通常可以将数据结构分为(线性结构和非线性结构) 如果在数据结构中每个数据元素只可能有一个直接前驱,但可以有多个直接后继,则该结构是(树) 在长度为n的顺序表的第i个位置上插入一个元素(1≤i≤n+1),元素的移动次数为:n-i+1 在非空线性链表中由p所指结点的后面插入一个由q所指的结点,应依
阅读全文
摘要:详细内容看课本吧 第二章线性表 线性表是一种最简单的线性结构。 基本特征: 线性结构是一个数据元素的有序(次序)集 集合中必存在唯一的一个“第一元素” 集合中必存在唯一的一个“最后元素” 除最后元素在外,均有唯一的后继 除第一元素之外,均有唯一的前驱 在长度为n的线性表中插入一个元素所需移动元素的的
阅读全文
摘要:第一章绪论 基本概念和术语 一、数据与数据结构 数据:所有能输入到计算机中,且能被计算机程序处理的符号的总称。是计算机操作的对象的总称。是计算机处理的信息的某种特定的符号表示形式。 数据元素:是数据(集合)中的一个“个体”,是数据结构中讨论的基本单位。可由若干个数据项组成。 数据项:是数据结构中讨论
阅读全文
摘要://第1关:多路选择器的设计 1.A 2.BEI //第2关:译码器设计 module decoder3e (n,ena,e); input [2:0] n; input ena; output reg[7:0] e; // 请利用always结构说明语句填写代码,完成3-8译码器功能 /*****
阅读全文
摘要://答案 //计组实验1答案 //1-1 //第1关 module fa_behavioral(a,b,ci,s,co);//考虑进位的加法器模块 input a,b; input ci; output s; output co; // 请在下面添加代码,完成一位全加器功能 /* Begin */
阅读全文
摘要:#include <iostream> #include <cmath> using namespace std; double calcualateCircle(double r = 0) { return acos(-1) * r * r; } double calcualateRectangl
阅读全文
摘要://实验四 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp3 { class Program { static int add(...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp2 { class Program { enum MyEn { a = 101, b, c = 207, d, e, f, g
阅读全文
摘要:本学期失败之处:1.学习知识要深刻理解原理。2.提高上课效率,平时认真完成作业。3.物理考试给的教训:1.上课一定要注意力高度集中 2.平时要注重教材上的基础内容 3.不要指望理科性的知识靠短时间复习冲刺就能考高。 结合本学期与上学期的失败之处可以发现,上学期失败是归咎于政治平时没有背导致的期末复习
阅读全文
摘要:写到自闭的代码,挺好的实验题,直接发我的github吧 https://github.com/18ouc/10/tree/master/%E5%AE%9E%E9%AA%8C%E5%8D%81
阅读全文
摘要:#include using namespace std; class Account { private: double balance; public: Account(double balance = 0) {balance=balance;} virtual double credit(double creFee = 0) { balanc...
阅读全文
摘要:#include using namespace std; const int MAX_num_AIM = 3; const int MAX_num_TRAVELWAY = 2; const int MAX_num_LUGGAGENUMBER = 3; const int MAX_num_PASSENGER = 62; enum Aim {DomesticShort, DomesticLong...
阅读全文
摘要:#include <bits/stdc++.h> using namespace std; struct Point { int x; int y; }; void displayMenu() { for (int i = 0; i < 32; ++i) cout << "*"; cout << e
阅读全文
摘要:#include using namespace std; class Date { public: Date(int year = 1990, int month = 1, int day = 1) { setDate(year, month, day); } void setDate(int _year, int _month, int _d...
阅读全文

浙公网安备 33010602011771号