补充博客

  • An undirected graph is a graph where the pairings representing the edges are _____________.

    • Unordered无序
  • Two vertices in a graph are ___________ if there is an edge connecting them.
    • B .Adjacent 相邻的
  • An undirected graph is considered complete if it has the maximum number of edges connecting vertices.
    • C .Complete
  • A _________ is a sequence of edges that connects two vertices in a graph.
    • B .Path 路径
  • A ________ is a path in which the first and last vertices are the same and none
    • D .Cycle
      -A minimum spanning tree is a spanning tree where the sum of the weights of the edges is greater than or equal to the sum of the weights for any other spanning tree for the same graph.
    • B .false
  • A spanning tree is a tree that includes all of the edges of a graph and some, but possibly not all, of the vertices.
    • B .false
  • A graph is connected if and only if the number of vertices in the breadth-first traversal is the same as the number of vertices in the graph regardless of the starting vertex.
    • B .false
  • The only difference between a depth-first traversal of a graph and a breadth-first traversal is the use of a queue instead of a stack to manage the traversal.
    • B .false
  • A network, or a weighted graph, is a graph with weights or costs associated with each edge.
    • A .true
  • A path is a sequence of edges that connects two vertices in a graph.
    • A .true
  • Two vertices in a graph are adjacent if there is an edge connecting them.
    • A .true
  • A minimum spanning tree is a spanning tree where the sum of the weights of the edges is ____________ to the sum of the weights for any other spanning tree for the same graph.
    • A .Less than or equal
  • The only difference between a depth-first traversal of a graph and a breadth-first traversal is the use of a _________ instead of a queue to manage the traversal.
    • A .Stack

原文地址:https://www.cnblogs.com/acgacg/p/12159103.html

时间: 2024-08-03 13:35:35

补充博客的相关文章

2017-2018-1 20155305 《信息安全系统设计基础》第四周学习总结(课堂提交作业未来得及提交码云链接myod补充博客)

2017-2018-1 20155305 <信息安全系统设计基础>第四周学习总结(课堂提交作业未来得及提交码云链接myod补充博客) 课堂提交题目要求 编写MyOD.java 用java MyOD XXX实现Linux下od -tx -tc XXX的功能 代码码云链接补交 源代码main函数 #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.

20172311-ASL测试 2018-1938872补充博客

20172311-ASL测试 2018-1938872补充博客 课程:<程序设计与数据结构> 班级: 1723 姓名: 赵晓海 学号: 20172311 实验教师:王志强老师 测试日期:2018年10月12日 必修/选修: 必修 测试内容 已知线性表具有元素{5,13,19,21,37,56,64,75,80,88,92},如果使用折半查找法,ASL是多少? (本题目2分,要求写出结题过程) 测试过程及结果 测试过程中遇到的问题和解决过程 问题1:什么是ASL 问题1解决方案:通过询问同学得知

mybatis博客学习的方式

1.参考完整的博客笔记:http://www.cnblogs.com/xdp-gacl/tag/MyBatis%E5%AD%A6%E4%B9%A0%E6%80%BB%E7%BB%93/ 2.补充博客1中的mybatis多对多查询:http://www.cnblogs.com/chenliyang/p/6548400.html

android旋转动画和平移动画详解,补充说一下如果制作gif动画放到csdn博客上

先上效果图: 我这里用的是GifCam来制作的gif动画,可以在http://download.csdn.net/detail/baidu_nod/7628461下载, 制作过程是先起一个模拟器,然后把GifCam的框拖到模拟器上面,点击Rec的new先,然后点击Rec,然后就save到本地成gif文件 这里做一个左右旋转,上下旋转,和左右移动的动画,先自己建立一个View的类,作为操作的对象: public class MyView extends View { private Paint m

目前日向博客对xss跨站脚本注入和sql注入的防范

昨天本博客受到了xss跨站脚本注入攻击,3分钟攻陷--其实攻击者进攻的手法很简单,没啥技术含量.只能感叹自己之前竟然完全没防范. 这是数据库里留下的一些记录.最后那人弄了一个无线循环弹出框的脚本,估计这个脚本之后他再想输入也没法了. 类似这种: <html> <body onload='while(true){alert(1)}'> </body> </html> 我立刻认识到这事件严重性,它说明我的博客有严重安全问题.因为xss跨站脚本攻击可能导致用户Co

【工具】今天有人问我可以直接离线一个完整的网站吗?有没有什么工具之类的?我推荐一款:Httrack (网站复制机)案例:离线你的博客园

搞安全的朋友这款工具可能用的比较多,毕竟信息收集阶段还是很必须的,这篇文章主要讲一下离线你的博客园案例 官网:http://www.httrack.com/ 里面有windows,linux,Android等等几个版本 先简单介绍一下,具体的你可以自己摸索一下 一.windows下 安装很简单就不说了,讲下简单使用(里面有简体中文) 新建一个工程名,最好是英文的,选择一下存放路径(分类可以不选) 设置要离线的网站地址(可以设置一些参数)随意演示一下,你们保持默认即可 准备阶段结束 开始离线了~等

Flask之十——博客文章

1. 提交和显示博客文章 app/models.py: 博客文章模型 class Post(db.Model): __tablename__ = 'posts' id = db.Column(db.Integer, primary_key=True) body = db.Column(db.Text) timestamp = db.Column(db.DateTime, index=True, default=datetime.utcnow) author_id = db.Column(db.I

学习博客 启动日记

今天,1月27日,应该是我值得纪念的一个日子,我决定真正开始学习android开发并坚决要做出成绩的日子. 以前,自己总是犹豫不决,停留在想,未必真的去做.这次,我决定我要放手一搏.为了以后的幸福,为了支持我,懂我的人,为了那些一直陪伴我的人我觉得我应该放手一搏. 我现在一直在跟着极客出的安卓开发教学视频,我打算以两套视频为基础,吃透一部,另一部作为补充.这样,我希望自己能够在很短的时间内掌握安卓开发的能力. 说到做学习博客,我还是一直没有底的,因为毕竟自己是新手,很多地方都不懂.会不会误导大家

iOS开发 非常全的三方库、插件、大牛博客等等

UI 下拉刷新 EGOTableViewPullRefresh- 最早的下拉刷新控件. SVPullToRefresh- 下拉刷新控件. MJRefresh- 仅需一行代码就可以为UITableView或者CollectionView加上下拉刷新或者上拉刷新功能.可以自定义上下拉刷新的文字说明.具体使用看"使用方法". (国人写) XHRefreshControl- XHRefreshControl 是一款高扩展性.低耦合度的下拉刷新.上提加载更多的组件.(国人写) CBStoreHo