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 >>
Get link
Facebook
X
Pinterest
Email
Other Apps
Comments
Popular posts from this blog
Python else if condition n = int ( input () . strip ()) check = { True : "Not Weird" , False : "Weird" } print ( check [ n % 2 == 0 and ( n in range ( 2 , 6 ) or n > 20 ) ])
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
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
Comments
Post a Comment