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 Desert_Warrior
1
answer
1
What is Regular Grammar ?
What is Regular Grammar with an example?
What is Regular Grammar with an example?
2.8k
views
answer edited
Jan 17, 2017
Compiler Design
theory-of-computation
compiler-design
context-free-language
+
–
1
answer
2
ISRO-2013-78
Which of the following is not provided as a service in cloud computing? Infrastructure as a service Architecture as a service Software as a service Platform as a service
Which of the following is not provided as a service in cloud computing?Infrastructure as a serviceArchitecture as a serviceSoftware as a servicePlatform as a service
7.8k
views
answer selected
Jan 9, 2017
Cloud Computing
isro2013
cloud-computing
non-gate
+
–
2
answers
3
general doubt
What topics we should study in network security in computer networks?? can someone please tell the topics clearly??
What topics we should study in network security in computer networks?? can someone please tell the topics clearly??
1.4k
views
answered
Dec 1, 2016
Computer Networks
gate2017
+
–
2
answers
4
general doubt
Many questions in Gate IT has been asked about data communication part like serial communication, multiplexing etc in compuer networks. But are these things in syllabus of 2017?
Many questions in Gate IT has been asked about data communication part like serial communication, multiplexing etc in compuer networks. But are these things in syllabus o...
627
views
answered
Dec 1, 2016
Computer Networks
gate2017
syllabus
+
–
0
answers
5
C programming
The output of the following program is: int a=75; printf("%d%%",a); a) 75 b)75 % % c)75% d)none It is giving output as c) ...can anyone please explain why it is not giving output as b)
The output of the following program is: int a=75; printf("%d%%",a);a) 75b)75 % %c)75%d)noneIt is giving output as c) ...can anyone please explain why it is not giving out...
1.3k
views
comment edited
Nov 1, 2016
2
answers
6
structure
i have a doubt regarding this #include <stdio.h> typedef struct { char *a; char *b; } t; void f1 (t s); void f2 (t *p); main() { static t s = {"A", "B"}; printf ("%s %s\n", s.a, s.b); f1(s) ... we are replacing "A" to "v" so why there is no any problem loke above ?? code given above is from https://gateoverflow.in/3704/gate2004-it_61
i have a doubt regarding this #include <stdio.h typedef struct { char *a; char *b; } t; void f1 (t s); void f2 (t *p); main() { static t s = {"A", "B"}; printf ("%s %s...
432
views
answer edited
Nov 1, 2016
2
answers
7
ME-Test series-Programming DS test
My Query is as it is passing by reference so a in M actually refer to location b.So a=a*a=169 will be updated as b.Then how can b be 13? Please anyone rectify me.
My Query is as it is passing by reference so a in M actually refer to location b.So a=a*a=169 will be updated as b.Then how can b be 13?Please anyone rectify me.
438
views
answer edited
Nov 1, 2016
1
answer
8
Madeeasy Test Series
consider a complete binary tree 'T' with key of root node be 'P'. It is given that the left and right subtree of 'P' satisfies the min-heap property. What is the time taken to convert the given tree 'T' to max-heap? a. O(log n) b. O(n) c. O(nlog n) d. O(n2)
consider a complete binary tree 'T' with key of root node be 'P'. It is given that the left and right subtree of 'P' satisfies the min-heap property. What is the time tak...
367
views
answer selected
Oct 31, 2016
Programming in C
data-structures
+
–
2
answers
9
Queue
A queue is a particular kind of abstract data type. Enqueue and Dequeue makes the queue FIFO data structure. There are several efficient implementations of FIFO queues. An efficient implementation is one which can perform the operations of enququeing and dequeueing in O(1) time. The best choice is : a] DLL c] SLL b] Dynamic Array d] any one of these
A queue is a particular kind of abstract data type. Enqueue and Dequeue makes the queue FIFO data structure. There are several efficient implementations of FIFO queues. A...
1.6k
views
answer edited
Oct 31, 2016
Programming in C
data-structures
queue
+
–
2
answers
10
Kerala PSC AP Exam
What will be the output of the following C program fragment? int n =1; switch(n) { case 1: printf("One"); case 2: printf("Two"); case 3: case 4: case 5: default: printf("Wrong Choice"); } A) One B) One Two Wrong Choice C) Two D) One Two
What will be the output of the following C program fragment?int n =1; switch(n) { case 1: printf("One"); case 2: printf("Two"); case 3: case 4: case 5: default: printf("W...
411
views
answer selected
Oct 31, 2016
Programming in C
programming-in-c
switch-case
+
–
1
answer
11
DS\Hashing
Consider a hash table of size seven, with starting index zero, and a hash function (3x + 4) mod 7. Assuming the hash table is initially empty, which of the following is the contents of the table when the sequence 1, 3, 8, 10 is inserted into the table using closed hashing? Note that denotes an empty location in the ... 8, 10, -, -, -, 3 (C) 1, -, -, -, -, -, 3 (D) 1, 10, 8, -, -, -, 3
Consider a hash table of size seven, with starting index zero, and a hash function (3x + 4) mod 7. Assuming the hash table is initially empty, which ofthe following is th...
2.6k
views
commented
Oct 9, 2016
DS
data-structures
hashing
+
–
4
answers
12
GATE CSE 2005 | Question: 5
A program $P$ reads in $500$ integers in the range $[0, 100]$ representing the scores of $500$ students. It then prints the frequency of each score above $50$. What would be the best way for $P$ to store the frequencies? An array of $50$ numbers An array of $100$ numbers An array of $500$ numbers A dynamically allocated array of $550$ numbers
A program $P$ reads in $500$ integers in the range $[0, 100]$ representing the scores of $500$ students. It then prints the frequency of each score above $50$. What would...
20.7k
views
commented
Oct 9, 2016
DS
gatecse-2005
data-structures
array
easy
+
–
1
answer
13
Programming
712
views
answered
Oct 9, 2016
Programming in C
programming-in-c
array
+
–
4
answers
14
GATE IT 2006 | Question: 84
Consider a database with three relation instances shown below. The primary keys for the Drivers and Cars relation are did and cid respectively and the records are stored in ascending order of these primary keys as given in the tables. No indexing ... = C.cid and C.colour = 'green' ) Karthikeyan, Boris Sachin, Salman Karthikeyan, Boris, Sachin Schumacher, Senna
Consider a database with three relation instances shown below. The primary keys for the Drivers and Cars relation are did and cid respectively and the records are stored ...
4.2k
views
answered
Oct 2, 2016
Databases
gateit-2006
databases
sql
normal
+
–
1
answer
15
C -Programming
1.0k
views
commented
Jul 13, 2016
Programming in C
programming-in-c
loop
+
–
1
answer
16
UGC NET CSE | June 2014 | Part 2 | Question: 18
Which of the following statement(s) is (are) not correct ? i. The $2$’s complement of $0$ is $0$. ii. In $2$’s complement, the left most bit cannot be used to express a quantity. iii. For an $n$-bit word ($2$’ ... ;s of positive numbers and $0$’s of the negative numbers. $i$ & $iv$ $i$ & $ii$ $iii$ $iv$
Which of the following statement(s) is (are) not correct ?i. The $2$’s complement of $0$ is $0$.ii. In $2$’s complement, the left most bit cannot be used to e...
3.9k
views
commented
Jul 8, 2016
Digital Logic
ugcnetcse-june2014-paper2
digital-logic
number-representation
+
–
1
answer
17
UGC NET CSE | June 2012 | Part 3 | Question: 54
What is the size (in terms of bits) of Header length field in IPV4 header? 2 4 8 16
What is the size (in terms of bits) of Header length field in IPV4 header?24816
1.8k
views
answered
Jul 7, 2016
Computer Networks
ugcnetcse-june2012-paper3
computer-networks
+
–
2
answers
18
UGC NET CSE | June 2012 | Part 3 | Question: 41
Which layer of OSI reference model uses the ICMP (Internet Control Message Protocol)? Transport layer Data link layer Network layer Application layer
Which layer of OSI reference model uses the ICMP (Internet Control Message Protocol)?Transport layerData link layerNetwork layerApplication layer
2.0k
views
answered
Jul 7, 2016
Computer Networks
ugcnetcse-june2012-paper3
computer-networks
osi-protocol
+
–
2
answers
19
Draw DFA
Plz somebody draw DFA for following regular expression: r=(1+10)*
Plz somebody draw DFA for following regular expression:r=(1+10)*
779
views
edited
Jul 7, 2016
Theory of Computation
theory-of-computation
+
–
2
answers
20
UGC NET CSE | June 2012 | Part 3 | Question: 38
The following postfix expression is evaluated using a stack. 823^/23*+51*- . The top two elements of the stack after first * is evaluated 6,1 5, 7 3,2 1, 5
The following postfix expression is evaluated using a stack. 823^/23*+51*- . The top two elements of the stack after first * is evaluated6,15, 73,21, 5
10.0k
views
answered
Jul 7, 2016
DS
ugcnetcse-june2012-paper3
data-structures
stack
+
–
1
answer
21
UGC NET CSE | June 2012 | Part 3 | Question: 29
Which of the following IP address class is a multicast address? Class A Class B Class C Class D
Which of the following IP address class is a multicast address?Class AClass BClass CClass D
3.1k
views
answered
Jul 7, 2016
Computer Networks
ugcnetcse-june2012-paper3
computer-networks
ip-addressing
+
–
4
answers
22
UGC NET CSE | June 2007 | Part 2 | Question: 14
What is the output of the following $\text{’C’}$ program? main() { printf(“%x”,-1>>4); } $\text{ffff}$ $\text{0fff}$ $\text{0000}$ $\text{fff0}$
What is the output of the following $\text{’C’}$ program?main() { printf(“%x”,-1>>4); }$\text{ffff}$$\text{0fff}$$\text{0000}$$\text{fff0}$
3.1k
views
answer selected
Jul 7, 2016
Programming and DS
ugcnetcse-june2007-paper2
programming-in-c
+
–
1
answer
23
Printf
1:Where I find printf body in turbo c I know the prototype defined in stdio.h header file but body is not there? 2:why without include header file program successfully compiled and run?
1:Where I find printf body in turbo cI know the prototype defined in stdio.h header file but body is not there?2:why without include header file program successfully comp...
286
views
answer selected
Jul 7, 2016
Programming in C
programming
+
–
3
answers
24
ISRO2014-38
How many lines of output does the following C code produce? #include<stdio.h> float i=2.0; float j=1.0; float sum = 0.0; main() { while (i/j > 0.001) { j+=j; sum=sum+(i/j); printf("%f\n", sum); } } 8 9 10 11
How many lines of output does the following C code produce?#include<stdio.h float i=2.0; float j=1.0; float sum = 0.0; main() { while (i/j 0.001) { j+=j; sum=sum+(i/j); ...
5.7k
views
answer selected
Jul 7, 2016
Programming in C
isro2014
programming-in-c
loop
output
+
–
0
answers
25
what is the number of steps required to derive the string ((() ()) ()) for the folling grammar
400
views
closed
Jul 6, 2016
1
answer
26
suitable ds to reverse a string of characters
Which of the following data structured is most efficient in terms of both space and time to reverse a string of characters? Linked list Stack Array Tree
Which of the following data structured is most efficient in terms of both space and time to reverse a string of characters?Linked listStackArrayTree
389
views
answer selected
Jul 6, 2016
2
answers
27
plz tell comparison between single linked list and double linked list in terms of insert/search/delete
436
views
answer selected
Jul 6, 2016
9
answers
28
ISRO2014-3
What is the output of the following C program? #include<stdio.h> #define SQR(x) (x*x) int main() { int a; int b=4; a=SQR(b+2); printf("%d\n",a); return 0; } 14 36 18 20
What is the output of the following C program? #include<stdio.h #define SQR(x) (x*x) int main() { int a; int b=4; a=SQR(b+2); printf("%d\n",a); return 0; }14361820
8.1k
views
answer selected
Jul 6, 2016
Programming in C
programming-in-c
macros
isro2014
+
–
3
answers
29
UGC NET CSE | June 2014 | Part 3 | Question: 11
Match the following with respect to the jump statements $:$ ... $\text{a-iv, b-iii, c-ii, d-i}$ $\text{a-iv, b-iii, c-i, d-ii}$
Match the following with respect to the jump statements $:$$\begin{array}{cIcI} & \textbf{List – I} && \textbf{List – II} \\ \text{a.} & \text{return} & \text{i.} ...
1.8k
views
answered
Jul 4, 2016
Programming in C
ugcnetjune2014iii
programming
programming-in-c
+
–
2
answers
30
ISRO2016-80
When a DNS server accepts and uses incorrect information from a host that has no authority giving that information, then it is called DNS lookup DNS hijacking DNS spoofing None of the mentioned
When a DNS server accepts and uses incorrect information from a host that has no authority giving that information, then it is calledDNS lookupDNS hijackingDNS spoofingNo...
6.4k
views
answer selected
Jul 4, 2016
Computer Networks
isro2016
computer-networks
dns
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register