HACKER SAFEにより証明されたサイトは、99.9%以上のハッカー犯罪を防ぎます。
カート(0

C++ Institute CPP 問題集

CPP

試験コード:CPP

試験名称:C++ Certified Professional Programmer

最近更新時間:2024-05-01

問題と解答:全230問

CPP 無料でデモをダウンロード:

PDF版 Demo ソフト版 Demo オンライン版 Demo

追加した商品:"PDF版"
価格: ¥6599 

無料問題集CPP 資格取得

質問 1:
What happens when you attempt to compile and run the following code?
# include <iostream>
# include <map>
# include <vector>
# include <sstream>
# include <string>
using namespace std;
int main(){
int t[] ={ 3, 4, 2, 1, 6, 5, 7, 9, 8, 0 };
vector<int> v(t, t+10);
map<int,string> m;
for(vector<int>::iterator i=v.begin(); i!=v.end(); i++) {
stringstream s; s<<*i<<*i; m.insert(pair<int,string>(*i,s.str()));
}
for(map<int, string>::iterator i=m.begin();i!= m.end(); i++) {
cout<<*i<<" ";
}
return 0;
}
A. program outputs: 00 11 22 33 44 55 66 77 88 99
B. compilation error
C. program outputs: 0 1 2 3 4 5 6 7 8 9
D. program outputs: 0 00 1 11 2 22 3 33 4 44 5 55 6 66 7 77 8 88 9 99
E. program outputs: 3 4 2 1 6 5 7 9 8 0
正解:B

質問 2:
What happens when you attempt to compile and run the following code?
# include <deque>
# include <list>
# include <iostream>
using namespace std;
int main ()
{
list<int>l1;
deque<int>d1;
for(int i=0; i<5; i++)
{
l1.push_back(i);l1.push_front(i);
d1.push_back(i);d1.push_front(i);
}
for(int i=0; i<d1.size(); i++)
{
cout<<d1[i]<<" "<<l1[i]<<" ";
}
cout<<endl;
return 0;
}
A. compilation error due to line 16
B. program displays 4 4 3 3 2 2 1 1 0 0 0 0 1 1 2 2 3 3 4 4
C. compilation error due to line 11
D. compilation error due to line 12
E. runtime exception
正解:A

質問 3:
What will happen when you attempt to compile and run the code below, assuming that you enter the following sequence: one two three<enter>?
# include <iostream>
# include <string>
using namespace std;
int main ()
{
string a;
cin.getline(a);
cout<<a<<endl;
return 0;
}
Program will output:
A. compilation error
B. one two three
C. the result is unspecified
D. runtime exception
E. one
正解:A

質問 4:
What happens when you attempt to compile and run the following code?
#include <list>
#include <iostream>
using namespace std;
template<class T>
void print(T start, T end) {
while (start != end) {
std::cout << *start << " "; start++;
}
}
int main()
{
int t1[] ={ 1, 7, 8, 4, 5 };
list<int> l1(t1, t1 + 5);
int t2[] ={ 3, 2, 6, 9, 0 };
list<int> l2(t2, t2 + 5);
l1.sort();
list<int>::iterator it = l2.begin();
it++; it++;
l1.splice(l1.end(),l2, it, l2.end());
print(l1.begin(), l1.end()); cout<<"Size:"<<l1.size()<<" ";
print(l2.begin(), l2.end()); cout<<"Size:"<<l2.size()<<endl;
return 0;
}
A. program outputs: 1 4 5 7 8 6 9 0 Size:8 3 2 6 9 0 Size:5
B. program outputs: 0 1 4 5 6 7 8 9 Size:8 3 2 6 9 0 Size:5
C. program outputs: 0 1 4 5 6 7 8 9 Size:8 3 2 Size:2
D. compilation error
E. program outputs: 1 4 5 7 8 6 9 0 Size:8 3 2 Size:2
正解:E

質問 5:
What will happen when you attempt to compile and run the code below, assuming that you enter the following sequence: 1 2 3<enter>?
# include <iostream>
# include <string>
# include <sstream>
using namespace std;
int main ()
{
string s;
getline(cin, s);
stringstream input(s);
stringstream output;
for( ; !input.fail() ; )
{
int i;
input>>i;
output<<hex<<i<<" ";
}
cout<<output.str();
return 0;
}
Program will output:
A. 0x1 0x2 0x3
B. 1 2 3 3
C. program runs forever without output
D. 1 2 3
E. 0x1 0x2 0x3 0x3
正解:B

質問 6:
What happens when you attempt to compile and run the following code?
# include <iostream>
# include <map>
using namespace std;
int main() {
int t[] = { 1, 1, 2, 2, 3, 3, 4, 4, 5, 5 };
string s[] = { "one", "one", "two", "two", "three","three", "four", "four", "five", "five"}; multimap<int, string> m;
for (int i = 0; i < 10; i++) {
m.insert(pair<int, string>(t[i], s[i]));
}
if (m.count(3) == 2) {
m.erase(3);
}
for (multimap<int, string>::iterator i = m.begin(); i != m.end(); i++) { cout << i?>first << " ";
}
return 0;
}
A. program outputs: one two three four five
B. program outputs: 1 2 3 4 5
C. program outputs: 1 1 2 2 4 4 5 5
D. program outputs: 1 1 2 2 3 4 4 5 5
E. program outputs: 1 2 4 5
正解:C

弊社は失敗したら全額で返金することを承諾します

我々は弊社のCPP問題集に自信を持っていますから、試験に失敗したら返金する承諾をします。我々のC++ Institute CPPを利用して君は試験に合格できると信じています。もし試験に失敗したら、我々は君の支払ったお金を君に全額で返して、君の試験の失敗する経済損失を減少します。

弊社のC++ Institute CPPを利用すれば試験に合格できます

弊社のC++ Institute CPPは専門家たちが長年の経験を通して最新のシラバスに従って研究し出した勉強資料です。弊社はCPP問題集の質問と答えが間違いないのを保証いたします。

CPP無料ダウンロード

この問題集は過去のデータから分析して作成されて、カバー率が高くて、受験者としてのあなたを助けて時間とお金を節約して試験に合格する通過率を高めます。我々の問題集は的中率が高くて、100%の合格率を保証します。我々の高質量のC++ Institute CPPを利用すれば、君は一回で試験に合格できます。

弊社は無料C++ Institute CPPサンプルを提供します

お客様は問題集を購入する時、問題集の質量を心配するかもしれませんが、我々はこのことを解決するために、お客様に無料CPPサンプルを提供いたします。そうすると、お客様は購入する前にサンプルをダウンロードしてやってみることができます。君はこのCPP問題集は自分に適するかどうか判断して購入を決めることができます。

CPP試験ツール:あなたの訓練に便利をもたらすために、あなたは自分のペースによって複数のパソコンで設置できます。

TopExamは君にCPPの問題集を提供して、あなたの試験への復習にヘルプを提供して、君に難しい専門知識を楽に勉強させます。TopExamは君の試験への合格を期待しています。

C++ Institute CPP 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • List of merging algorithms: merge, includes, min_element, max_element, inplace_merge
  • Types of associative containers
トピック 2
  • STL Associative containers
  • List of sorting algorithms: random_shuffle, sort, stable_partition, lower_bound, upper_bound
トピック 3
  • Typical problems when using templates
  • Types of sequential containers
トピック 4
  • Dealing with objects as container elements
  • STL utilities and functional library
トピック 5
  • Classes which provide the input and output capability
  • STL Sequential containers
トピック 6
  • Containers compatibility
  • Set and multiset –behavior and API
  • map and multimap –behavior and API
トピック 7
  • Putting objects into set and map
  • Definition of a modifying algorithm
トピック 8
  • Definition of a non-modifying algorithm
  • List of useful functors

参照:http://cppinstitute.org/cpp-c-certified-professional-programmer

一年間の無料更新サービスを提供します

君が弊社のC++ Institute CPPをご購入になってから、我々の承諾する一年間の更新サービスが無料で得られています。弊社の専門家たちは毎日更新状態を検査していますから、この一年間、更新されたら、弊社は更新されたC++ Institute CPPをお客様のメールアドレスにお送りいたします。だから、お客様はいつもタイムリーに更新の通知を受けることができます。我々は購入した一年間でお客様がずっと最新版のC++ Institute CPPを持っていることを保証します。

安全的な支払方式を利用しています

Credit Cardは今まで全世界の一番安全の支払方式です。少数の手続きの費用かかる必要がありますとはいえ、保障があります。お客様の利益を保障するために、弊社のCPP問題集は全部Credit Cardで支払われることができます。

領収書について:社名入りの領収書が必要な場合、メールで社名に記入していただき送信してください。弊社はPDF版の領収書を提供いたします。

CPP 関連試験
CPA - C++ Certified Associate Programmer
連絡方法  
 [email protected] サポート

試用版をダウンロード

人気のベンダー
Apple
Avaya
CIW
FileMaker
Lotus
Lpi
OMG
SNIA
Symantec
XML Master
Zend-Technologies
The Open Group
H3C
3COM
ACI
すべてのベンダー
TopExam問題集を選ぶ理由は何でしょうか?
 品質保証TopExamは我々の専門家たちの努力によって、過去の試験のデータが分析されて、数年以来の研究を通して開発されて、多年の研究への整理で、的中率が高くて99%の通過率を保証することができます。
 一年間の無料アップデートTopExamは弊社の商品をご購入になったお客様に一年間の無料更新サービスを提供することができ、行き届いたアフターサービスを提供します。弊社は毎日更新の情況を検査していて、もし商品が更新されたら、お客様に最新版をお送りいたします。お客様はその一年でずっと最新版を持っているのを保証します。
 全額返金弊社の商品に自信を持っているから、失敗したら全額で返金することを保証します。弊社の商品でお客様は試験に合格できると信じていますとはいえ、不幸で試験に失敗する場合には、弊社はお客様の支払ったお金を全額で返金するのを承諾します。(全額返金)
 ご購入の前の試用TopExamは無料なサンプルを提供します。弊社の商品に疑問を持っているなら、無料サンプルを体験することができます。このサンプルの利用を通して、お客様は弊社の商品に自信を持って、安心で試験を準備することができます。