C++ 變數/輸入/輸出

C++ 變數/輸入/輸出

11th Grade

10 Qs

quiz-placeholder

Similar activities

8525 AQA GCSE 3.2.5 Boolean Operations

8525 AQA GCSE 3.2.5 Boolean Operations

10th - 11th Grade

10 Qs

Introduction à l'informatique

Introduction à l'informatique

9th - 11th Grade

13 Qs

HTML Quiz

HTML Quiz

KG - University

10 Qs

HTML (3CS)

HTML (3CS)

10th - 11th Grade

10 Qs

Cascading Style Sheets

Cascading Style Sheets

8th - 12th Grade

11 Qs

Начала программирования на языке Паскаль

Начала программирования на языке Паскаль

8th - 11th Grade

15 Qs

RAM&HDD/SSD

RAM&HDD/SSD

10th - 12th Grade

13 Qs

C++ 變數/輸入/輸出

C++ 變數/輸入/輸出

Assessment

Quiz

Computers

11th Grade

Practice Problem

Easy

Created by

永進 顏

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

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

Already have an account?