×
1 Choose EITC/EITCA Certificates
2 Learn and take online exams
3 Get your IT skills certified

Confirm your IT skills and competencies under the European IT Certification framework from anywhere in the world fully online.

EITCA Academy

Digital skills attestation standard by the European IT Certification Institute aiming to support Digital Society development

SIGN IN YOUR ACCOUNT TO HAVE ACCESS TO DIFFERENT FEATURES

CREATE AN ACCOUNT FORGOT YOUR PASSWORD?

FORGOT YOUR DETAILS?

AAH, WAIT, I REMEMBER NOW!

CREATE ACCOUNT

ALREADY HAVE AN ACCOUNT?
EUROPEAN INFORMATION TECHNOLOGIES CERTIFICATION ACADEMY - ATTESTING YOUR PROFESSIONAL DIGITAL SKILLS
  • SIGN UP
  • LOGIN
  • SUPPORT

EITCA Academy

EITCA Academy

The European Information Technologies Certification Institute - EITCI ASBL

Certification Provider

EITCI Institute ASBL

Brussels, European Union

Governing European IT Certification (EITC) framework in support of the IT professionalism and Digital Society

  • CERTIFICATES
    • EITCA ACADEMIES
      • EITCA ACADEMIES CATALOGUE<
      • EITCA/CG COMPUTER GRAPHICS
      • EITCA/IS INFORMATION SECURITY
      • EITCA/BI BUSINESS INFORMATION
      • EITCA/KC KEY COMPETENCIES
      • EITCA/EG E-GOVERNMENT
      • EITCA/WD WEB DEVELOPMENT
      • EITCA/AI ARTIFICIAL INTELLIGENCE
    • EITC CERTIFICATES
      • EITC CERTIFICATES CATALOGUE<
      • COMPUTER GRAPHICS CERTIFICATES
      • WEB DESIGN CERTIFICATES
      • 3D DESIGN CERTIFICATES
      • OFFICE IT CERTIFICATES
      • BITCOIN BLOCKCHAIN CERTIFICATE
      • WORDPRESS CERTIFICATE
      • CLOUD PLATFORM CERTIFICATENEW
    • EITC CERTIFICATES
      • INTERNET CERTIFICATES
      • CRYPTOGRAPHY CERTIFICATES
      • BUSINESS IT CERTIFICATES
      • TELEWORK CERTIFICATES
      • PROGRAMMING CERTIFICATES
      • DIGITAL PORTRAIT CERTIFICATE
      • WEB DEVELOPMENT CERTIFICATES
      • DEEP LEARNING CERTIFICATESNEW
    • CERTIFICATES FOR
      • EU PUBLIC ADMINISTRATION
      • TEACHERS AND EDUCATORS
      • IT SECURITY PROFESSIONALS
      • GRAPHICS DESIGNERS & ARTISTS
      • BUSINESSMEN AND MANAGERS
      • BLOCKCHAIN DEVELOPERS
      • WEB DEVELOPERS
      • CLOUD AI EXPERTSNEW
  • FEATURED
  • SUBSIDY
  • HOW IT WORKS
  •   IT ID
  • ABOUT
  • CONTACT
  • MY ORDER
    Your current order is empty.
EITCIINSTITUTE
CERTIFIED

How can we design a finite state machine that recognizes strings that do not contain a specific sequence, such as "0011"?

by EITCA Academy / Wednesday, 02 August 2023 / Published in Cybersecurity, EITC/IS/CCTF Computational Complexity Theory Fundamentals, Finite State Machines, Examples of Finite State Machines, Examination review

A finite state machine (FSM) is a mathematical model used to represent and analyze systems which exhibit a finite number of states. In the field of computational complexity theory, FSMs are widely used to study the complexity of problems and algorithms. In this context, designing an FSM that recognizes strings not containing a specific sequence, such as "0011", requires careful consideration of the problem at hand.

To design an FSM that recognizes strings not containing the sequence "0011", we need to define the states, inputs, and transitions of the machine. Let's denote the states as Q, the inputs as Σ, the initial state as q0, and the transition function as δ.

First, we define the states of the FSM. In this case, we can define two states: "NoMatch" and "Match". The "NoMatch" state represents the condition where the input string does not contain the sequence "0011", while the "Match" state represents the condition where the input string contains the sequence "0011".

Next, we define the inputs of the FSM. Since we are dealing with binary strings, the inputs can be either 0 or 1. Thus, Σ = {0, 1}.

Now, let's define the transitions of the FSM. We need to determine the transition function δ, which maps a state and an input to a new state. In this case, we can define the following transitions:

1. If the current state is "NoMatch" and the input is 0, the FSM remains in the "NoMatch" state.
2. If the current state is "NoMatch" and the input is 1, the FSM remains in the "NoMatch" state.
3. If the current state is "Match" and the input is 0, the FSM remains in the "Match" state.
4. If the current state is "Match" and the input is 1, the FSM transitions to the "NoMatch" state.

These transitions ensure that the FSM stays in the "NoMatch" state as long as the input string does not contain the sequence "0011". Once the sequence "0011" is encountered, the FSM transitions to the "Match" state and remains there.

To complete the FSM, we need to define the initial state. In this case, the initial state can be set to "NoMatch".

To illustrate the design, let's represent the FSM using a state transition diagram:

         0
NoMatch ----> NoMatch
  |            |
  | 1          | 1
  v            v
Match <----- NoMatch

In this diagram, the arrows represent the transitions between states, and the labels on the arrows represent the inputs that trigger the transitions.

To test the FSM, we can consider some example strings:

1. "010101": The FSM starts in the "NoMatch" state. Following the transitions, it remains in the "NoMatch" state for each input. Thus, the FSM recognizes this string as not containing the sequence "0011".

2. "001100110": The FSM starts in the "NoMatch" state. Following the transitions, it transitions to the "Match" state after encountering the first "0011" sequence. Thus, the FSM recognizes this string as containing the sequence "0011".

By designing an FSM with appropriate states, inputs, and transitions, we can effectively recognize strings that do not contain a specific sequence, such as "0011". This approach can be extended to handle more complex patterns and sequences, providing a valuable tool in the field of computational complexity theory.

Other recent questions and answers regarding EITC/IS/CCTF Computational Complexity Theory Fundamentals:

  • Are regular languages equivalent with Finite State Machines?
  • Is PSPACE class not equal to the EXPSPACE class?
  • Is algorithmically computable problem a problem computable by a Turing Machine accordingly to the Church-Turing Thesis?
  • What is the closure property of regular languages under concatenation? How are finite state machines combined to represent the union of languages recognized by two machines?
  • Can every arbitrary problem be expressed as a language?
  • Is P complexity class a subset of PSPACE class?
  • Does every multi-tape Turing machine has an equivalent single-tape Turing machine?
  • What are the outputs of predicates?
  • Are lambda calculus and turing machines computable models that answers the question on what does computable mean?
  • Can we can prove that Np and P class are the same by finding an efficient polynomial solution for any NP complete problem on a deterministic TM?

View more questions and answers in EITC/IS/CCTF Computational Complexity Theory Fundamentals

More questions and answers:

  • Field: Cybersecurity
  • Programme: EITC/IS/CCTF Computational Complexity Theory Fundamentals (go to the certification programme)
  • Lesson: Finite State Machines (go to related lesson)
  • Topic: Examples of Finite State Machines (go to related topic)
  • Examination review
Tagged under: Automata, Computational Complexity Theory, Cybersecurity, Finite State Machines, State Transition Diagrams
Home » Cybersecurity / EITC/IS/CCTF Computational Complexity Theory Fundamentals / Examination review / Examples of Finite State Machines / Finite State Machines » How can we design a finite state machine that recognizes strings that do not contain a specific sequence, such as "0011"?

Certification Center

USER MENU

  • My Account

CERTIFICATE CATEGORY

  • EITC Certification (106)
  • EITCA Certification (9)

What are you looking for?

  • Introduction
  • How it works?
  • EITCA Academies
  • EITCI DSJC Subsidy
  • Full EITC catalogue
  • Your order
  • Featured
  •   IT ID
  • EITCA reviews (Reddit publ.)
  • About
  • Contact
  • Cookie Policy (EU)

EITCA Academy is a part of the European IT Certification framework

The European IT Certification framework has been established in 2008 as a Europe based and vendor independent standard in widely accessible online certification of digital skills and competencies in many areas of professional digital specializations. The EITC framework is governed by the European IT Certification Institute (EITCI), a non-profit certification authority supporting information society growth and bridging the digital skills gap in the EU.

    EITCA Academy Secretary Office

    European IT Certification Institute ASBL
    Brussels, Belgium, European Union

    EITC / EITCA Certification Framework Operator
    Governing European IT Certification Standard
    Access contact form or call +32 25887351

    Follow EITCI on Twitter
    Visit EITCA Academy on Facebook
    Engage with EITCA Academy on LinkedIn
    Check out EITCI and EITCA videos on YouTube

    Funded by the European Union

    Funded by the European Regional Development Fund (ERDF) and the European Social Fund (ESF), governed by the EITCI Institute since 2008

    Information Security Policy | DSRRM and GDPR Policy | Data Protection Policy | Record of Processing Activities | HSE Policy | Anti-Corruption Policy | Modern Slavery Policy

    Automatically translate to your language

    Terms and Conditions | Privacy Policy
    Follow @EITCI
    EITCA Academy

    Your browser doesn't support the HTML5 CANVAS tag.

    • Artificial Intelligence
    • Quantum Information
    • Cloud Computing
    • Cybersecurity
    • Web Development
    • GET SOCIAL
    EITCA Academy


    © 2008-2026  European IT Certification Institute
    Brussels, Belgium, European Union

    TOP
    CHAT WITH SUPPORT
    Do you have any questions?
    We will reply here and by email. Your conversation is tracked with a support token.