- 9
- 0
- 约1.92万字
- 约 16页
- 2017-06-05 发布于河南
- 举报
第三章 选择结构习题解析(国外英文资料)
第三章 选择结构习题解析
Chapter 3 choose structure
A, multiple choice
1, this is the main feature of the test sentence. A statement contains only one semicolon, and the D term has two semicolons, which should be two statements, so choose D. The semicolon is the sign of the end of the statement.
This is the equivalent of the true and false conditions. The E in the question is true for non-zero, and the zero is false. So if you take the non-zero and the zero to the choices, you put the non-zero values in the choices, and you put 1 in, and in the answer, A. So E is 0, 0, 0 is the true value, which is 1; The answer is 1 0 is the true value, which is 1, and 1 = 0 is a false value, which is 0; The answer in 1 D! The value of 0 is the true value, which is 1, and in the four choices, only the value of C is 0, and the rest is 1; Therefore, choose C;
Any legitimate expression of D can be used as the operator of a logical operator to make the integer, type, and character.
This problem is mainly about the logical operation and the priority of relational operations. For priority number 14, logic and number 5, logic or number 4. The parentheses are priority 15. The arithmetic level is high, and the arithmetic level is low. So the first thing that were going to do is were going to do it in parentheses
! 7 + 5-1 4 + 4/2 is logical and plus or minus multiplication. The result is 0 + 5-1 4 + 2
The calculation is 4 6, and the values of both sides of the logic are greater than 0, so the result is 1.
The problem is the logical operator! The priority level between | and |. ! Highest, second, | | is lowest. Get first! A is 0, so dont count it! The value of b, that is! A ! The value of b is 0, and c equals 0. C equals 1, and 0, |, b1, b1, 1 is 1, so thats choice D.
It is not difficult to learn the logical, relational and arithmetic operations. A option! A 0, so! A = = 1 is false, so you dont have to compute the expression in the back, because 0 and any number are false; The B term first calculates
您可能关注的文档
- 日常生活中的辩论(也可用在以德服人)(国外英文资料).doc
- 日本公司最常用的白话(国外英文资料).doc
- 新营业员培训纲目(国外英文资料).doc
- 日语4级语法(国外英文资料).doc
- 日语中文姓名(国外英文资料).doc
- 日语初级学习 上册第八课(国外英文资料).doc
- 无法上彀的毛病代码(国外英文资料).doc
- 日语四级笔记全记录(国外英文资料).doc
- 日语单词记忆(国外英文资料).doc
- 日语常用酬酢语(国外英文资料).doc
- 2025年北京市门头沟区中考一模英语试题.docx
- 2025年北京市门头沟区中考二模英语试题.docx
- 2025年北京市丰台区中考二模英语试题.docx
- 2025年中考英语考前冲刺模拟卷 (北京专用) 解析卷.docx
- 2025年中考英语考前冲刺模拟卷 (北京专用) 原卷.docx
- 2025年肩颈按摩仪行业社媒趋势数据分析.docx
- 2025年人身险行业信用回顾与2026年展望.docx
- 合同法买卖合同培训课件.ppt
- 2025年全球食物系统与SDG研究报告-食物供给、食者健康、生态平衡的整体治理.docx
- 2025下半年四川乐山市川投峨眉铁合金(集团)有限责任公司对考前自测高频考点模拟试题最新.docx
原创力文档

文档评论(0)