Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles by Bhanu Priya
Page 4 of 106
What is the difference between DFA and NFA?
DFA is the short form for the deterministic finite automata and NFA is for the Non-deterministic finite automata. Now, let us understand in detail about these two finite automata.DFAA Deterministic Finite automata is a five-tuple automata. Following is the definition of DFA −M=(Q, Σ, δ, q0, F)Where, Q : Finite set called states.Σ : Finite set called alphabets.δ : Q × Σ → Q is the transition function.q0 ϵ Q is the start or initial state.F : Final or accept state.NFANFA also has five states same as DFA, but with different transition function, as shown follows −δ: Q X Σ ...
Read MoreWhat is computer architecture?
Computer architecture can be defined as a set of rules and methods that describe the functionality, management and implementation of computers. To be precise, it is nothing but rules by which a system performs and operates.Sub-divisionsComputer Architecture can be divided into mainly three categories, which are as follows −Instruction set Architecture or ISA − Whenever an instruction is given to processor, its role is to read and act accordingly. It allocates memory to instructions and also acts upon memory address mode (Direct Addressing mode or Indirect Addressing mode).Micro Architecture − It describes how a particular processor will handle and implement ...
Read MoreWhat is memory hierarchy?
The Computer memory hierarchy looks like a pyramid structure which is used to describe the differences among memory types. It separates the computer storage based on hierarchy.Level 0: CPU registersLevel 1: Cache memoryLevel 2: Main memory or primary memoryLevel 3: Magnetic disks or secondary memoryLevel 4: Optical disks or magnetic types or tertiary MemoryIn Memory Hierarchy the cost of memory, capacity is inversely proportional to speed. Here the devices are arranged in a manner Fast to slow, that is form register to Tertiary memory.Let us discuss each level in detail:Level-0 − RegistersThe registers are present inside the CPU. As they ...
Read MoreWhat is data Abstraction in DBMS?
Data Abstraction is a process of hiding unwanted or irrelevant details from the end user. It provides a different view and helps in achieving data independence which is used to enhance the security of data.The database systems consist of complicated data structures and relations. For users to access the data easily, these complications are kept hidden, and only the relevant part of the database is made accessible to the users through data abstraction.Levels of abstraction for DBMSDatabase systems include complex data-structures. In terms of retrieval of data, reduce complexity in terms of usability of users and in order to make ...
Read MoreWhat are the C library functions?
Library functions are built-in functions that are grouped together and placed in a common location called library. Each function here performs a specific operation. We can use this library functions to get the pre-defined output. All C standard library functions are declared by using many header files. These library functions are created at the time of designing the compilers. We include the header files in our C program by using #include. Whenever the program is run and executed, the related files are included in the C program. Header File Functions Some of the header file functions are as follows − ...
Read MoreWhat is operating system design and implementation?
The operating system is needed to design and implement because without proper design and implementation any system cannot work properly, for every aspect or for any development a proper design and implementation should be necessary so that it can work in good manner and we can easily debug if any failures occur.So, design and implementation is a necessary part of an operating system and this technique can be used by every user who uses a computer.There are different types of techniques to design and implement the operating system.Design goalsMechanismImplementationLet us discuss each technique in detail.Design goalsLet us understand the features ...
Read MoreWhat is a distributed Operating System?
Distributed Operating System is a type of model where applications are running on multiple computers linked by communications. It is an extension of the network operating system which supports higher levels of communication and integration of the machines on the network. Distributed OS runs on multiple CPUs but for an end-user, it is just an ordinary centralized operating system. It can share all resources like CPU, disk, network interface, nodes, computers, etc. from one site to another site, and it increases the data available on the entire ...
Read MoreWhat are noiseless and noisy channels?
Data link layer protocols are divided into two categories based on whether the transmission channel is noiseless or noisy. The data link layer protocol is diagrammatically represented below − Noiseless Channels There are two noiseless channels which are as follows − Simplex channel Stop & wait channel Let us consider an ideal channel where no frames are lost, duplicated, or corrupted. We introduce two protocols for this type of channel. These two protocols are as follows − Protocol that does not use flow control. Protocol that uses the ...
Read MoreCreate a selectable list in HTML
The tag is used to create a drop-down list in HTML document. We just need to add the “multiple” attribute to the element. Now, in order to select multiple options, we use following syntax − text The HTML tag also supports the following additional attributes − Attribute Value Description Disabled disabled Disables the input control. The button won't accept changes from the user. It also cannot receive focus and will be skipped when tabbing. Label text Defines a label to use when ...
Read MoreHow to include the result of a calculation in HTML5?
To define or include a result of calculation in HTML, we use tag. The output tag helps in providing the result of calculation, which is performed by the JavaScript (Client side scripting language). Syntax Following is the usage of tag − --- Attributes The attributes used in output tag is shown below − Attribute Description for List of IDs of other elements, i.e. it indicates the elements who have contributed input value to the calculation. form Enables to place output elements anywhere within a ...
Read More