摘要:数据依赖、范式、模式分解、数据库设计步骤
阅读全文
10 2008 档案
摘要:图1、TCP/IP协议的相互关系 图2、TCP/IP协议结构 图3、TCP/IP协议套件(参考OSI模型)IP协议号大全 (last updated 08 September 2005)In the Internet Protocol version 4 (IPv4) [RFC791] there is a field,called "Protocol", to identify the next level protocol. This is an 8bit field. In Internet Protocol version 6 (IPv6) [RFC1883] th
阅读全文
摘要:1. 编写一个程序,把一个有序整数数组放到二叉树中。2. 从顶部开始逐层打印二叉树节点。3. 设计一个算法,找出二叉树上任意两个结点的最近共同父结点。复杂度不能为O(n2)。4. 二叉排序树中,令f = (最大值+最小值) / 2,设计一个算法,找出距离f值最近、大于f值的结点。复杂度不能为O(n2...
阅读全文
摘要:直接插入、简单选择、冒泡和快速排序的C语言实现
阅读全文
摘要:1. 需要了解的概念 需要理解的知识点包括:数据流、缓冲区、文件类型、文件存取方式 1.1 数据流: 指程序与数据的交互是以流的形式进行的。进行C语言文件的存取时,都会先进行“打开文件”操作,这个操作就是在打开数据流,而“关闭文件”操作就是关闭数据流。 1.2 缓冲区(Buffer): 指在程序执行时,所提供的额外内存,可用来暂时存放做准备执行的数据。它的设置是为了提高存取效率,因为内存的存取...
阅读全文
摘要:printf(), scanf(), getc(), putc(), getchar(), putchar(), getch(), getche(), puts(), gets()
阅读全文
摘要:字符串反转,strlen(),strcmp(),strcpy()
阅读全文
摘要:1. 知识重点:数据类型、循环、数组、函数、指针、结构体与共同体 2. 求程序的运行结果 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include main() { short int m=32767, n=032767; ...
阅读全文
摘要:1. 堆栈与堆的位置示意图 2. 发现你的系统中堆栈的大致位置 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include main() { int i; printf("The stack top is near ...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include #include main() { int MB = 0; while(malloc(1<<20)) ++MB; printf("Allocated %d ...
阅读全文
摘要:(1) ARP地址解析协议(2) ICMP 回显请求(3) ICMP 回显应答(4) ICMP 目的不可达之网络不可达(5) ICMP 目的不可达之端口不可达(6) ICMP 传输期间生存时间为0(7) IGMP协议(8) TCP(9) UDP(10) OSPF
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include main() { unsigned char a = 0x46; //70=0x46=01000110B char b = 0x46; //70=0x46=0...
阅读全文
摘要:Sybase笔试题 1. 检测链表中是否有环 2. 库函数调用和系统调用区别何在 3. 输出一个字符串中字符的所有组合 4. 从一个文件中随机读出一个字符串 5. File Descriptor 和 File Pointer的区别 6. 如何判断一个变量是有符号数还是无符号数 7. x=x + 1; x++; ++x; x = x + 1; 的区别 (答案请参考《E...
阅读全文