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
7 questions
While Loops

Quiz
•
10th - 12th Grade
8 questions
Robotics Quiz

Quiz
•
1st - 12th Grade
13 questions
Unit 6 Assignment 6-4

Quiz
•
9th - 11th Grade
8 questions
定積分bun①

Quiz
•
11th - 12th Grade
10 questions
Baldi's Math Quiz: 26: Rationals

Quiz
•
12th Grade
10 questions
初中二数学线上考试

Quiz
•
1st - 12th Grade
8 questions
2次不等式を極める①

Quiz
•
10th - 12th Grade
12 questions
二元一次不等式

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Mathematics
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
20 questions
Points, Lines & Planes

Quiz
•
9th - 11th Grade
15 questions
Solving Multistep Equations

Quiz
•
9th - 12th Grade
10 questions
Bias or Unbiased Questions

Quiz
•
9th - 12th Grade
12 questions
Rational and Irrational Numbers

Lesson
•
8th - 12th Grade
58 questions
Integer Operations

Quiz
•
5th - 12th Grade
30 questions
Identifying Key Features of Parabolas

Quiz
•
9th - 12th Grade
14 questions
Function Notation Practice

Quiz
•
9th - 11th Grade