Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged goclasses-cs-dpp-day-293
6
6 votes
3
3 answers
240
240 views
GO Classes DPP | GATE CS | C Programming | Register Variable
What is the output of the following code?#include <stdio.h int main() { register int x = 10; int *p = &x; printf("%d", *p); return 0; }$\texttt{10}$ $\texttt{0}$ Garbage ...
GO Classes
240
views
asked
Jun 9
Programming in C
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-293
programming-in-c
c-programming
goclasses-c-programming-practice-questions
variable-scope
+
–
8
8 votes
2
2 answers
215
215 views
GO Classes DPP | GATE CS | C Programming | Auto Variable
What can be said about the output of the following code?#include <stdio.h int main() { auto int x; printf("%d", x); return 0; }Output is always $\texttt{0}$ Output is alw...
GO Classes
215
views
asked
Jun 9
Programming in C
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-293
programming-in-c
c-programming
goclasses-c-programming-practice-questions
variable-scope
+
–
8
8 votes
2
2 answers
208
208 views
GO Classes DPP | GATE CS | C Programming | Global Variable
What is the output of the following code?#include <stdio.h int a; static int b; int main() { printf("%d %d", a, b); return 0; }$\texttt{0\ 0}$ Garbage values $\texttt{1\ ...
GO Classes
208
views
asked
Jun 9
Programming in C
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-293
programming-in-c
c-programming
goclasses-c-programming-practice-questions
variable-scope
global-variable
+
–
7
7 votes
2
2 answers
234
234 views
GO Classes DPP | GATE CS | C Programming | Static Local Variable
What is the output of the following code?#include <stdio.h void fun() { static int x = 1; x = x + 2; printf("%d ", x); } int main() { fun(); fun(); fun(); return 0; }$\te...
GO Classes
234
views
asked
Jun 9
Programming in C
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-293
programming-in-c
c-programming
goclasses-c-programming-practice-questions
variable-scope
static-scoping
+
–
7
7 votes
2
2 answers
208
208 views
GO Classes DPP | GATE CS | C Programming | Local and Global Variables
What is the output of the following code?#include <stdio.h int x = 10; int main() { int x = 20; printf("%d", x); return 0; }
GO Classes
208
views
asked
Jun 9
Programming in C
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-293
programming-in-c
c-programming
goclasses-c-programming-practice-questions
variable-scope
+
–
3
3 votes
3
3 answers
226
226 views
GO Classes DPP | GATE CS | Digital Logic | Minterms Maxterms
For a Boolean function $F(A,B,C)$, where $A$ is the most significant variable, the output is $0$ for input combinations $000$, $011$, and $101$. Which of the following is...
GO Classes
226
views
asked
Jun 9
Digital Logic
goclasses
goclasses-cs-dpp
digital-logic
goclasses-cs-dpp-day-293
goclasses-digital-logic-practice-questions
minterms
maxterms
boolean-expression
+
–
4
4 votes
3
3 answers
299
299 views
GO Classes DPP | GATE CS | Digital Logic | Boolean Laws
Simplify the Boolean expression $F=(A+\overline{B})(A+C)+\overline{A}B+BC$.$A+B+C$ $A+\overline{B}C$ $AB+BC$ $A+C$
GO Classes
299
views
asked
Jun 9
Digital Logic
goclasses
goclasses-cs-dpp
digital-logic
goclasses-cs-dpp-day-293
goclasses-digital-logic-practice-questions
boolean-algebra
boolean-expression
+
–
5
5 votes
4
4 answers
263
263 views
GO Classes DPP | GATE CS | Digital Logic | Base Arithmetic
In the following hexadecimal addition, find the digit $x$. $$(4x\mathrm{D})_{16}+(2\mathrm{B}7)_{16}=(744)_{16}$$
GO Classes
263
views
asked
Jun 9
Digital Logic
goclasses
goclasses-cs-dpp
digital-logic
goclasses-cs-dpp-day-293
goclasses-digital-logic-practice-questions
number-representation
numerical-answers
+
–
6
6 votes
2
2 answers
197
197 views
GO Classes DPP | GATE CS | Digital Logic | Complement Values
How many $8$-bit patterns represent the same decimal value when interpreted as sign-magnitude and $1$'s complement numbers?$64$ $127$ $128$ $255$
GO Classes
197
views
asked
Jun 9
Digital Logic
goclasses
goclasses-cs-dpp
digital-logic
goclasses-cs-dpp-day-293
goclasses-digital-logic-practice-questions
number-representation
+
–
5
5 votes
2
2 answers
162
162 views
GO Classes DPP | GATE CS | Digital Logic | Representation Change
An $8$-bit pattern represents $-45$ in $2$'s complement form. If the same bit pattern is interpreted as a $1$'s complement number, what decimal value does it represent?$-...
GO Classes
162
views
asked
Jun 9
Digital Logic
goclasses
goclasses-cs-dpp
digital-logic
goclasses-cs-dpp-day-293
goclasses-digital-logic-practice-questions
number-representation
+
–
To see more, click for the
full list of questions
or
popular tags
.