GATE 2026 CS1 Question 22 – Digital Logic
Consider the 8-bit signed integers 𝑋, 𝑌 and 𝑍 represented using the sign-magnitude form. The binary representations of 𝑋 and 𝑌 are…
Read more →Consider the 8-bit signed integers 𝑋, 𝑌 and 𝑍 represented using the sign-magnitude form. The binary representations of 𝑋 and 𝑌 are…
Read more →Let 𝑛 be an odd number greater than 100. Consider a binary minheap with 𝑛 elements stored in an array 𝑃 whose…
Read more →Consider a hash table 𝑃[0, 1, … , 10] that is initially empty. The hash table is maintained using open addressing with…
Read more →Consider the following grammar where 𝑆 is the start symbol, and 𝑎 and 𝑏 are terminal symbols. 𝑆 →𝑎𝑆𝑏𝑆 ∣ 𝑏𝑆 ∣…
Read more →Consider the following program snippet. Assume that the program compiles and runs successfully. Further, assume that the fork() system call is always…
Read more →Let M be a nondeterministic finite automaton (NFA) with 6 states over a finite alphabet. Which of the following options CANNOT be…
Read more →Consider a CPU that has to execute two types of processes. The first type, Actuators (A), requires a CPU burst of 6…
Read more →Consider the following C statements: char *str1 = "Hello; /* Statement S1 */ char *str2 = "Hello;"; /* Statement S2 */ int…
Read more →Consider 4 × 4 matrices with their elements from {𝟎, 𝟏}. The number of such matrices with even number of 𝟏s in…
Read more →Which of the following statements is/are true?
Read more →Ask a study question in English or Hindi. I will find relevant passages from our notes.