已阅读5页,还剩32页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
基于WEB程序设计练习题一一、HTML代码分析1. 根据网页截图效果补充代码。(5分) _1_ 2. 根据网页截图效果补充代码。(5分) row 1, cell 1 row 1, cell 2 row 2, cell 1 row 2, cell 2 3. 根据网页截图效果补充代码。(5分) 4. 根据网页截图效果补充代码。(5分) 东北师范大学主页 图片 5. 根据网页截图效果补充代码。(5分) hello 5 6. 根据网页截图效果补充代码。(5分) 4 5 ! 二、数据库基础代码分析1.解释代码:请解释下述代码的含义。(5分)INSERT INTO article ( title, writer, content )VALUES (实验, 学生, 插入数据);2.解释代码:请解释下述代码的含义。(5分)DELETE *FROM articleWHERE 编号=1;3.解释代码:请解释下述代码的含义。(5分)UPDATE article SET content = 修改WHERE 编号=1;4.解释代码:请解释下述代码的含义。(5分)SELECT erFROM article;5.解释代码:请解释下述代码的含义。(5分)INSERT INTO article ( title, writer, content )VALUES (实验, 学生, 插入数据);6.解释代码:请解释下述代码的含义。(5分)SELECT erFROM article;三、标准控件代码分析1. 解释代码:请解释下述代码的含义。(10分) : 无标题页 - :Partial Class _Default Inherits .UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As Args) Handles (通过按钮的Click事件触发后显示!) End Sub Protected Sub Button1_Command(ByVal sender As Object, ByVal e As .UI.ndEventArgs) Handles nd = + 1 End SubEnd Class2. 解释代码:请解释下述代码的含义。(10分) : 无标题页 密封线- :Partial Class _Default Inherits .UI.Page Protected Sub Calendar1_SelectionChanged(ByVal sender As Object, ByVal e As Args) Handles tionChanged = rtDateString() End SubEnd Class3. 解释代码:请解释下述代码的含义。(10分) : 无标题页 Item1 Item2 Item3 - :Partial Class _Default Inherits .UI.Page Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As Args) Handles tedIndexChanged = .ToString() End SubEnd Class-4. 解释代码:请解释下述代码的含义。(10分) : 无标题页 - :Partial Class _Default Inherits .UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As Args) Handles Dim strFileName As String Dim strPath As String If ame Then 判断上传文件名是否为空 le = True strFileName = ame 获得上传文件在本地的文件名密封线 strPath = th(.) + + strFileName 重组得到上传至服务器的路径 += strPath s(strPath) 上传文件 le = True += ame 文件名信息 += ntType 文件类型信息 += ing() 文件大小信息 End If End Sub Protected Sub Page_Load(ByVal sender As Object, ByVal e As Args) Handles Me.Load End SubEnd Class5. 解释代码:请解释下述代码的含义。(10分) : 无标题页 Item1 Item2 Item3 - :Partial Class _Default Inherits .UI.Page Protected Sub ListBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As Args) Handles tedIndexChanged = .ToString() End SubEnd Class6. 解释代码:请解释下述代码的含义。(10分) : 无标题页 Item1 Item2 Item3 - :Partial Class _Default Inherits .UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As Args) Handles Me.Load End Sub Protected Sub Button1_Click(ByVal sender As Object, ByVal e As Args) Handles If tedIndex = 0 Then = 1 End If If tedIndex = 1 Then密封线 = 2 End If If tedIndex = 2 Then = 3 End If End SubEnd Class四、网络基础名词解释1. 请解释如图所示模型的含义。2. 请解释如图所示模型的含义。3. 请解释OSI七层模型。4. 请给出网络工具ping的作用。5. 请解释IP地址的含义。6. 请给出网络工具netstat的作用。五、站点开发控件代码分析1. 解释代码:请解释下述代码的含义。 : 无标题页 结束时间必需大于开始时间 - :Partial Class _Default Inherits .UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As Args) Handles ate() If (id = True) Then (通过检验) End If End SubEnd Class2. 解释代码:请解释下述代码的含义。 : 无标题页 不是偶数 - :Partial Class _Default Inherits .UI.Page Protected Sub CustomValidator1_ServerValidate(ByVal source As Object, ByVal args As .UI.rValidateEventArgs) Handles rValidate Dim i As Integer i = () If i Mod 2 = 0 Then id = True Else id = False End If End Sub Protected Sub Button1_Click(ByVal sender As Object, ByVal e As Args) Handles ate() If (id = True) Then (通过检验) End If End SubEnd Class3. 解释代码:请解释下述代码的含义。 : 无标题页 - :Partial Class _Default Inherits .UI.Page Protected Sub Login1_Authenticate(ByVal sender As Object, ByVal e As .UI.nticateEventArgs) Handles nticate End SubEnd Class4. 解释代码:请解释下述代码的含义。 : 无标题页 - :Partial Class _Default Inherits .UI.Page Protected Sub Login1_Authenticate(ByVal sender As Object, ByVal e As .UI.nticateEventArgs) Handles nticate End SubEnd Class5. 解释代码:请解释下述代码的含义。(10分) : 无标题页 - :Partial Class _Default Inherits .UI.PageEnd Class6. 解释代码:请解释下述代码的含义。 : 无标题页 超出数值范围 - :Partial Class _Default Inherits .UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As Args) Handles ate() If (id = True) Then (通过检验) End If End SubEnd Class7. 解释代码:请解释下述代码的含义。(10分) : 无标题页 超出数值范围 - :Partial Class _Default Inherits .UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As Args) Handles ate() If (id = True) Then (通过检验) End If End SubEnd Class8. 解释代码:请解释下述代码的含义。(10分) : 无标题页 格式错误 - :Partial Class _Default Inherits .UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As Args) Handles ate() If (id = True) Then (通过验证) End If End SubEnd Class9. 解释代码:请解释下述代码的含义。(10分) : 无标题页 请输入文本 - :Partial Class _Default Inherits .UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As Args) Handles ate() If (id = True) Then (通过检验!) End If End SubEnd Class六、内建组建对象代码分析1. 解释代码:请解释下述代码的含义。(10分) : 无标题页 密封线- :Partial Class _Default Inherits .UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As Args) Handles Me.Load Application(times) = Now() (访问时间为: + Application(times) End SubEnd Class2. 解释代码:请解释下述代码的含义。(10分) : 无标题页 - :Partial Class _De
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025安徽南陵县县属国有企业招聘拟聘用人员笔试历年参考题库附带答案详解
- 家庭教育方法论培养优-秀孩子的教育方案
- 2025年大气污染防治措施分要素历年真题答案及解析
- 2025年国家义务教育质量监测心理健康测考试试题库及答案解析
- 2025年有限空间作业人员安全知识考试试题(含答案)
- Java开发年终总结
- 海鲜店创业计划书
- 人物速写基础知识
- 2025年医学影像三基三严考试题库含答案之神经系统影像诊断
- 育婴师初级课件
- 2025年药物流行病学药物临床应用试卷答案及解析
- 运动损伤预防-洞察及研究
- GJB9764-2020可编程逻辑器件软件文档编制规范
- 2025年残疾人专职委员岗位面试问题及答案深度解析
- 山地游步道工程施工组织方案
- 2025年-(已瘦身)毛泽东思想概论 国家级课程 课件全套-电子课件
- 畜禽粪污肥料化利用的策略及实施路径
- 供应室感染知识培训内容课件
- ICU三个月进修护士
- GB/T 45952-2025科技馆运行评估规范
- 管束式除尘器技术介绍
评论
0/150
提交评论