Question 31
Question 32
#include<stdio.h>
int main(){
int arr[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 5}, *ip = arr + 4;
printf(\"%d\\n\", ip[1]);
return 0;
}
Question 33
Question 34
void convert(int n) {
if (n < 0)
printf(“ % d”, n);
else {
convert(n / 2);
printf(“ % d”, n % 2);
}
}
Question 35
Consider the following C program:
#include<stdio.h>
int r(){
int static num=7;
return num--;
}
int main() {
for(r();r();r()) {
printf(\"%d \",r());
};
return 0;
}
Question 36
Question 37
Question 38
f1 = Σ(0, 2, 5, 8, 14) f2 = Σ(2, 3, 6, 8, 14, 15) f3 = Σ(2, 7, 11, 14)For the following circuit with one AND gate and one XOR gate, the output function f can be expressed as:
Question 40
Let the set of functional dependencies F = {QR → S, R → P, S → Q} hold on a relation schema X = (PQRS). X is not in BCNF. Suppose X is decomposed into two schemas and Z where Y = (PR) and Z = (QRS). Consider the two statements given below:
Which of the above statements is/are correct?
There are 65 questions to complete.