C Program GATE 2019-2
C Program : GATE 2019 Consider the following C function. void convert(int n){ if(n<0) printf(“%d”,n); else { convert(n/2); printf(“%d”,n%2); } } Which one of the following will happen when the function convert … Read more
C Program : GATE 2019 Consider the following C function. void convert(int n){ if(n<0) printf(“%d”,n); else { convert(n/2); printf(“%d”,n%2); } } Which one of the following will happen when the function convert … Read more
C Program : GATE 2019 Consider the following C program #include <stdio.h> int main(){ int arr[]={1,2,3,4,5,6,7,8,9,0,1,2,5}, *ip=arr+4; printf(“%dn”, ip[1]); return 0; } The number that will be displayed on execution of … Read more
C Program : GATE 2019 Consider the following C program: #include <stdio.h> int jumble(int x, int y){ x=2*x+y; return x; } int main(){ int x=2, y=5; y=jumble(y,x); x=jumble(y,x); printf(“%d n”, x); return 0; } The value printed by the program is ________.
If cache access time is 100ns, main memory access time is 1000ns and the hit raio is 0.9. Find the average access time and also … Read more
How to create database connection in Visual Basic ? Here, we are going to use Visual Basic 2010 and MS Access 2010. Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click Dim cnn As OleDbConnection = New OleDbConnection Dim cmd As OleDbCommand = New OleDbCommand … Read more
Consider the following employee database. (RGPV 2019) Employee (empname,street, city) work (empname,companyname,salary) company (companyname,city) manages (empname,management). Give an expression in the SQL for each request. … Read more
Explain select, project and division operations with examples. (RGPV 2019) Ans. Select operations : Select operation displays the records for the condition. Select operation is denoted by sigma … Read more
Explain the concepts of Generalization and Aggregation with appropriate examples. (RGPV 2019) Ans. Generalization: Entities with common attributes can be merged into a generic or super type … Read more
C Programming | Function Comment, if answer to the questions highlighted in red are correct, or not. Or if any suggestion. #include <stdio.h> int main() { cout<<“Hello World!”; … Read more
UGC NET 2018 : In PERT/CPM, the merge event represents _____ of two or more events. (a) Joining (b) Completion (c) Splitting (d) Beginning Solution: … Read more