Binary Number Conversions and Arithmetic Operations, Summaries of Law

A series of exercises related to computer science and programming fundamentals. It includes tasks such as converting binary numbers to decimal, octal, and hexadecimal representations, performing arithmetic operations on binary and hexadecimal numbers, representing negative integers using 1's and 2's complement, designing algorithms to calculate the sum of a series, count positive, negative, and zero numbers, find the student with the highest gpa, and determine if a number is palindromic. The document also includes a task to calculate a person's age based on their birth date. This comprehensive set of exercises provides a solid foundation in basic computer science concepts and problem-solving skills, making it a valuable resource for students studying computer science, programming, or related fields.

Typology: Summaries

2022/2023

Uploaded on 08/02/2023

97amireza-mousavi
97amireza-mousavi 🇮🇷

1 document

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ی� ﻦ��ﻤﺗ1 یزﺎﺳ ﻪﻣﺎﻧﺮﺑ و ﺮﺗﻮﯿﭙﻣﺎک ن
یﺎبﻣ سرد
1.
:ﺪ�ﻫد مﺎﺠﻧا ار ﺮ�ز تﻼ�ﺪبﺗ
A) (1000100.001101)2 = (?)10
B) (100101.0101)2 = (?)8
C) (111011.011101)2 = (?)16
D) (EFA2 )16 = (?)8
2.
:ﺪ�ﻋد مﺎﺠﻧا ار ﺮ�ز لﺎﻤﻋا
A) 1110111 * 111101 =?
B) 1AFCD + 2FA3=?
C) 2FCAD 1AA9F =?
3. ،راﺪﻘﻣ ﺖﻣﻼﻋ شور ﻪﺳ ﻪب ار ﺮ�ز داﺪﻋا ﻢﻤﺘﻣ1 ﻢﻤﺘﻣ و2
:ﺪ�ﻫد ﺶ�ﺎﻤﻧ
A) -19
B) -37
C) -45
4.
:ﺪﻨﮐ ﻪبﺳﺎﺤﻣ ار ﺮ�ز ترﺎبﻋ ﻪﮐ ﺪ�ﻨﮐ ﻢﺳر ت
یرﺎﭼﻮﻠﻓ و ﺪ�ﺴ��ﻨﺑ �ﺘ�رﻮگﻟا
1+2+3+4+……+N
5.
.ﺪﻨﮐ پﺎﭼ ار ﺮﻔﺻ و ف
�ﻨﻣ ،ﺖبﺜﻣ داﺪﻋا داﺪﻌﺗ ﺲپﺳ و ەﺪﻧاﻮﺧ دﺪﻋ یداﺪﻌﺗ ﻪﮐ ﺪ�ﻨﮐ ﻢﺳر ت
یرﺎﭼﻮﻠﻓ و ﺪ�ﺴ��ﻨﺑ �ﺘ�رﻮگﻟا
6. ت
یرﺎﭼﻮﻠﻓ و ﺪ�ﺴ��ﻨﺑ �ﺘ�رﻮگﻟا ار لﺪﻌﻣ ﻦ� ت
�ﺸ�ﺑ ﻪﮐ �ﺨﺷ مﺎﻧ و ەﺪﻧاﻮﺧ ار نﺎ��ﺠﺸ�اد زا یداﺪﻌﺗ لﺪﻌﻣ و مﺎﻧ ﻪﮐ ﺪ�ﻨﮐ ﻢﺳر
.ﺪﻨﮐ پﺎﭼ
�وﺮﺧ رد دراد
7. یدﺪﻋ ) . ی
�ﺧ ﺎ� ﺖﺳا نرﺎﻘﺘﻣ دﺪﻋ ﺎ�آ ﻪﮐ ﺪﻨﮐ ﺺﺨﺸﻣ و ەﺪﻧاﻮﺧ ار یدﺪﻋ ﻪﮐ ﺪ�ﻨﮐ ﻢﺳر ت
یرﺎﭼﻮﻠﻓ و ﺪ�ﺴ��ﻨﺑ �ﺘ�رﻮگﻟا
ﺖﻤﺳ ﻢﻗر ود ﺲﮑﻋ ، ﭗﭼ ﺖﻤﺳ ﻢﻗر ود ﻪﮐ ﺖﺳا نرﺎﻘﺘﻣ ﻞﺜﻣ ﺪﺷﺎب ﺖﺳار32423 مﺎ�ﭘ ندﻮﺒﻧ ﺎ� ندﻮﺑ نرﺎﻘﺘﻣ ترﻮﺻ رد .
(ﺪ�ﻨﮐ پﺎﭼ ار ﺐﺳﺎﻨﻣ
8. زوﺮﻣا ﺦــــ�رﺎﺗ) ﺪﻫد � راﺮﻗ ﻢﻫ ار زوﺮﻣا ﺦــــ�رﺎﺗ و دراﺬﮔ � دﻮﺧ زا یرﻮﺘﺳا ﮏ� ماﺮ�ﺎﺘﺴنﯾا رد اﺮﻫز1402.05.03 ﺦــــ�رﺎﺗ رد . (
اﺮﻫز ، زوﺮﻣاN و ل M و ەﺎﻣK �ﺘ�رﻮگﻟا .دراد ﺮﻤﻋ زور ﻪﮐ ﺪ�ﻨﮐ ﻢﺳر ت
یرﺎﭼﻮﻠﻓ و ﺪ�ﺴ��ﻨﺑN,M,K و د ی
�ﮕ ب ﺮ�رﺎک ز ا ار
ﺎﻫ لﺎﺳ ﻪﻤﻫ) . ﺖﺳا ﻪﺘﻔﻫ زا یزور ﻪﭼ اﺮﻫز ﺪﻟﻮﺗ ﺪﻨﮐ ﺺﺨﺸﻣ365 ( ﺪﻨ ت ەزو ر

Partial preview of the text

Download Binary Number Conversions and Arithmetic Operations and more Summaries Law in PDF only on Docsity!

A) (1000100.001101) 2 = (?) 10

B) (100101.0101) 2 = (?) 8

C) (111011.011101) 2 = (?) 16

D) (EFA2) 16 = (?) 8

A) 1110111 * 111101 =?

B) 1AFCD + 2FA3=?

C) 2FCAD – 1AA9F =?

A) -

B) -

C) -

1+2+3+4+……+N

. ) ﻋﺪدی^ رﺳﻢ کﻨ�ﺪ کﻪ ﻋﺪدی را ﺧﻮاﻧﺪە و ﻣﺸﺨﺺ کﻨﺪ کﻪ آ�ﺎ ﻋﺪد ﻣﺘﻘﺎرن اﺳﺖ �ﺎ ﺧ�ی اﻟگﻮر�ﺘ� ﺑﻨ��ﺴ�ﺪ و ﻓﻠﻮچﺎریت. 7

ی د ورا از کﺎر�ﺮ بگ�N,M,K رﺳﻢ کﻨ�ﺪ کﻪ ﺑﻨ��ﺴ�ﺪ و ﻓﻠﻮچﺎریت روز ﻋﻤﺮ دارد. اﻟگﻮر�ﺘ�Kﻣﺎە وM ﺳﺎل وNاﻣﺮوز ، زﻫﺮا