大学MOOC 2020春季课程-高级语言程序设计(李扬)(天津中德应用技术大学)1455842163 最新慕课完整章节测试答案
第1章——初识C++语言从认识变量和常量开始数据的表示
Chapter1unittest1
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】
Chapter1unittest2
1、单选题:
What does the following line of code display to the screen?cout << “This is the computern programming bookn”;
选项:
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 &
