C++ 算術運算子

C++ 算術運算子

11th Grade

10 Qs

quiz-placeholder

Similar activities

Algebra 1 Unit 1 Final Review

Algebra 1 Unit 1 Final Review

9th - 11th Grade

15 Qs

高一 无理式

高一 无理式

10th - 11th Grade

10 Qs

數學大賽

數學大賽

1st Grade - Professional Development

12 Qs

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

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

11th Grade

15 Qs

複數基本

複數基本

9th - 12th Grade

13 Qs

Python

Python

KG - Professional Development

14 Qs

第四冊2-1拋物線

第四冊2-1拋物線

10th - 12th Grade

10 Qs

C++ Coding Problems

C++ Coding Problems

4th Grade - Professional Development

10 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?