HTML & CSS
390 subscribers
728 photos
1 video
4 files
54 links
πŸ‘Œ HTML & CSS
@html_css_tut

πŸ‘ŒJavaScript
@javascript_tut

πŸ‘Œ PHP
@php_tut


πŸ‘ŒAll About Coding
@codingWithElias
Download Telegram
Spyware

⚠️ Is a kind of malware that is designed to collect information and data on users and observe their activity without users' knowledge.


Other types of malware include functions or features designed for a specific purpose.

Ransomware

⚠️ for example, is designed to infect a user's system and encrypt the data.

⚠️ Cybercriminals then demand a ransom payment from the victim in exchange for decrypting the system's data.

@Computer_science_course
Computer Number System

1. Bit:
πŸ“Œ Is the smallest unit of data representation.
πŸ“Œ Is a space that can hold a single state.

2. Byte:
πŸ“Œ Is the smallest unit of data measurement.
πŸ“Œ Is a single group of 8 bits. [1 Byte = 8 Bits.]

3. Word:
πŸ“Œ Is a group of 8 Bytes. [1 word = 8 Bytes.]

@Computer_science_course
Decimal Number System

Z = {0,1,2,3,4,5,6,7,8,9};
Base = 10

πŸ“Œ Each position to the left of a digit increases by a power of 10.

πŸ“Œ Each position to the right of a digit decreases by a power of 10.

@Computer_science_course
Binary Number System

πŸ“Œ Has two states 1(ON state)
and 0(OFF state).

Z = {0,1};
Base = 2

Unsigned number representation

With n bits we can represent 2^n unsigned integer numbers.

⚠️Remember: This ^ Indicates The Power Of

❗️ Range: from 0 to 2^n -1

So with 8 bits we can represent 2^8 = (256) numbers from 0 to 2^8 -1 = (255).

πŸ“Œ Each position to the left of a digit increases by a power of 2.
πŸ“Œ Each position to the right of a digit decreases by a power of 2.

Example:
(11001)2 = 1*2^0 + 0*2^1 + 0*2^2 + 1*2^3 + 1*2^4
= (25)10

@Computer_science_course
Signed number representation

▢️ Here we would need to consider sign, meaning we represent both positive and negative numbers.

πŸ“Œ Sign and magnitude
With this method we reserve the most significant bit of the left most bit for sign.

This bit is called sign bit.

range becomes from -2^n-1 -1 to 2^n-1 -1

@Computer_science_course
▢️ Binary to decimal conversion
πŸ“ŒExample @Computer_science_course
▢️ decimal to binary conversion
πŸ“ŒExample @Computer_science_course
Octal Number System

Z = {0,1,2,3,4,5,6,7};
Base = 8

πŸ“Œ Each position to the left of a digit increases by a power of 8.

πŸ“Œ Each position to the right of a digit decreases by a power of 8.

@Computer_science_course
Hexadecimal Number System

Z = (0,1,2,3,4,5,6,7,8,9, A, B, C, D, E, F};
Base = 16

πŸ“Œ Each position to the left of a digit increases by a power of 16.

πŸ“Œ Each position to the right of a digit decreases by a power of 16.

@Computer_science_course
▢️ Computer Number system summary

@Computer_science_course
▢️ Octal to binary conversion
πŸ“ŒExample @Computer_science_course