A synchronous sequential circuit is designed to detect the bit sequence 0101 (including overlapping sequences). Every time this sequence is detected, the circuit produces an output of 1. What is the minimum number of states the circuit must have?
Asked in APPSC (Arunachal) Question Booklet (Set-A) of Paper I and Paper II 2026
Show answer
Answer: A. 4
More APPSC Prelims previous year questions questions
- Statement 1 : A register is a collection of flip-flops. Statement 2 : To store n-bit data, a register comprising n+1 number of flip-flops. Choose the correct option :
- What will be the output of the following C code? #include <stdio.h> int main() { signed char chr; chr = 128; printf("%d\n", chr); return 0; } Choose the correct option.
- What is the output of the following C program? #include<stdio.h> void main() { int a=10,b,c; b=++a; c=b++; printf ("%d\t%d\t%d", a,b,c); } Choose the correct option.
- Which is the correct function name for overloading the addition (+) operator in C++?
- What will be the output for the following C program? #include<stdio.h> void func() { int x=0; x++; printf("%d", x); } int main() { func(); func(); func(); func(); } Choose the correct option.
- What will be the output of the following C code? #include <stdio.h> int main() { int arr[] = {1, 2, 3, 4, 5, 6}; int i; int key = 5; int size = 6; for (i = 0; i < size; i++) { if (arr[i] == key) { printf("Element found at position: %d", i); break; } } return 0; } Choose the correct option.
- In which block should C++ code that may cause abnormal termination or exceptions be written?
- Which of the following statements is incorrect about function overriding?