Posts

Showing posts from January, 2021

List Comprehensions

 List making style.. List comprehension is a powerful way to create lists. syntax:: L=[i for i in range(n)] Here is a simple example given.. string="hello" L=[1,4,5,9,12] M=["one", "two", "three", "four", "five"] Lists------- [o for i in range(100)] output=[0,0,0,0,0,0,0,0,0,0] [i**2 for i in range(1,8)] output=[1,4,9,16,25,36,49] [i*10 for i in L] output=[10,40,90,120] [c*2 for c in string] output["hh", "ee", "ll", "ll", "oo"] [M[0] for m in M] output=["o", "t", "t", "f", "f"] [i for i in L if i<10] output=[1,4,5,9] 😎😎😎😎😎😎

Star Topology

Image
 About Star Topology. In star configuration, the central computer performs all processing and control functions. All access devices are linked directly to the central computer. The star configuration has two major limitations. First of all, the remote devices are unable to communicate directly. Instead they must communicate via the central computer only. Secondly, the star network very capable to failure, either in the central computer or the transmission links. Advantage of star topology: 1. Secure network because of central computer. 2.Easy to find network failure or errors. 3.Able to connect multiple nodes(Computer) 4.Scalable. Disadvantage of star topology: 1. If central computer goes down then full network goes down. 2.Expensive to install. 3.Doesn't possible to communicate directly from computer to     computer.  star topology img:www.google.com      

LAN Topologies

 What is LAN Topology ? LAN . LAN is a local area network around a building or area of small Organization, Where different computers or electronic device connected with each other to perform a similar task. Because of limited resources in organization we used LAN topology to use limited resources for better production. This is a small network where data speed rate from 50mbps to 1gbps. It is easy to setup this type of network if user have few knowledge about networking. Different types of LAN topologies are :: 1.Bus topology 2.Star topology  3.Tree topology  4.Ring topology 5.Mesh topology 

Types of RAM.

 Types of RAM. There are two types of RAM. 1. Static RAM  2. Dynamic RAM 1. Static RAM  This is a type of RAM which is fastest compare to DRAM. SRAM use multiple Transistors  for each memory cell. SRAM stores information as long as it is supplied with power. It is expensive then DRAM and access speed  also fast ranges from 2-10 nanoseconds. Because of using transistors SRAM consumption low power .  The density of this SRAM is also low. The main example of SRAM is cache memory which is nearest to microprocessor and hold control signals and ready instructions to be executed . 2. Dynamic RAM DRAM use capacitors as storage unit. Capacitors holds the bit of information in binary form 0's and 1's. DRAM is slow in speed comparing to SRAM  in speed . It is cheapest memory and have a high density. This memory consumption a high power. But nowadays DRAM is updated and power consumption problem is decreasing. The example of DRAM is DDR1, DDR2 which access speed ...

About RAM

Image
 RAM. About RAM  RAM stand's for Random Access Memory. RAM is type of Memory device which holds programs or instructions which is going to be executed. So we  say that RAM is a primary memory which stores currently running programs . Some features of RAM are as Follows:: --RAM is a volatile memory  --It is expensive memory device.  --We read and write data instructions in RAM. --High speed memory Types of RAM are ::: 1. Static RAM (SRAM)  2. Dynamic RAM (DRAM) Pic of RAM given below.... Pic: RAM  from:google.com

Window Commands

 Window Top Commands.    Date :            To find current date. Time :          To display current time. CD :          Change Directory ..Used to switch directories in MS-DOS.  CD.. :           Goes back from current directory to previous directory.  CD / :           Goes to highest , root directory. MD :           Make Directory. Used to create new directory.           syntax= md directory_name Start directory_name :           To open folder using cmd. C:\> d:  :           This command is used to change another directory . RD :            Used to remove directory. Copy con filename.txt :           Create a new file with extension of (txt). Rename :       ...

While Loops Programms

Image
 Write a program  that play a simple number guessing game: In this program we use Random Function to generate random numbers for the program. Here is the code:       >>    Output  >>

Python Fibonacci series

Image
 Python program. * Write a program to find Fibonacci series in simple way. Program::  a, b=0,1    # assign a value  while a<100:  # number upto 100  print(a)  a, b = b, a+b  # swap a value                 >> Output >>