Recent questions tagged goclasses-cs-dpp-day-295

4 4 votes
4 4 answers
244
244 views
For the Boolean function $\mathrm{F}(\mathrm{A},\mathrm{B},\mathrm{C},\mathrm{D})=\Sigma _m(0,2,4,5,6,7,8,10,13,15)$, which of the following is the minimal SOP form using...
4 4 votes
2 2 answers
184
184 views
For the Boolean function $\mathrm{F}(\mathrm{A},\mathrm{B},\mathrm{C},\mathrm{D})=\Sigma _m(0,1,2,4,5,7,11,15)$, which of the following is a correct minimal SOP form usin...
3 3 votes
2 2 answers
131
131 views
For the Boolean function $\mathrm{F}(\mathrm{A},\mathrm{B},\mathrm{C},\mathrm{D})=\Sigma _m(0,1,2,3,8,9,10,11,14,15)$, which of the following is the minimal SOP form usin...
1 1 vote
2 2 answers
165
165 views
For the Boolean function $\mathrm{F}(\mathrm{A},\mathrm{B},\mathrm{C})=\Sigma _m(1,3,4,5,7)$, which of the following is the minimal SOP form?$\mathrm{F}=\mathrm{A}+\mathr...
2 2 votes
3 3 answers
178
178 views
Simplify the Boolean expression $\mathrm{Z=AB+(C'+A'B')'+A'(AB+AC'D')}$ and identify its minterm form.$\mathrm{Z=AB+AC+BC},\ \quad\Sigma _m(6,7,10,11,12,13,14,15)$ $\math...
8 8 votes
2 2 answers
221
221 views
Given the following two files, what will happen when they are compiled and linked together?file1.c#include <stdio.h static void show() { printf("Hello"); }main.cvoid show...
7 7 votes
2 2 answers
202
202 views
What is the output of the following code?#include <stdio.h int x = 10; int main() { int x = 20; { extern int x; printf("%d", x); } return 0; }$\texttt{10}$ $\texttt{20}$ ...
5 5 votes
3 3 answers
206
206 views
What is the output of the following code?#include <stdio.h int add(int n) { static int total = 1; total = total + n; return total; } int main() { int i, ans = 0; for (i =...
7 7 votes
2 2 answers
210
210 views
What is the output of the following code?#include <stdio.h int x; int x; int main() { printf("%d", x); return 0; }$\texttt{0}$ Garbage value Compilation error Linker erro...
10 10 votes
3 3 answers
281
281 views
Given the following three files, what will be the output after compiling and linking them together?file1.cextern int i; void f() { i++; }file2.cint i = 0; void f(); void ...
To see more, click for the full list of questions or popular tags.