Worksheets第一次社課複習測驗
Total questions: 8
Worksheet time: 3mins
Name
Class
Date
1.
#include<iostream> 意思?
a)
在雲端輸入輸出
b)
輸入iostream
c)
包含iostream這個函式庫
d)
嵩要買iphone,因為它是ios系統
2.
這個程式會輸出什麼?
a)
Hello, word
b)
Hello, World!
c)
error
d)
404
3.
如何在C++中宣告一個名稱為apple 值為5的整數變數?
a)
int apple = 5;
b)
apple <int> =5;
c)
apple int = 5;
d)
蘋果 = 5
4.
在C++中如何為單行作註解?
請選擇最常見之寫法
a)
//內容
b)
/*內容*/
c)
*內容
d)
(內容)
5.
我們上課教的IDE是什麼?
a)
codeblocks
b)
visual studio
c)
dev c++
d)
google document
6.
在C++中如何使輸出換行?(多選)
a)
"\n"
b)
手動按enter
c)
窩不知道
d)
endl
7.
在C++中如何輸出hgsh這個字串?(多選)
a)
string hgsh = "hgsh";
cout << hgsh;
b)
cout << "hgsh";
c)
cout >> hgsh;
d)
cout >>"hgsh";
8.
上次上課的是誰?
a)
反正不是我
b)
窩不知道
c)
嵩
d)
社師
100 %
