2020春季课程-高级语言程序设计(李扬)(天津中德应用技术大学) 中国大学慕课答案2024完整版100分

皑掣豢讲庆酷楼锣欣陪桃拐晃

对应课程:点击查看
起止时间:2020-03-21到2020-06-30
更新状态:已完结

第1章——初识C++语言:从认识变量和常量开始,数据的表示 Chapter 1 unit test(1)

1、 An algorithm is()

A:The inputs and outputs of a program
B:The part of the computer that does the processing
C:A finite set of steps to solve a problem
D:A complete computer program
答案: A finite set of steps to solve a problem

2、 A memory address is

A:Where a variable is stored
B:Where the computer is located
C:A step in the program.
D:Where the CPU is stored.
答案: Where a variable is stored

3、 A computer that is normally used by only one person at a time is called a

A:Server
B:Mainframe
C:Personal Compute
D: Network
答案: Personal Compute

4、 The physical machines that make up a computer is called the

A:Software
B:Network
C: Devices
D: Hardware
答案: Hardware

5、 From which language did C++ directly evolve?

A:A
B:ada
C:c
D:c+
答案: c

第1章——初识C++语言:从认识变量和常量开始,数据的表示 Chapter 1 unit test(2)

1、 What does the following line of code display to the screen?cout << “This is the computer programming book”;

A:This is the computern programming book
B:This is the computer
C:Nothing
D:This is the computer programming book
答案: This is the computer programming book

2、 C++ statements end with a()

A: Period
B:Comma
C:Semicolon
D:Nothing
答案: Semicolon

3、 What does the following code print to the screen?cout << “hello”;

A:Hello
B:hello
C: HELLO
D:Nothing
答案: hello

4、 The set of instructions that a computer will follow is known as:

A:Hardware
B:Algorithm
C:Program
D:CPU
答案: Program

5、 The term OS stands for

A:Operating System
B:Oscillating System
C: Operations Services
D: Nothing
答案: Operating System

第2章——计算:从数据运算开始,数据简单运算 第二章单元测试—Chapter 2 unit test

1、 The output of executing the following section is ().int x=23, y=5,z;z=2+(y++,x+8,x++); cout< 24 25

2、 If int variable x = 29 and double variable y = 6.0, the value of expression X / y is ().

A:4.83333
B:4
C:5
D:5.0
答案: 4.83333

3、 The expression () should be used to determine whether the character variable ch is a capital English letter.

A: ch>=’A’ & ch<=’Z’
B:ch<=’A’ ||ch>=’Z’
C:’A'<=ch<=’Z’
D:ch>=’A’ && ch<=’Z’
答案: ch>=’A’ && ch<=’Z’

4、 int x=5, y=6;下列表达式结果为真的是( ) 。

A:x==y–
B: x==++y
C:x++==y
D: x==–y
答案: x==–y

5、 A, B, C, D, m, n are all int variables, and a = 5, B = 6, C = 7, d = 8, M = 2, n = 2,Then the value of n is ()

A:0
B:1

       


如需购买完整答案,请点击下方红字:

点击这里,购买完整答案


获取更多中国大学慕课答案,请点击这里,进入mooc.mengmianren.com


 

良灌僚项惊吉玫齿背副啡托沸