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
Recent questions tagged gatecse2024-set1
0
votes
0
answers
1
GATE 2024 CSE1
I have a question that can we use command line arguments without main function arguments? int main(int argc, char **argv){ }
RahulVerma3
asked
in
Programming in C
Mar 16
by
RahulVerma3
99
views
gatecse2024-set1
programming-in-c
1
vote
2
answers
2
GATE CSE 2024 | Set 1 | Question: 1
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be a function such that $f(x)=\max \left\{x, x^3\right\}, x \in \mathbb{R}$, where $\mathbb{R}$ is the set of all real numbers. The set of all points where $f(x)$ is NOT differentiable is $\{-1,1,2\}$ $\{-2,-1,1\}$ $\{0,1\}$ $\{-1,0,1\}$
Arjun
asked
in
Calculus
Feb 16
by
Arjun
3.3k
views
gatecse2024-set1
calculus
3
votes
7
answers
3
GATE CSE 2024 | Set 1 | Question: 2
The product of all eigenvalues of the matrix $\left[\begin{array}{lll}1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9\end{array}\right]$ is $-1$ $0$ $1$ $2$
Arjun
asked
in
Linear Algebra
Feb 16
by
Arjun
2.6k
views
gatecse2024-set1
linear-algebra
2
votes
5
answers
4
GATE CSE 2024 | Set 1 | Question: 3
Consider a system that uses $5$ bits for representing signed integers in $2$ 's complement format. In this system, two integers $A$ and $B$ are represented as $A$=$01010$ and $B$=$11010$. Which one of the following operations will result in either an arithmetic overflow or an arithmetic underflow? $A+B$ $A-B$ $B-A$ $2 * B$
Arjun
asked
in
Digital Logic
Feb 16
by
Arjun
3.4k
views
gatecse2024-set1
digital-logic
0
votes
1
answer
5
GATE CSE 2024 | Set 1 | Question: 4
Consider a permutation sampled uniformly at random from the set of all permutations of $\{1,2,3, \cdots, n\}$ for some $n \geq 4$. Let $X$ be the event that $1$ occurs before $2$ in the permutation, and $Y$ the event that $3$ occurs before ... The events $X$ and $Y$ are independent Either event $X$ or $Y$ must occur Event $X$ is more likely than event $Y$
Arjun
asked
in
Probability
Feb 16
by
Arjun
2.1k
views
gatecse2024-set1
probability
0
votes
2
answers
6
GATE CSE 2024 | Set 1 | Question: 5
Which one of the following statements is FALSE? In the cycle stealing mode of DMA, one word of data is transferred between an I/O device and main memory in a stolen cycle For bulk data transfer, the burst mode of ... driven I/O mechanism The CPU can start executing an interrupt service routine faster with vectored interrupts than with non-vectored interrupts
Arjun
asked
in
CO and Architecture
Feb 16
by
Arjun
1.9k
views
gatecse2024-set1
co-and-architecture
3
votes
2
answers
7
GATE CSE 2024 | Set 1 | Question: 6
A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage from the server. The webpage consists of a top-level index page with multiple embedded image objects. Assume that all caches (e.g., DNS cache, browser cache) are ... $\text{(ii), (iv), (i), (iii)}$ $\text{(iv), (ii), (i), (iii)}$
Arjun
asked
in
Computer Networks
Feb 16
by
Arjun
2.3k
views
gatecse2024-set1
computer-networks
1
vote
1
answer
8
GATE CSE 2024 | Set 1 | Question: 7
Given an integer array of size $N$, we want to check if the array is sorted (in either ascending or descending order). An algorithm solves this problem by making a single pass through the array and comparing each element of the array only with its adjacent elements. The ... $\Omega(N)$ but not $\mathrm{O}(N)$ neither $\mathrm{O}(N)$ nor $\Omega(N)$
Arjun
asked
in
Algorithms
Feb 16
by
Arjun
3.0k
views
gatecse2024-set1
algorithms
time-complexity
3
votes
3
answers
9
GATE CSE 2024 | Set 1 | Question: 8
Consider the following $\mathrm{C}$ program: #include <stdio.h> int main() { int a=6; int b = 0; while (a<10) { a = a / 12+1 ; a += b ;} printf ("%d", a); return 0 ; } Which one of the following ... The program prints $9$ as output The program prints $10$ as output The program gets stuck in an infinite loop The program prints $6$ as output
Arjun
asked
in
Programming in C
Feb 16
by
Arjun
5.5k
views
gatecse2024-set1
programming
programming-in-c
1
vote
3
answers
10
GATE CSE 2024 | Set 1 | Question: 9
Consider the following $\mathrm{C}$ program: #include <stdio.h> void fX () { void fX () ; char a; int main() { if ((a=g e t c h a r()) ! = '\n') fX}() ; fX(); return 0 ; if (a ! ... program will not terminate The program will terminate with no output The program will terminate with $4321$ as output The program will terminate with $1234$ as output
Arjun
asked
in
Programming in C
Feb 16
by
Arjun
2.7k
views
gatecse2024-set1
programming
programming-in-c
1
vote
2
answers
11
GATE CSE 2024 | Set 1 | Question: 10
Let $\mathrm{S}$ be the specification: "Instructors teach courses. Students register for courses. Courses are allocated classrooms. Instructors guide students." Which one of the following $\mathrm{ER}$ diagrams CORRECTLY represents $\mathrm{S}$? $\text{(i)}$ $\text{(ii)}$ $\text{(iii)}$ $\text{(iv)}$
Arjun
asked
in
Databases
Feb 16
by
Arjun
1.9k
views
gatecse2024-set1
databases
er-diagram
2
votes
3
answers
12
GATE CSE 2024 | Set 1 | Question: 11
In a $\mathrm{B}+$ tree, the requirement of at least half-full $(50 \%)$ node occupancy is relaxed for which one of the following cases? Only the root node All leaf nodes All internal nodes Only the leftmost leaf node
Arjun
asked
in
Databases
Feb 16
by
Arjun
2.0k
views
gatecse2024-set1
databases
3
votes
2
answers
13
GATE CSE 2024 | Set 1 | Question: 12
Which of the following statements about a relation $\mathbf{R}$ in first normal form $\text{(1NF)}$ is/are TRUE? $\mathbf{R}$ can have a multi-attribute key $\mathbf{R}$ cannot have a foreign key $\mathbf{R}$ cannot have a composite attribute $\mathbf{R}$ cannot have more than one candidate key
Arjun
asked
in
Databases
Feb 16
by
Arjun
3.3k
views
gatecse2024-set1
multiple-selects
databases
0
votes
1
answer
14
GATE CSE 2024 | Set 1 | Question: 13
Let $L_1, L_2$ be two regular languages and $L_3$ a language which is not regular. Which of the following statements is/are always TRUE? $L_1=L_2$ if and only if $L_1 \cap \overline{L_2}=\phi$ $L_1 \cup L_3$ is not regular $\overline{L_3}$ is not regular $\overline{L_1} \cup \overline{L_2}$ is regular
Arjun
asked
in
Theory of Computation
Feb 16
by
Arjun
2.5k
views
gatecse2024-set1
multiple-selects
theory-of-computation
1
vote
1
answer
15
GATE CSE 2024 | Set 1 | Question: 14
Which of the following statements about threads is/are TRUE? Threads can only be implemented in kernel space Each thread has its own file descriptor table for open files All the threads belonging to a process share a common stack Threads belonging to a process are by default not protected from each other
Arjun
asked
in
Operating System
Feb 16
by
Arjun
2.5k
views
gatecse2024-set1
multiple-selects
operating-system
1
vote
1
answer
16
GATE CSE 2024 | Set 1 | Question: 15
Which of the following process state transitions is/are NOT possible? Running to Ready Waiting to Running Ready to Waiting Running to Terminated
Arjun
asked
in
Operating System
Feb 16
by
Arjun
2.3k
views
gatecse2024-set1
operating-system
process-scheduling
multiple-selects
1
vote
1
answer
17
GATE CSE 2024 | Set 1 | Question: 16
Which of the following is/are Bottom-Up Parser(s)? Shift-reduce Parser Predictive Parser LL$(1)$ Parser LR Parser
Arjun
asked
in
Compiler Design
Feb 16
by
Arjun
1.9k
views
gatecse2024-set1
multiple-selects
compiler-design
1
vote
1
answer
18
GATE CSE 2024 | Set 1 | Question: 17
Let $A$ and $B$ be two events in a probability space with $P(A)=0.3, P(B)=0.5$, and $P(A \cap B)=0.1$. Which of the following statements is/are TRUE? The two events $A$ and $B$ are independent $P(A \cup B)=0.7$ ... $B$ $P\left(A^c \cap B^c\right)=0.4$, where $A^c$ and $B^c$ are the complements of the events $A$ and $B$, respectively
Arjun
asked
in
Probability
Feb 16
by
Arjun
1.7k
views
gatecse2024-set1
multiple-selects
probability
2
votes
1
answer
19
GATE CSE 2024 | Set 1 | Question: 18
Consider the circuit shown below where the gates may have propagation delays. Assume that all signal transitions occur instantaneously and that wires have no delays. Which of the following statements about the circuit is/are CORRECT? With no propagation ... , the output $Y$ can have a transient logic Zero after $X$ transitions from logic One to logic Zero
Arjun
asked
in
Digital Logic
Feb 16
by
Arjun
2.1k
views
gatecse2024-set1
multiple-selects
digital-logic
2
votes
1
answer
20
GATE CSE 2024 | Set 1 | Question: 19
$\mathrm{TCP}$ client $\mathrm{P}$ successfully establishes a connection to $\text{TCP}$ server $\mathrm{Q}$. Let $\text{N}_{P}$ denote the sequence number in the $\text{SYN}$ sent from $\mathrm{P}$ to $\mathrm{Q}$. Let $\text{N}_{Q}$ denote the ... $\text{N}_{P}$ The acknowledgement number $\text{N}_{Q}$ is equal to $\text{N}_{P}+1$
Arjun
asked
in
Computer Networks
Feb 16
by
Arjun
1.7k
views
gatecse2024-set1
multiple-selects
computer-networks
tcp
2
votes
2
answers
21
GATE CSE 2024 | Set 1 | Question: 20
Consider a $5$-stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Register Writeback (WB) stages. Which of the following statements about forwarding is/are ... cannot prevent all pipeline stalls Forwarding does not require any extra hardware to retrieve the data from the pipeline stages
Arjun
asked
in
CO and Architecture
Feb 16
by
Arjun
3.8k
views
gatecse2024-set1
multiple-selects
co-and-architecture
2
votes
1
answer
22
GATE CSE 2024 | Set 1 | Question: 21
Which of the following fields is/are modified in the $\text{IP}$ header of a packet going out of a network address translation $\text{(NAT)}$ device from an internal network to an external network? Source $\text{IP}$ Destination $\text{IP}$ Header Checksum Total Length
Arjun
asked
in
Computer Networks
Feb 16
by
Arjun
1.8k
views
gatecse2024-set1
multiple-selects
computer-networks
0
votes
1
answer
23
GATE CSE 2024 | Set 1 | Question: 22
Let $A$ and $B$ be non-empty finite sets such that there exist one-to-one and onto functions $\text{(i)}$ from $A$ to $B$ and $\text{(ii)}$ from $A \times A$ to $A \cup B$. The number of possible values of $\text{|A|}$ is ___________.
Arjun
asked
in
Set Theory & Algebra
Feb 16
by
Arjun
1.6k
views
gatecse2024-set1
numerical-answers
set-theory&algebra
2
votes
1
answer
24
GATE CSE 2024 | Set 1 | Question: 23
Consider the operator precedence and associativity rules for the integer arithmetic operators given in the table below. Operator Precedence Associativity + Highest Left - High Right * Medium Right / Low Right The value of the expression $3+1+5 * 2 / 7+2-4-7-6 / 2$ as per the above rules is ________.
Arjun
asked
in
Compiler Design
Feb 16
by
Arjun
2.0k
views
gatecse2024-set1
numerical-answers
compiler-design
2
votes
2
answers
25
GATE CSE 2024 | Set 1 | Question: 24
The number of spanning trees in a complete graph of $4$ vertices labelled $\text{A, B, C,}$ and $\text{D}$ is _________.
Arjun
asked
in
Algorithms
Feb 16
by
Arjun
1.6k
views
gatecse2024-set1
numerical-answers
algorithms
1
vote
1
answer
26
GATE CSE 2024 | Set 1 | Question: 25
Consider the following two relations, $R(A, B)$ and $S(A, C)$: $R$ $A$ $B$ $10$ $20$ $20$ $30$ $30$ $40$ $30$ $50$ $50$ $95$ $S$ $A$ $C$ $10$ $90$ $30$ $45$ $40$ $80$ The total number of tuples obtained by evaluating the following expression $\sigma_{B<C}\left(R \bowtie_{R . A=S . A} S\right)$ is ___________.
Arjun
asked
in
Databases
Feb 16
by
Arjun
1.6k
views
gatecse2024-set1
numerical-answers
databases
0
votes
2
answers
27
GATE CSE 2024 | Set 1 | Question: 26
Consider a network path $\mathrm{P}-\mathrm{Q}-\mathrm{R}$ between nodes $\mathrm{P}$ and $\mathrm{R}$ via router $\mathrm{Q}$. Node $\mathrm{P}$ sends a file of size $10^6$ bytes to $\text{R}$ via this path by splitting the file into chunks of ... $3$ decimal places) at which $\mathrm{R}$ receives all the chunks of the file? $8.000$ $8.008$ $15.992$ $16.000$
Arjun
asked
in
Computer Networks
Feb 16
by
Arjun
1.8k
views
gatecse2024-set1
computer-networks
0
votes
2
answers
28
GATE CSE 2024 | Set 1 | Question: 27
Consider the following syntax-directed definition $\text{(SDD)}$. $S \rightarrow D H T U$ $ \left\{S.v a l = D.val + H.val + T.val + U.val\right\};$ $D \rightarrow ^{"} \mathrm{M}^{"} D_1$ ... the following options is the $\text{CORRECT}$ value computed by the $\text{SDD}$ (in the attribute $S.val$)? $45$ $50$ $55$ $65$
Arjun
asked
in
Compiler Design
Feb 16
by
Arjun
1.6k
views
gatecse2024-set1
compiler-design
syntax-directed-translation
0
votes
1
answer
29
GATE CSE 2024 | Set 1 | Question: 29
Consider the following pseudo-code. $L 1 : t 1 = -1$ $L 2: t 2 = 0$ $L 3: t 3 = 0$ $L 4: t 4 = 4 * t 3$ $L 5: t 5 = 4 * t 2$ $L 6: t 6 = t 5 * M$ $L 7: t 7 = t 4+t 6$ ... options CORRECTLY specifies the number of basic blocks and the number of instructions in the largest basic block, respectively? $6$ and $6$ $6$ and $7$ $7$ and $7$ $7$ and $6$
Arjun
asked
in
Compiler Design
Feb 16
by
Arjun
1.6k
views
gatecse2024-set1
compiler-design
0
votes
2
answers
30
GATE CSE 2024 | Set 1 | Question: 30
Consider the following two threads $\mathrm{T} 1$ and $\mathrm{T} 2$ that update two shared variables $\mathrm{a}$ and $\mathrm{b}$. Assume that initially $\mathrm{a}=\mathrm{b}=1$ ...
Arjun
asked
in
Operating System
Feb 16
by
Arjun
1.8k
views
gatecse2024-set1
operating-system
Page:
1
2
3
next »
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 questions tagged gatecse2024-set1
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:...