C++ 變數/輸入/輸出

C++ 變數/輸入/輸出

11th Grade

10 Qs

quiz-placeholder

Similar activities

HTML -znaczniki 1

HTML -znaczniki 1

7th Grade - University

15 Qs

Bài tập trắc nghiệm C++(tiếp)

Bài tập trắc nghiệm C++(tiếp)

3rd Grade - University

10 Qs

NHÓM HÀM CƠ SỞ DỮ LIỆU

NHÓM HÀM CƠ SỞ DỮ LIỆU

11th Grade

10 Qs

Bài tập cấu trúc lặp

Bài tập cấu trúc lặp

11th Grade

10 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

Quiz 13 - For Loops

Quiz 13 - For Loops

11th Grade

10 Qs

Loops

Loops

9th - 12th Grade

10 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?