Skip to main content

Posts

Memory Hierarchy ( For O-LEVEL/BCA/MCA Computer Fundamental Examination )

Internal Processor Memory :- → The Internal Processor memory is also known as processor memory which is direct connected to the processor. → This memory help for manage the processing in computer. → There are two types of Internal Processor memory such as: (a) Cache Memory (b) CPU Memory. (a) Cache Memory :- → Cache Memory is very fast and expensive memory. → Cache Memory work as bridge between Processor and RAM. → The Cache Memory is direct attach with micro - processor and RAM. → The Cache Memory used for increased the speed of data processing in computer. → The Cache Memory is also known as static memory where the data is forcly deleted. → The Cache Memory store all the data instruction which is ready for process. → The speed of Cache Memory is measured in NANO SEC. → There are two type of Cache Memory: (a) L1 Cache (b) L2 Cache. → In L1 Cache the small set of instructions  are store and the size of L1 Cache is up to 256KB. → In L2 Cache ...

UGC-NET Computer Science (RSA-Algorithm Solution)

UGC-NET RSA-Algorithm Solution Using RSA algorithm, what is the value of cipher text C, if the plain text M = 5 and p = 3, q = 11 & d = 7 ?  (A) 20 (B) 52  (C ) 26  (D )31 Solution:- All the values are given i.e. p=3, q=11       then n=(p * q) = (3 * 11)=33    Find value of m=(p-1)*(q-1) = (2 * 10)=20 Find a small odd integer e, that is relatively prime to m. If e=3, then GCD(3,20)=1. e should be small and prime and so we let e=3. Value of d is given, d=7. Public key = (e,n). To encrypt a message, we apply the public key to the function  E(m) = m e (mod n) then:-    = 5 3 (mod 33)    = 125 (mod 33)    = 26 As a result, the encrypted message E(M) = 26. It is the transmitting message.

Multiple Inheritance

Multiple Inheritance In multiple inheritance a class can access the property of more than one class. This inheritance is use for multiple accessing of properties. In multiple inheritance ambiguty is  occured when same name function is declare in both class and the object is confuse with function is called.  syntax − class derived-class: access baseA, access baseB.... Where access is one of public, protected, or private and would be given for every base class and they will be separated by comma as shown above. Let us try the following  example − #include <iostream.h> #include <conio.h>  // Base Class class Shape  {    public:       void getwidth(int w) {          width = w;       }       void getheight(int h) {          height = h;       }           prot...

Internet of Things (IOT)

Internet of Things (IoT)   Today all the electronic devices are controlled by using programmed equipment. The internet allow to access all the data form several location. Thus if we want to access all the device on world wide location then we connect the devices to the internet.  Internet of Things is a concept of computer that allow to access the physical objects that connected to the  internet and able to access themselves to other devices.  In this technology, sensor technology is use to sense the device and perform the specific operation. IOT help to make a intelligent machine.                                 The internet of things is a difficult concept to define precisely. In fact, there are many different groups that have defined the term, although its initial use has been attributed to Kevin Ash...

CALCULATING SUBNET MASKING

Calculating Subnet Masking:- ---------------------------- 1. Network Id / Subnet address 2. Subnet Mask 3 .Interface So with the help of these we can figure out where to send a packet. IP address 201.14.78.65                   subset mask 255.255.255.224  IP address 11111111.11111111.11111111.11100000  Subnet Mask 11001001.00001110.01001110.01000001  Subnet address 11001001.00001110.01001110.01000000                        201      .    14        .   78        .   64