问题
单项选择题
关于C++语言与C语言关系描述中错误的是
A.C++语言是C语言的超集
B.C++语言对C语言进行了扩充
C.C++语言包含C语言的全部语法特征
D.C++语言与C语言都是面向对象的程序设计语言
答案
参考答案:D
解析: C语言是一种面向过程的程序设计语言,而C++语言是一种面向对象的设计语言,C ++语言是C语言的超集,它包含了C语言的所有语言特性,并进行了扩充。
关于C++语言与C语言关系描述中错误的是
A.C++语言是C语言的超集
B.C++语言对C语言进行了扩充
C.C++语言包含C语言的全部语法特征
D.C++语言与C语言都是面向对象的程序设计语言
参考答案:D
解析: C语言是一种面向过程的程序设计语言,而C++语言是一种面向对象的设计语言,C ++语言是C语言的超集,它包含了C语言的所有语言特性,并进行了扩充。
完型填空(10分) A student and his teacher are walking past a field. They 1 an old pair of shoes. The shoes are the old man’s. He’s 2 on the other side of the field. The student says, “Let’s 3 the shoes away. It will be funny when he 4 find his shoes.” The teacher says, “Don’t play a 5 on others. It may be funny for you, but 6 will he do without shoes?” Then the teacher puts some 7 into the shoes and says,” Let’s go behind the tree.” A few minutes later, the old man comes to 8 his shoes. When he finds the money, he looks around. No one is there. He cries and 9 ,”Thank you very much for the money! My wife is ill and my children have nothing to 10 .”
|