The minimum number of D flip-flops needed to design a mod-258 counter is

This question was previously asked in
GATE CS 2011 Official Paper
View all GATE CS Papers >
  1. 9
  2. 8
  3. 512
  4. 258

Answer (Detailed Solution Below)

Option 1 : 9
Free
GATE CS Full Mock Test
5.3 K Users
65 Questions 100 Marks 180 Mins

Detailed Solution

Download Solution PDF

The correct answer is option 1

Concept:

Binary modulo N counter can count up to 0 to N – 1

Therefore, binary modulo 258 counters will count from 0 to 257 (order may vary)

Formula:

Minimum number of flip flop needed = ⌈log2 N⌉

Calculation:

An n-bit binary counter consists of n flip-flops and can count in binary from 0 to 2n – 1

Mod 258 counter has 258 states. We need to find the number of bits to represent max 257

\(\lceil{log_2n}\rceil = \lceil{log_2258}\rceil =9\) bits required

So the minimum number of D flip-flops needed is 9.

Latest GATE CS Updates

Last updated on Jan 8, 2025

-> GATE CS 2025 Admit Card has been released on 7th January 2025.

-> The exam will be conducted on 1st February 2025 in 2 shifts.

-> Candidates applying for the GATE CE must satisfy the GATE Eligibility Criteria.

-> The candidates should have BTech (Computer Science). Candidates preparing for the exam can refer to the GATE CS Important Questions to improve their preparation.

-> Candidates must check their performance with the help of the GATE CS mock tests and GATE CS previous year papers for the GATE 2025 Exam.

Get Free Access Now
Hot Links: teen patti game online teen patti master 2023 teen patti 500 bonus teen patti joy 51 bonus teen patti - 3patti cards game