Understanding JK Flip-Flops: Race Condition & Master-Slave Design
Understanding Race Conditions and Master-Slave JK Flip-Flops
The JK flip-flop diagram below represents the basic structure, which consists of Clock (CLK), Clear (CLR), and Preset (PR).
Race Around Condition in JK Flip-Flops
For a JK flip-flop, if J=K=1, and if clk=1 for a long period, the output Q will toggle as long as CLK remains high, making the output unstable or uncertain.
This is called a race around condition in a JK flip-flop.
We can overcome this problem by ensuring the clock =1 for a very short
Read MoreUnderstanding Gray Code, DVD-RW, HSDPA, and User Access
Understanding Key Digital Concepts
Gray Code (Reflected Binary Code)
The reflected binary code, or Gray code, named after researcher Frank Gray, is a binary numeral system where two successive values differ in only one digit. The Gray code was originally designed to prevent spurious signals from electromechanical switches. It is currently used to facilitate error correction in communication systems, such as certain cable television systems and digital terrestrial television.
A code is called Johnson
Read MoreDatabase Management Systems: Concepts and Applications
A database management system (DBMS) is a software package designed to define, manipulate, retrieve, and manage data in a database.
Characteristics of DBMS
- Provides security and removes redundancy (duplication)
- Insulation between programs and data abstraction
- Support of multiple views of the data
- Sharing of data and multiuser transaction processing
- DBMS allows entities and relations among them to form tables.
Objective of DBMS
- Eliminate redundant data.
- Make access to the data easy for the user.
- Provide for
Understanding Office Automation: Components and Configuration
Understanding Office Automation
Phases of Company Information Management: Collection, storage, processing, distribution, and presentation.
Office Automation: The branch of computer science focused on automating typical office processes.
Key Components of Office Automation
Word Processor: Enables creating, manipulating, and storing text with various formatting options and automatic spell checking.
Spreadsheet: Allows entering text and numbers for automatic calculations and presenting results in different
Read MoreOperating Systems Concepts: Key Questions and Answers
Process States: Active but Not Running
Which of the following alternatives represents the state of the processes that are active but not running?
Wait Time.
Kernel Definition
Definition: A set of basic routines whose mission is to manage the processor, memory, and other resources. Provides for:
Kernel.
Multiprogramming Concept
The concept of Multiprogramming relates to:
The CPU executes various tasks, alternating between them, optimizing the use of the CPU.
Process Definition
Which of the following statements
Software Refactoring and Its Impact on Code
Refactoring
What if your design is wrong?
Refactoring is the process of changing a software system:
- In such a way that it does not alter the externally-visible behavior of the code, yet improves its internal structure.
- But many changes will alter externally-visible behavior! Must be careful.
Standard Refactoring
- There are some refactoring operations that can be applied in many places. Whole catalogues are devoted to these.
Rename
- Names matter; fix them when they fail to express purpose clearly.
- Can be applied