Monday, 29 April 2019

Different operation on file stream 【Atiq khan】

STREAM
A stream is a sequence of bytes in NTFS  file system  stream contain that data  is written in a file and that gives more information about a file that attributes and properties
e.g
U can creat a stream that contain search keywords or the identity of the user account that creat file

OPERATION ON FILE STREAM
to handle large amount of data in such situation when you need to use some sceondry storage device to store the data
 Program can be written to perform read and write operation

FILE HANDLING CLASSES

ofstream . 【signifies the output stream and is applied to creat files for writing information

Ifstream.  【signifies the input file stream and is applied for reading information from files

fstream .  【signifies file stream generally and has capabilities for repersenting both ofstream and ifstream
All the above three classes derived from fstreambase and form iostream classes to specifically to manage disk file


              OPENING  FILE
The first operation generally  done on abject of classes to use file is opening file.
An open  file is repersented within program by  a stream and any input or output task
Performed on this stream will be applied to the physical file associated with it


              CLOSING  FILE
 When any program terminates it autonatically flushes out all the stream releases all the allocated memory  and closes all open file
use

Friday, 26 April 2019

Encrypted data and polymorphism and virtual function

Polymorphism◆◆●●
Mean many form of object in different condition
Polymorphism is a ability of (OOP) object oriented programming language
Object of class behave differently in different condition while code is being executed e.g
When parent class reference is used to refer to child class object
Polymorphism typically occurs when there is hierarchy 
There are two type of polymorphism
1.Static /compile time polymorphism (early binding )
The example of polymorphism is method of overloading  its a example of static polymorphism or  compile time
The method of overriding is a example of dynamic or run time polymorphism

2. Dynamic/  run time polymorphism  (late binding )

Virtual function 
A virtual function is a member function that is expect to redefined in derived classes
When you refer to derived   class object using pointer or reference to  base class you can call the virtual function 

Protected data ◆◆◆●●

Some times it is called encrypted  data
The data or information which is personally identifiable  is called protected data  all the  information are encrypted no third party can understand 
Database security  refers to collectively  measure   used to protect and secure the data base  from illegitimate  use and  malicious threats and attacks


Wednesday, 24 April 2019

Can we capture the radiation into electrical energy


We all know that energy can never be created nor   distroyed  from one form to but it can
We all know that sun's radiation are captured and transform into electrical energy by solar panel or photovoltaic materials .
But we can capture the radiation that is emitted by mobile in very small amount   we can say when we talking about the electrical energy.  And stored that radiation   with the help of some other radio active materials we can increase the efficiency of that rays or radiation .the  frequency of the radiated rays  is not equal to the frequency to  the light 
be changed one form to  another form its basic theory of thermodynamic

Neural network

One of the most powerful things about our brains is the way neurons allow us to learn. Computer scientists have been inspired by the way th...