C++ 算術運算子

Quiz
•
Mathematics
•
11th Grade
•
Hard
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
Similar Resources on Wayground
10 questions
方程式③

Quiz
•
7th - 12th Grade
15 questions
复习:四年级数学坐标

Quiz
•
1st - 12th Grade
10 questions
B, C y C++

Quiz
•
University - Professi...
10 questions
P6 圓周

Quiz
•
11th Grade
13 questions
複數基本

Quiz
•
9th - 12th Grade
10 questions
Lois de probabilités à densité

Quiz
•
12th Grade
14 questions
空間中的平面

Quiz
•
11th Grade
9 questions
圓與直線的關係

Quiz
•
11th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Mathematics
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
12 questions
Classifying Polys - 1.1

Quiz
•
10th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
Function or Not? Domain and Range

Quiz
•
9th - 12th Grade
10 questions
Polynomial Operations Practice

Quiz
•
11th Grade
22 questions
Distribution Shapes

Quiz
•
9th - 12th Grade
23 questions
Six Parent Functions

Quiz
•
9th - 12th Grade
12 questions
Statistical Studies

Quiz
•
9th - 12th Grade