Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Filter
User Sujith48
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by Sujith48
2
answers
1
GATE CSE 2024 | Set 2 | GA Question: 9
A cube is to be cut into $8$ pieces of equal size and shape. Here, each cut should be straight and it should not stop till it reaches the other end of the cube. The minimum number of such cuts required is $3$ $4$ $7$ $8$
commented
in
Spatial Aptitude
Feb 17
3.5k
views
gatecse2024-set2
spatial-aptitude
1
answer
2
Give state diagrams of DFAs recognizing the following languages. In all parts, the alphabet is {0,1}.{w| w starts with 0 and has odd length, or starts with 1 and has even length}
answered
in
Theory of Computation
Feb 15
105
views
2
answers
3
GO Classes Test Series 2024 | Mock GATE | Test 12 | Question: 38
Consider the following jobs along with their arrival and execution time. ... What is the average turnaround time for these processes with the preemptive shortest remaining processing time first (SRPT) algorithm?
commented
in
Operating System
Jan 29
703
views
goclasses2024-mockgate-12
goclasses
numerical-answers
operating-system
process-scheduling
2-marks
2
answers
4
GO Classes Test Series 2024 | Mock GATE | Test 12 | Question: 63
A town has $2017$ houses. Of these $2017$ houses, $1820$ have a dog, $1651$ have a cat, and $1182$ have a turtle. If $x$ is the largest possible number of houses that have a dog, a cat, and a turtle, and $y$ is the smallest possible number of houses that have a dog, a cat, and a turtle, then $x-y$ is ______. $1182$ $638$ $563$ $619$
commented
in
Quantitative Aptitude
Jan 22
983
views
goclasses2024-mockgate-12
goclasses
quantitative-aptitude
algebra
2-marks
1
answer
5
GO Classes Test Series 2024 | Mock GATE | Test 11 | Question: 10
Let $n$ be any positive integer and $1 \leq x_1<x_2<\ldots<x_{n+1} \leq 2 n$, where each $x_i$ is an integer Which of the following must be true? There is an $x_i$ that is the square of an integer. There is an $i$ such that $x_{i+1}=x_i+1$. There is an $x_i$ that is prime I only II only I and II I and III
commented
in
Quantitative Aptitude
Jan 14
660
views
goclasses2024-mockgate-11
goclasses
quantitative-aptitude
algebra
2-marks
2
answers
6
GO Classes Test Series 2024 | Mock GATE | Test 11 | Question: 44
Acceptable input for a certain pocket calculator is a finite sequence of characters each of which is either a digit or a sign. The first character must be a digit, the last character must be a digit, and any character that is a sign must be followed by a digit. There ... by $N_k=a N _{k-1}+b N _{k-2}$, for $k \geq 3$. What is $a+ b?$
answer edited
in
Combinatory
Jan 14
539
views
goclasses2024-mockgate-11
goclasses
numerical-answers
combinatory
recurrence-relation
2-marks
1
answer
7
GO Classes Test Series 2024 | Mock GATE | Test 11 | Question: 65
Consider the following non-deterministic pushdown automaton. The input alphabet is $\{a, b\}$, the stack alphabet is $\{*, a, b\}$, and the initial stack symbol is $*$. Acceptance is by empty stack. We use $x$ as a variable that ranges over ... and $a, a: a a$ and $a, b: a b$. How many strings of length $12$ are accepted by this NPDA?
commented
in
Theory of Computation
Jan 14
706
views
goclasses2024-mockgate-11
goclasses
numerical-answers
theory-of-computation
pushdown-automata
2-marks
3
answers
8
System Call FORK()
Int main () { fork(); printf("a"); fork(); printf("b"); return 0; } How many distinct outputs are possible of above code? And also give outputs
answered
in
Operating System
Dec 10, 2023
771
views
operating-system
fork-system-call
5
answers
9
GATE CSE 2023 | Question: 29
Consider the context-free grammar $G$ below \[ \begin{array}{l} S \rightarrow a S b \mid X \\ X \rightarrow a X \mid X b \mid a \mid b, \end{array} \] where $S$ and $X$ are non-terminals, and $a$ and $b$ are terminal symbols. The starting non- ... $G$ is $a^{\ast} b^{\ast}(a+b)$ The language generated by $G$ is not a regular language
answered
in
Theory of Computation
Dec 10, 2023
8.5k
views
gatecse-2023
theory-of-computation
context-free-grammar
2-marks
1
answer
10
#c #cprogram
#include<stdio.h> int main() { int i; for(i =-1;i<sizeof(i);i++) printf("%d",i); } The output of the code is didn't enter to the loop and prints nothing. Can anyone explain
answer edited
in
Study Resources
Dec 10, 2023
215
views
programming-in-c
query
1
answer
11
parsers and dfa construction
Hi, there my question is while constructing DFA for LL(1) or LR(0), or SLR (1). parsing I'm seeing different variants of DFA for the same problem set, and I'm not able to determine which is correct and which is not please help I'm providing a question ... S->dA/aB A->bA/c B->bB/c so first is this second is this which one is correct and why please ex
answered
in
Compiler Design
Dec 8, 2023
183
views
theory-of-computation
number-of-dfa
number-of-states
1
answer
12
NTA PhD Entrance Examination CS 2023| Part 2 Question: 24
Question No. 24 / Question ID 974070 Marks: 4.00 What is the correct output of the following $\mathrm{C}$ program? void main() \{ int $\mathrm{a}, \mathrm{b}$; $\mathrm{a}=10,20$; $\mathrm{b}=(10,20)$; printf("\%d, \%d", a, b); \} 1. 10,20 2. 20,10 3. compilation error 4. 10,10 1 2 3 4 (Chosen Option)
answered
in
Others
Dec 7, 2023
94
views
nta-phd-cs-2023
3
answers
13
Made Easy Test Series - Compiler Design
$\text{ Find $\textbf{First(A)}$ and $\textbf{Follow(B)}$ }?$
answered
in
Compiler Design
Dec 7, 2023
544
views
compiler-design
made-easy-test-series
first-and-follow
1
answer
14
Can someone help me for better understanding.
commented
in
Theory of Computation
Aug 1, 2023
300
views
theory-of-computation
regular-expression
number-of-dfa
2
answers
15
Convert given DFA to regular expression, I think it's just that 2 is dead state and thus can be eliminated.
commented
in
Theory of Computation
Aug 1, 2023
801
views
theory-of-computation
number-of-dfa
regular-expression
1
answer
16
Theory of computation
Design a DFA corresponding to regular expression 1*(10)*
commented
in
Theory of Computation
Jun 25, 2023
825
views
theory-of-computation
regular-expression
2
answers
17
Peter Linz Edition 4 Exercise 3.1 Question 12 (Page No. 76)
Find a regular expression for the complement of the language in $L (r) =$ {$a^{2n}b^{2m+1}: n ≥ 0, m ≥ 0$}.
comment edited
in
Theory of Computation
Jun 12, 2023
473
views
peter-linz
peter-linz-edition4
regular-expression
theory-of-computation
regular-language
1
answer
18
Theory of Computation
Convert the following DFA to a regular expression:
commented
in
Theory of Computation
Jun 11, 2023
869
views
theory-of-computation
regular-expression
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...