Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Filter
User Shubhi Tiwari
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by Shubhi Tiwari
2
answers
1
GATE Overflow | Programming | Test 1 | Question: 28
int foo(int n) { if(n > 10000) return 1; int sum = 0, i; for( i = 0; i < n; i++) { sum += i; } return sum; } The value returned by the above function is $\Theta\left(n^2\right)$ $\Theta\left(n\right)$ $\Theta\left(1\right)$ $\Omega\left(n^2\right)$
commented
in
Programming
Dec 30, 2016
927
views
go-programming-1
programming
asymptotic-notations
programming-in-c
2
answers
2
GATE Overflow | Programming | Test 1 | Question: 1
What will be the output of the following C program? #include <stdio.h> int main() { int f1(int,int); int x = 9,n = 3; printf("%d", f1(x, n)); } int f1(int x, int n) { int y = 1,i = 1; for(i = 1;i <= n; i++) y = y * x; return(y); } 27 729 81 Compilation Error
commented
in
Programming
Dec 30, 2016
733
views
go-programming-1
programming
programming-in-c
3
answers
3
IP Addressing, Subnet Mask
The routing table of a router is shown as below: On which interface will the router forward packets addressed to destinations 128.75.43.16 and 192.12.17.10 respectively?
answer selected
in
Computer Networks
Oct 2, 2016
749
views
computer-networks
network-addressing
2
answers
4
Token Ring
Suppose each station in IEEE 802.5 with 1bit delay is 48m apart from its neighbouring stations. Token is of 3 Bytes and propagation speed is 2.4 * 10^8 m/sec. To avoid overlapping in the 4Mbps token ring the monitor must insert 15 bits of artificial delay into ring. How many stations are there in the ring? A.2 B.3 C.4 D.5
asked
in
Computer Networks
Oct 2, 2016
4.3k
views
computer-networks
token-ring
1
answer
5
Java
What is the output of this program? class Conversion { public static void main(String args[]) { double a = 295.04; int b = 300; byte c = (byte) a; byte d = (byte) b; System.out.println(c + " " + d); } } a) 38 43 b) 39 44 c) 295 300 d) 295.04 300
commented
in
Java
Jul 1, 2016
2.1k
views
java
type-conversion
1
answer
6
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?
answered
in
Programming
Jun 28, 2016
150
views
programming
1
answer
7
Programming Question [JAVA OOPS ]
Which of the following methods from Object is final ( that it cannot be overriden ) ? (A) finalize method (B) clone method (C) hashCode method (D) getClass method
answered
in
Java
Jun 28, 2016
2.0k
views
non-gate
java
1
answer
8
ISRO2014-9
Let $\text{R}$ be the radius of the circle. What is the angle subtended by an arc of length $\text{R}$ at the center of the circle? $1$ degree $1$ radian $90$ degrees $\pi$ radians
answered
in
Geometry
Jun 28, 2016
4.0k
views
isro2014
circle
geometry
15
answers
9
GATE CSE 2005 | Question: 39
Suppose there are $\lceil \log n \rceil$ sorted lists of $\lfloor n /\log n \rfloor$ elements each. The time complexity of producing a sorted list of all these elements is: (Hint:Use a heap data structure) $O(n \log \log n)$ $\Theta(n \log n)$ $\Omega(n \log n)$ $\Omega\left(n^{3/2}\right)$
commented
in
Algorithms
Jun 18, 2016
20.9k
views
gatecse-2005
algorithms
sorting
normal
2
answers
10
Explain
Use of triple pointer ?
answer edited
in
Programming
May 26, 2016
679
views
4
answers
11
UGC NET CSE | December 2012 | Part 2 | Question: 25
Suppose that someone starts with a chain letter. Each person who receives the letter is asked to send it on to $4$ other people. Some people do this, while some do not send any letter. How many people have seen the letter, including the first person, if none ... out the letter? $122$ & $22$ $111$ & $11$ $133$ & $33$ $144$ & $44$
answered
in
DS
May 11, 2016
5.3k
views
ugcnetcse-dec2012-paper2
tree
2
answers
12
Peter Linz Edition 4 Exercise 3.1 Question 16.d (Page No. 76)
Find a regular expression over Σ ={a,b,c} for all strings that contain no run of a's of length greater than 2. Here a run in a string is a sub string of length at least two as long as possible and consisting entirely of the same symbol. For eg, the string abbbaab contains a run of b's of length three and a tun of a's of length two.
commented
in
Theory of Computation
May 11, 2016
1.8k
views
theory-of-computation
peter-linz
peter-linz-edition4
regular-expression
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Recruitment of Scientific Officers in the Department of Atomic Energy 2023
GATE CSE 2023 Paper & Analysis - Memory Based
From GATE to Australia
DRDO Previous Year Papers
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(75)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
1200/1000 = 1.2
Aptitude- 1- there was a question, Like in a...
Suppose typing happens at 1 keystroke per second....
The algorithm for graph colouring was to pick...
@Aakash_Bhardwaj all the best bro . For your...