C++ 语言测验


其他相关测试

$(function() {
$(‘#quiz’).quiz({
//resultsScreen: ‘#results-screen’,
//counter: false,
//homeButton: ‘#custom-home’,
counterFormat: ‘第 %current 题,共 %total 题’,
resultsFormat: ‘回答正确 %score 题,总共 %total 题!’,
nextButtonText: ‘下一题’,
finishButtonText: ‘完成’,
restartButtonText: ‘重新测验’,
questions: [
{
‘q’: ‘C++ 语言是什么?’,
‘options’: [
‘通用的的计算机程序设计语言’,
‘面向对象程序设计语言’,
‘多范式编程语言’,
‘以上都是’
],
‘correctIndex’: 3,
‘correctResponse’: ‘回答正确。’,
‘incorrectResponse’: ‘回答错误,C++是一种被广泛使用的计算机程序设计语言。它是一种通用程序设计语言,支持多重编程范式,例如过程化程序设计、数据抽象、面向对象程序设计、泛型程序设计和设计模式等。’
},
{
‘q’: ‘C++ 语言第一个版本是哪一年发行的?’,
‘options’: [
‘1982’,
‘1983’,
‘1984’,
‘1985’
],
‘correctIndex’: 3,
‘correctResponse’: ‘回答正确。’,
‘incorrectResponse’: ‘回答错误,1985年,发布第一版《C++程序设计语言》,提供一个重点的语言参考,至此还不是官方标准。1985年10月出现了第一个商业化发布。’
},
{
‘q’: ‘C++ 语言的文件名后缀是?’,
‘options’: [
‘.cpp’,
‘.cl’,
‘.cc’,
‘.c’
],
‘correctIndex’: 0,
‘correctResponse’: ‘回答正确。’,
‘incorrectResponse’: ‘C++ 语言的文件名后缀是 .cpp。’
},
{
‘q’: ‘C++ 语言受什么语言启发而来?’,
‘options’: [
‘C’,
‘Ada 与 ALGOL’,
‘Modula-2 与 Simula’,
‘以上都是’
],
‘correctIndex’: 3,
‘correctResponse’: ‘回答正确。’,
‘incorrectResponse’: ‘回答错误。’
},
{
‘q’: ‘C++ 语言影响了哪些语言的发展?’,
‘options’: [
‘Java’,
‘C# 与 D 与’,
‘Perl, PHP, 与 Python’,
‘以上都是’
],
‘correctIndex’: 3,
‘correctResponse’: ‘回答正确。’,
‘incorrectResponse’: ‘回答错误。’
},
{
‘q’: ‘C++ 语言设计者是谁?’,
‘options’: [
‘Bjarne Stroustrup’,
‘Dennis Ritchie’,
‘Albert Einstein’,
‘James Gosling’
],
‘correctIndex’: 0,
‘correctResponse’: ‘回答正确。’,
‘incorrectResponse’: ‘回答错误,正确答案为 Bjarne Stroustrup。’
},
{
‘q’: ‘C++ 输出 “Hello, world!” 正确的是?’,
‘options’: [
‘cout << "Hello, world!" << endl;',
'echo << "Hello, world!"',
'print "Hello, world!"',
'print("Hello, world!")'
],
'correctIndex': 0,
'correctResponse': '回答正确。',
'incorrectResponse': '回答错误。'
},
{
'q': 'C++ 被命名之前的名字是?',
'options': [
' C with Classes',
'Improved C',
'Integrated C',
'C with Simula'
],
'correctIndex': 0,
'correctResponse': '回答正确。',
'incorrectResponse': '回答错误。'
},

]
});
})
本文来源于互联网:C++ 语言测验