C++ 算術運算子

C++ 算術運算子

11th Grade

10 Qs

quiz-placeholder

Similar activities

ALG U5.1

ALG U5.1

9th - 12th Grade

10 Qs

Try Out UTS Kalkulus

Try Out UTS Kalkulus

University

10 Qs

Partial Differential Equations

Partial Differential Equations

University

15 Qs

1-3&1-4

1-3&1-4

9th - 12th Grade

10 Qs

Review for lesson 9/4

Review for lesson 9/4

9th - 12th Grade

15 Qs

Moments and Moment Generating Function

Moments and Moment Generating Function

University

11 Qs

ỨNG DỤNG TÍCH PHÂN TRONG HÌNH HỌC

ỨNG DỤNG TÍCH PHÂN TRONG HÌNH HỌC

12th Grade

15 Qs

Algebra 2 Review of Chapters 1-4

Algebra 2 Review of Chapters 1-4

9th - 12th Grade

14 Qs

C++ 算術運算子

C++ 算術運算子

Assessment

Quiz

Mathematics

11th Grade

Hard

Created by

Ray Chou

Used 2+ times

FREE Resource

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

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?