Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
ushamya
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by ushamya
0
votes
1
ISRO2013-ECE 2s compliment number
The two numbers represented in signed $\text{2s}$ complement form are $\text{P}= 11101101$ and $\text{Q}= 11100110.$ If $\text{Q}$ is subtracted from $\text{P},$ the value obtained in signed $\text{2s}$ complement form is: $1000001111$ $00000111$ $11111001$ $111111001$
The two numbers represented in signed $\text{2s}$ complement form are $\text{P}= 11101101$ and $\text{Q}= 11100110.$ If $\text{Q}$ is subtracted from $\text{P},$ the valu...
9.0k
views
answered
Aug 7, 2019
Digital Logic
isro-ece
isro2013-ece
digital-logic
number-representation
+
–
5
votes
2
Virtual Gate Test Series: Databases - ER to Relational Model
how many tables are required?
how many tables are required?
1.3k
views
answered
May 29, 2019
Databases
databases
er-to-relational
virtual-gate-test-series
+
–
4
votes
3
MADE EASY Relational Algebra
In a relational algebra ∩ is not a basic operator, to make it basic only relational operator we should have are X, – X, U U, –
In a relational algebra ∩ is not a basic operator, to make it basic only relational operator we should have areX, – X, UU, –
2.1k
views
answered
May 26, 2019
Databases
databases
relational-algebra
+
–
0
votes
4
MadeEasy Test Series 2018: Databases - Indexing
Database file consist 1250 records. Block can hold either 3 records or (10 keys, 11 pointers). The maximum number of levels of index required for sparse B+ tree index for database file are ______.
Database file consist 1250 records. Block can hold either 3 records or (10 keys, 11 pointers). The maximum number of levels of index required for sparse B+ tree index for...
1.3k
views
answered
May 18, 2019
Databases
databases
indexing
made-easy-test-series
+
–
3
votes
5
Made Easy Test Series:Database-Indexing
The minimum number of nodes (both leaf and non-leaf) of $B^{+}$ tree index required for storing $5500$ keys and order of $B^{+}$ tree is $8$________________(order is max pointers a node can have) See here first level should be divide by $7$ ... pointer of 1st level has $8$ pointer in 2nd level. Am I missing something?? But in ans they divided by only $8$ :(
The minimum number of nodes (both leaf and non-leaf) of $B^{+}$ tree index required for storing $5500$ keys and order of $B^{+}$ tree is $8$________________(order is max ...
1.4k
views
answered
May 18, 2019
Databases
databases
made-easy-test-series
indexing
+
–
3
votes
6
Made Easy Test Series:Database-Super-Keys
Consider the relation $R\left ( A,B,C,D,E \right )$ $A\rightarrow BC$ $C\rightarrow E$ $B\rightarrow D$ $E\rightarrow A$ Total number of superkeys present in relation will be ____________________
Consider the relation $R\left ( A,B,C,D,E \right )$$A\rightarrow BC$$C\rightarrow E$$B\rightarrow D$$E\rightarrow A$Total number of superkeys present in relation will be ...
1.8k
views
answered
May 14, 2019
Databases
databases
superkeys
made-easy-test-series
+
–
4
votes
7
Made Easy Test Series:DBMS-Functional Dependency
Consider a relation $R\left ( A,B,C,D,E \right )$ and functional dependencies are $F=\left \{ AC\rightarrow B,C\rightarrow D,A\rightarrow E,C\rightarrow B \right \}$ Relation $R$ ... Then Is it a lossless decomposition? I am getting doubt, how it can be not lossless decomposition?
Consider a relation $R\left ( A,B,C,D,E \right )$ and functional dependencies are $F=\left \{ AC\rightarrow B,C\rightarrow D,A\rightarrow E,C\rightarrow B \right \}$Relat...
1.4k
views
answered
May 14, 2019
Databases
database-normalization
databases
lossless-decomposition
+
–
2
votes
8
GATE CSE 2012 | Question: 3
What will be the output of the following C program segment? char inChar = 'A'; switch ( inChar ) { case 'A' : printf ("Choice A \ n"); case 'B' : case 'C' : printf ("Choice B"); case ... : printf ("No Choice"); } No Choice Choice A Choice A Choice B No Choice Program gives no output as it is erroneous
What will be the output of the following C program segment?char inChar = 'A'; switch ( inChar ) { case 'A' : printf ("Choice A \ n"); case 'B' : case 'C' : printf ("Choic...
10.8k
views
answered
Oct 24, 2018
Programming in C
gatecse-2012
programming
easy
programming-in-c
switch-case
+
–
0
votes
9
GATE CSE 2017 Set 2 | Question: 14
Consider the following function implemented in C: void printxy(int x, int y) { int *ptr; x=0; ptr=&x; y=*ptr; *ptr=1; printf(“%d, %d”, x, y); } The output of invoking $printxy(1,1)$ is: $0, 0$ $0, 1$ $1, 0$ $1, 1$
Consider the following function implemented in C:void printxy(int x, int y) { int *ptr; x=0; ptr=&x; y=*ptr; *ptr=1; printf(“%d, %d”, x, y); }The output of invoking $...
9.6k
views
answered
Sep 4, 2018
Programming in C
gatecse-2017-set2
programming-in-c
identify-function
pointers
+
–
34
votes
10
GATE CSE 2017 Set 1 | Question: 55
The output of executing the following C program is _______________ . #include<stdio.h> int total(int v) { static int count = 0; while(v) { count += v&1; v >>= 1; } return count; } void main() { static int x=0; int i=5; for(; i>0; i--) { x = x + total(i); } printf("%d\n", x); }
The output of executing the following C program is _______________ .#include<stdio.h int total(int v) { static int count = 0; while(v) { count += v&1; v >>= 1; } return c...
22.2k
views
answered
Sep 4, 2018
Programming in C
gatecse-2017-set1
programming
programming-in-c
normal
numerical-answers
+
–
0
votes
11
UGC NET CSE | January 2017 | Part 2 | Question: 12
Which one of the following is correct for overloaded functions in $C++$? Compiler sets up a separate function for every definition of function. Compiler does not set up a separate function for every definition of function. Overloaded functions cannot handle different types of objects. Overloaded functions cannot have same number of arguments.
Which one of the following is correct for overloaded functions in $C++$?Compiler sets up a separate function for every definition of function.Compiler does not set up a s...
1.7k
views
answered
Aug 29, 2018
Object Oriented Programming
ugcnetjan2017ii
object-oriented-programming
functions
+
–
0
votes
12
C Programming
#include <stdio.h> int main() { int a=9; printf("%d %d %d",++a,a++,++a); return 0; } what is the output? According to me it should be 12 10 10
#include <stdio.h>int main(){ int a=9; printf("%d %d %d",++a,a++,++a); return 0;}what is the output?According to me it should be 12 10 10
598
views
answered
Aug 29, 2018
0
votes
13
GATE CSE 2016 Set 1 | Question: 35
What will be the output of the following $C$ program? void count (int n) { static int d=1; printf ("%d",n); printf ("%d",d); d++; if (n>1) count (n-1); printf ("%d",d); } void main(){ count (3); } $3 \ 1 \ 2 \ 2 \ 1 \ 3 \ 4 \ 4 \ 4$ $3 \ 1 \ 2 \ 1 \ 1 \ 1 \ 2 \ 2 \ 2$ $3 \ 1 \ 2 \ 2 \ 1 \ 3 \ 4$ $3 \ 1 \ 2 \ 1 \ 1 \ 1 \ 2$
What will be the output of the following $C$ program?void count (int n) { static int d=1; printf ("%d",n); printf ("%d",d); d++; if (n>1) count (n-1); printf ("%d",d); } ...
15.3k
views
answered
Aug 29, 2018
Programming in C
gatecse-2016-set1
programming-in-c
recursion
normal
+
–
0
votes
14
Conditional Expression
What is the output of given program? #include<stdio.h> int main() { int x; x = 4 > 8 ? 5!= 1<5 == 0 ? 1:2:3; printf("%d",x); return 0; } option a. 1 b.2 c.3 d.compilation error
What is the output of given program?#include<stdio.h>int main(){ int x; x = 4 8 ? 5!= 1<5 == 0 ? 1:2:3; printf("%d",x); return 0;}option a. 1 b.2 c.3 d.compi...
1.2k
views
answered
Aug 29, 2018
1
votes
15
GATE CSE 2004 | Question: 2,ISRO2017-54
Consider the following function void swap(int a, int b) { int temp; temp = a; a = b; b = temp; } In order to exchange the values of two variables $x$ and $y$. call $swap(x, y)$ call $swap(\&x, \&y)$ $swap (x, y)$ cannot be used as it does not return any value $swap (x, y)$ cannot be used as the parameters are passed by value
Consider the following functionvoid swap(int a, int b) { int temp; temp = a; a = b; b = temp; }In order to exchange the values of two variables $x$ and $y$.call $swap(x, ...
14.5k
views
answered
Aug 29, 2018
Compiler Design
gatecse-2004
compiler-design
programming-in-c
parameter-passing
easy
isro2017
runtime-environment
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register