
C++ 變數/輸入/輸出
Authored by 永進 顏
Computers
11th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does <= mean?
less than
greater than
less than or equal to
greater than or equal to
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the only function all C++ programs must contain?
start()
system()
main()
program()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct comment?
*/ Comments */
** Comment **
/* Comment */
{ Comment }
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this program?
Program
int main()
{
cout<<"Hi everybody";
return 0;
}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如何輸出一個換行符號
\r
\n
\t
\"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("他說:"好,我試試",然後他就逝世了\n");
請寫出這行程式的執行結果
"他說:"好,我試試",然後他就逝世了\n"
他說:"好,我試試",然後他就逝世了
他說: 好,我試試 ,然後他就逝世了
無法執行
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如何輸入三角形的三個邊(複選)
int x, y, z;
cin >> x;
cin >> y;
cin >> z;
int x, y, z;
cin >> x, y, z;
int x, y, z;
cin >> x >> y >> z
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?