Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by prateekkmr60
5
answers
1
GATE CSE 2018 | Question: 29
#include<stdio.h> void fun1(char* s1, char* s2){ char* temp; temp = s1; s1 = s2; s2 = temp; } void fun2(char** s1, char** s2){ char* temp; temp = *s1; *s1 = *s2; *s2 = temp; } int main(){ char *str1="Hi", *str2 = "Bye"; fun1 ... of the program above is: $\text{Hi Bye Bye Hi}$ $\text{Hi Bye Hi Bye}$ $\text{Bye Hi Hi Bye}$ $\text{Bye Hi Bye Hi}$
#include<stdio.h void fun1(char* s1, char* s2){ char* temp; temp = s1; s1 = s2; s2 = temp; } void fun2(char s1, char s2){ char* temp; temp = *s1; *s1 = *s2; *s2 = temp;...
15.2k
views
commented
Feb 4, 2018
Programming in C
gatecse-2018
programming-in-c
pointers
parameter-passing
normal
programming
2-marks
+
–
8
answers
2
GATE CSE 2018 | Question: 15
Two people, $P$ and $Q$, decide to independently roll two identical dice, each with $6$ faces, numbered $1$ to $6$. The person with the lower number wins. In case of a tie, they roll the dice repeatedly until there is no tie. Define a ... and that all trials are independent. The probability (rounded to $3$ decimal places) that one of them wins on the third trial is ____
Two people, $P$ and $Q$, decide to independently roll two identical dice, each with $6$ faces, numbered $1$ to $6$. The person with the lower number wins. In case of a ti...
11.0k
views
answered
Feb 4, 2018
Probability
gatecse-2018
probability
normal
numerical-answers
1-mark
+
–
5
answers
3
GATE CSE 2018 | Question: 13
Match the following: ... $\text{P-IV, Q-I, R-II, S-III}$ $\text{P-IV, Q-I, R-III, S-II}$
Match the following:$$\begin{array}{|l|l|}\hline \textbf{Field} & \textbf{Length in bits} \\\hline \text{P. UDP Header's Port Number} & \text{I. 48} \\ \text{Q. Ethern...
10.4k
views
answered
Feb 4, 2018
Computer Networks
gatecse-2018
computer-networks
network-layering
normal
1-mark
+
–
6
answers
4
GATE CSE 2018 | Question: GA-2
A ________ investigation can sometimes yield new facts, but typically organized ones are more successful. The word that best fills the blank in the above sentence is $\text{meandering}$ $\text{timely}$ $\text{consistent}$ $\text{systematic}$
A ________ investigation can sometimes yield new facts, but typically organized ones are more successful.The word that best fills the blank in the above sentence is$\text...
5.9k
views
answered
Feb 4, 2018
Verbal Aptitude
gatecse-2018
verbal-aptitude
most-appropriate-word
normal
1-mark
+
–
4
answers
5
GATE CSE 2018 | Question: 16
The value of $\int^{\pi/4} _0 x \cos(x^2) dx$ correct to three decimal places (assuming that $\pi = 3.14$) is ____
The value of $\int^{\pi/4} _0 x \cos(x^2) dx$ correct to three decimal places (assuming that $\pi = 3.14$) is ____
16.3k
views
answered
Feb 4, 2018
Calculus
gatecse-2018
calculus
integration
normal
numerical-answers
1-mark
+
–
14
answers
6
GATE CSE 2018 | Question: 46
The number of possible min-heaps containing each value from $\{1,2,3,4,5,6,7\}$ exactly once is _______
The number of possible min-heaps containing each value from $\{1,2,3,4,5,6,7\}$ exactly once is _______
39.2k
views
answered
Feb 4, 2018
DS
gatecse-2018
binary-heap
numerical-answers
combinatory
2-marks
+
–
11
answers
7
GATE CSE 2018 | Question: 1
Which one of the following is a closed form expression for the generating function of the sequence $\{a_n\}$, where $a_n = 2n +3 \text{ for all } n=0, 1, 2, \dots$? $\frac{3}{(1-x)^2}$ $\frac{3x}{(1-x)^2}$ $\frac{2-x}{(1-x)^2}$ $\frac{3-x}{(1-x)^2}$
Which one of the following is a closed form expression for the generating function of the sequence $\{a_n\}$, where $a_n = 2n +3 \text{ for all } n=0, 1, 2, \dots$?$\frac...
22.8k
views
answer edited
Feb 4, 2018
Combinatory
gatecse-2018
generating-functions
normal
combinatory
1-mark
+
–
3
answers
8
general aptitude gate 2018
If ther area of square is d , then what is the area of circle that passes through diagonal of square . having diagonal as its diameter
If ther area of square is d , then what is the area of circle that passes through diagonal of square . having diagonal as its diameter
1.9k
views
answered
Feb 4, 2018
10
answers
9
GATE CSE 2017 Set 2 | Question: 11
Let $p, q, r$ ... $(\neg p \wedge r) \vee (r \rightarrow (p \wedge q))$
Let $p, q, r$ denote the statements ”It is raining”, “It is cold”, and “It is pleasant”, respectively. Then the statement “It is not raining and it is pleas...
12.2k
views
answer edited
Dec 2, 2017
Mathematical Logic
gatecse-2017-set2
mathematical-logic
propositional-logic
+
–
6
answers
10
GATE CSE 2017 Set 2 | Question: 19
Consider the following tables $T1$ and $T2.$ ... delete record $\langle 3, 8 \rangle$ from the table $T1,$ the number of additional records that need to be deleted from table $T1$ is _______
Consider the following tables $T1$ and $T2.$$$\overset{T1}{\begin{array}{|c|c|c|} \hline \textbf {P} & \textbf {Q} \\\hline \text {2} & \text{2 }\\\hline \text{3} & \te...
18.4k
views
commented
Oct 20, 2017
Databases
gatecse-2017-set2
databases
numerical-answers
referential-integrity
normal
+
–
1
answer
11
ISRO 2009-ECE MOD Counter
A certain JK FF has $t_{pd}$=12 ns. The largest MOD counter that can be constructed from such FFs and still operate up to 10 MHz is a) 16 b) 256 c) 8 d) 128
A certain JK FF has $t_{pd}$=12 ns. The largest MOD counter that can be constructed from such FFs and still operate up to 10 MHz isa) 16b) 256c) 8d) 128
2.1k
views
answered
Feb 28, 2017
Digital Logic
isro-ece
digital-logic
+
–
6
answers
12
GATE CSE 2017 Set 2 | Question: 04
Let $L_1, L_2$ be any two context-free languages and $R$ be any regular language. Then which of the following is/are CORRECT? $L_1 \cup L_2$ is context-free $\overline{L_1}$ is context-free $L_1 - R$ is context-free $L_1 \cap L_2$ is context-free I, II and IV only I and III only II and IV only I only
Let $L_1, L_2$ be any two context-free languages and $R$ be any regular language. Then which of the following is/are CORRECT?$L_1 \cup L_2$ is context-free$\overline{L_1}...
11.7k
views
answered
Feb 28, 2017
Theory of Computation
gatecse-2017-set2
theory-of-computation
closure-property
+
–
5
answers
13
GATE CSE 2017 Set 2 | Question: GA-10
An air pressure contour line joins locations in a region having the same atmospheric pressure. The following is an air pressure contour plot of a geographical region. Contour lines are shown at $0.05$ bar intervals in this plot. If the possibility of a ... over a region, which of the following regions is most likely to have a thunderstorm? $P$ $Q$ $R$ $S$
An air pressure contour line joins locations in a region having the same atmospheric pressure. The following is an air pressure contour plot of a geographical region. Con...
8.1k
views
answered
Feb 28, 2017
Quantitative Aptitude
gatecse-2017-set2
quantitative-aptitude
data-interpretation
normal
contour-plots
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register