SlideShare a Scribd company logo
1 of 44
Download to read offline
Numbers, operation, bases
Amir Shokri
Amirsh.nll@gmail.com
‫اعداد‬ ‫مبنای‬
Amir Shokri
‫مبنای‬
2
:
binary
0 - 1
‫مبنای‬
8
:
octal
0 – 1 – 2 – 3 – 4 – 5 – 6 – 7
‫مبنای‬
10
:
decimal
0 – 1 – 2 – 3 – 4 – 5 – 6 – 7 – 8 – 9
‫مبنای‬
16
:
hexadecimal
0 – 1 – 2 – 3 – 4 – 5 – 6 – 7 – 8 – 9 – A – B – C – D – E – F
‫مبنای‬ ‫در‬ ‫جمع‬
2
Amir Shokri
‫مبنای‬ ‫در‬ ‫جمع‬
8
Amir Shokri
‫مبنای‬ ‫در‬ ‫جمع‬
16
Amir Shokri
‫مبنای‬ ‫در‬ ‫تفریق‬
2
Amir Shokri
‫مبنای‬ ‫در‬ ‫تفریق‬
8
Amir Shokri
‫مبنای‬ ‫در‬ ‫تفریق‬
16
Amir Shokri
‫مبنای‬ ‫در‬ ‫ضرب‬
2
Amir Shokri
‫مبنای‬ ‫در‬ ‫ضرب‬
8
Amir Shokri
‫مبنای‬ ‫در‬ ‫ضرب‬
16
Amir Shokri
‫مبنای‬ ‫تبدیل‬
10
‫به‬
2
(
‫باینری‬ ‫به‬ ‫دسیمال‬
)
Amir Shokri
‫باینری‬ ‫به‬ ‫دسیمال‬ ‫مبنای‬ ‫از‬ ‫اعشاری‬ ‫تبدیل‬
Amir Shokri
‫اعشاری‬ ‫عدد‬ ‫تبدیل‬
(
‫صحیح‬ ‫قسمت‬ ‫دارای‬
)
‫دودویی‬ ‫به‬ ‫دهدهی‬ ‫از‬
Amir Shokri
‫مبنای‬ ‫تبدیل‬
2
‫به‬
10
(
‫دسیمال‬ ‫به‬ ‫باینری‬
)
Amir Shokri
‫دهدهی‬ ‫به‬ ‫دودویی‬ ‫اعشاری‬ ‫تبدیل‬
Amir Shokri
‫اعشاری‬ ‫عدد‬ ‫تبدیل‬
(
‫صحیح‬ ‫قسمت‬ ‫دارای‬
)
‫مبنای‬ ‫از‬
2
‫به‬
10
Amir Shokri
‫اعشاری‬ ‫عدد‬ ‫تبدیل‬
(
‫صحیح‬ ‫قسمت‬ ‫دارای‬
)
‫مبنای‬ ‫از‬
2
‫به‬
10
Amir Shokri
‫مبنای‬ ‫تبدیل‬
10
‫به‬
8
(
‫اکتال‬ ‫به‬ ‫دسیمال‬
)
Amir Shokri
‫هشتی‬ ‫هشت‬ ‫به‬ ‫اعشاری‬ ‫دهدهی‬ ‫اعداد‬ ‫تبدیل‬
Amir Shokri
‫اعشاری‬ ‫دهدهی‬ ‫اعداد‬ ‫تبدیل‬
(
‫صحیح‬ ‫بخش‬ ‫دارای‬
)
‫هشتی‬ ‫هشت‬ ‫به‬
Amir Shokri
‫مبنای‬ ‫تبدیل‬
8
‫به‬
10
(
‫دسیمال‬ ‫به‬ ‫اکتال‬
)
Amir Shokri
‫بخش‬ ‫دو‬ ‫با‬ ‫اعشاری‬ ‫هشتی‬ ‫هشت‬ ‫اعداد‬ ‫تبدیل‬
(
‫اعشاری‬ ‫و‬ ‫صحیح‬
)
‫دهدهی‬ ‫به‬
Amir Shokri
‫مبنای‬ ‫تبدیل‬
10
‫به‬
16
Amir Shokri
‫شانزدهی‬ ‫شانزده‬ ‫به‬ ‫اعشاری‬ ‫دهدهی‬ ‫اعداد‬ ‫تبدیل‬
Amir Shokri
‫دهدهی‬ ‫اعداد‬ ‫تبدیل‬
(
‫اعشاری‬ ‫و‬ ‫صحیح‬ ‫بخش‬ ‫دو‬ ‫دارای‬
)
‫شانزدهی‬ ‫شانزده‬ ‫به‬ ‫اعشاری‬
Amir Shokri
‫مبنای‬ ‫تبدیل‬
16
‫به‬
10
Amir Shokri
‫دهدهی‬ ‫به‬ ‫اعشاری‬ ‫شانزدهی‬ ‫شانزده‬ ‫اعداد‬ ‫تبدیل‬
Amir Shokri
‫اعشاری‬ ‫شانزدهی‬ ‫شانزده‬ ‫اعداد‬ ‫تبدیل‬
(
‫اعشاری‬ ‫و‬ ‫صحیح‬ ‫بخش‬ ‫دو‬ ‫دارای‬
)
‫دهدهی‬ ‫به‬
Amir Shokri
‫مبنای‬ ‫تبدیل‬
2
‫به‬
8
(
‫اکتال‬ ‫به‬ ‫باینری‬
)
Amir Shokri
‫مبنای‬ ‫تبدیل‬
2
‫به‬
8
(
‫اکتال‬ ‫به‬ ‫باینری‬
)
Amir Shokri
‫اعشاری‬ ‫دودویی‬ ‫اعداد‬ ‫تبدیل‬
(
‫اعشاری‬ ‫و‬ ‫صحیح‬ ‫بخش‬ ‫دارای‬
)
‫هشتی‬ ‫هشت‬ ‫به‬
Amir Shokri
‫مبنای‬ ‫تبدیل‬
8
‫به‬
2
(
‫باینری‬ ‫به‬ ‫اکتال‬
)
Amir Shokri
‫دودویی‬ ‫به‬ ‫اعشاری‬ ‫هشتی‬ ‫هشت‬ ‫اعداد‬ ‫تبدیل‬
Amir Shokri
‫اعشاری‬ ‫هشتی‬ ‫هشت‬ ‫اعداد‬ ‫تبدیل‬
(
‫اعشاری‬ ‫و‬ ‫صحیح‬ ‫بخش‬ ‫دو‬ ‫با‬
)
‫دودویی‬ ‫به‬
Amir Shokri
‫مبنای‬ ‫تبدیل‬
2
‫به‬
16
(
‫دسیما‬ ‫هگزال‬ ‫به‬ ‫باینری‬
)
Amir Shokri
‫شانزدهی‬ ‫شانزده‬ ‫به‬ ‫اعشاری‬ ‫دودویی‬ ‫اعداد‬ ‫تبدیل‬
Amir Shokri
‫اعشاری‬ ‫دودویی‬ ‫اعداد‬ ‫تبدیل‬
(
‫اعشاری‬ ‫و‬ ‫صحیح‬ ‫بخش‬ ‫دو‬ ‫با‬
)
‫شانزدهی‬ ‫شانزده‬ ‫به‬
Amir Shokri
‫مبنای‬ ‫تبدیل‬
16
‫به‬
2
(
‫باینری‬ ‫به‬ ‫هگزادسیمال‬
)
Amir Shokri
‫دودویی‬ ‫به‬ ‫اعشاری‬ ‫شانزدهی‬ ‫شانزده‬ ‫اعداد‬ ‫تبدیل‬
Amir Shokri
‫اعشاری‬ ‫شانزدهی‬ ‫شانزده‬ ‫اعداد‬ ‫تبدیل‬
(
‫اعشاری‬ ‫و‬ ‫صحیح‬ ‫بخش‬ ‫دو‬ ‫دارای‬
)
‫دودویی‬ ‫به‬
Amir Shokri
‫مبنای‬ ‫تبدیل‬
8
‫به‬
16
Amir Shokri
•
‫اول‬ ‫روش‬
:
‫مبنای‬ ‫از‬ ‫استفاده‬
10
‫بعنوان‬
‫واسط‬
•
‫دوم‬ ‫روش‬
:
‫واسط‬ ‫بعنوان‬ ‫دو‬ ‫مبنای‬ ‫از‬ ‫استفاده‬
‫دار‬ ‫عالمت‬ ‫اعداد‬ ‫نمایش‬
Amir Shokri
‫یا‬ ‫مقدار‬ ‫عالمت‬ ‫روش‬
Sign-magnitude
‫یک‬ ‫متمم‬ ‫روش‬
1’s complement
‫دو‬ ‫متمم‬ ‫روش‬
2’s complement
References
Amir Shokri
• https://unari.ir/
• https://b2n.ir/u17131
• https://b2n.ir/j22129
• https://b2n.ir/z93090
• https://b2n.ir/r36777
• https://b2n.ir/s70705
• https://b2n.ir/a89761
• https://b2n.ir/z03586
• https://b2n.ir/t84894
• https://b2n.ir/u51737
• https://b2n.ir/g14704

More Related Content

More from Amir Shokri

Bayesian learning
Bayesian learningBayesian learning
Bayesian learningAmir Shokri
 
machine learning code
machine learning codemachine learning code
machine learning codeAmir Shokri
 
machine learning - id3, find-s, candidate elimination, desicion tree example
machine learning - id3, find-s, candidate elimination, desicion tree examplemachine learning - id3, find-s, candidate elimination, desicion tree example
machine learning - id3, find-s, candidate elimination, desicion tree exampleAmir Shokri
 
Concept learning
Concept learningConcept learning
Concept learningAmir Shokri
 
logical operators decision tree
logical operators decision treelogical operators decision tree
logical operators decision treeAmir Shokri
 
Mining social network graphs - persian
Mining social network graphs - persianMining social network graphs - persian
Mining social network graphs - persianAmir Shokri
 
product glossary
product glossaryproduct glossary
product glossaryAmir Shokri
 
Popular Maple codes Book - Persian
Popular Maple codes Book - PersianPopular Maple codes Book - Persian
Popular Maple codes Book - PersianAmir Shokri
 
deepswarm optimising convolutional neural networks using swarm intelligence (...
deepswarm optimising convolutional neural networks using swarm intelligence (...deepswarm optimising convolutional neural networks using swarm intelligence (...
deepswarm optimising convolutional neural networks using swarm intelligence (...Amir Shokri
 
clustering tendency
clustering tendencyclustering tendency
clustering tendencyAmir Shokri
 
adaptive comprehensive learning bacterial foraging optimization and its appli...
adaptive comprehensive learning bacterial foraging optimization and its appli...adaptive comprehensive learning bacterial foraging optimization and its appli...
adaptive comprehensive learning bacterial foraging optimization and its appli...Amir Shokri
 
particle swarm optimized autonomous learning fuzzy system
particle swarm optimized autonomous learning fuzzy systemparticle swarm optimized autonomous learning fuzzy system
particle swarm optimized autonomous learning fuzzy systemAmir Shokri
 
Dynamic Channel Allocation Using Simulated Annealing In 802.11 WLANs
Dynamic Channel Allocation Using Simulated Annealing In 802.11 WLANs Dynamic Channel Allocation Using Simulated Annealing In 802.11 WLANs
Dynamic Channel Allocation Using Simulated Annealing In 802.11 WLANs Amir Shokri
 
Study on the application of genetic algorithms in the optimization of wireles...
Study on the application of genetic algorithms in the optimization of wireles...Study on the application of genetic algorithms in the optimization of wireles...
Study on the application of genetic algorithms in the optimization of wireles...Amir Shokri
 
Complexity analysis of multilayer perceptron neural network embedded into a w...
Complexity analysis of multilayer perceptron neural network embedded into a w...Complexity analysis of multilayer perceptron neural network embedded into a w...
Complexity analysis of multilayer perceptron neural network embedded into a w...Amir Shokri
 
Fast auralization using radial basis functions type of artificial neural netw...
Fast auralization using radial basis functions type of artificial neural netw...Fast auralization using radial basis functions type of artificial neural netw...
Fast auralization using radial basis functions type of artificial neural netw...Amir Shokri
 

More from Amir Shokri (20)

Knn
KnnKnn
Knn
 
Bayesian learning
Bayesian learningBayesian learning
Bayesian learning
 
machine learning code
machine learning codemachine learning code
machine learning code
 
machine learning - id3, find-s, candidate elimination, desicion tree example
machine learning - id3, find-s, candidate elimination, desicion tree examplemachine learning - id3, find-s, candidate elimination, desicion tree example
machine learning - id3, find-s, candidate elimination, desicion tree example
 
ID3 Algorithm
ID3 AlgorithmID3 Algorithm
ID3 Algorithm
 
Concept learning
Concept learningConcept learning
Concept learning
 
logical operators decision tree
logical operators decision treelogical operators decision tree
logical operators decision tree
 
Matplotlib
MatplotlibMatplotlib
Matplotlib
 
Mining social network graphs - persian
Mining social network graphs - persianMining social network graphs - persian
Mining social network graphs - persian
 
product glossary
product glossaryproduct glossary
product glossary
 
Popular Maple codes Book - Persian
Popular Maple codes Book - PersianPopular Maple codes Book - Persian
Popular Maple codes Book - Persian
 
deepswarm optimising convolutional neural networks using swarm intelligence (...
deepswarm optimising convolutional neural networks using swarm intelligence (...deepswarm optimising convolutional neural networks using swarm intelligence (...
deepswarm optimising convolutional neural networks using swarm intelligence (...
 
clustering tendency
clustering tendencyclustering tendency
clustering tendency
 
adaptive comprehensive learning bacterial foraging optimization and its appli...
adaptive comprehensive learning bacterial foraging optimization and its appli...adaptive comprehensive learning bacterial foraging optimization and its appli...
adaptive comprehensive learning bacterial foraging optimization and its appli...
 
particle swarm optimized autonomous learning fuzzy system
particle swarm optimized autonomous learning fuzzy systemparticle swarm optimized autonomous learning fuzzy system
particle swarm optimized autonomous learning fuzzy system
 
Steganography
SteganographySteganography
Steganography
 
Dynamic Channel Allocation Using Simulated Annealing In 802.11 WLANs
Dynamic Channel Allocation Using Simulated Annealing In 802.11 WLANs Dynamic Channel Allocation Using Simulated Annealing In 802.11 WLANs
Dynamic Channel Allocation Using Simulated Annealing In 802.11 WLANs
 
Study on the application of genetic algorithms in the optimization of wireles...
Study on the application of genetic algorithms in the optimization of wireles...Study on the application of genetic algorithms in the optimization of wireles...
Study on the application of genetic algorithms in the optimization of wireles...
 
Complexity analysis of multilayer perceptron neural network embedded into a w...
Complexity analysis of multilayer perceptron neural network embedded into a w...Complexity analysis of multilayer perceptron neural network embedded into a w...
Complexity analysis of multilayer perceptron neural network embedded into a w...
 
Fast auralization using radial basis functions type of artificial neural netw...
Fast auralization using radial basis functions type of artificial neural netw...Fast auralization using radial basis functions type of artificial neural netw...
Fast auralization using radial basis functions type of artificial neural netw...
 

Numbers, math operation, converting bases