C++ 變數/輸入/輸出

C++ 變數/輸入/輸出

11th Grade

10 Qs

quiz-placeholder

Similar activities

C++ cap. 4

C++ cap. 4

9th - 12th Grade

15 Qs

動物農莊 第八章

動物農莊 第八章

8th Grade - University

6 Qs

認識電腦平台

認識電腦平台

10th - 11th Grade

10 Qs

人工智慧

人工智慧

11th Grade

7 Qs

HTML

HTML

9th - 12th Grade

15 Qs

B電腦系統:系統軟件

B電腦系統:系統軟件

9th - 12th Grade

12 Qs

asesmen awal

asesmen awal

11th Grade

15 Qs

Programación 11 grado. ILYV

Programación 11 grado. ILYV

11th Grade

7 Qs

C++ 變數/輸入/輸出

C++ 變數/輸入/輸出

Assessment

Quiz

Computers

11th Grade

Easy

Created by

永進 顏

Used 5+ times

FREE Resource

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;
}
"Hi everybody"
Hi everybody"
Hi everybody
"Hi everybody

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?