Computer Science and Information Technology
2024 · Paper 1
Take it one question at a time. Try an answer, then check your understanding.
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.
Question 31
Open questionCS1MSQ1 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 answerQuestion 32
Open questionCS1NAT1 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 answerQuestion 33
Open questionCS1NAT1 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