1
GATE CSE 2024 Set 1
Numerical
+1
-0.33

Consider the operator precedence and associativity rules for the integer arithmetic operators given in the table below.

OperatorPrecedenceAssociativity
+HighestLeft
HighRight
*MediumRight
/LowRight

The value of the expression $3 + 1 + 5 * 2 / 7 + 2 − 4 − 7 − 6 / 2$ as per the above rules is _______

Your input ____
2
GATE CSE 2024 Set 1
MCQ (Single Correct Answer)
+2
-0.66

An array $[82, 101, 90, 11, 111, 75, 33, 131, 44, 93]$ is heapified. Which one of the following options represents the first three elements in the heapified array?

A

82, 90, 101

B

82, 11, 93

C

131, 11, 93

D

131, 111, 90

3
GATE CSE 2024 Set 1
MCQ (Single Correct Answer)
+2
-0.66

Consider a binary min-heap containing 105 distinct elements. Let k be the index (in the underlying array) of the maximum element stored in the heap. The number of possible values of k is

A

53

B

52

C

27

D

1

4
GATE CSE 2024 Set 1
MCQ (More than One Correct Answer)
+2
-0.66

Let G be a directed graph and T a depth first search (DFS) spanning tree in G that is rooted at a vertex v. Suppose T is also a breadth first search (BFS) tree in G, rooted at v. Which of the following statements is/are TRUE for every such graph G and tree T?

A

There are no back-edges in G with respect to the tree T

B

There are no cross-edges in G with respect to the tree T

C

There are no forward-edges in G with respect to the tree T

D

The only edges in G are the edges in T

EXAM MAP
Medical
NEETAIIMS
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
Staff Selection Commission
SSC CGL Tier I
CBSE
Class 12