
4-23.算術演算・結合
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Easy
to prof
Used 1+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
実行結果が次のようになるプログラムの例として、最も適当なものを 1 つ選びなさい。
【実行結果】
8
※ 算術演算子のルール
+:足し算
例:「表示する(2 + 3)」を実行 →「5」と表示
−:引き算
例:「表示する(5 − 2)」を実行 →「3」と表示
*:掛け算
例:「表示する(3 * 2)」を実行 →「6」と表示
/:割り算
例:「表示する(7 / 2)」を実行 →「3.5」と表示
1
2
3
4
Answer explanation
数値のデータは算術演算子を使って計算することができる。
「+」は足し算を行う算術演算子である。
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
実行結果が次のようになるプログラムの例として、最も適当なものを 1 つ選びなさい。
【実行結果】
12
※ 算術演算子のルール
+:足し算
例:「表示する(2 + 3)」を実行 →「5」と表示
−:引き算
例:「表示する(5 − 2)」を実行 →「3」と表示
*:掛け算
例:「表示する(3 * 2)」を実行 →「6」と表示
/:割り算
例:「表示する(7 / 2)」を実行 →「3.5」と表示
1
2
3
4
Answer explanation
数値のデータは算術演算子を使って計算することができる。
「*」は掛け算を行う算術演算子である。
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
実行結果が次のようになるプログラムの例として、最も適当なものを 1 つ選びなさい。
【実行結果】
4
※ 算術演算子のルール
+:足し算
例:「表示する(2 + 3)」を実行 →「5」と表示
−:引き算
例:「表示する(5 − 2)」を実行 →「3」と表示
*:掛け算
例:「表示する(3 * 2)」を実行 →「6」と表示
/:割り算
例:「表示する(7 / 2)」を実行 →「3.5」と表示
1
2
3
4
Answer explanation
数値のデータは算術演算子を使って計算することができる。
「-」は引き算を行う算術演算子である。
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
実行結果が次のようになるプログラムの例として、最も適当なものを 1 つ選びなさい。
【実行結果】
3
※ 算術演算子のルール
+:足し算
例:「表示する(2 + 3)」を実行 →「5」と表示
−:引き算
例:「表示する(5 − 2)」を実行 →「3」と表示
*:掛け算
例:「表示する(3 * 2)」を実行 →「6」と表示
/:割り算
例:「表示する(7 / 2)」を実行 →「3.5」と表示
1
2
3
4
Answer explanation
数値のデータは算術演算子を使って計算することができる。
「/」は割り算を行う算術演算子である。
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
実行結果が次のようになるプログラムの例として、最も適当なものを 1 つ選びなさい。
【実行結果】
4
※ 算術演算子のルール
**:べき乗
例:「表示する(2 ** 3)」を実行 →「8」と表示
÷:整数の商
例:「表示する(7 ÷ 2)」を実行 →「3」と表示
%:割り算の余り
例:「表示する(7 % 2)」を実行 →「1」と表示
1
2
3
4
Answer explanation
「÷」は商の小数部分を切り捨てて、整数部分を求める算術演算子である。
商の整数部分を求めることを、切り捨て除算ともいう。
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
実行結果が次のようになるプログラムの例として、最も適当なものを 1 つ選びなさい。
【実行結果】
1
※ 算術演算子のルール
**:べき乗
例:「表示する(2 ** 3)」を実行 →「8」と表示
÷:整数の商
例:「表示する(7 ÷ 2)」を実行 →「3」と表示
%:割り算の余り
例:「表示する(7 % 2)」を実行 →「1」と表示
1
2
3
4
Answer explanation
「%」は割り算の余りを求める算術演算子である。
割り算の余りを求めることを、剰余演算ともいう。
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
実行結果が次のようになるプログラムの例として、最も適当なものを 1 つ選びなさい。
【実行結果】
81
※ 算術演算子のルール
**:べき乗
例:「表示する(2 ** 3)」を実行 →「8」と表示
÷:整数の商
例:「表示する(7 ÷ 2)」を実行 →「3」と表示
%:割り算の余り
例:「表示する(7 % 2)」を実行 →「1」と表示
1
2
3
4
Answer explanation
「**」はべき乗を行う算術演算子である。
「9**2」は 9 の 2 乗を意味する。
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
2022 高二下半年小测验1 String.h & Function
Quiz
•
12th Grade
10 questions
CH1系統平臺的架構
Quiz
•
9th Grade
12 questions
2.2 计算机的互联
Quiz
•
10th Grade
10 questions
Py01-1
Quiz
•
10th Grade
12 questions
ストラテジまとめ③
Quiz
•
9th - 12th Grade
10 questions
ITパスポート試験 テクノロジ系2
Quiz
•
10th Grade
10 questions
閩南語
Quiz
•
1st - 11th Grade
11 questions
01-01
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
