Nancy Den has Published 290 Articles

I/O-mapped I/O or memory-mapped I/O in 8085 Microprocessor

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

7K+ Views

Before having a discussion regarding the demerits or merits of I/O mapped I/O and memory-mapped I/O, let us have a generic discussion regarding the difference between I/O mapped I/O and memory mapped I/O.In Memory Mapped Input Output −We allocate a memory address to an Input-Output device.Any instructions related to memory ... Read More

Description of 8255 PPI

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

6K+ Views

Intel 8255 is a peripheral interface (PPI) chip which is programmable. It is used for the connection of peripheral devices and interfacing. We call Peripheral device also as Input Output device. We use Input Output ports for the connection of Input Output devices. Hence 8255 is a programmable Input Output ... Read More

Operational modes of 8255

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

2K+ Views

There are three modes of operation which are supported by 8255. We call them as mode 0, mode1 and mode 2.We call the mode 0 as the simple Input Output or the basic Input Output for performing the simplest mode of operation. Every ports of 8255 can be programmed to ... Read More

IntStream sequential() method in Java

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

441 Views

The sequential() method of the IntStream class in Java is used to return a sequential IntStream. The syntax is as follows:IntStream sequential()First, create an IntStream and elements in a range using the range() method:IntStream intStream1 = IntStream.range(11, 21);Now, for a sequential IntStream, use the sequential() method like this:IntStream intStream2 = ... Read More

LongStream min() method in Java

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

141 Views

The min() method of the LongStream class in Java returns an OptionalLong describing the minimum element of this stream, or an empty optional if this stream is empty.The syntax is as follows:OptionalLong min()Here, OptionalLong is a container object which may or may not contain a long value.To use the LongStream ... Read More

Control port of 8255

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

6K+ Views

In 8255, there are two types of command words or control word are available. And they are −Mode definition control word andPort C bit set/reset control word.Both these are written to the control port only. From the point of view of the microprocessor there is a single 8-bit control port, ... Read More

What is ResultSetMetaData in JDBC? What is its significance?

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

6K+ Views

The ResultSetMetaData provides information about the obtained ResultSet object like, the number of columns, names of the columns, datatypes of the columns, name of the table etc…Following are some methods of ResultSetMetaData class.MethodDescriptiongetColumnCount()Retrieves the number of columns in the current ResultSet object.getColumnLabel()Retrieves the suggested name of the column for use.getColumnName()Retrieves ... Read More

How many locking systems are there in JDBC?

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

821 Views

You can lock a record, set of records, database table, table-space etc. and when we do we cannot change the locked values. Following are the types of locking in JDBC:Row and Key Locks: These are used to lock a particular row. Using these locks, you can achieve concurrency.Page Locks: These ... Read More

DoubleStream min() method in Java

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

128 Views

The min() method of the DoubleStream class returns an OptionalDouble describing the minimum element of this stream, or an empty OptionalDouble if this stream is empty.The syntax is as follows:OptionalDoublemin()Here, OptionalDouble is a container object which may or may not contain a double valueTo use the DoubleStream class in Java, ... Read More

What is the use of the method setAutoCommit() in JDBC?

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

2K+ Views

If you commit a database, it saves all the changes that have been done till that particular point.You can commit a database using the commit() method. Whenever any issue occurs you can revert the database to this point using the rollback() method. By default, some databases commit the databases automatically. ... Read More

Advertisements