CS101 Topic-002. Breadth first learning Discussion
-
Slam sir Icannot understand the bits pattern
-
@Ghulam-Ayesha said in CS101 Topic-002. Breadth first learning Discussion:
Slam sir Icannot understand the bits pattern
WaAlaikum Assalam
Dear student,
In bits patterns, it is told that 1 bit can form 2 patterns, 2 bits can form 4 patterns, 3 bits can form 8 patterns and so on. It can be calculated as:
2^1 = 2
2^2 = 4
2^3 = 8
2^4 = 16
For two-bit pattern, you have 0000 and 0001
For three-bit pattern, you have 0000, 0001 and 0010
And so on…
In bit pattern, you can represent like:
8 7 6 5 4 3 2 1 0 1000 0111 0110 0101 0100 0011 0010 0001 0000 For characters like ABC, codes are given in ASCII table. You can calculate the binary number for any character according to the given code.
Learn More About Bits and Bit Patterns.
-
@Muazzam said in CS101 Topic-002. Breadth first learning Discussion:
What is difference between intitle, inURL and intext? I think there is no difference between them
Dear Student,
The “inurl” operator finds all those web pages which contains the mentioned query in the url of the web pages.The “intitle” operator will give us only those web pages in which the searched term appears in the title of the web pages.
With the “intext” operator we can search anywhere in the body of the document.
It is advised to listen to the related topic carefully to understand their working in detail. -
Asslam o Alaikum Sir, Respectfully Sir Patteren of Bits sai se smj nai aya that how bits convert 2-4 and 4-8 an so on it is main confusion
-
@Ehtisham-Ali said in CS101 Topic-002. Breadth first learning Discussion:
Asslam o Alaikum Sir, Respectfully Sir Patteren of Bits sai se smj nai aya that how bits convert 2-4 and 4-8 an so on it is main confusion
Each bit can represent either 0 or 1, so we have two unique patterns per bit. So, E.g. if bit n=1 implies 21= 2 patterns (0 or 1), if n=2 implies 22 = 4 patterns (00, 01, 10, 11). And similarly so on. So, Number of possible patterns of N bits = 2N.
Learn More About Bits and Bit Patterns. -
@Asad-Ali said in CS101 Topic-002. Breadth first learning Discussion:
Bit is a computer abrivation or mathematical abrivation???
Bit is not an abbreviation. It is the smallest unit of measurement used to quantify computer data. It contains a single binary value of 0 or 1.