Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Fundamentals of computer science

Rating
-
Sold
-
Pages
12
Uploaded on
17-11-2023
Written in
2023/2024

Fundamentals of computer science for students, includes (explanation in Arabic), number systems, software, hardware, binary arithmetic, programming languages

Institution
Course

Content preview

💻
Fundamentals of C.S, Made by Haneen
Created @October 7, 2023 9:01 PM

Class Computer Science

Type Lecture

Reviewed



Number systems:
Decimal number system:

💡 BASE: 10 SYMBOLS: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9



To represent the number (234)10: 2*10(2) + 3*10(1) + 4*10(0) = 200 + 30 + 4 = 234
The 2 lies in the Hundredth place / The 3 lies in the tenth place. / The 4 lies in the unit.

Decimal to binary:

, 💡 BASE: 2 SYMBOLS: 0, 1 1 BYTE = 8 BITS 1 BIT can



2 BITS can store one of these 4 options: 00/ 01/ 10/11 (like a probability or as in 2 to the pow
3 BITS can store three of 8 options (2 to the power of three)

Binary to decimal:
The number (1001)2 in binary can be explained as: 1*2(3) + 0*2(2) + 0*2(1) + 1*2(0) = 8+
Where the 1*2(3) is the most significant bit (MSB). The 1*2(0) is the least sig

Fractional conversion:
(0101.011)2 = two parts: a real part / fraction
Real part = 0101 = 0*2(3) + 1*2(2) + 0*2(1) + 1*2(0) = 4 + 1 = (5)10

Fraction = 0.011 = 0*2(-1) + 1*2(-2) + 1*2(-3) = 0.125 + 0.25 = 0.375

Binary to octal:
When converting to octal, always start with binary.
(100001)2 = divide into three-digit parts starting from right:

421 421

100 001

4 1

‫لو الرقم تحته واحد بجمع الي فوق‬
Then the number in octal will be (41)8

Binary to Hexadecimal:
(100001)2 in binary to hexadecimal is the number (21)16.
Divide to four-digit parts starting from right: (if there are no numbers enough add zeros)

8421 8421

0010 0001

2 1



Octal number system:

💡 BASE: 8 SYMBOLS: 0, 1, 2, 3, 4, 5, 6, 7.

Written for

Course

Document information

Uploaded on
November 17, 2023
Number of pages
12
Written in
2023/2024
Type
Class notes
Professor(s)
Dr. aml abo-elenin
Contains
Computer science fundamentals

Subjects

$3.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
haneen2005moh

Also available in package deal

Get to know the seller

Seller avatar
haneen2005moh Faculty of Computer and Information Sciences
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions