Complete GATE CSE 2024 Paper 1 overview, original pages and practice · Timed previous-paper practice

Questions 31–33 of 65. Imported answers require review unless explicitly marked reviewed.

Paper practice 65 questionsPage 11 of 22

Question 31

Open question
CS1MSQ1 markNeeds review
Which of the following fields is/are modified in the IP header of a packet going out of a network address translation (NAT) device from an internal network to an external network?
Your answerSelect all correct options. You can choose more than one.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 32

Open question
CS1NAT1 markNeeds review
Let

and

be non-empty finite sets such that there exist one-to-one and onto functions (i) from

to

and (ii) from

to

. The number of possible values of

is __________

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 33

Open question
CS1NAT1 markNeeds review
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

as per the above rules is __________

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer