C++ 算術運算子

C++ 算術運算子

11th Grade

10 Qs

quiz-placeholder

Similar activities

第四冊1-2圓的一般式

第四冊1-2圓的一般式

11th - 12th Grade

10 Qs

Series

Series

University

10 Qs

高次方程式、図形と方程式の復習

高次方程式、図形と方程式の復習

11th Grade

15 Qs

複數基本

複數基本

9th - 12th Grade

13 Qs

Lois de probabilités à densité

Lois de probabilités à densité

12th Grade

10 Qs

詩經蒹葭

詩經蒹葭

11th Grade

13 Qs

Evaluasi 3

Evaluasi 3

11th - 12th Grade

15 Qs

LUYỆN TẬP TÍCH PHÂN

LUYỆN TẬP TÍCH PHÂN

12th Grade

10 Qs

C++ 算術運算子

C++ 算術運算子

Assessment

Quiz

Mathematics

11th Grade

Practice Problem

Hard

Created by

Ray Chou

Used 2+ 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

下列C++程式輸出為何?

int a=5,b=8;

b--;

a=a+b;

cout << a;

13

8

7

12

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列C++程式輸出為何?

int x=10,y=15;

y+=2;

x=x-y;

cout << x;

-5

5

10

15

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列C++程式輸出為何?

int p=3,q=4;

p*=q;

cout << p;

12

7

3

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列C++程式輸出為何?

int m=6,n=2;

m=m/n;

cout << m;

3

2

4

1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列C++程式輸出為何?

int a=7,b=3;

a=a%b;

cout << a;

1

0

3

7

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列C++程式輸出為何?

int x=5,y=10;

y-=x;

cout << y;

5

10

15

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列C++程式輸出為何?

int p=8,q=2;

p/=q;

cout << p;

4

2

8

16

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?