The Gateway to Computer Science Excellence
For all GATE CSE Questions
Toggle navigation
Facebook Login
or
Email or Username
Password
Remember
Login
Register

I forgot my password
Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Prev
Blogs
New Blog
Exams
Recent questions tagged subset
0
votes
0
answers
1
Subset Doubt
I know it may be silly but, Say i have a set A = {1,2,3,4,5} then for subset we use ⊆ and for membership we use ∈. I can say 2 ∈ A , but 2 ⊆ A its wrong because 2 is an element of set its not a set. Can we Say {2} ⊆ A. ??? And for ϕ what to use : We know ϕ is a subset of every set So : ϕ ⊆ A. its correct right ? if its correct then ϕ ∈ A is it correct ?
asked
Jun 2, 2018
in
Set Theory & Algebra
by
Na462
Loyal
(
7k
points)

49
views
discretemathematics
subset
+5
votes
4
answers
2
Time complexity and output
#include <stdio.h> #define N 3 int main() { int array[N] = {1,2,3}; int i,j; for ( i=1; i<(1<<N); i++) { for( j=0; j<N; j++) { if((1<<j)&i) { printf("%d", array[j]); } } printf("\n"); } return 0 ... $N = n \;\; , n \; \text{ is a positive integer }$ ? B. What is the output? C. What will be the complexity when $N$ is large.
asked
Dec 17, 2016
in
Programming
by
dd
Veteran
(
57.2k
points)

633
views
timecomplexity
bitwise
programminginc
permutationandcombination
summation
subset
binomialtheorem
+1
vote
1
answer
3
Set Subset  Volume 1 Q6
Question If A and B are subsets of set X = { 1,2,3, ... 99,100 } and A # B denote the set of all elements of X which belogs to exactly A or B . Total number of subsets of X such that A#B = { 2,4,6,.. 98,100} is _____ My approach Every ... ie Every even number can appear either in only A or in only B Every odd number can appear only in A$\cap$ B how to proceed further ...?
asked
Jun 20, 2016
in
Set Theory & Algebra
by
pC
Boss
(
21.5k
points)

412
views
sets
subset
To see more, click for the
full list of questions
or
popular tags
.
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
ISRO CSE 2020 PAPER ANALYSE
BARC OCES/DGFS 2020
ISI CMI PDF by GATE Overflow
Calculus Important Points
Management Trainee Recruitment COAL INDIA 2020
Follow @csegate
Recent questions tagged subset
Recent Blog Comments
Yes and few more questions also
nkg_master9 you challenged that dbms query...
@nsaisirisha Yes they will give marks only...
When will the results be declared based on...
For the questions with two answers as per the...
50,737
questions
57,339
answers
198,449
comments
105,205
users