C++ 變數/輸入/輸出

C++ 變數/輸入/輸出

11th Grade

10 Qs

quiz-placeholder

Similar activities

C++ Unit 1 Review

C++ Unit 1 Review

9th - 12th Grade

15 Qs

ПР_X_CPP

ПР_X_CPP

9th - 12th Grade

11 Qs

Post Test C++

Post Test C++

9th - 12th Grade

10 Qs

2223_S4_ICT_T2_exam_exercise_1-10

2223_S4_ICT_T2_exam_exercise_1-10

9th - 12th Grade

10 Qs

3-1資料處理

3-1資料處理

7th Grade - University

10 Qs

XI - Kuis AP 1

XI - Kuis AP 1

11th Grade

10 Qs

Quiz C++ Grade 10

Quiz C++ Grade 10

9th - 12th Grade

10 Qs

Mengenal Algoritma dan Pemrograman C++

Mengenal Algoritma dan Pemrograman C++

10th Grade - University

15 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?